[model] Clean Java classes.
This commit is contained in:
committed by
Mikael CAPELLE
parent
c9ff67b10e
commit
2f936d44ec
@@ -30,7 +30,7 @@ public class BinaryPathWriter extends BinaryWriter implements PathWriter {
|
||||
dos.writeInt(BinaryPathReader.VERSION);
|
||||
|
||||
// Write map id.
|
||||
byte[] bytes = Arrays.copyOf(path.getGraph().getMapId().getBytes("UTF-8"),
|
||||
final byte[] bytes = Arrays.copyOf(path.getGraph().getMapId().getBytes("UTF-8"),
|
||||
BinaryGraphReader.MAP_ID_FIELD_LENGTH);
|
||||
dos.write(bytes);
|
||||
|
||||
@@ -48,7 +48,6 @@ public class BinaryPathWriter extends BinaryWriter implements PathWriter {
|
||||
}
|
||||
|
||||
dos.flush();
|
||||
dos.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user