Revision: 17304
http://sourceforge.net/p/gate/code/17304
Author: valyt
Date: 2014-02-13 18:49:37 +0000 (Thu, 13 Feb 2014)
Log Message:
-----------
Fixed wrong replacement value.
Modified Paths:
--------------
mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicTokenIndex.java
Modified:
mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicTokenIndex.java
===================================================================
--- mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicTokenIndex.java
2014-02-13 18:44:43 UTC (rev 17303)
+++ mimir/branches/5.0/mimir-core/src/gate/mimir/index/AtomicTokenIndex.java
2014-02-13 18:49:37 UTC (rev 17304)
@@ -59,12 +59,12 @@
static {
try {
- UTF8_CHARSET_ENCODER.replaceWith("[UNMAPPED]".getBytes("UTF-8"));
- UTF8_CHARSET_ENCODER.onMalformedInput(CodingErrorAction.REPLACE);
+ UTF8_CHARSET_ENCODER.replaceWith("[?]".getBytes("UTF-8"));
+ UTF8_CHARSET_ENCODER.onMalformedInput(CodingErrorAction.REPLACE);
UTF8_CHARSET_ENCODER.onUnmappableCharacter(CodingErrorAction.REPLACE);
} catch(UnsupportedEncodingException e) {
// this should never happen
- throw new RuntimeException("UTF-8 not supported");
+ throw new RuntimeException("UTF-8 not supported");
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs