With or without 'final'? At least please try it in other methods

Conflicts:
	source/de/anomic/tools/tarTools.java
This commit is contained in:
Roland 'Quix0r' Haeder 2012-05-17 06:00:49 +02:00 committed by Michael Peter Christen
parent fbb946f913
commit b3ae2aa41f
3 changed files with 12 additions and 12 deletions

View File

@ -89,8 +89,8 @@ public class tarTools {
} }
Log.logInfo("UNTAR", "finished"); Log.logInfo("UNTAR", "finished");
} }
public static void main(final String args[]){ public static void main(final String args[]) {
// @arg0 source // @arg0 source
// @arg1 destination // @arg1 destination
if(args.length == 2){ if(args.length == 2){
@ -103,4 +103,4 @@ public class tarTools {
System.out.println("usage: <source> <destination>"); System.out.println("usage: <source> <destination>");
} }
} }
} }

View File

@ -129,7 +129,7 @@ public class Classification {
return appsExtSet.contains(appsExt.trim().toLowerCase()); return appsExtSet.contains(appsExt.trim().toLowerCase());
} }
public static ContentDomain getContentDomain(String ext) { public static ContentDomain getContentDomain(final String ext) {
if (isTextExtension(ext)) return ContentDomain.TEXT; if (isTextExtension(ext)) return ContentDomain.TEXT;
if (isImageExtension(ext)) return ContentDomain.IMAGE; if (isImageExtension(ext)) return ContentDomain.IMAGE;
if (isAudioExtension(ext)) return ContentDomain.AUDIO; if (isAudioExtension(ext)) return ContentDomain.AUDIO;

View File

@ -62,37 +62,37 @@ public class DocumentMetadata implements Metadata {
} }
@Override @Override
public URIMetadata load(Element<WordReference> obrwi) { public URIMetadata load(final Element<WordReference> obrwi) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@Override @Override
public URIMetadata load(byte[] urlHash) { public URIMetadata load(final byte[] urlHash) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@Override @Override
public void store(URIMetadata entry) throws IOException { public void store(final URIMetadata entry) throws IOException {
// TODO Auto-generated method stub // TODO Auto-generated method stub
} }
@Override @Override
public boolean remove(byte[] urlHashBytes) { public boolean remove(final byte[] urlHashBytes) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return false; return false;
} }
@Override @Override
public boolean exists(byte[] urlHash) { public boolean exists(final byte[] urlHash) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return false; return false;
} }
@Override @Override
public CloneableIterator<byte[]> keys(boolean up, byte[] firstKey) { public CloneableIterator<byte[]> keys(final boolean up, final byte[] firstKey) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@ -104,14 +104,14 @@ public class DocumentMetadata implements Metadata {
} }
@Override @Override
public CloneableIterator<URIMetadata> entries(boolean up, String firstHash) public CloneableIterator<URIMetadata> entries(final boolean up, final String firstHash)
throws IOException { throws IOException {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@Override @Override
public int deleteDomain(String hosthash) throws IOException { public int deleteDomain(final String hosthash) throws IOException {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return 0; return 0;
} }