~ubuntu-branches/ubuntu/vivid/mkgmap/vivid

« back to all changes in this revision

Viewing changes to src/uk/me/parabola/imgfmt/app/labelenc/BaseEncoder.java

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2014-08-13 22:13:41 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140813221341-i9dzzjuto2o7hfh6
Tags: 0.0.0+svn3333-1
* New upstream version
  Closes: #745097
* add debian/classpath (thanks for the patch to Manfred Stock
  <manfred.stock+debian@gmail.com>)
  Closes: #741596
* d/copyright: DEP5

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
public class BaseEncoder {
31
31
        private static final Logger log = Logger.getLogger(BaseEncoder.class);
32
32
 
33
 
        protected static final EncodedText NO_TEXT = new EncodedText(null, 0);
 
33
        public static final EncodedText NO_TEXT = new EncodedText(null, 0, null);
34
34
 
35
35
        private boolean charsetSupported = true;
36
36
 
62
62
                for (char c : in)
63
63
                        out[off++] = (byte) (c & 0xff);
64
64
 
65
 
                return new EncodedText(out, out.length);
 
65
                return new EncodedText(out, out.length, in);
66
66
        }
67
67
 
68
68
        public boolean isUpperCase() {