Changeset 103:f83eb8b335b1 in AnnotationManagerN4J
- Timestamp:
- Feb 9, 2017, 8:17:04 PM (8 years ago)
- Branch:
- default
- Location:
- src/main/java/de/mpiwg/itgroup/annotations
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/de/mpiwg/itgroup/annotations/Actor.java
r88 r103 55 55 if (person == null) return false; 56 56 if (person.equals(this)) return true; 57 if (person.getIdString().equals (this.getIdString())) return true;57 if (person.getIdString().equalsIgnoreCase(this.getIdString())) return true; 58 58 if (isGroup() && store != null) { 59 59 // check if person in group … … 149 149 id = uri.replace(prefix, ""); 150 150 } 151 if (id == null && uri != null) { 152 // accept uri without prefix 153 id = uri; 154 } 151 155 return id; 152 156 } -
src/main/java/de/mpiwg/itgroup/annotations/Person.java
r102 r103 100 100 */ 101 101 public static Person getAnonymous() { 102 return new Person("anonymous", "Anonymous");102 return new Person("anonymous", null, "Anonymous"); 103 103 } 104 104
Note: See TracChangeset
for help on using the changeset viewer.