Fixed some warnings and started on the NetLog project

This commit is contained in:
Ziver Koc 2013-05-03 19:31:45 +00:00
parent db9b2bf307
commit 27b12e1b9b
29 changed files with 722 additions and 322 deletions

View file

@ -34,7 +34,7 @@ public class Base64Decoder {
public static String decode( String data ){
Base64Decoder base64 = new Base64Decoder();
base64.write( data );
return base64.getString();
return base64.toString();
}
public void write( String data ){
@ -76,7 +76,7 @@ public class Base64Decoder {
output.append( buffer, 0, buffi );
}
public String getString(){
public String toString(){
return output.getString();
}
@ -84,8 +84,8 @@ public class Base64Decoder {
return output.getByte();
}
public void reset(){
output.reset();
public void clear(){
output.clear();
rest = 0;
rest_data = 0;
}

View file

@ -88,6 +88,8 @@ public class DataNode implements Iterable<DataNode>{
map = new HashMap<String,DataNode>(); break;
case List:
list = new LinkedList<DataNode>(); break;
default:
break;
}
}