Permalink
Browse files

Updated primitives

  • Loading branch information...
fehguy committed May 26, 2012
1 parent 16a1e2d commit dc8ca5dbafb0ea3969383604140f7ce7a5a58dc1
Showing with 8 additions and 5 deletions.
  1. +8 −5 src/main/scala/JavaCodegen.scala
@@ -7,11 +7,14 @@ object JavaCodegen extends JavaCodegen {
}
class JavaCodegen extends BasicGenerator {
- override def defaultIncludes = Set("NSInteger",
- "int",
- "long",
- "String")
-
+ override def defaultIncludes = Set(
+ "double",
+ "int",
+ "long",
+ "float",
+ "String",
+ "boolean")
+
override def typeMapping = Map(
"Boolean" -> "boolean",
"Int" -> "int",

0 comments on commit dc8ca5d

Please sign in to comment.