mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-11 01:13:05 -04:00
Fixed warnings, improvements
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user