Fixed warnings, improvements

This commit is contained in:
Treeku
2014-03-03 19:52:27 +00:00
parent 2b20d1ee6a
commit 697f24a45e
13 changed files with 58 additions and 48 deletions
+1 -2
View File
@@ -23,7 +23,6 @@ package resources.common;
import org.apache.mina.core.buffer.IoBuffer;
import resources.z.exp.objects.Baseline;
import resources.objects.Delta;
import com.sleepycat.persist.model.Persistent;
@@ -85,7 +84,7 @@ public class Stf extends Delta {
synchronized(objectMutex) {
int size = stfFilename.getBytes().length + 4 + stfName.getBytes().length;
IoBuffer buffer = Baseline.createBuffer(size);
IoBuffer buffer = createBuffer(size);
buffer.put(stfFilename.getBytes());
buffer.putInt(spacer);
buffer.put(stfName.getBytes());