Browse Source

Silence warning for non-translatable String in AddNoteCommand

Change-Id: Iad4d41271eff4e8744efece5bc777c1cb06dead7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-4.1
Matthias Sohn 10 years ago
parent
commit
114dee6770
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/AddNoteCommand.java

2
org.eclipse.jgit/src/org/eclipse/jgit/api/AddNoteCommand.java

@ -95,7 +95,7 @@ public class AddNoteCommand extends GitCommand<Note> {
} }
map.set(id, message, inserter); map.set(id, message, inserter);
commitNoteMap(walk, map, notesCommit, inserter, commitNoteMap(walk, map, notesCommit, inserter,
"Notes added by 'git notes add'"); "Notes added by 'git notes add'"); //$NON-NLS-1$
return map.getNote(id); return map.getNote(id);
} catch (IOException e) { } catch (IOException e) {
throw new JGitInternalException(e.getMessage(), e); throw new JGitInternalException(e.getMessage(), e);

Loading…
Cancel
Save