Fix tests.

This commit is contained in:
Paulo Gustavo Veiga
2011-07-03 12:13:31 -03:00
parent 9517f06902
commit 5ace7f5259
14 changed files with 23 additions and 26 deletions

View File

@@ -54,9 +54,9 @@ public class JAXBUtils {
}
public static void saveMap(@NotNull Object obj, @NotNull OutputStream out, String pachage) throws JAXBException {
public static void saveMap(@NotNull Object obj, @NotNull OutputStream out, String packag) throws JAXBException {
final JAXBContext context = getInstance(pachage);
final JAXBContext context = getInstance(packag);
final Marshaller marshaller = context.createMarshaller();
marshaller.marshal(obj, out);

View File

@@ -40,7 +40,7 @@ public class ZipUtils {
byte[] buffer = new byte[512];
int len;
StringBuffer sb_result = new StringBuffer();
StringBuilder sb_result = new StringBuilder();
while ((len = zipIn.read(buffer)) > 0) {