BitmapIndexImpl: externalize error message
Change-Id: I5189e966aecc57fe7c3e6c3f7f8e6b16917ee27f
This commit is contained in:
parent
232813bfcd
commit
e4abd0123b
|
@ -66,6 +66,7 @@ binaryHunkLineTooShort=Binary hunk, line {0}: input ended prematurely
|
|||
binaryHunkMissingNewline=Binary hunk, line {0}: input line not terminated by newline
|
||||
bitmapMissingObject=Bitmap at {0} is missing {1}.
|
||||
bitmapsMustBePrepared=Bitmaps must be prepared before they may be written.
|
||||
bitmapUseNoopNoListener=Use NOOP instance for no listener
|
||||
blameNotCommittedYet=Not Committed Yet
|
||||
blockLimitNotMultipleOfBlockSize=blockLimit {0} must be a multiple of blockSize {1}
|
||||
blockLimitNotPositive=blockLimit must be positive: {0}
|
||||
|
|
|
@ -96,6 +96,7 @@ public static JGitText get() {
|
|||
/***/ public String binaryHunkMissingNewline;
|
||||
/***/ public String bitmapMissingObject;
|
||||
/***/ public String bitmapsMustBePrepared;
|
||||
/***/ public String bitmapUseNoopNoListener;
|
||||
/***/ public String blameNotCommittedYet;
|
||||
/***/ public String blockLimitNotMultipleOfBlockSize;
|
||||
/***/ public String blockLimitNotPositive;
|
||||
|
|
|
@ -76,7 +76,7 @@ public CompressedBitmapBuilder newBitmapBuilder() {
|
|||
public void addBitmapLookupListener(BitmapLookupListener listener) {
|
||||
if (listener == null) {
|
||||
throw new IllegalArgumentException(
|
||||
"Use NOOP instance for no listener"); // @NON-NLS-1@
|
||||
JGitText.get().bitmapUseNoopNoListener);
|
||||
}
|
||||
this.listener = listener;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue