File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
scijava-meta/src/main/java/org/scijava/meta Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public static Manifest getManifest(final Class<?> c) {
149149 * XML document was loaded as a resource from inside a JAR.
150150 */
151151 public static Manifest getManifest (final XML xml ) throws IOException {
152- final String path = xml .getPath ();
152+ final String path = xml .path ();
153153 if (path == null || !path .startsWith ("file:" )) return null ;
154154 final int dotJAR = path .indexOf (".jar!/" );
155155 return getManifest (new File (path .substring (5 , dotJAR + 4 )));
Original file line number Diff line number Diff line change @@ -165,12 +165,12 @@ public XML(final String path, final Document doc) {
165165 // -- XML methods --
166166
167167 /** Gets the path to the XML document, or null if none. */
168- public String getPath () {
168+ public String path () {
169169 return path ;
170170 }
171171
172172 /** Gets the XML's DOM representation. */
173- public Document getDocument () {
173+ public Document document () {
174174 return doc ;
175175 }
176176
You can’t perform that action at this time.
0 commit comments