git://source.jalview.org
/
proteocache.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply formatting
[proteocache.git]
/
engine
/
compbio
/
engine
/
archive
/
Archive.java
diff --git
a/engine/compbio/engine/archive/Archive.java
b/engine/compbio/engine/archive/Archive.java
index
392a737
..
8aad2aa
100644
(file)
--- a/
engine/compbio/engine/archive/Archive.java
+++ b/
engine/compbio/engine/archive/Archive.java
@@
-20,7
+20,7
@@
public class Archive {
String path = ph.getProperty("archive.path");
assert (null != path);
String path = ph.getProperty("archive.path");
assert (null != path);
- if (isAbsolutePath (path)) {
+ if (isAbsolutePath(path)) {
archivepath = path;
} else {
String abspath = ProteoCachePropertyHelperManager.getLocalPath();
archivepath = path;
} else {
String abspath = ProteoCachePropertyHelperManager.getLocalPath();
@@
-31,20
+31,19
@@
public class Archive {
}
}
}
}
- private boolean isAbsolutePath (String path) {
- return (new File(path).isAbsolute());
+ private boolean isAbsolutePath(String path) {
+ return (new File(path).isAbsolute());
}
}
-
- private boolean isDirExists (String path) throws IOException {
+
+ private boolean isDirExists(String path) throws IOException {
archive = new File(path);
return archive.getCanonicalFile().isDirectory();
}
archive = new File(path);
return archive.getCanonicalFile().isDirectory();
}
-
- public boolean addArchivedJob (ArchivedJob job) {
+ public boolean addArchivedJob(ArchivedJob job) {
return true;
}
return true;
}
-
+
public String createJob(String jobid) {
return archivepath + "/" + jobid + ".tar.gz";
}
public String createJob(String jobid) {
return archivepath + "/" + jobid + ".tar.gz";
}