File: 102_a2c_editCellAt.patch

package info (click to toggle)
airport-utils 2-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,020 kB
  • sloc: java: 30,844; xml: 571; sh: 553; makefile: 36
file content (110 lines) | stat: -rw-r--r-- 3,440 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Description: Comment out editCellAt method calls
 Comment out editCellAt method calls as it's not implemented in Classpath.
Author: Julien BLACHE <jblache@debian.org>

Index: airport-utils-2/airport2config/airport/AirportAccessControlTable.java
===================================================================
--- airport-utils-2.orig/airport2config/airport/AirportAccessControlTable.java	2010-03-11 20:55:56.755753418 +0100
+++ airport-utils-2/airport2config/airport/AirportAccessControlTable.java	2010-03-11 20:56:29.282753307 +0100
@@ -185,7 +185,7 @@
 			}
 			catch (ValueFormatException e)
 			{
-				table.editCellAt(i,0);
+				//table.editCellAt(i,0);
 				throw e;
 			}
 			
@@ -217,7 +217,7 @@
 			
 			catch (ValueFormatException e)
 			{
-				table.editCellAt(i,1);
+				//table.editCellAt(i,1);
 				throw e;
 			}
 			
Index: airport-utils-2/airport2config/airport/AirportLoginStringTable.java
===================================================================
--- airport-utils-2.orig/airport2config/airport/AirportLoginStringTable.java	2010-03-11 20:55:56.764753728 +0100
+++ airport-utils-2/airport2config/airport/AirportLoginStringTable.java	2010-03-11 20:56:29.283753211 +0100
@@ -296,7 +296,7 @@
 						
 						if ((delayValue < 0) || (delayValue > 63))
 						{
-							table.editCellAt(i,1);
+							//table.editCellAt(i,1);
 							throw new ValueFormatException("Delay must be between 0 and 63 seconds");
 						}
 					}
@@ -305,7 +305,7 @@
 				}
 				catch (NumberFormatException e)
 				{
-					table.editCellAt(i,1);
+					//table.editCellAt(i,1);
 					throw new ValueFormatException("Bad delay value");
 				}
 				catch (ArrayIndexOutOfBoundsException e)
Index: airport-utils-2/airport2config/airport/AirportPortMappingTable.java
===================================================================
--- airport-utils-2.orig/airport2config/airport/AirportPortMappingTable.java	2010-03-11 20:55:56.773753521 +0100
+++ airport-utils-2/airport2config/airport/AirportPortMappingTable.java	2010-03-11 20:56:29.325235777 +0100
@@ -193,7 +193,7 @@
 			}
 			catch (ValueFormatException e)
 			{
-				table.editCellAt(i,0);
+				//table.editCellAt(i,0);
 				throw e;
 			}
 			
@@ -209,7 +209,7 @@
 			
 			catch (ValueFormatException e)
 			{
-				table.editCellAt(i,1);
+				//table.editCellAt(i,1);
 				throw e;
 			}
 			
@@ -225,7 +225,7 @@
 			
 			catch (ValueFormatException e)
 			{
-				table.editCellAt(i,2);
+				//table.editCellAt(i,2);
 				throw e;
 			}
 			
Index: airport-utils-2/airport2config/airport/AirportSNMPAccessControlTable.java
===================================================================
--- airport-utils-2.orig/airport2config/airport/AirportSNMPAccessControlTable.java	2010-03-11 20:55:56.785753218 +0100
+++ airport-utils-2/airport2config/airport/AirportSNMPAccessControlTable.java	2010-03-11 20:56:29.350301223 +0100
@@ -288,7 +288,7 @@
 				}
 				catch (ValueFormatException e)
 				{
-					table.editCellAt(i,0);
+					//table.editCellAt(i,0);
 					throw e;
 				}
 				
@@ -313,7 +313,7 @@
 				}
 				catch (ValueFormatException e)
 				{
-					table.editCellAt(i,1);
+					//table.editCellAt(i,1);
 					throw e;
 				}
 				
@@ -329,7 +329,7 @@
 				}
 				catch (ValueFormatException e)
 				{
-					table.editCellAt(i,2);
+					//table.editCellAt(i,2);
 					throw e;
 				}