1 --- cups-1.3.6/scripting/java/src/com/easysw/cups/IPPAttribute.java.orig 2008-01-07 20:15:28.000000000 +0100
2 +++ cups-1.3.6/scripting/java/src/com/easysw/cups/IPPAttribute.java 2008-03-01 15:54:29.368987179 +0100
7 +import java.nio.charset.Charset;
8 +import java.nio.ByteBuffer;
10 public class IPPAttribute
15 int bytes = 0; // Start with one for the group tag.
16 - Charset utf8 = Charset::forName("UTF-8");
17 + Charset utf8 = Charset.forName("UTF-8");
23 int bi = 0; // Start with one for the group tag.
24 byte[] bytes = new byte[sz];
25 - Charset utf8 = Charset::forName("UTF-8");
26 + Charset utf8 = Charset.forName("UTF-8");
29 if (group_tag != last_group)