]> git.pld-linux.org Git - packages/cups.git/blame - cups-java-fix.patch
- up to 1.3.9
[packages/cups.git] / cups-java-fix.patch
CommitLineData
20d9af17
JB
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
3@@ -25,6 +25,8 @@
4 * @since JDK1.3
5 */
6 import java.util.*;
7+import java.nio.charset.Charset;
8+import java.nio.ByteBuffer;
9
10 public class IPPAttribute
11 {
12@@ -263,7 +265,7 @@
13 {
14 IPPValue val;
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");
18 ByteBuffer temp;
19
20 //
21@@ -369,7 +371,7 @@
22 int i,j, n;
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");
27 ByteBuffer temp;
28
29 if (group_tag != last_group)
This page took 0.129855 seconds and 4 git commands to generate.