mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 11:07:30 +02:00
Minor code cleanup
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user