Skip to content

Commit fd52603

Browse files
Tidy up varialbes in 'findDataPids' method in 'MDQEngine' class
1 parent 48ebffb commit fd52603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/edu/ucsb/nceas/mdqengine/MDQEngine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ public ArrayList<String> findDataPids(NodeReference nodeId, String identifier) t
241241
MultipartD1Node d1Node;
242242
String nodeServiceUrl = null;
243243
String subjectId = null;
244+
String nodeIdstring = null;
245+
String nodeAbbr = null;
244246
Document doc;
245247

246248
try {
@@ -253,8 +255,6 @@ public ArrayList<String> findDataPids(NodeReference nodeId, String identifier) t
253255
log.debug("Got token from env.");
254256
}
255257

256-
String nodeIdstring = null;
257-
String nodeAbbr = null;
258258
try {
259259
nodeIdstring = nodeId.getValue();
260260
nodeAbbr = nodeIdstring.replace("urn:node:", "");

0 commit comments

Comments
 (0)