Fixed some warnings and started on the NetLog project
This commit is contained in:
parent
db9b2bf307
commit
27b12e1b9b
29 changed files with 722 additions and 322 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue