Skip to content

Commit

Permalink
Fix bug with URI transformation due to char adding/concat confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuhn committed Nov 1, 2016
1 parent 9a86c73 commit da9a29f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/trustyuri/rdf/RdfUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public static String getTrustyUriString(URI baseUri, String artifactCode, String
suffix = suffix.replace("#", "%23");
if (suffix.startsWith(bnodeChar + "")) {
// Duplicate bnode character for escaping:
s += getPostAcChar(baseUri) + bnodeChar + suffix;
s += "" + getPostAcChar(baseUri) + bnodeChar + suffix;
} else {
s += getPostAcChar(baseUri) + suffix;
s += "" + getPostAcChar(baseUri) + suffix;
}
}
return s;
Expand Down

0 comments on commit da9a29f

Please sign in to comment.