aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2012-10-30 13:40:13 +0100
committerJakob Odersky <jodersky@gmail.com>2012-10-30 13:40:13 +0100
commit32c4cb7b839466214748be076b122b8a9d6e04b4 (patch)
treeb9e997592d4e5ae5d67c938446a43e513d134c1b
parent9349244b45532ea0184e3009aa2335ced8e3f7f4 (diff)
downloadscalam-32c4cb7b839466214748be076b122b8a9d6e04b4.tar.gz
scalam-32c4cb7b839466214748be076b122b8a9d6e04b4.tar.bz2
scalam-32c4cb7b839466214748be076b122b8a9d6e04b4.zip
clean up font size
-rw-r--r--src/main/scala/scalam/plotting/FontSize.scala9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/scala/scalam/plotting/FontSize.scala b/src/main/scala/scalam/plotting/FontSize.scala
index edd2323..cbc0bef 100644
--- a/src/main/scala/scalam/plotting/FontSize.scala
+++ b/src/main/scala/scalam/plotting/FontSize.scala
@@ -1,6 +1,7 @@
package scalam.plotting
-
-/** Helper class used for implicit font size specification. A font size is nothing but an Int,
- * but defining an implicit of type int could pollute a lot of code. */
-case class FontSize(fs: Int) \ No newline at end of file
+/**
+ * Helper class used for implicit font size specification. Although a font size is typically represented by an Int,
+ * a custom class is used as to avoid code pollution if using implicits.
+ */
+case class FontSize(fontSize: Int) \ No newline at end of file