chunklist
This commit is contained in:
parent
f947628b17
commit
f904685dbf
@ -246,7 +246,10 @@ public class UDPHandler implements Runnable {
|
||||
if(chunklist.get(fid) == null){
|
||||
chunklist.put(fid, new HashMap<Integer,String>());
|
||||
}
|
||||
chunklist.get(fid).put(chunkID, chunkContent);
|
||||
|
||||
if(chunklist.get(fid).get(chunkID) == null){
|
||||
chunklist.get(fid).put(chunkID, chunkContent);
|
||||
}
|
||||
|
||||
if(chunklist.get(fid).size() >= chunkCount){
|
||||
LOGGER.log(Level.INFO,"FILE complete file: "+fileID+" count: "+chunkCount+" id: "+chunkID);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user