Minor code cleanup

This commit is contained in:
Jean-Rémi Desjardins
2014-12-03 09:56:34 -08:00
parent 015c61ad69
commit ca736e55d3
68 changed files with 126 additions and 126 deletions
@@ -10,7 +10,7 @@ public final class Modifiers implements java.io.Serializable
private static final int LazyBit = 5;
private static final int MacroBit = 6;
private static final int flag(boolean set, int bit)
private static int flag(boolean set, int bit)
{
return set ? (1 << bit) : 0;
}
@@ -30,7 +30,7 @@ public final class Modifiers implements java.io.Serializable
private final byte flags;
private final boolean flag(int bit)
private boolean flag(int bit)
{
return (flags & (1 << bit)) != 0;
}
@@ -30,5 +30,5 @@ public enum CompileOrder
* Then, Java sources are passed to the Java compiler, which generates class files for the Java sources.
* The Scala classes compiled in the first step are included on the classpath to the Java compiler.
*/
ScalaThenJava;
ScalaThenJava
}