rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
buffer.append(this.hashCode()).append(", "); buffer.append("R=").append(getAtomContainerCount()).append(", ");
buffer.append(this.hashCode()); buffer.append(", R=").append(getAtomContainerCount()).append(", ");
public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append("RingSet("); buffer.append(this.hashCode()).append(", "); buffer.append("R=").append(getAtomContainerCount()).append(", "); IAtomContainer[] rings = getAtomContainers(); for (int i = 0; i < rings.length; i++) { IRing possibleRing = (IRing)rings[i]; buffer.append(possibleRing.toString()); if (i++ < rings.length) { buffer.append(", "); } } buffer.append(")"); return buffer.toString(); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/b35703c55343be9e1780756711f8f8cb630300f2/RingSet.java/buggy/src/org/openscience/cdk/RingSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 10369, 694, 2932, 1769, 3639, 1613, 18, 6923, 12, 2211, 18, 2816, 1085, 1435, 2934, 6923, 2932, 16, 315, 1769, 3639, 1613, 18, 6923, 2932, 54, 1546, 2934, 6923, 12, 588, 3641, 2170, 1380, 1435, 2934, 6923, 2932, 16, 315, 1769, 3639, 13922, 8526, 26537, 273, 12358, 11177, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 26537, 18, 2469, 31, 277, 27245, 288, 5411, 467, 10369, 3323, 10369, 273, 261, 7937, 310, 13, 86, 899, 63, 77, 15533, 5411, 1613, 18, 6923, 12, 12708, 10369, 18, 10492, 10663, 5411, 309, 261, 77, 9904, 411, 26537, 18, 2469, 13, 288, 7734, 1613, 18, 6923, 2932, 16, 315, 1769, 5411, 289, 3639, 289, 3639, 1613, 18, 6923, 2932, 2225, 1769, 3639, 327, 1613, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 1613, 18, 6923, 2932, 10369, 694, 2932, 1769, 3639, 1613, 18, 6923, 12, 2211, 18, 2816, 1085, 1435, 2934, 6923, 2932, 16, 315, 1769, 3639, 1613, 18, 6923, 2932, 54, 1546, 2934, 6923, 12, 588, 3641, 2170, 1380, 1435, 2934, 6923, 2932, 16, 315, 1769, 3639, 13922, 8526, 26537, 273, 12358, 11177, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 26537, 18, 2469, 31, 277, 27245, 288, 5411, 467, 10369, 3323, 10369, 273, 261, 7937, 310, 13, 86, 899, 63, 77, 15533, 5411, 1613, 18, 6923, 12, 12708, 10369, 18, 10492, 10663, 5411, 309, 261, 77, 9904, 411, 26537, 18, 2469, 13, 2 ]
result = js.eval ("", 0, 0,"endDateStr");
result = js.eval ("endDateStr");
public JSPLikeInJavaScript () throws BSFException { js = mgr.loadScriptingEngine ("javascript"); // first register the response bean into the runtime mgr.registerBean ("response", new String ("howdy-doody")); Object result; System.out.println ("<html>"); System.out.println ("<head><title>JSPLike</title></head>"); System.out.println ("<body>"); result = js.eval ("", 0, 0, "var response = bsf.lookupBean (\"response\");" + "var startDate = new java.util.Date ();" + "var startDateStr = startDate + \"\";"); System.out.print ("<h1>Welcome at "); result = js.eval ("", 0, 0,"startDateStr"); System.out.println (result + "</h1>"); System.out.println ("stuff"); System.out.print ("Response bean's length is: "); result = js.eval ("", 0, 0,"response.length() + \"\""); System.out.println (result); System.out.print ("Response bean's uppercase value is: "); result = js.eval ("", 0, 0,"response.toUpperCase() + \"\""); System.out.println (result); result = js.eval ("", 0, 0,"var endDate = new java.util.Date ();" + "var endDateStr = endDate + \"\";"); System.out.print ("<h5>Page generation done at "); result = js.eval ("", 0, 0,"endDateStr"); System.out.println (result + "</h5>"); System.out.println ("</body>"); System.out.println ("</html>"); }
50120 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50120/dc47a668afb6e7392bf4546329d87c707fcd3d7e/JSPLikeInJavaScript.java/buggy/samples/jsplike/JSPLikeInJavaScript.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 3118, 8804, 382, 16634, 1832, 1216, 605, 22395, 503, 288, 565, 3828, 273, 13333, 18, 945, 3651, 310, 4410, 7566, 11242, 8863, 565, 368, 1122, 1744, 326, 766, 3931, 1368, 326, 3099, 377, 13333, 18, 4861, 3381, 7566, 2740, 3113, 394, 514, 7566, 13606, 15680, 17, 2896, 973, 7923, 1769, 565, 1033, 563, 31, 565, 2332, 18, 659, 18, 8222, 7566, 32, 2620, 2984, 1769, 565, 2332, 18, 659, 18, 8222, 7566, 32, 1978, 4438, 2649, 34, 46, 3118, 8804, 1757, 2649, 4695, 1978, 2984, 1769, 565, 2332, 18, 659, 18, 8222, 7566, 32, 3432, 2984, 1769, 3639, 563, 273, 3828, 18, 8622, 7566, 3113, 374, 16, 374, 16, 1082, 1377, 315, 1401, 766, 273, 7081, 74, 18, 8664, 3381, 261, 2412, 2740, 2412, 12171, 397, 1082, 1377, 315, 1401, 12572, 273, 394, 2252, 18, 1367, 18, 1626, 261, 12171, 397, 1082, 1377, 315, 1401, 12572, 1585, 273, 12572, 397, 1239, 2412, 4868, 1769, 565, 2332, 18, 659, 18, 1188, 7566, 32, 76, 21, 34, 59, 16312, 622, 315, 1769, 565, 563, 273, 3828, 18, 8622, 7566, 3113, 374, 16, 374, 10837, 1937, 1626, 1585, 8863, 565, 2332, 18, 659, 18, 8222, 261, 2088, 397, 6823, 76, 21, 2984, 1769, 565, 2332, 18, 659, 18, 8222, 7566, 334, 3809, 8863, 565, 2332, 18, 659, 18, 1188, 7566, 1064, 3931, 1807, 769, 353, 30, 315, 1769, 565, 563, 273, 3828, 18, 8622, 7566, 3113, 374, 16, 374, 10837, 2740, 18, 2469, 1435, 397, 1239, 8530, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 3118, 8804, 382, 16634, 1832, 1216, 605, 22395, 503, 288, 565, 3828, 273, 13333, 18, 945, 3651, 310, 4410, 7566, 11242, 8863, 565, 368, 1122, 1744, 326, 766, 3931, 1368, 326, 3099, 377, 13333, 18, 4861, 3381, 7566, 2740, 3113, 394, 514, 7566, 13606, 15680, 17, 2896, 973, 7923, 1769, 565, 1033, 563, 31, 565, 2332, 18, 659, 18, 8222, 7566, 32, 2620, 2984, 1769, 565, 2332, 18, 659, 18, 8222, 7566, 32, 1978, 4438, 2649, 34, 46, 3118, 8804, 1757, 2649, 4695, 1978, 2984, 1769, 565, 2332, 18, 659, 18, 8222, 7566, 32, 3432, 2984, 1769, 3639, 563, 273, 3828, 18, 8622, 7566, 3113, 374, 16, 374, 16, 1082, 1377, 315, 1401, 766, 273, 7081, 2 ]
writeBufArr[0] = java.nio.ByteBuffer.allocate(capacityNormal);
writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMAL);
public void testCFII_Data_FinishConnect_nonBlocking() throws IOException { ensureServerOpen(); java.nio.ByteBuffer writeBuf = java.nio.ByteBuffer .allocate(capacityNormal); java.nio.ByteBuffer[] writeBufArr = new java.nio.ByteBuffer[1]; writeBufArr[0] = java.nio.ByteBuffer.allocate(capacityNormal); this.channel1.configureBlocking(false); try { this.channel1.finishConnect(); fail("Should throw NoConnectionPendingException"); } catch (NoConnectionPendingException e) { // correct } this.channel1.connect(localAddr1); assertFalse(this.channel1.isBlocking()); assertFalse(this.channel1.isConnected()); assertTrue(this.channel1.isConnectionPending()); assertTrue(this.channel1.isOpen()); this.server1.accept(); if (tryFinish()) { assertEquals(capacityNormal, this.channel1.write(writeBuf)); assertEquals(capacityNormal, this.channel1.write(writeBufArr, 0, 1)); try { this.channel1.connect(localAddr1); fail("Should throw AlreadyConnectedException"); } catch (AlreadyConnectedException e) { // correct } } assertFalse(this.channel1.isRegistered()); tryFinish(); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/dd7d7186a3fd62e298a4a14d517dace20da8539c/SocketChannelTest.java/buggy/modules/nio/src/test/java/org/apache/harmony/tests/java/nio/channels/SocketChannelTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 39, 1653, 45, 67, 751, 67, 11641, 5215, 67, 5836, 8728, 1435, 1216, 1860, 288, 3639, 3387, 2081, 3678, 5621, 3639, 2252, 18, 82, 1594, 18, 12242, 1045, 5503, 273, 2252, 18, 82, 1594, 18, 12242, 7734, 263, 16247, 12, 16017, 5506, 1769, 3639, 2252, 18, 82, 1594, 18, 12242, 8526, 1045, 5503, 5715, 273, 394, 2252, 18, 82, 1594, 18, 12242, 63, 21, 15533, 3639, 1045, 5503, 5715, 63, 20, 65, 273, 2252, 18, 82, 1594, 18, 12242, 18, 16247, 12, 17296, 30041, 67, 15480, 1769, 3639, 333, 18, 4327, 21, 18, 14895, 8728, 12, 5743, 1769, 3639, 775, 288, 5411, 333, 18, 4327, 21, 18, 13749, 5215, 5621, 5411, 2321, 2932, 14309, 604, 2631, 1952, 8579, 503, 8863, 3639, 289, 1044, 261, 2279, 1952, 8579, 503, 425, 13, 288, 5411, 368, 3434, 3639, 289, 3639, 333, 18, 4327, 21, 18, 3612, 12, 3729, 3178, 21, 1769, 3639, 1815, 8381, 12, 2211, 18, 4327, 21, 18, 291, 8728, 10663, 3639, 1815, 8381, 12, 2211, 18, 4327, 21, 18, 291, 8932, 10663, 3639, 1815, 5510, 12, 2211, 18, 4327, 21, 18, 291, 1952, 8579, 10663, 3639, 1815, 5510, 12, 2211, 18, 4327, 21, 18, 291, 3678, 10663, 3639, 333, 18, 3567, 21, 18, 9436, 5621, 3639, 309, 261, 698, 11641, 10756, 288, 5411, 1815, 8867, 12, 16017, 5506, 16, 333, 18, 4327, 21, 18, 2626, 12, 2626, 5503, 10019, 5411, 1815, 8867, 12, 16017, 5506, 16, 333, 18, 4327, 21, 18, 2626, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 39, 1653, 45, 67, 751, 67, 11641, 5215, 67, 5836, 8728, 1435, 1216, 1860, 288, 3639, 3387, 2081, 3678, 5621, 3639, 2252, 18, 82, 1594, 18, 12242, 1045, 5503, 273, 2252, 18, 82, 1594, 18, 12242, 7734, 263, 16247, 12, 16017, 5506, 1769, 3639, 2252, 18, 82, 1594, 18, 12242, 8526, 1045, 5503, 5715, 273, 394, 2252, 18, 82, 1594, 18, 12242, 63, 21, 15533, 3639, 1045, 5503, 5715, 63, 20, 65, 273, 2252, 18, 82, 1594, 18, 12242, 18, 16247, 12, 17296, 30041, 67, 15480, 1769, 3639, 333, 18, 4327, 21, 18, 14895, 8728, 12, 5743, 1769, 3639, 775, 288, 5411, 333, 18, 4327, 21, 18, 13749, 5215, 5621, 5411, 2321, 2932, 14309, 604, 2 ]
Point d = ca.getSize( );
Point d = this.getSize( );
private final void showException( GC g2d, Exception ex ) { String sWrappedException = ex.getClass( ).getName( ); Throwable th = ex; while ( ex.getCause( ) != null ) { ex = (Exception) ex.getCause( ); } String sException = ex.getClass( ).getName( ); if ( sWrappedException.equals( sException ) ) { sWrappedException = null; } String sMessage = null; if ( th instanceof BirtException ) { sMessage = ( (BirtException) th ).getLocalizedMessage( ); } else { sMessage = ex.getMessage( ); } if ( sMessage == null ) { sMessage = "<null>";//$NON-NLS-1$ } StackTraceElement[] stea = ex.getStackTrace( ); Point d = ca.getSize( ); Device dv = Display.getCurrent( ); Font fo = new Font( dv, "Courier", SWT.BOLD, 16 );//$NON-NLS-1$ g2d.setFont( fo ); FontMetrics fm = g2d.getFontMetrics( ); g2d.setBackground( dv.getSystemColor( SWT.COLOR_WHITE ) ); g2d.fillRectangle( 20, 20, d.x - 40, d.y - 40 ); g2d.setForeground( dv.getSystemColor( SWT.COLOR_BLACK ) ); g2d.drawRectangle( 20, 20, d.x - 40, d.y - 40 ); g2d.setClipping( 20, 20, d.x - 40, d.y - 40 ); int x = 25, y = 20 + fm.getHeight( ); g2d.drawString( "Exception:", x, y );//$NON-NLS-1$ x += g2d.textExtent( "Exception:" ).x + 5;//$NON-NLS-1$ g2d.setForeground( dv.getSystemColor( SWT.COLOR_RED ) ); g2d.drawString( sException, x, y ); x = 25; y += fm.getHeight( ); if ( sWrappedException != null ) { g2d.setForeground( dv.getSystemColor( SWT.COLOR_BLACK ) ); g2d.drawString( "Wrapped In:", x, y );//$NON-NLS-1$ x += g2d.textExtent( "Wrapped In:" ).x + 5;//$NON-NLS-1$ g2d.setForeground( dv.getSystemColor( SWT.COLOR_RED ) ); g2d.drawString( sWrappedException, x, y ); x = 25; y += fm.getHeight( ); } g2d.setForeground( dv.getSystemColor( SWT.COLOR_BLACK ) ); y += 10; g2d.drawString( "Message:", x, y );//$NON-NLS-1$ x += g2d.textExtent( "Message:" ).x + 5;//$NON-NLS-1$ g2d.setForeground( dv.getSystemColor( SWT.COLOR_BLUE ) ); g2d.drawString( sMessage, x, y ); x = 25; y += fm.getHeight( ); g2d.setForeground( dv.getSystemColor( SWT.COLOR_BLACK ) ); y += 10; g2d.drawString( "Trace:", x, y );//$NON-NLS-1$ x = 40; y += fm.getHeight( ); g2d.setForeground( dv.getSystemColor( SWT.COLOR_DARK_GREEN ) ); for ( int i = 0; i < stea.length; i++ ) { g2d.drawString( stea[i].getClassName( ) + ":"//$NON-NLS-1$ + stea[i].getMethodName( ) + "(...):"//$NON-NLS-1$ + stea[i].getLineNumber( ), x, y ); x = 40; y += fm.getHeight( ); } fo.dispose( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ef9ad0cebcee59b4b447430acdbf2355afecf441/Chart3DViewer.java/buggy/chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/Chart3DViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 2405, 503, 12, 15085, 314, 22, 72, 16, 1185, 431, 262, 202, 95, 202, 202, 780, 272, 17665, 503, 273, 431, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 15155, 286, 273, 431, 31, 202, 202, 17523, 261, 431, 18, 588, 10683, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 338, 273, 261, 503, 13, 431, 18, 588, 10683, 12, 11272, 202, 202, 97, 202, 202, 780, 272, 503, 273, 431, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 430, 261, 272, 17665, 503, 18, 14963, 12, 272, 503, 262, 262, 202, 202, 95, 1082, 202, 87, 17665, 503, 273, 446, 31, 202, 202, 97, 202, 202, 780, 28699, 273, 446, 31, 202, 202, 430, 261, 286, 1276, 605, 2714, 503, 262, 202, 202, 95, 1082, 202, 87, 1079, 273, 261, 261, 38, 2714, 503, 13, 286, 262, 18, 588, 2042, 1235, 1079, 12, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 87, 1079, 273, 431, 18, 24906, 12, 11272, 202, 202, 97, 202, 202, 430, 261, 28699, 422, 446, 262, 202, 202, 95, 1082, 202, 87, 1079, 273, 3532, 2011, 2984, 31, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 6332, 1046, 8526, 18654, 69, 273, 431, 18, 588, 6332, 12, 11272, 202, 202, 2148, 302, 273, 3474, 18, 588, 1225, 12, 11272, 202, 202, 3654, 12494, 273, 9311, 18, 588, 3935, 12, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 2405, 503, 12, 15085, 314, 22, 72, 16, 1185, 431, 262, 202, 95, 202, 202, 780, 272, 17665, 503, 273, 431, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 15155, 286, 273, 431, 31, 202, 202, 17523, 261, 431, 18, 588, 10683, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 338, 273, 261, 503, 13, 431, 18, 588, 10683, 12, 11272, 202, 202, 97, 202, 202, 780, 272, 503, 273, 431, 18, 588, 797, 12, 262, 18, 17994, 12, 11272, 202, 202, 430, 261, 272, 17665, 503, 18, 14963, 12, 272, 503, 262, 262, 202, 202, 95, 1082, 202, 87, 17665, 503, 273, 446, 31, 202, 202, 97, 202, 2 ]
_showAllButton.setEnabled(_errors.length != 0);
_showAllButton.setEnabled(numErrors != 0);
private void _resetEnabledStatus() { _nextButton.setEnabled(_errorListPane.getSelectedIndex() < _errors.length); _previousButton.setEnabled(_errorListPane.getSelectedIndex() > 0); _showAllButton.setEnabled(_errors.length != 0); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/84ce5397e59f2c9953a60bb68d966b69ec59ad8c/CompilerErrorPanel.java/buggy/drjava/src/edu/rice/cs/drjava/ui/CompilerErrorPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 6208, 1526, 1482, 1435, 288, 565, 389, 4285, 3616, 18, 542, 1526, 24899, 1636, 682, 8485, 18, 588, 7416, 1016, 1435, 411, 389, 4324, 18, 2469, 1769, 565, 389, 11515, 3616, 18, 542, 1526, 24899, 1636, 682, 8485, 18, 588, 7416, 1016, 1435, 405, 374, 1769, 565, 389, 4500, 1595, 3616, 18, 542, 1526, 12, 2107, 4229, 480, 374, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 6208, 1526, 1482, 1435, 288, 565, 389, 4285, 3616, 18, 542, 1526, 24899, 1636, 682, 8485, 18, 588, 7416, 1016, 1435, 411, 389, 4324, 18, 2469, 1769, 565, 389, 11515, 3616, 18, 542, 1526, 24899, 1636, 682, 8485, 18, 588, 7416, 1016, 1435, 405, 374, 1769, 565, 389, 4500, 1595, 3616, 18, 542, 1526, 12, 2107, 4229, 480, 374, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
long sleepTime = (1 + ((size - maxSize) / 1000000)) * 100; try { Thread.sleep(sleepTime);
} if (sleepTime > 0) { try { Thread.sleep(sleepTime); } catch (InterruptedException ie) {}
private void increaseSize(int k) { size += k; if (size > maxSize) { if (!overMaxSize) { myLogger.log(Logger.WARNING, "MessageManager queue size > "+maxSize); overMaxSize = true; } long sleepTime = (1 + ((size - maxSize) / 1000000)) * 100; try { Thread.sleep(sleepTime); } catch (InterruptedException ie) {} } }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/5746c9a9b3af17c78c89003a663dd4ba6a64bb8e/OutBox.java/clean/src/jade/core/messaging/OutBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 10929, 1225, 12, 474, 417, 13, 288, 202, 202, 1467, 1011, 417, 31, 202, 202, 430, 261, 1467, 405, 14777, 13, 288, 1082, 202, 430, 16051, 1643, 21485, 13, 288, 9506, 202, 4811, 3328, 18, 1330, 12, 3328, 18, 9511, 16, 315, 1079, 1318, 2389, 963, 405, 13773, 1896, 1225, 1769, 9506, 202, 1643, 21485, 273, 638, 31, 1082, 202, 97, 1082, 202, 5748, 5329, 950, 273, 261, 21, 397, 14015, 1467, 300, 14777, 13, 342, 15088, 3719, 380, 2130, 31, 1082, 202, 698, 288, 9506, 202, 3830, 18, 19607, 12, 19607, 950, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 24485, 503, 9228, 13, 2618, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 10929, 1225, 12, 474, 417, 13, 288, 202, 202, 1467, 1011, 417, 31, 202, 202, 430, 261, 1467, 405, 14777, 13, 288, 1082, 202, 430, 16051, 1643, 21485, 13, 288, 9506, 202, 4811, 3328, 18, 1330, 12, 3328, 18, 9511, 16, 315, 1079, 1318, 2389, 963, 405, 13773, 1896, 1225, 1769, 9506, 202, 1643, 21485, 273, 638, 31, 1082, 202, 97, 1082, 202, 5748, 5329, 950, 273, 261, 21, 397, 14015, 1467, 300, 14777, 13, 342, 15088, 3719, 380, 2130, 31, 1082, 202, 698, 288, 9506, 202, 3830, 18, 19607, 12, 19607, 950, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 24485, 503, 9228, 13, 2618, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100 ]
processesFrame.setVisible(true);
jobMonitorFrame.setVisible(true);
public void actionPerformed(java.awt.event.ActionEvent e) { if (processesFrame.isVisible()) { processesFrame.setVisible(false); } else { processesFrame.setVisible(true); } }
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/c32d644fb1599cc6d46c14d935f57fb922d36a58/IC2DFrame.java/clean/src/org/objectweb/proactive/ic2d/gui/IC2DFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 425, 13, 288, 13491, 309, 261, 18675, 3219, 18, 291, 6207, 10756, 288, 18701, 8488, 3219, 18, 542, 6207, 12, 5743, 1769, 13491, 289, 469, 288, 18701, 1719, 7187, 3219, 18, 542, 6207, 12, 3767, 1769, 13491, 289, 10792, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 425, 13, 288, 13491, 309, 261, 18675, 3219, 18, 291, 6207, 10756, 288, 18701, 8488, 3219, 18, 542, 6207, 12, 5743, 1769, 13491, 289, 469, 288, 18701, 1719, 7187, 3219, 18, 542, 6207, 12, 3767, 1769, 13491, 289, 10792, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
synchronized (this) { if (recomputeProviders && startedBundleIdOrNull == null && saveablesProviders != null) { for (int i = 0; i < saveablesProviders.length; i++) { saveablesProviders[i].dispose(); } saveablesProviders = null; } else if (startedBundleIdOrNull != null){ if(inactivePluginsWithSaveablesProviders.containsKey(startedBundleIdOrNull)) { updateSaveablesProviders(startedBundleIdOrNull); }
if (recomputeProviders && startedBundleIdOrNull == null && saveablesProviders != null) { for (int i = 0; i < saveablesProviders.length; i++) { saveablesProviders[i].dispose();
/* package */synchronized void recomputeSaveablesAndNotify(boolean recomputeProviders, String startedBundleIdOrNull) { synchronized (this) { if (recomputeProviders && startedBundleIdOrNull == null && saveablesProviders != null) { // a bundle was stopped, dispose of all saveablesProviders and // recompute // TODO optimize this for (int i = 0; i < saveablesProviders.length; i++) { saveablesProviders[i].dispose(); } saveablesProviders = null; } else if (startedBundleIdOrNull != null){ if(inactivePluginsWithSaveablesProviders.containsKey(startedBundleIdOrNull)) { updateSaveablesProviders(startedBundleIdOrNull); } } Set oldSaveables = new HashSet(Arrays.asList(currentSaveables)); currentSaveables = computeSaveables(); Set newSaveables = new HashSet(Arrays.asList(currentSaveables)); final Set removedSaveables = new HashSet(oldSaveables); removedSaveables.removeAll(newSaveables); final Set addedSaveables = new HashSet(newSaveables); addedSaveables.removeAll(oldSaveables); if (addedSaveables.size() > 0) { Display.getDefault().asyncExec(new Runnable() { public void run() { outsideListener.handleLifecycleEvent(new SaveablesLifecycleEvent( saveablesSource, SaveablesLifecycleEvent.POST_OPEN, (Saveable[]) addedSaveables .toArray(new Saveable[addedSaveables.size()]), false)); } }); } // TODO this will make the closing of saveables non-cancelable. // Ideally, we should react to PRE_CLOSE events and fire // an appropriate PRE_CLOSE if (removedSaveables.size() > 0) { Display.getDefault().asyncExec(new Runnable() { public void run() { outsideListener .handleLifecycleEvent(new SaveablesLifecycleEvent( saveablesSource, SaveablesLifecycleEvent.PRE_CLOSE, (Saveable[]) removedSaveables .toArray(new Saveable[removedSaveables .size()]), true)); outsideListener .handleLifecycleEvent(new SaveablesLifecycleEvent( saveablesSource, SaveablesLifecycleEvent.POST_CLOSE, (Saveable[]) removedSaveables .toArray(new Saveable[removedSaveables .size()]), false)); } }); } } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d0357184b70fc269f8b12f066e706570d82fd587/NavigatorSaveablesService.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorSaveablesService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 20308, 2181, 1195, 22043, 918, 30067, 4755, 1538, 1876, 9168, 12, 6494, 30067, 10672, 16, 1082, 202, 780, 5746, 3405, 548, 18936, 13, 288, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 430, 261, 266, 9200, 10672, 597, 5746, 3405, 548, 18936, 422, 446, 6862, 202, 10, 10, 1923, 1538, 10672, 480, 446, 13, 288, 9506, 202, 759, 279, 3440, 1703, 9627, 16, 15825, 434, 777, 1923, 1538, 10672, 471, 9506, 202, 759, 30067, 9506, 202, 759, 2660, 10979, 333, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1923, 1538, 10672, 18, 2469, 31, 277, 27245, 288, 6862, 202, 5688, 1538, 10672, 63, 77, 8009, 2251, 4150, 5621, 9506, 202, 97, 9506, 202, 5688, 1538, 10672, 273, 446, 31, 1082, 202, 97, 469, 309, 261, 14561, 3405, 548, 18936, 480, 446, 15329, 9506, 202, 430, 12, 27366, 9461, 1190, 4755, 1538, 10672, 18, 12298, 653, 12, 14561, 3405, 548, 18936, 3719, 288, 6862, 202, 2725, 4755, 1538, 10672, 12, 14561, 3405, 548, 18936, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 694, 1592, 4755, 1538, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 2972, 4755, 1538, 10019, 1082, 202, 2972, 4755, 1538, 273, 3671, 4755, 1538, 5621, 1082, 202, 694, 394, 4755, 1538, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 2972, 4755, 1538, 10019, 1082, 202, 6385, 1000, 3723, 4755, 1538, 273, 394, 6847, 12, 1673, 4755, 1538, 1769, 1082, 202, 14923, 4755, 1538, 18, 4479, 1595, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 20308, 2181, 1195, 22043, 918, 30067, 4755, 1538, 1876, 9168, 12, 6494, 30067, 10672, 16, 1082, 202, 780, 5746, 3405, 548, 18936, 13, 288, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 430, 261, 266, 9200, 10672, 597, 5746, 3405, 548, 18936, 422, 446, 6862, 202, 10, 10, 1923, 1538, 10672, 480, 446, 13, 288, 9506, 202, 759, 279, 3440, 1703, 9627, 16, 15825, 434, 777, 1923, 1538, 10672, 471, 9506, 202, 759, 30067, 9506, 202, 759, 2660, 10979, 333, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1923, 1538, 10672, 18, 2469, 31, 277, 27245, 288, 6862, 202, 5688, 1538, 10672, 63, 77, 8009, 2251, 4150, 5621, 9506, 202, 97, 9506, 202, 2 ]
if ( (onFailed != null) && (onFailed.size() > 0) ) fail = (Job)onFailed.remove(0);
if (onFind != null) { synchronized (onFind) { if (onFind.size() > 0) find = (Job)onFind.remove(0); } } if (onFailed != null) { synchronized (onFailed) { if (onFailed.size() > 0) fail = (Job)onFailed.remove(0); } }
void searchFull(Hash key, List onFind, List onFailed, long timeoutMs, boolean isLease) { synchronized (_activeFloodQueries) { _activeFloodQueries.remove(key); } Job find = null; if ( (onFind != null) && (onFind.size() > 0) ) find = (Job)onFind.remove(0); Job fail = null; if ( (onFailed != null) && (onFailed.size() > 0) ) fail = (Job)onFailed.remove(0); SearchJob job = super.search(key, find, fail, timeoutMs, isLease); if (job != null) { if (_log.shouldLog(Log.INFO)) _log.info("Floodfill search timed out for " + key.toBase64() + ", falling back on normal search (#" + job.getJobId() + ") with " + timeoutMs + " remaining"); long expiration = timeoutMs + _context.clock().now(); while ( (onFind != null) && (onFind.size() > 0) ) job.addDeferred((Job)onFind.remove(0), null, expiration, isLease); while ( (onFailed != null) && (onFailed.size() > 0) ) job.addDeferred(null, (Job)onFailed.remove(0), expiration, isLease); } }
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/d4970e23c0b3a90af30bc70231c5544288cacffb/FloodfillNetworkDatabaseFacade.java/buggy/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseFacade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1623, 5080, 12, 2310, 498, 16, 987, 603, 3125, 16, 987, 603, 2925, 16, 1525, 2021, 6947, 16, 1250, 353, 17746, 13, 288, 3639, 3852, 261, 67, 3535, 42, 383, 369, 9592, 13, 288, 389, 3535, 42, 383, 369, 9592, 18, 4479, 12, 856, 1769, 289, 7734, 3956, 1104, 273, 446, 31, 3639, 309, 261, 261, 265, 3125, 480, 446, 13, 597, 261, 265, 3125, 18, 1467, 1435, 405, 374, 13, 262, 5411, 1104, 273, 261, 2278, 13, 265, 3125, 18, 4479, 12, 20, 1769, 3639, 3956, 2321, 273, 446, 31, 3639, 309, 261, 261, 265, 2925, 480, 446, 13, 597, 261, 265, 2925, 18, 1467, 1435, 405, 374, 13, 262, 5411, 2321, 273, 261, 2278, 13, 265, 2925, 18, 4479, 12, 20, 1769, 3639, 5167, 2278, 1719, 273, 2240, 18, 3072, 12, 856, 16, 1104, 16, 2321, 16, 2021, 6947, 16, 353, 17746, 1769, 3639, 309, 261, 4688, 480, 446, 13, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 5923, 3719, 7734, 389, 1330, 18, 1376, 2932, 42, 383, 369, 5935, 1623, 7491, 596, 364, 315, 397, 498, 18, 869, 2171, 1105, 1435, 397, 3104, 31678, 1473, 603, 2212, 1623, 261, 17133, 21821, 397, 1719, 18, 588, 23378, 1435, 397, 9369, 598, 315, 397, 2021, 6947, 397, 315, 4463, 8863, 5411, 1525, 7686, 273, 2021, 6947, 397, 389, 2472, 18, 18517, 7675, 3338, 5621, 5411, 1323, 261, 261, 265, 3125, 480, 446, 13, 597, 261, 265, 3125, 18, 1467, 1435, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1623, 5080, 12, 2310, 498, 16, 987, 603, 3125, 16, 987, 603, 2925, 16, 1525, 2021, 6947, 16, 1250, 353, 17746, 13, 288, 3639, 3852, 261, 67, 3535, 42, 383, 369, 9592, 13, 288, 389, 3535, 42, 383, 369, 9592, 18, 4479, 12, 856, 1769, 289, 7734, 3956, 1104, 273, 446, 31, 3639, 309, 261, 261, 265, 3125, 480, 446, 13, 597, 261, 265, 3125, 18, 1467, 1435, 405, 374, 13, 262, 5411, 1104, 273, 261, 2278, 13, 265, 3125, 18, 4479, 12, 20, 1769, 3639, 3956, 2321, 273, 446, 31, 3639, 309, 261, 261, 265, 2925, 480, 446, 13, 597, 261, 265, 2925, 18, 1467, 1435, 405, 374, 13, 262, 5411, 2321, 273, 261, 2278, 13, 2 ]
catch (Exception e) {
catch (Throwable e) {
public void test() throws Throwable { selenium.setContext("Test Visiblity", "info"); /* Test Visiblity */ // open|./tests/html/test_visibility.html| selenium.open("./tests/html/test_visibility.html"); boolean sawThrow4 = false; try { // originally verifyVisible|visibleParagraph| selenium.assertVisible("visibleParagraph"); } catch (Exception e) { sawThrow4 = true; } verifyFalse(sawThrow4); boolean sawThrow5 = false; try { // originally verifyNotVisible|hiddenParagraph| selenium.assertNotVisible("hiddenParagraph"); } catch (Exception e) { sawThrow5 = true; } verifyFalse(sawThrow5); boolean sawThrow6 = false; try { // originally verifyNotVisible|suppressedParagraph| selenium.assertNotVisible("suppressedParagraph"); } catch (Exception e) { sawThrow6 = true; } verifyFalse(sawThrow6); boolean sawThrow7 = false; try { // originally verifyNotVisible|classSuppressedParagraph| selenium.assertNotVisible("classSuppressedParagraph"); } catch (Exception e) { sawThrow7 = true; } verifyFalse(sawThrow7); boolean sawThrow8 = false; try { // originally verifyNotVisible|jsClassSuppressedParagraph| selenium.assertNotVisible("jsClassSuppressedParagraph"); } catch (Exception e) { sawThrow8 = true; } verifyFalse(sawThrow8); boolean sawThrow9 = false; try { // originally verifyNotVisible|hiddenSubElement| selenium.assertNotVisible("hiddenSubElement"); } catch (Exception e) { sawThrow9 = true; } verifyFalse(sawThrow9); boolean sawThrow10 = false; try { // originally verifyVisible|visibleSubElement| selenium.assertVisible("visibleSubElement"); } catch (Exception e) { sawThrow10 = true; } verifyFalse(sawThrow10); boolean sawThrow11 = false; try { // originally verifyNotVisible|suppressedSubElement| selenium.assertNotVisible("suppressedSubElement"); } catch (Exception e) { sawThrow11 = true; } verifyFalse(sawThrow11); boolean sawThrow12 = false; try { // originally verifyNotVisible|jsHiddenParagraph| selenium.assertNotVisible("jsHiddenParagraph"); } catch (Exception e) { sawThrow12 = true; } verifyFalse(sawThrow12); boolean sawThrow13 = false; try { // originally verifyNotVisible|nonExistantElement| selenium.assertNotVisible("nonExistantElement"); } catch (Exception e) { sawThrow13 = true; } verifyFalse(sawThrow13); checkForVerificationErrors(); }
5066 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5066/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestVisibility.java/clean/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestVisibility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 8077, 495, 80, 560, 3113, 315, 1376, 8863, 225, 1748, 7766, 8077, 495, 80, 560, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 8863, 202, 202, 6494, 19821, 8282, 24, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 6207, 96, 8613, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 6207, 2932, 8613, 17719, 8863, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 87, 2219, 8282, 24, 273, 638, 31, 202, 202, 97, 202, 202, 8705, 8381, 12, 87, 2219, 8282, 24, 1769, 9506, 202, 6494, 19821, 8282, 25, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 1248, 6207, 96, 6345, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 1248, 6207, 2932, 6345, 17719, 8863, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 87, 2219, 8282, 25, 273, 638, 31, 202, 202, 97, 202, 202, 8705, 8381, 12, 87, 2219, 8282, 25, 1769, 9506, 202, 6494, 19821, 8282, 26, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 1248, 6207, 96, 2859, 10906, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 1248, 6207, 2932, 2859, 10906, 17719, 8863, 202, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 8077, 495, 80, 560, 3113, 315, 1376, 8863, 225, 1748, 7766, 8077, 495, 80, 560, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 14422, 18, 2620, 8863, 202, 202, 6494, 19821, 8282, 24, 273, 629, 31, 202, 202, 698, 288, 1082, 202, 759, 24000, 3929, 6207, 96, 8613, 17719, 96, 202, 202, 1786, 17327, 18, 11231, 6207, 2932, 8613, 17719, 8863, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 87, 2219, 2 ]
public TA_RetCode LINEARREG( int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int outIdx; int today, lookbackTotal; double SumX, SumXY, SumY, SumXSqr, Divisor; double m, b; int i; double tempValue1; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( (int)optInTimePeriod == ( Integer.MIN_VALUE ) ) optInTimePeriod = 14; else if( ((int)optInTimePeriod < 2) || ((int)optInTimePeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; lookbackTotal = LINEARREG_Lookback ( optInTimePeriod ); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } outIdx = 0; today = startIdx; SumX = optInTimePeriod * ( optInTimePeriod - 1 ) * 0.5; SumXSqr = optInTimePeriod * ( optInTimePeriod - 1 ) * ( 2 * optInTimePeriod - 1 ) / 6; Divisor = SumX * SumX - optInTimePeriod * SumXSqr; while( today <= endIdx ) { SumXY = 0; SumY = 0; for( i = optInTimePeriod; i-- != 0; ) { SumY += tempValue1 = inReal[today - i]; SumXY += (double)i * tempValue1; } m = ( optInTimePeriod * SumXY - SumX * SumY) / Divisor; b = ( SumY - m * SumX ) / (double)optInTimePeriod; outReal[outIdx++] = b + m * (double)(optInTimePeriod-1); today++; } outBegIdx.value = startIdx; outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;}
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/1a230e9b7099cbd2b7e9eb1294130ca009bfedf4/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 5997, 985, 5937, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 6955, 63, 6487, 474, 3838, 382, 26540, 16, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 659, 4223, 31, 474, 30064, 16, 7330, 823, 5269, 31, 9056, 3495, 60, 16, 3495, 8546, 16, 3495, 61, 16, 3495, 60, 19643, 86, 16, 7244, 12385, 31, 9056, 81, 16, 70, 31, 474, 77, 31, 2896, 440, 278, 30752, 620, 21, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 430, 12443, 474, 13, 3838, 382, 26540, 631, 12, 4522, 18, 6236, 67, 4051, 3719, 3838, 382, 26540, 33, 3461, 31, 12107, 430, 12443, 12, 474, 13, 3838, 382, 26540, 32, 22, 14047, 96, 12443, 474, 13, 3838, 382, 26540, 34, 21, 11706, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 16234, 67, 8388, 31, 7330, 823, 5269, 33, 5997, 985, 5937, 67, 9794, 823, 12, 3838, 382, 26540, 1769, 430, 12, 1937, 4223, 32, 7330, 823, 5269, 13, 1937, 4223, 33, 7330, 823, 5269, 31, 430, 12, 1937, 4223, 34, 409, 4223, 15329, 659, 24059, 4223, 18, 1132, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 5997, 985, 5937, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 6955, 63, 6487, 474, 3838, 382, 26540, 16, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 659, 4223, 31, 474, 30064, 16, 7330, 823, 5269, 31, 9056, 3495, 60, 16, 3495, 8546, 16, 3495, 61, 16, 3495, 60, 19643, 86, 16, 7244, 12385, 31, 9056, 81, 16, 70, 31, 474, 77, 31, 2896, 440, 278, 30752, 620, 21, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 2 ]
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct();
public quickfix.field.LegProduct getLegProduct() throws FieldNotFound { quickfix.field.LegProduct value = new quickfix.field.LegProduct();
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralResponse.java/clean/src/java/src/quickfix/fix44/CollateralResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 336, 8329, 4133, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 336, 8329, 4133, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
defaultLayout.addTrim(SWT.BOTTOM, getStatusLineTrim());
if (defaultLayout.getTrim(getStatusLineTrim().getId())==null) { defaultLayout.addTrim(SWT.BOTTOM, getStatusLineTrim()); }
private void updateLayoutDataForContents() { if (defaultLayout == null) return; // @issue this is not ideal; coolbar and perspective shortcuts should be // separately configurable if ((getCoolBarVisible() && getWindowConfigurer().getShowCoolBar()) || (getPerspectiveBarVisible() && getWindowConfigurer() .getShowPerspectiveBar())) { defaultLayout.addTrim(SWT.TOP, topBarTrim); topBar.setVisible(true); } else { defaultLayout.removeTrim(topBarTrim); topBar.setVisible(false); } if (getStatusLineVisible() && getWindowConfigurer().getShowStatusLine()) { defaultLayout.addTrim(SWT.BOTTOM, getStatusLineTrim()); getStatusLineManager().getControl().setVisible(true); } else { defaultLayout.removeTrim(getStatusLineTrim()); getStatusLineManager().getControl().setVisible(false); } if (getShowHeapStatus()) { if (heapStatus != null) { if (heapStatus.getLayoutData() == null) { heapStatusTrim.setWidthHint(heapStatus.computeSize( SWT.DEFAULT, SWT.DEFAULT).x); heapStatusTrim .setHeightHint(getStatusLineManager().getControl() .computeSize(SWT.DEFAULT, SWT.DEFAULT).y); } defaultLayout.addTrim(SWT.BOTTOM, heapStatusTrim); heapStatus.setVisible(true); } } else { if (heapStatus != null) { defaultLayout.removeTrim(heapStatusTrim); heapStatus.setVisible(false); } } if (getWindowConfigurer().getShowProgressIndicator()) { if (progressRegion.getControl().getLayoutData() == null) { progressRegion.setWidthHint(progressRegion.getControl().computeSize( SWT.DEFAULT, SWT.DEFAULT).x); progressRegion .setHeightHint(getStatusLineManager().getControl() .computeSize(SWT.DEFAULT, SWT.DEFAULT).y); } defaultLayout .addTrim(SWT.BOTTOM, progressRegion); progressRegion.getControl().setVisible(true); } else { if (progressRegion != null) { defaultLayout.removeTrim(progressRegion); progressRegion.getControl().setVisible(false); } } defaultLayout.setCenterControl(getPageComposite()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/25042655d2ac6cf7d95666ed18d45069d8f70c84/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 3744, 751, 1290, 6323, 1435, 288, 3639, 309, 261, 1886, 3744, 422, 446, 13, 5411, 327, 31, 3639, 368, 632, 13882, 333, 353, 486, 23349, 31, 27367, 3215, 471, 26651, 25641, 1410, 506, 3639, 368, 282, 18190, 14593, 3639, 309, 14015, 588, 39, 1371, 5190, 6207, 1435, 597, 26156, 809, 11278, 7675, 588, 5706, 39, 1371, 5190, 10756, 7734, 747, 261, 588, 14781, 16772, 5190, 6207, 1435, 597, 26156, 809, 11278, 1435, 13491, 263, 588, 5706, 14781, 16772, 5190, 1435, 3719, 288, 5411, 805, 3744, 18, 1289, 14795, 12, 55, 8588, 18, 10462, 16, 1760, 5190, 14795, 1769, 5411, 1760, 5190, 18, 542, 6207, 12, 3767, 1769, 3639, 289, 469, 288, 5411, 805, 3744, 18, 4479, 14795, 12, 3669, 5190, 14795, 1769, 5411, 1760, 5190, 18, 542, 6207, 12, 5743, 1769, 3639, 289, 3639, 309, 261, 588, 1482, 1670, 6207, 1435, 597, 26156, 809, 11278, 7675, 588, 5706, 1482, 1670, 10756, 288, 5411, 309, 261, 1886, 3744, 18, 588, 14795, 12, 588, 1482, 1670, 14795, 7675, 26321, 10756, 631, 2011, 13, 288, 805, 3744, 18, 1289, 14795, 12, 55, 8588, 18, 28891, 16, 5870, 1670, 14795, 10663, 289, 5411, 5870, 1670, 1318, 7675, 588, 3367, 7675, 542, 6207, 12, 3767, 1769, 3639, 289, 469, 288, 5411, 805, 3744, 18, 4479, 14795, 12, 588, 1482, 1670, 14795, 10663, 5411, 5870, 1670, 1318, 7675, 588, 3367, 7675, 542, 6207, 12, 5743, 1769, 3639, 289, 202, 202, 430, 261, 588, 5706, 15648, 1482, 10756, 288, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 3744, 751, 1290, 6323, 1435, 288, 3639, 309, 261, 1886, 3744, 422, 446, 13, 5411, 327, 31, 3639, 368, 632, 13882, 333, 353, 486, 23349, 31, 27367, 3215, 471, 26651, 25641, 1410, 506, 3639, 368, 282, 18190, 14593, 3639, 309, 14015, 588, 39, 1371, 5190, 6207, 1435, 597, 26156, 809, 11278, 7675, 588, 5706, 39, 1371, 5190, 10756, 7734, 747, 261, 588, 14781, 16772, 5190, 6207, 1435, 597, 26156, 809, 11278, 1435, 13491, 263, 588, 5706, 14781, 16772, 5190, 1435, 3719, 288, 5411, 805, 3744, 18, 1289, 14795, 12, 55, 8588, 18, 10462, 16, 1760, 5190, 14795, 1769, 5411, 1760, 5190, 18, 542, 6207, 12, 3767, 1769, 3639, 289, 469, 288, 5411, 805, 3744, 18, 2 ]
if(s == RETURN_TYPE_DIRECT || s == RETURN_TYPE_NONE || s == RETURN_TYPE_DISK)
if((s == RETURN_TYPE_DIRECT) || (s == RETURN_TYPE_NONE) || (s == RETURN_TYPE_DISK))
public static short parseValidReturnType(String string) { short s = parseReturnType(string); if(s == RETURN_TYPE_DIRECT || s == RETURN_TYPE_NONE || s == RETURN_TYPE_DISK) return s; throw new IllegalArgumentException("Invalid or unsupported return type: "+returnTypeString(s)); }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/ClientGetMessage.java/clean/src/freenet/node/fcp/ClientGetMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 3025, 1109, 1556, 9102, 12, 780, 533, 13, 288, 202, 202, 6620, 272, 273, 1109, 9102, 12, 1080, 1769, 202, 202, 430, 12, 87, 422, 14780, 67, 2399, 67, 17541, 747, 272, 422, 14780, 67, 2399, 67, 9826, 747, 272, 422, 14780, 67, 2399, 67, 2565, 11129, 13, 1082, 202, 2463, 272, 31, 202, 202, 12849, 394, 2754, 2932, 1941, 578, 13248, 327, 618, 30, 13773, 2463, 559, 780, 12, 87, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 3025, 1109, 1556, 9102, 12, 780, 533, 13, 288, 202, 202, 6620, 272, 273, 1109, 9102, 12, 1080, 1769, 202, 202, 430, 12, 87, 422, 14780, 67, 2399, 67, 17541, 747, 272, 422, 14780, 67, 2399, 67, 9826, 747, 272, 422, 14780, 67, 2399, 67, 2565, 11129, 13, 1082, 202, 2463, 272, 31, 202, 202, 12849, 394, 2754, 2932, 1941, 578, 13248, 327, 618, 30, 13773, 2463, 559, 780, 12, 87, 10019, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AST __t1822 = _t; AST tmp2333_AST_in = (AST)_t;
AST __t1823 = _t; AST tmp2334_AST_in = (AST)_t;
public final void radiosetphrase(AST _t) throws RecognitionException { AST radiosetphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1820 = _t; AST tmp2332_AST_in = (AST)_t; match(_t,RADIOSET); _t = _t.getFirstChild(); { _loop1832: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HORIZONTAL: { AST __t1822 = _t; AST tmp2333_AST_in = (AST)_t; match(_t,HORIZONTAL); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXPAND: { AST tmp2334_AST_in = (AST)_t; match(_t,EXPAND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1822; _t = _t.getNextSibling(); break; } case VERTICAL: { AST tmp2335_AST_in = (AST)_t; match(_t,VERTICAL); _t = _t.getNextSibling(); break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { { sizephrase(_t); _t = _retTree; } break; } case RADIOBUTTONS: { AST __t1825 = _t; AST tmp2336_AST_in = (AST)_t; match(_t,RADIOBUTTONS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QSTRING: { AST tmp2337_AST_in = (AST)_t; match(_t,QSTRING); _t = _t.getNextSibling(); break; } case UNQUOTEDSTRING: { AST tmp2338_AST_in = (AST)_t; match(_t,UNQUOTEDSTRING); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp2339_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LITTLEENDIAN: case NO: case NOLOCK: case NOWAIT: case NULL_KW: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TRUE_KW: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { constant(_t); _t = _retTree; break; } case TODAY: { AST tmp2340_AST_in = (AST)_t; match(_t,TODAY); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } { _loop1831: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2341_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QSTRING: { AST tmp2342_AST_in = (AST)_t; match(_t,QSTRING); _t = _t.getNextSibling(); break; } case UNQUOTEDSTRING: { AST tmp2343_AST_in = (AST)_t; match(_t,UNQUOTEDSTRING); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp2344_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LITTLEENDIAN: case NO: case NOLOCK: case NOWAIT: case NULL_KW: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TRUE_KW: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { constant(_t); _t = _retTree; break; } case TODAY: { AST tmp2345_AST_in = (AST)_t; match(_t,TODAY); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1831; } } while (true); } _t = __t1825; _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } default: { break _loop1832; } } } while (true); } _t = __t1820; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12094, 538, 278, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12094, 538, 278, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2643, 3462, 273, 389, 88, 31, 202, 202, 9053, 1853, 4366, 1578, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 28829, 4294, 4043, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 2643, 1578, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 24606, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 2643, 3787, 273, 389, 88, 31, 9506, 202, 9053, 1853, 31026, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 44, 20344, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 95, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 9506, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 9506, 202, 3593, 22615, 4307, 30, 9506, 202, 95, 6862, 202, 9053, 1853, 31026, 24, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12094, 538, 278, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12094, 538, 278, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2643, 3462, 273, 389, 88, 31, 202, 202, 9053, 1853, 4366, 1578, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 28829, 4294, 4043, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 2643, 1578, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 2 ]
offset = Math.abs(offset) / (1000 * 60); int hours = offset / 60; int minutes = offset % 60;
offset = offset / (1000 * 60); int hours = Math.abs(offset) / 60; int minutes = Math.abs(offset) % 60;
private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZone) this).getDSTSavings(); } StringBuffer sb = new StringBuffer(9); sb.append("GMT"); sb.append(offset >= 0 ? '+' : '-'); offset = Math.abs(offset) / (1000 * 60); int hours = offset / 60; int minutes = offset % 60; sb.append((char) ('0' + hours / 10)).append((char) ('0' + hours % 10)); sb.append(':'); sb.append((char) ('0' + minutes / 10)).append((char) ('0' + minutes % 10)); return sb.toString(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/TimeZone.java/buggy/core/src/classpath/java/java/util/TimeZone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 4829, 20524, 12, 6494, 3046, 13, 225, 288, 202, 202, 474, 1384, 273, 10547, 2335, 5621, 565, 309, 261, 11057, 597, 333, 1276, 4477, 16760, 13, 1377, 288, 1082, 202, 759, 26920, 16, 1496, 333, 353, 279, 8281, 5166, 434, 326, 1491, 30, 1082, 202, 759, 22055, 5530, 279, 3046, 1569, 5456, 11376, 1082, 202, 759, 16491, 21739, 5083, 2973, 2548, 5099, 12392, 8738, 18, 202, 3348, 1011, 14015, 5784, 16760, 13, 333, 2934, 588, 40, 882, 55, 27497, 5621, 202, 202, 97, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 29, 1769, 202, 202, 18366, 18, 6923, 2932, 25315, 8863, 202, 202, 18366, 18, 6923, 12, 3348, 1545, 374, 692, 10058, 294, 4014, 1769, 202, 202, 3348, 273, 2361, 18, 5113, 12, 3348, 13, 342, 261, 18088, 380, 4752, 1769, 202, 202, 474, 7507, 273, 1384, 342, 4752, 31, 202, 202, 474, 6824, 273, 1384, 738, 4752, 31, 202, 202, 18366, 18, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 7507, 342, 1728, 13, 2934, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 7507, 738, 1728, 10019, 202, 202, 18366, 18, 6923, 2668, 2497, 1769, 565, 2393, 18, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 6824, 342, 1728, 13, 2934, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 6824, 738, 1728, 10019, 202, 202, 2463, 2393, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 4829, 20524, 12, 6494, 3046, 13, 225, 288, 202, 202, 474, 1384, 273, 10547, 2335, 5621, 565, 309, 261, 11057, 597, 333, 1276, 4477, 16760, 13, 1377, 288, 1082, 202, 759, 26920, 16, 1496, 333, 353, 279, 8281, 5166, 434, 326, 1491, 30, 1082, 202, 759, 22055, 5530, 279, 3046, 1569, 5456, 11376, 1082, 202, 759, 16491, 21739, 5083, 2973, 2548, 5099, 12392, 8738, 18, 202, 3348, 1011, 14015, 5784, 16760, 13, 333, 2934, 588, 40, 882, 55, 27497, 5621, 202, 202, 97, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 29, 1769, 202, 202, 18366, 18, 6923, 2932, 25315, 8863, 202, 202, 18366, 18, 6923, 12, 3348, 1545, 374, 692, 10058, 294, 4014, 1769, 2 ]
cluster.basis = findBasis(database, cluster, dim_c);
if (cluster.objectIDs.size() > 0) cluster.basis = findBasis(database, cluster, dim_c);
public void run(Database<DoubleVector> database) throws IllegalStateException { long start = System.currentTimeMillis(); try { Progress progress = new Progress(database.size()); if (database.dimensionality() < dim) throw new IllegalStateException("Dimensionality of data < parameter l! " + "(" + database.dimensionality() + " < " + dim + ")"); // current number of seeds // todo int k_c = Math.min(database.size(), 15 * k); // current dimensionality associated with each seed int dim_c = database.dimensionality(); // pick k0 > k points from the db List<Cluster> clusters = initialSeeds(database, k_c); double beta = Math.exp(-Math.log((double) dim_c / (double) dim) * Math.log(1 / alpha) / Math.log((double) k_c / (double) k)); while (k_c > k) { // find partitioning induced by the seeds of the clusters assign(database, clusters); // determine current subspace associated eith each cluster for (Cluster cluster : clusters) { cluster.basis = findBasis(database, cluster, dim_c); } // reduce number of seeds and dimensionality associated with each seed k_c = (int) Math.max(k, k_c * alpha); dim_c = (int) Math.max(dim, dim_c * beta);// clusters = merge(clusters, k_c, dim_c); } assign(database, clusters);// print(clusters); } catch (Exception e) { throw new IllegalStateException(e); } long end = System.currentTimeMillis(); if (isTime()) { long elapsedTime = end - start; System.out.println(this.getClass().getName() + " runtime: " + elapsedTime + " milliseconds."); } }
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/03ebe59f9c20167deaf818a03d91cee2e52e8afd/ORCLUS.java/clean/src/de/lmu/ifi/dbs/algorithm/ORCLUS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 12, 4254, 32, 27047, 34, 2063, 13, 1216, 5477, 288, 565, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 565, 775, 288, 1377, 10980, 4007, 273, 394, 10980, 12, 6231, 18, 1467, 10663, 1377, 309, 261, 6231, 18, 11808, 7919, 1435, 411, 2464, 13, 3639, 604, 394, 5477, 2932, 8611, 7919, 434, 501, 411, 1569, 328, 5, 315, 397, 4766, 3639, 12452, 397, 2063, 18, 11808, 7919, 1435, 397, 315, 411, 315, 397, 2464, 397, 7310, 1769, 1377, 368, 783, 1300, 434, 19076, 1377, 368, 10621, 1377, 509, 417, 67, 71, 273, 2361, 18, 1154, 12, 6231, 18, 1467, 9334, 4711, 380, 417, 1769, 1377, 368, 783, 29912, 3627, 598, 1517, 5009, 1377, 509, 2464, 67, 71, 273, 2063, 18, 11808, 7919, 5621, 1377, 368, 6002, 417, 20, 405, 417, 3143, 628, 326, 1319, 1377, 987, 32, 3629, 34, 9566, 273, 2172, 1761, 9765, 12, 6231, 16, 417, 67, 71, 1769, 1377, 1645, 6796, 273, 2361, 18, 2749, 19236, 10477, 18, 1330, 12443, 9056, 13, 2464, 67, 71, 342, 261, 9056, 13, 2464, 13, 380, 2361, 18, 1330, 12, 21, 342, 4190, 13, 342, 11794, 2361, 18, 1330, 12443, 9056, 13, 417, 67, 71, 342, 261, 9056, 13, 417, 10019, 1377, 1323, 261, 79, 67, 71, 405, 417, 13, 288, 3639, 368, 1104, 3590, 310, 1547, 26372, 635, 326, 19076, 434, 326, 9566, 3639, 2683, 12, 6231, 16, 9566, 1769, 3639, 368, 4199, 783, 720, 2981, 3627, 425, 483, 1517, 2855, 3639, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 12, 4254, 32, 27047, 34, 2063, 13, 1216, 5477, 288, 565, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 565, 775, 288, 1377, 10980, 4007, 273, 394, 10980, 12, 6231, 18, 1467, 10663, 1377, 309, 261, 6231, 18, 11808, 7919, 1435, 411, 2464, 13, 3639, 604, 394, 5477, 2932, 8611, 7919, 434, 501, 411, 1569, 328, 5, 315, 397, 4766, 3639, 12452, 397, 2063, 18, 11808, 7919, 1435, 397, 315, 411, 315, 397, 2464, 397, 7310, 1769, 1377, 368, 783, 1300, 434, 19076, 1377, 368, 10621, 1377, 509, 417, 67, 71, 273, 2361, 18, 1154, 12, 6231, 18, 1467, 9334, 4711, 380, 417, 1769, 1377, 368, 783, 29912, 3627, 598, 1517, 5009, 1377, 509, 2464, 2 ]
new RuntimeException(name()).printStackTrace(System.err);
if (Configuration.DEBUG) log.log(Level.SEVERE, "Length of padded text MUST be a multiple of " + blockSize, new RuntimeException(name()));
public boolean selfTest() { final int[] mLen = new int[] { 16, 20, 32, 48, 64 }; final byte[] M = new byte[mLen[mLen.length - 1]]; PRNG.getInstance().nextBytes(M); final byte[] EM = new byte[1024]; byte[] p; int bs, i, j; for (bs = 256; bs < 1025; bs += 256) { init(bs); for (i = 0; i < mLen.length; i++) { j = mLen[i]; p = pad(M, 0, j); if (j + p.length != blockSize) { new RuntimeException(name()).printStackTrace(System.err); return false; } System.arraycopy(p, 0, EM, 0, p.length); System.arraycopy(M, 0, EM, p.length, j); try { if (p.length != unpad(EM, 0, blockSize)) { new RuntimeException(name()).printStackTrace(System.err); return false; } } catch (WrongPaddingException x) { x.printStackTrace(System.err); return false; } } reset(); } return true; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/8ace3af577b4314374a3cc74fdeae04a0733f7de/PKCS1_V1_5.java/clean/gnu/javax/crypto/pad/PKCS1_V1_5.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 365, 4709, 1435, 225, 288, 565, 727, 509, 8526, 312, 2891, 273, 394, 509, 8526, 288, 2872, 16, 4200, 16, 3847, 16, 9934, 16, 5178, 289, 31, 565, 727, 1160, 8526, 490, 273, 394, 1160, 63, 81, 2891, 63, 81, 2891, 18, 2469, 300, 404, 13563, 31, 565, 11770, 4960, 18, 588, 1442, 7675, 4285, 2160, 12, 49, 1769, 565, 727, 1160, 8526, 7141, 273, 394, 1160, 63, 2163, 3247, 15533, 565, 1160, 8526, 293, 31, 565, 509, 7081, 16, 277, 16, 525, 31, 565, 364, 261, 2038, 273, 8303, 31, 7081, 411, 1728, 2947, 31, 7081, 1011, 8303, 13, 1377, 288, 3639, 1208, 12, 2038, 1769, 3639, 364, 261, 77, 273, 374, 31, 277, 411, 312, 2891, 18, 2469, 31, 277, 27245, 1850, 288, 5411, 525, 273, 312, 2891, 63, 77, 15533, 5411, 293, 273, 4627, 12, 49, 16, 374, 16, 525, 1769, 5411, 309, 261, 78, 397, 293, 18, 2469, 480, 13766, 13, 2868, 288, 7734, 309, 261, 1750, 18, 9394, 13, 613, 18, 1330, 12, 2355, 18, 1090, 2204, 41, 16, 315, 1782, 434, 14426, 977, 10685, 506, 279, 3229, 434, 315, 397, 13766, 16, 394, 3235, 12, 529, 1435, 10019, 7734, 327, 629, 31, 2868, 289, 5411, 2332, 18, 1126, 3530, 12, 84, 16, 374, 16, 7141, 16, 374, 16, 293, 18, 2469, 1769, 5411, 2332, 18, 1126, 3530, 12, 49, 16, 374, 16, 7141, 16, 293, 18, 2469, 16, 525, 1769, 5411, 775, 2868, 288, 7734, 309, 261, 84, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 365, 4709, 1435, 225, 288, 565, 727, 509, 8526, 312, 2891, 273, 394, 509, 8526, 288, 2872, 16, 4200, 16, 3847, 16, 9934, 16, 5178, 289, 31, 565, 727, 1160, 8526, 490, 273, 394, 1160, 63, 81, 2891, 63, 81, 2891, 18, 2469, 300, 404, 13563, 31, 565, 11770, 4960, 18, 588, 1442, 7675, 4285, 2160, 12, 49, 1769, 565, 727, 1160, 8526, 7141, 273, 394, 1160, 63, 2163, 3247, 15533, 565, 1160, 8526, 293, 31, 565, 509, 7081, 16, 277, 16, 525, 31, 565, 364, 261, 2038, 273, 8303, 31, 7081, 411, 1728, 2947, 31, 7081, 1011, 8303, 13, 1377, 288, 3639, 1208, 12, 2038, 1769, 3639, 364, 261, 77, 273, 374, 31, 277, 411, 2 ]
target = tagHandlerClass.newInstance(); } else { target = getServlet(); } if (target != null && target instanceof JspSourceDependent) { return ((java.util.List) ((JspSourceDependent) target).getDependants()); } } catch (Throwable ex) { } return null;
target = tagHandlerClass.newInstance(); } else { target = getServlet(); } if (target != null && target instanceof JspSourceDependent) { return ((java.util.List) ((JspSourceDependent) target).getDependants()); } } catch (Throwable ex) { } return null;
public java.util.List getDependants() { try { Object target; if (isTagFile) { if (reload) { tagHandlerClass = ctxt.load(); } target = tagHandlerClass.newInstance(); } else { target = getServlet(); } if (target != null && target instanceof JspSourceDependent) { return ((java.util.List) ((JspSourceDependent) target).getDependants()); } } catch (Throwable ex) { } return null; }
48155 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48155/d8ae9173ca7e94b7c128bab523a69c93fb8b0aca/JspServletWrapper.java/buggy/java/org/apache/jasper/servlet/JspServletWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 1367, 18, 682, 336, 4584, 4388, 1435, 288, 202, 698, 288, 202, 565, 1033, 1018, 31, 202, 565, 309, 261, 291, 1805, 812, 13, 288, 7734, 309, 261, 17517, 13, 288, 10792, 1047, 1503, 797, 273, 14286, 18, 945, 5621, 7734, 289, 202, 202, 3299, 273, 1047, 1503, 797, 18, 2704, 1442, 5621, 202, 565, 289, 469, 288, 202, 202, 3299, 273, 19136, 5621, 202, 565, 289, 202, 565, 309, 261, 3299, 480, 446, 597, 1018, 1276, 19300, 1830, 18571, 13, 288, 5411, 327, 14015, 6290, 18, 1367, 18, 682, 13, 14015, 21796, 1830, 18571, 13, 1018, 2934, 588, 4584, 4388, 10663, 202, 565, 289, 202, 97, 1044, 261, 15155, 431, 13, 288, 202, 97, 202, 2463, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 1367, 18, 682, 336, 4584, 4388, 1435, 288, 202, 698, 288, 202, 565, 1033, 1018, 31, 202, 565, 309, 261, 291, 1805, 812, 13, 288, 7734, 309, 261, 17517, 13, 288, 10792, 1047, 1503, 797, 273, 14286, 18, 945, 5621, 7734, 289, 202, 202, 3299, 273, 1047, 1503, 797, 18, 2704, 1442, 5621, 202, 565, 289, 469, 288, 202, 202, 3299, 273, 19136, 5621, 202, 565, 289, 202, 565, 309, 261, 3299, 480, 446, 597, 1018, 1276, 19300, 1830, 18571, 13, 288, 5411, 327, 14015, 6290, 18, 1367, 18, 682, 13, 14015, 21796, 1830, 18571, 13, 1018, 2934, 588, 4584, 4388, 10663, 202, 565, 289, 202, 97, 1044, 261, 15155, 431, 13, 288, 202, 97, 2 ]
case 266: {
case 265: {
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 99: MethodDeclaration ::= MethodHeader MethodBody // case 99: { //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodHeader = (MethodDecl) getRhsSym(1); //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block MethodBody = (Block) getRhsSym(2); //#line 669 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" JPGPosition old_pos = (JPGPosition) MethodHeader.position(); setResult(MethodHeader.body(MethodBody) .position(pos(old_pos.getLeftIToken().getTokenIndex(), getRightSpan()))); break; } // // Rule 101: ResultType ::= void // case 101: { //#line 680 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 102: FormalParameterList ::= LastFormalParameter // case 102: { //#line 700 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 702 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 103: FormalParameterList ::= FormalParameters , LastFormalParameter // case 103: { //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 709 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 104: FormalParameters ::= FormalParameter // case 104: { //#line 714 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 716 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 105: FormalParameters ::= FormalParameters , FormalParameter // case 105: { //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 723 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 106: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 106: { //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 108: VariableModifiers ::= VariableModifiers VariableModifier // case 108: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 109: VariableModifier ::= final // case 109: { //#line 746 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 110: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 110: { //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 754 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 112: MethodModifiers ::= MethodModifiers MethodModifier // case 112: { //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 113: MethodModifier ::= public // case 113: { //#line 776 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 114: MethodModifier ::= protected // case 114: { //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 115: MethodModifier ::= private // case 115: { //#line 786 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 116: MethodModifier ::= abstract // case 116: { //#line 791 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 117: MethodModifier ::= static // case 117: { //#line 796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 118: MethodModifier ::= final // case 118: { //#line 801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 119: MethodModifier ::= native // case 119: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 120: MethodModifier ::= strictfp // case 120: { //#line 816 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 121: Throws ::= throws ExceptionTypeList // case 121: { //#line 820 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 822 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 122: ExceptionTypeList ::= ExceptionType // case 122: { //#line 826 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 828 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 123: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 123: { //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 126: MethodBody ::= ; // case 126: setResult(null); break; // // Rule 128: StaticInitializer ::= static Block // case 128: { //#line 855 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 857 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 129: SimpleTypeName ::= identifier // case 129: { //#line 872 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 131: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 131: { //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 881 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 132: ConstructorModifier ::= public // case 132: { //#line 889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 133: ConstructorModifier ::= protected // case 133: { //#line 894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 134: ConstructorModifier ::= private // case 134: { //#line 899 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 135: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 135: { //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; if (ExplicitConstructorInvocationopt == null) l = BlockStatementsopt; else { l = new TypedList(new LinkedList(), Stmt.class, false); l.add(ExplicitConstructorInvocationopt); l.addAll(BlockStatementsopt); } setResult(nf.Block(pos(), l)); break; } // // Rule 136: Arguments ::= ( ArgumentListopt ) // case 136: { //#line 936 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 938 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 139: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 139: { //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 140: InterfaceModifier ::= public // case 140: { //#line 964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 141: InterfaceModifier ::= protected // case 141: { //#line 969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 142: InterfaceModifier ::= private // case 142: { //#line 974 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 143: InterfaceModifier ::= abstract // case 143: { //#line 979 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 144: InterfaceModifier ::= static // case 144: { //#line 984 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 145: InterfaceModifier ::= strictfp // case 145: { //#line 989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 146: ExtendsInterfaces ::= extends InterfaceType // case 146: { //#line 993 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 995 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 147: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 147: { //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 148: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 148: { //#line 1012 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1014 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 150: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 150: { //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 152: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= ClassDeclaration // case 153: { //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1036 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 154: { //#line 1041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 155: InterfaceMemberDeclaration ::= ; // case 155: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 156: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 156: { //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1056 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 158: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 158: { //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1076 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 159: ConstantModifier ::= public // case 159: { //#line 1084 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 160: ConstantModifier ::= static // case 160: { //#line 1089 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 161: ConstantModifier ::= final // case 161: { //#line 1094 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 163: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 163: { //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1103 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 164: AbstractMethodModifier ::= public // case 164: { //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 165: AbstractMethodModifier ::= abstract // case 165: { //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 166: SimpleName ::= identifier // case 166: { //#line 1172 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 167: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 167: { //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1203 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 168: VariableInitializers ::= VariableInitializer // case 168: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 169: VariableInitializers ::= VariableInitializers , VariableInitializer // case 169: { //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 170: Block ::= { BlockStatementsopt } // case 170: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 171: BlockStatements ::= BlockStatement // case 171: { //#line 1243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1245 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 172: BlockStatements ::= BlockStatements BlockStatement // case 172: { //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1252 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 174: BlockStatement ::= ClassDeclaration // case 174: { //#line 1258 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 175: BlockStatement ::= Statement // case 175: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 177: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 177: { //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1277 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 201: IfThenStatement ::= if ( Expression ) Statement // case 201: { //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 202: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 202: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1346 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 203: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 203: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 204: EmptyStatement ::= ; // case 204: { //#line 1358 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 205: LabeledStatement ::= identifier : Statement // case 205: { //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1364 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 206: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 206: { //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 207: ExpressionStatement ::= StatementExpression ; // case 207: { //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1375 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 215: AssertStatement ::= assert Expression ; // case 215: { //#line 1396 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1398 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 216: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 216: { //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 217: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 217: { //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1409 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 218: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 218: { //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 220: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 220: { //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 221: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 221: { //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1430 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabel // case 222: { //#line 1437 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 223: SwitchLabels ::= SwitchLabels SwitchLabel // case 223: { //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1446 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 224: SwitchLabel ::= case ConstantExpression : // case 224: { //#line 1451 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1453 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 225: SwitchLabel ::= default : // case 225: { //#line 1460 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 226: WhileStatement ::= while ( Expression ) Statement // case 226: { //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1469 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 227: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 227: { //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1475 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 228: DoStatement ::= do Statement while ( Expression ) ; // case 228: { //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1481 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 231: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 231: { //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 232: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 232: { //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1496 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 234: ForInit ::= LocalVariableDeclaration // case 234: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1503 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpression // case 236: { //#line 1511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 237: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 237: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 238: BreakStatement ::= break identifieropt ; // case 238: { //#line 1528 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1530 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 239: ContinueStatement ::= continue identifieropt ; // case 239: { //#line 1536 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1538 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 240: ReturnStatement ::= return Expressionopt ; // case 240: { //#line 1544 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1546 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 241: ThrowStatement ::= throw Expression ; // case 241: { //#line 1550 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1552 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 242: TryStatement ::= try Block Catches // case 242: { //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1564 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 243: TryStatement ::= try Block Catchesopt Finally // case 243: { //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1569 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 244: Catches ::= CatchClause // case 244: { //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1575 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 245: Catches ::= Catches CatchClause // case 245: { //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1582 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 246: CatchClause ::= catch ( FormalParameter ) Block // case 246: { //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1589 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 247: Finally ::= finally Block // case 247: { //#line 1593 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 251: PrimaryNoNewArray ::= Type . class // case 251: { //#line 1613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 252: PrimaryNoNewArray ::= void . class // case 252: { //#line 1634 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 253: PrimaryNoNewArray ::= this // case 253: { //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 254: PrimaryNoNewArray ::= ClassName . this // case 254: { //#line 1643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1645 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 255: PrimaryNoNewArray ::= ( Expression ) // case 255: { //#line 1648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1650 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 260: Literal ::= IntegerLiteral$IntegerLiteral // case 260: { //#line 1658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1660 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 261: Literal ::= LongLiteral$LongLiteral // case 261: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 262: Literal ::= FloatingPointLiteral$FloatLiteral // case 262: { //#line 1670 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1672 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 263: Literal ::= DoubleLiteral$DoubleLiteral // case 263: { //#line 1676 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1678 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 264: Literal ::= BooleanLiteral // case 264: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 265: Literal ::= CharacterLiteral$CharacterLiteral // case 265: { //#line 1687 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1689 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 266: Literal ::= StringLiteral$str // case 266: { //#line 1693 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1695 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 267: Literal ::= null // case 267: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 268: BooleanLiteral ::= true$trueLiteral // case 268: { //#line 1705 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: BooleanLiteral ::= false$falseLiteral // case 269: { //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1712 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 270: ArgumentList ::= Expression // case 270: { //#line 1725 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1727 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 271: ArgumentList ::= ArgumentList , Expression // case 271: { //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 272: DimExprs ::= DimExpr // case 272: { //#line 1768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1770 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 273: DimExprs ::= DimExprs DimExpr // case 273: { //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1777 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 274: DimExpr ::= [ Expression ] // case 274: { //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1784 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 275: Dims ::= [ ] // case 275: { //#line 1790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 276: Dims ::= Dims [ ] // case 276: { //#line 1793 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 277: FieldAccess ::= Primary . identifier // case 277: { //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= super . identifier // case 278: { //#line 1804 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1806 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 279: FieldAccess ::= ClassName . super$sup . identifier // case 279: { //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 280: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 280: { //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1817 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 282: PostfixExpression ::= ExpressionName // case 282: { //#line 1840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 285: PostIncrementExpression ::= PostfixExpression ++ // case 285: { //#line 1848 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 286: PostDecrementExpression ::= PostfixExpression -- // case 286: { //#line 1854 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 289: UnaryExpression ::= + UnaryExpression // case 289: { //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1864 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 290: UnaryExpression ::= - UnaryExpression // case 290: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 292: PreIncrementExpression ::= ++ UnaryExpression // case 292: { //#line 1874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1876 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 293: PreDecrementExpression ::= -- UnaryExpression // case 293: { //#line 1880 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 295: { //#line 1887 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 296: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 296: { //#line 1892 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 299: { //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1908 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 300: { //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 301: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 301: { //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1918 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 303: { //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1925 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 304: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 304: { //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1930 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 306: { //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1937 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 307: { //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1942 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 308: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 308: { //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1948 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression < ShiftExpression // case 310: { //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression > ShiftExpression // case 311: { //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1961 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 312: { //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1966 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 313: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 313: { //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1971 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression == RelationalExpression // case 315: { //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1987 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 316: EqualityExpression ::= EqualityExpression != RelationalExpression // case 316: { //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1992 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 318: AndExpression ::= AndExpression & EqualityExpression // case 318: { //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1999 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 320: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 320: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2006 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 322: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 322: { //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2013 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 324: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 324: { //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2020 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 326: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 326: { //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 328: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 328: { //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 331: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 331: { //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 332: LeftHandSide ::= ExpressionName // case 332: { //#line 2047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2049 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 335: AssignmentOperator ::= = // case 335: { //#line 2057 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 336: AssignmentOperator ::= *= // case 336: { //#line 2062 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= /= // case 337: { //#line 2067 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= %= // case 338: { //#line 2072 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= += // case 339: { //#line 2077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= -= // case 340: { //#line 2082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= <<= // case 341: { //#line 2087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > = // case 342: { //#line 2092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= > > > = // case 343: { //#line 2098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= &= // case 344: { //#line 2104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= ^= // case 345: { //#line 2109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 346: AssignmentOperator ::= |= // case 346: { //#line 2114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 349: Dimsopt ::= $Empty // case 349: { //#line 2127 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 351: Catchesopt ::= $Empty // case 351: { //#line 2134 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 353: identifieropt ::= $Empty // case 353: setResult(null); break; // // Rule 354: identifieropt ::= identifier // case 354: { //#line 2141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2143 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 355: ForUpdateopt ::= $Empty // case 355: { //#line 2149 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 357: Expressionopt ::= $Empty // case 357: setResult(null); break; // // Rule 359: ForInitopt ::= $Empty // case 359: { //#line 2160 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 361: SwitchLabelsopt ::= $Empty // case 361: { //#line 2167 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 363: SwitchBlockStatementGroupsopt ::= $Empty // case 363: { //#line 2174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 365: VariableModifiersopt ::= $Empty // case 365: { //#line 2181 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 367: VariableInitializersopt ::= $Empty // case 367: setResult(null); break; // // Rule 369: AbstractMethodModifiersopt ::= $Empty // case 369: { //#line 2211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 371: ConstantModifiersopt ::= $Empty // case 371: { //#line 2218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 373: InterfaceMemberDeclarationsopt ::= $Empty // case 373: { //#line 2225 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 375: ExtendsInterfacesopt ::= $Empty // case 375: { //#line 2232 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 377: InterfaceModifiersopt ::= $Empty // case 377: { //#line 2239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 379: ClassBodyopt ::= $Empty // case 379: setResult(null); break; // // Rule 381: Argumentsopt ::= $Empty // case 381: setResult(null); break; // // Rule 382: Argumentsopt ::= Arguments // case 382: throw new Error("No action specified for rule " + 382); // // Rule 383: ,opt ::= $Empty // case 383: setResult(null); break; // // Rule 385: ArgumentListopt ::= $Empty // case 385: { //#line 2269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 387: BlockStatementsopt ::= $Empty // case 387: { //#line 2276 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 389: ExplicitConstructorInvocationopt ::= $Empty // case 389: setResult(null); break; // // Rule 391: ConstructorModifiersopt ::= $Empty // case 391: { //#line 2287 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 393: ...opt ::= $Empty // case 393: setResult(null); break; // // Rule 395: FormalParameterListopt ::= $Empty // case 395: { //#line 2298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 397: Throwsopt ::= $Empty // case 397: { //#line 2305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 399: MethodModifiersopt ::= $Empty // case 399: { //#line 2312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 401: FieldModifiersopt ::= $Empty // case 401: { //#line 2319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 403: ClassBodyDeclarationsopt ::= $Empty // case 403: { //#line 2326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 405: Interfacesopt ::= $Empty // case 405: { //#line 2333 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 407: Superopt ::= $Empty // case 407: { //#line 2340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 409: ClassModifiersopt ::= $Empty // case 409: { //#line 2351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 411: TypeDeclarationsopt ::= $Empty // case 411: { //#line 2363 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 413: ImportDeclarationsopt ::= $Empty // case 413: { //#line 2370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 415: PackageDeclarationopt ::= $Empty // case 415: setResult(null); break; // // Rule 417: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 717 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 418: { //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 726 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 419: PackageDeclaration ::= package PackageName ; // case 419: { //#line 732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 420: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 420: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 422: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 422: { //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 423: X10ClassModifier ::= ClassModifier // case 423: { //#line 761 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 763 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 424: X10ClassModifier ::= safe // case 424: { //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 425: PropertyList ::= ( Properties WhereClauseopt ) // case 425: { //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 426: PropertyList ::= ( WhereClause ) // case 426: { //#line 779 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 427: Properties ::= Property // case 427: { //#line 788 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 428: Properties ::= Properties , Property // case 428: { //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 797 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 429: Property ::= Type identifier // case 429: { //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 805 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 430: MethodHeader ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt // case 430: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 813 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, null)); break; } // // Rule 431: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 431: { //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 432: { //#line 840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 433: { //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 847 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 434: { //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 852 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 435: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 435: { //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 858 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 436: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 436: { //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 875 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 437: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 900 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 907 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 439: { //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 915 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 440: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 440: { //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 924 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 441: { //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 442: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 442: { //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 934 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 444: AssignPropertyCall ::= property ( ArgumentList ) // case 444: { //#line 939 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 941 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 445: Type ::= DataType // case 445: { //#line 950 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 952 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 446: Type ::= nullable < Type > DepParametersopt // case 446: { //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 957 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 447: Type ::= future < Type > // case 447: { //#line 963 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 965 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 451: PrimitiveType ::= NumericType DepParametersopt // case 451: { //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 982 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 452: PrimitiveType ::= boolean DepParametersopt // case 452: { //#line 988 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 457: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 457: { //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 458: DepParameters ::= ( DepParameterExpr ) // case 458: { //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1023 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 459: DepParameterExpr ::= ArgumentList WhereClauseopt // case 459: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 460: DepParameterExpr ::= WhereClause // case 460: { //#line 1032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 461: WhereClause ::= : ConstExpression // case 461: { //#line 1038 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1040 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 462: ConstPrimary ::= Literal // case 462: { //#line 1045 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 463: ConstPrimary ::= Type . class // case 463: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1052 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 464: ConstPrimary ::= void . class // case 464: { //#line 1071 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 465: ConstPrimary ::= this // case 465: { //#line 1077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 466: ConstPrimary ::= here // case 466: { //#line 1082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 467: ConstPrimary ::= ClassName . this // case 467: { //#line 1085 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 468: ConstPrimary ::= ( ConstExpression ) // case 468: { //#line 1090 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 470: ConstPrimary ::= self // case 470: { //#line 1098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 471: ConstPostfixExpression ::= ConstPrimary // case 471: { //#line 1104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 472: ConstPostfixExpression ::= ExpressionName // case 472: { //#line 1109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 473: ConstUnaryExpression ::= ConstPostfixExpression // case 473: { //#line 1114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 474: ConstUnaryExpression ::= + ConstUnaryExpression // case 474: { //#line 1119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= - ConstUnaryExpression // case 475: { //#line 1124 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 476: ConstUnaryExpression ::= ! ConstUnaryExpression // case 476: { //#line 1129 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 477: { //#line 1135 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1137 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 478: { //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1142 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 479: { //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 480: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 480: { //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 481: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 481: { //#line 1156 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1158 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 482: { //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1163 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 483: { //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1168 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 484: ConstRelationalExpression ::= ConstAdditiveExpression // case 484: { //#line 1173 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 485: { //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 486: { //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1185 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 487: { //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1190 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 488: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 488: { //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1195 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 489: ConstEqualityExpression ::= ConstRelationalExpression // case 489: { //#line 1199 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 490: { //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1206 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 491: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 491: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 492: ConstAndExpression ::= ConstEqualityExpression // case 492: { //#line 1215 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1217 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 493: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 493: { //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1222 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstAndExpression // case 494: { //#line 1226 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1228 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 495: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 495: { //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1233 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 496: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 497: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 497: { //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1244 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression // case 498: { //#line 1248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 499: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 499: { //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1255 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 500: ConstFieldAccess ::= ConstPrimary . identifier // case 500: { //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= super . identifier // case 501: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 502: ConstFieldAccess ::= ClassName . super$sup . identifier // case 502: { //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1272 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 504: X10ArrayType ::= Type [ . ] // case 504: { //#line 1288 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1290 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 505: X10ArrayType ::= Type value [ . ] // case 505: { //#line 1293 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1295 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 506: X10ArrayType ::= Type [ DepParameterExpr ] // case 506: { //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1300 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 507: X10ArrayType ::= Type value [ DepParameterExpr ] // case 507: { //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 508: ObjectKind ::= value // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: ObjectKind ::= reference // case 509: throw new Error("No action specified for rule " + 509); // // Rule 510: MethodModifier ::= atomic // case 510: { //#line 1319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 511: MethodModifier ::= extern // case 511: { //#line 1324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 512: MethodModifier ::= safe // case 512: { //#line 1329 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 513: MethodModifier ::= sequential // case 513: { //#line 1334 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 514: MethodModifier ::= local // case 514: { //#line 1339 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 515: MethodModifier ::= nonblocking // case 515: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 518: { //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 519: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 519: { //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 520: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 520: { //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1383 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 521: ThisClause ::= this DepParameters // case 521: { //#line 1391 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1393 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 522: Super ::= extends DataType // case 522: { //#line 1397 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1399 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 523: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 523: { //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1405 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 524: MethodDeclarator ::= MethodDeclarator [ ] // case 524: { //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1417 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 525: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 525: { //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1425 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 526: { //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1461 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 527: { //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 528: { //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 529: { //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1482 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 530: { //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1487 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 531: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 531: { //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 532: Valueopt ::= $Empty // case 532: setResult(null); break; // // Rule 533: Valueopt ::= value // case 533: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 536: ArrayBaseType ::= nullable < Type > // case 536: { //#line 1508 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1510 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= future < Type > // case 537: { //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1515 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 538: ArrayBaseType ::= ( Type ) // case 538: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 539: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 539: { //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1526 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 540: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 540: { //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1533 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 557: NowStatement ::= now ( Clock ) Statement // case 557: { //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1561 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 558: ClockedClause ::= clocked ( ClockList ) // case 558: { //#line 1565 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 559: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 559: { //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 560: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 560: { //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1583 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 561: WhenStatement ::= when ( Expression ) Statement // case 561: { //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1592 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 562: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 562: { //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1597 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 563: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1604 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 564: { //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1614 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 565: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 565: { //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1624 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 566: FinishStatement ::= finish Statement // case 566: { //#line 1631 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 567: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 567: { //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 568: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 568: { //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1646 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 569: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 569: { //#line 1653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1655 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 570: { //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1661 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 571: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 571: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 572: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1673 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 573: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 574: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 574: { //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1694 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 575: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 575: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1703 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 576: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 576: { //#line 1708 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 578: NextStatement ::= next ; // case 578: { //#line 1718 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 579: AwaitStatement ::= await Expression ; // case 579: { //#line 1722 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 580: ClockList ::= Clock // case 580: { //#line 1728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 581: ClockList ::= ClockList , Clock // case 581: { //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1737 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 582: Clock ::= Expression // case 582: { //#line 1743 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1745 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 583: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 583: { //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1757 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 584: { //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1762 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 585: RelationalExpression ::= RelationalExpression instanceof Type // case 585: { //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 586: IdentifierList ::= identifier // case 586: { //#line 1780 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 587: IdentifierList ::= IdentifierList , identifier // case 587: { //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1789 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 588: Primary ::= here // case 588: { //#line 1796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 591: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 591: { //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1814 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 592: RegionExpressionList ::= RegionExpression // case 592: { //#line 1830 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1832 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 593: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 593: { //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1839 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 594: Primary ::= [ RegionExpressionList ] // case 594: { //#line 1844 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1846 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 595: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 595: { //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 596: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 596: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 597: FieldModifier ::= mutable // case 597: { //#line 1877 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 598: FieldModifier ::= const // case 598: { //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 599: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 607: throw new Error("No action specified for rule " + 607); // // Rule 608: MethodModifier ::= synchronized // case 608: { //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"synchronized\" is an invalid X10 Method Modifier"); setResult(Flags.SYNCHRONIZED); break; } // // Rule 609: FieldModifier ::= volatile // case 609: { //#line 1922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"volatile\" is an invalid X10 Field Modifier"); setResult(Flags.VOLATILE); break; } // // Rule 610: SynchronizedStatement ::= synchronized ( Expression ) Block // case 610: { //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1931 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "Synchronized Statement is invalid in X10"); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 611: ThisClauseopt ::= $Empty // case 611: setResult(null); break; // // Rule 613: PlaceTypeSpecifieropt ::= $Empty // case 613: setResult(null); break; // // Rule 615: DepParametersopt ::= $Empty // case 615: setResult(null); break; // // Rule 617: PropertyListopt ::= $Empty // case 617: setResult(null); break; // // Rule 619: WhereClauseopt ::= $Empty // case 619: setResult(null); break; // // Rule 621: ObjectKindopt ::= $Empty // case 621: setResult(null); break; // // Rule 623: ArrayInitializeropt ::= $Empty // case 623: setResult(null); break; // // Rule 625: PlaceExpressionSingleListopt ::= $Empty // case 625: setResult(null); break; // // Rule 627: ArgumentListopt ::= $Empty // case 627: setResult(null); break; // // Rule 629: X10ClassModifiersopt ::= $Empty // case 629: { //#line 1977 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 631: DepParametersopt ::= $Empty // case 631: setResult(null); break; // // Rule 633: Unsafeopt ::= $Empty // case 633: setResult(null); break; // // Rule 634: Unsafeopt ::= unsafe // case 634: { //#line 1989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 635: ParamIdopt ::= $Empty // case 635: setResult(null); break; // // Rule 636: ParamIdopt ::= identifier // case 636: { //#line 1996 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1998 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 637: ClockedClauseopt ::= $Empty // case 637: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/56cdb14fdb9589988a93eb9a76aae3872ab98272/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 1770, 12, 82, 74, 16, 4766, 1377, 3742, 16, 4766, 1377, 949, 12, 588, 3910, 6952, 9334, 16609, 6952, 1435, 3631, 4766, 1377, 21036, 16, 4766, 1377, 10971, 10019, 10792, 898, 31, 5411, 289, 5397, 368, 5411, 368, 6781, 576, 30, 225, 7508, 461, 493, 33, 7508, 461, 263, 1068, 548, 5411, 368, 5411, 648, 576, 30, 288, 7734, 368, 7, 1369, 2872, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 7508, 461, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 6549, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 2 ]
public ZimbraHit peekNext() throws ServiceException { ZimbraHit toRet = null; if (mNextHits.size() > 0) { // already have some hits, so our job is easy! toRet = mNextHits.get(0); } else { // we don't have any SearchResults if (mDBHitsIter == null || !mDBHitsIter.hasNext()) { // try to get another chunk of them getNextChunk(); } // okay, check again to see if we've got a chunk of SearchResults if (mDBHitsIter != null && mDBHitsIter.hasNext()) { SearchResult sr = (SearchResult) mDBHitsIter.next(); // Sometimes, a single search result might yield more than one Lucene // document -- e.g. an RFC822 message with separately-indexed mimeparts. // Each of these parts will turn into a separate ZimbraHit at this point, // although they might be combined together at a higher level (via a HitGrouper) List <Document> docs = null; float score = 1.0f; if (mLuceneChunk != null) { LuceneResultsChunk.ScoredLuceneHit sh = mLuceneChunk.getScoredHit(sr.indexId); if (sh != null) { docs = sh.mDocs; score = sh.mScore; } else { // how can this happen?? mLog.info("Could not find ScoredLuceneHit for sr.indexId="+sr.indexId+" sr.id="+sr.id+" type="+sr.type); docs = null; score = 1.0f; } } if (docs == null) { ZimbraHit toAdd = getResultsSet().getZimbraHit(getMailbox(), score, sr, null); mNextHits.add(toAdd); } else { for (Document doc : docs) { ZimbraHit toAdd = getResultsSet().getZimbraHit(getMailbox(), score, sr, doc); mNextHits.add(toAdd); } } toRet = mNextHits.get(0); } } return toRet; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d53d0c89cbf9265ffc4d32b7cc3570bf276c953f/DBQueryOperation.java/clean/ZimbraServer/src/java/com/zimbra/cs/index/DBQueryOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 381, 15397, 13616, 8032, 2134, 1435, 1216, 16489, 565, 288, 377, 202, 62, 381, 15397, 13616, 358, 7055, 273, 446, 31, 3639, 309, 261, 81, 2134, 20950, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 759, 1818, 1240, 2690, 11076, 16, 1427, 3134, 1719, 353, 12779, 5, 540, 202, 869, 7055, 273, 312, 2134, 20950, 18, 588, 12, 20, 1769, 3639, 289, 469, 288, 540, 202, 759, 732, 2727, 1404, 1240, 1281, 5167, 3447, 5411, 309, 261, 81, 2290, 20950, 2360, 422, 446, 747, 401, 81, 2290, 20950, 2360, 18, 5332, 2134, 10756, 288, 540, 202, 202, 759, 775, 358, 336, 4042, 2441, 434, 2182, 7734, 6927, 5579, 5621, 5411, 289, 540, 202, 2398, 202, 759, 21194, 16, 866, 3382, 358, 2621, 309, 732, 8081, 2363, 279, 2441, 434, 5167, 3447, 5411, 309, 261, 81, 2290, 20950, 2360, 480, 446, 597, 312, 2290, 20950, 2360, 18, 5332, 2134, 10756, 288, 7734, 29740, 9133, 273, 261, 24916, 13, 312, 2290, 20950, 2360, 18, 4285, 5621, 7682, 202, 202, 759, 348, 25976, 16, 279, 2202, 1623, 563, 4825, 2824, 1898, 2353, 1245, 511, 14152, 540, 202, 202, 759, 1668, 1493, 425, 18, 75, 18, 392, 8372, 24532, 883, 598, 18190, 17, 19626, 4892, 6019, 18, 540, 202, 202, 759, 8315, 434, 4259, 2140, 903, 7005, 1368, 279, 9004, 2285, 381, 15397, 13616, 622, 333, 1634, 16, 540, 202, 202, 759, 26347, 2898, 4825, 506, 8224, 9475, 622, 279, 10478, 1801, 261, 21985, 279, 670, 305, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 381, 15397, 13616, 8032, 2134, 1435, 1216, 16489, 565, 288, 377, 202, 62, 381, 15397, 13616, 358, 7055, 273, 446, 31, 3639, 309, 261, 81, 2134, 20950, 18, 1467, 1435, 405, 374, 13, 288, 540, 202, 759, 1818, 1240, 2690, 11076, 16, 1427, 3134, 1719, 353, 12779, 5, 540, 202, 869, 7055, 273, 312, 2134, 20950, 18, 588, 12, 20, 1769, 3639, 289, 469, 288, 540, 202, 759, 732, 2727, 1404, 1240, 1281, 5167, 3447, 5411, 309, 261, 81, 2290, 20950, 2360, 422, 446, 747, 401, 81, 2290, 20950, 2360, 18, 5332, 2134, 10756, 288, 540, 202, 202, 759, 775, 358, 336, 4042, 2441, 434, 2182, 7734, 6927, 5579, 5621, 5411, 289, 540, 202, 2398, 202, 2 ]
RubyClass fileClass = ruby.defineClass("File", ruby.getClass("IO"));
RubyClass fileClass = ruby.defineClass("File", ruby.getClasses().getIoClass());
public static RubyClass createFileClass(Ruby ruby) { RubyClass fileClass = ruby.defineClass("File", ruby.getClass("IO")); RubyString separator = RubyString.newString(ruby, separator()); separator.freeze(); fileClass.defineConstant("SEPARATOR", separator); fileClass.defineConstant("Separator", separator); RubyString altSeparator = RubyString.newString(ruby, (File.separatorChar == '/'? "\\" : "/")); altSeparator.freeze(); fileClass.defineConstant("ALT_SEPARATOR", altSeparator); RubyString pathSeparator = RubyString.newString(ruby, File.pathSeparator); pathSeparator.freeze(); fileClass.defineConstant("PATH_SEPARATOR", pathSeparator); CallbackFactory callbackFactory = ruby.callbackFactory(); fileClass.defineSingletonMethod("new", callbackFactory.getOptSingletonMethod(RubyFile.class, "newInstance")); fileClass.defineSingletonMethod("open", callbackFactory.getOptSingletonMethod(RubyFile.class, "open")); fileClass.defineSingletonMethod("chmod", callbackFactory.getOptSingletonMethod(RubyFile.class, "chmod", RubyInteger.class)); fileClass.defineSingletonMethod("lstat", callbackFactory.getSingletonMethod(RubyFile.class, "lstat", RubyString.class)); fileClass.defineSingletonMethod("exist?", callbackFactory.getSingletonMethod(RubyFile.class, "exist", RubyString.class)); fileClass.defineSingletonMethod("exists?", callbackFactory.getSingletonMethod(RubyFile.class, "exist", RubyString.class)); fileClass.defineSingletonMethod("unlink", callbackFactory.getOptSingletonMethod(RubyFile.class, "unlink")); fileClass.defineSingletonMethod("rename", callbackFactory.getSingletonMethod(RubyFile.class, "rename", IRubyObject.class, IRubyObject.class)); fileClass.defineSingletonMethod("delete", callbackFactory.getOptSingletonMethod(RubyFile.class, "unlink")); fileClass.defineSingletonMethod("dirname", callbackFactory.getSingletonMethod(RubyFile.class, "dirname", RubyString.class)); fileClass.defineSingletonMethod("join", callbackFactory.getOptSingletonMethod(RubyFile.class, "join")); fileClass.defineSingletonMethod("directory?", callbackFactory.getSingletonMethod(RubyFile.class, "directory", RubyString.class)); fileClass.defineSingletonMethod("basename", callbackFactory.getOptSingletonMethod(RubyFile.class, "basename")); fileClass.defineMethod("initialize", callbackFactory.getOptMethod(RubyFile.class, "initialize")); // Works around a strange-ish implementation that uses a static method on the superclass. // It broke when moved to indexed callbacks, so added this line: fileClass.defineMethod("print", callbackFactory.getOptSingletonMethod(RubyIO.class, "print")); return fileClass; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/4c689a812e20d4fcf2da0cdc9b527b00cc1960ef/RubyFile.java/buggy/src/org/jruby/RubyFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 21266, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 585, 797, 273, 22155, 18, 11255, 797, 2932, 812, 3113, 22155, 18, 588, 4818, 7675, 588, 15963, 797, 10663, 3639, 19817, 780, 4182, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 4182, 10663, 3639, 4182, 18, 29631, 5621, 3639, 585, 797, 18, 11255, 6902, 2932, 4550, 3113, 4182, 1769, 3639, 585, 797, 18, 11255, 6902, 2932, 6581, 3113, 4182, 1769, 3639, 19817, 780, 3770, 6581, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 261, 812, 18, 11287, 2156, 422, 2023, 35, 14520, 294, 4016, 10019, 3639, 3770, 6581, 18, 29631, 5621, 3639, 585, 797, 18, 11255, 6902, 2932, 18255, 67, 4550, 3113, 3770, 6581, 1769, 3639, 19817, 780, 589, 6581, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 1387, 18, 803, 6581, 1769, 3639, 589, 6581, 18, 29631, 5621, 3639, 585, 797, 18, 11255, 6902, 2932, 4211, 67, 4550, 3113, 589, 6581, 1769, 3639, 8444, 1733, 1348, 1733, 273, 22155, 18, 3394, 1733, 5621, 3639, 585, 797, 18, 11255, 19571, 1305, 2932, 2704, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 812, 18, 1106, 16, 315, 2704, 1442, 7923, 1769, 3639, 585, 797, 18, 11255, 19571, 1305, 2932, 3190, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 812, 18, 1106, 16, 315, 3190, 7923, 1769, 3639, 585, 797, 18, 11255, 19571, 1305, 2932, 343, 1711, 3113, 1348, 1733, 18, 588, 6179, 19571, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 21266, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 585, 797, 273, 22155, 18, 11255, 797, 2932, 812, 3113, 22155, 18, 588, 4818, 7675, 588, 15963, 797, 10663, 3639, 19817, 780, 4182, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 4182, 10663, 3639, 4182, 18, 29631, 5621, 3639, 585, 797, 18, 11255, 6902, 2932, 4550, 3113, 4182, 1769, 3639, 585, 797, 18, 11255, 6902, 2932, 6581, 3113, 4182, 1769, 3639, 19817, 780, 3770, 6581, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 261, 812, 18, 11287, 2156, 422, 2023, 35, 14520, 294, 4016, 10019, 3639, 3770, 6581, 18, 29631, 5621, 3639, 585, 797, 18, 11255, 6902, 2932, 18255, 67, 4550, 2 ]
else { throw unknownElement(element); }
public String getText(Object element) { if (element instanceof ITool) { // Handles tool references as well ITool tool = (ITool)element; return tool.getName(); } else if (element instanceof IOptionCategory) { IOptionCategory cat = (IOptionCategory)element; return cat.getName(); } else { throw unknownElement(element); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/60194c446de66d70022b082687bd47b24a71b8d7/ToolListLabelProvider.java/clean/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolListLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 202, 202, 430, 261, 2956, 1276, 467, 6364, 13, 288, 1082, 202, 759, 27020, 5226, 5351, 487, 5492, 1082, 202, 45, 6364, 5226, 273, 261, 45, 6364, 13, 2956, 31, 1082, 202, 2463, 5226, 18, 17994, 5621, 202, 202, 97, 202, 202, 12107, 309, 261, 2956, 1276, 1665, 375, 4457, 13, 288, 1082, 202, 45, 1895, 4457, 6573, 273, 261, 45, 1895, 4457, 13, 2956, 31, 1082, 202, 2463, 6573, 18, 17994, 5621, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 12849, 5917, 1046, 12, 2956, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 202, 202, 430, 261, 2956, 1276, 467, 6364, 13, 288, 1082, 202, 759, 27020, 5226, 5351, 487, 5492, 1082, 202, 45, 6364, 5226, 273, 261, 45, 6364, 13, 2956, 31, 1082, 202, 2463, 5226, 18, 17994, 5621, 202, 202, 97, 202, 202, 12107, 309, 261, 2956, 1276, 1665, 375, 4457, 13, 288, 1082, 202, 45, 1895, 4457, 6573, 273, 261, 45, 1895, 4457, 13, 2956, 31, 1082, 202, 2463, 6573, 18, 17994, 5621, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 12849, 5917, 1046, 12, 2956, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void doSplitMessageTest(int splitOffset, String data) throws ProtocolViolationException { String firstChunk = data.substring(0, splitOffset); String remaining = data.substring(splitOffset); //System.out.println("@@@@@ " + splitOffset + " " + firstChunk + " " + remaining); buffer.put(firstChunk.getBytes()); buffer.flip(); decoderOutput.reset(); if (splitOffset < 12) { assertEquals("shouldn't recognize header; offset=" + splitOffset, MessageDecoderResult.NEED_DATA, decoder.decodable(null, buffer)); } else { assertEquals("should recognize header", MessageDecoderResult.OK, decoder.decodable( null, buffer)); if (splitOffset < data.length()) { assertEquals("shouldn't decode message; offset=" + splitOffset, MessageDecoderResult.NEED_DATA, decoder.decode(null, buffer, decoderOutput)); assertNull("shouldn't write message; offset=" + splitOffset, decoderOutput .getMessage()); assertEquals("can't change buffer position", 0, buffer.position()); byte[] bytes = remaining.getBytes(); buffer.mark(); buffer.position(buffer.limit()); buffer.limit(buffer.limit() + bytes.length); buffer.put(bytes); buffer.reset(); assertMessageFound(data); } else { assertEquals("should parse message; offset=" + splitOffset, MessageDecoderResult.OK, decoder.decode(null, buffer, decoderOutput)); assertNotNull("should write message; offset=" + splitOffset, decoderOutput .getMessage()); } } buffer.clear(); }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/9bd0995bd3a40a04445d4102f2b6117e805cbc6e/FIXMessageDecoderTest.java/clean/test/quickfix/mina/message/FIXMessageDecoderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2896, 5521, 1079, 4709, 12, 474, 4939, 2335, 16, 780, 892, 13, 15069, 5752, 27052, 95, 780, 3645, 5579, 33, 892, 18, 28023, 12, 20, 16, 4939, 2335, 1769, 780, 17956, 33, 892, 18, 28023, 12, 4939, 2335, 1769, 759, 3163, 18, 659, 18, 8222, 2932, 30989, 30989, 27614, 15, 4939, 2335, 15, 3660, 15, 3645, 5579, 15, 3660, 15, 17956, 1769, 4106, 18, 458, 12, 3645, 5579, 18, 588, 2160, 10663, 4106, 18, 12357, 5621, 21070, 1447, 18, 6208, 5621, 430, 12, 4939, 2335, 32, 2138, 15329, 11231, 8867, 2932, 13139, 82, 1404, 3927, 4198, 554, 3374, 31, 3348, 1546, 15, 4939, 2335, 16, 1079, 7975, 1253, 18, 5407, 2056, 67, 4883, 16, 21070, 18, 323, 1559, 429, 12, 2011, 16, 4106, 10019, 97, 12107, 95, 11231, 8867, 2932, 13139, 3927, 4198, 554, 3374, 3113, 1079, 7975, 1253, 18, 3141, 16, 21070, 18, 323, 1559, 429, 12, 2011, 16, 4106, 10019, 430, 12, 4939, 2335, 32, 892, 18, 2469, 10756, 95, 11231, 8867, 2932, 13139, 82, 1404, 3922, 2150, 31, 3348, 1546, 15, 4939, 2335, 16, 1079, 7975, 1253, 18, 5407, 2056, 67, 4883, 16, 21070, 18, 3922, 12, 2011, 16, 4106, 16, 21070, 1447, 10019, 11231, 2041, 2932, 13139, 82, 1404, 5363, 351, 615, 31, 3348, 1546, 15, 4939, 2335, 16, 21070, 1447, 18, 24906, 10663, 11231, 8867, 2932, 4169, 1404, 3427, 4106, 3276, 3113, 20, 16, 4106, 18, 3276, 10663, 7229, 8526, 3890, 33, 17956, 18, 588, 2160, 5621, 4106, 18, 3355, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2896, 5521, 1079, 4709, 12, 474, 4939, 2335, 16, 780, 892, 13, 15069, 5752, 27052, 95, 780, 3645, 5579, 33, 892, 18, 28023, 12, 20, 16, 4939, 2335, 1769, 780, 17956, 33, 892, 18, 28023, 12, 4939, 2335, 1769, 759, 3163, 18, 659, 18, 8222, 2932, 30989, 30989, 27614, 15, 4939, 2335, 15, 3660, 15, 3645, 5579, 15, 3660, 15, 17956, 1769, 4106, 18, 458, 12, 3645, 5579, 18, 588, 2160, 10663, 4106, 18, 12357, 5621, 21070, 1447, 18, 6208, 5621, 430, 12, 4939, 2335, 32, 2138, 15329, 11231, 8867, 2932, 13139, 82, 1404, 3927, 4198, 554, 3374, 31, 3348, 1546, 15, 4939, 2335, 16, 1079, 7975, 1253, 18, 5407, 2056, 67, 4883, 16, 21070, 18, 323, 2 ]
tuple[12] = rs.getBytes(5);
tuple[12] = rs.getBytes(7);
protected java.sql.ResultSet getImportedExportedKeys(String catalog, String schema, String primaryTable, String foreignTable) throws SQLException { Field f[] = new Field[14]; f[0] = new Field(connection, "PKTABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "PKTABLE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "PKTABLE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "PKCOLUMN_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "FKTABLE_CAT", iVarcharOid, NAME_SIZE); f[5] = new Field(connection, "FKTABLE_SCHEM", iVarcharOid, NAME_SIZE); f[6] = new Field(connection, "FKTABLE_NAME", iVarcharOid, NAME_SIZE); f[7] = new Field(connection, "FKCOLUMN_NAME", iVarcharOid, NAME_SIZE); f[8] = new Field(connection, "KEY_SEQ", iInt2Oid, 2); f[9] = new Field(connection, "UPDATE_RULE", iInt2Oid, 2); f[10] = new Field(connection, "DELETE_RULE", iInt2Oid, 2); f[11] = new Field(connection, "FK_NAME", iVarcharOid, NAME_SIZE); f[12] = new Field(connection, "PK_NAME", iVarcharOid, NAME_SIZE); f[13] = new Field(connection, "DEFERRABILITY", iInt2Oid, 2); java.sql.ResultSet rs = connection.ExecSQL( "SELECT distinct " + "c.relname as prelname, " + "c2.relname as frelname, " + "t.tgconstrname, " + "a.attnum as keyseq, " + "ic.relname as fkeyname, " + "t.tgdeferrable, " + "t.tginitdeferred, " + "t.tgnargs,t.tgargs, " + "p1.proname as updaterule, " + "p2.proname as deleterule " + "FROM " + "pg_trigger t, " + "pg_trigger t1, " + "pg_class c, " + "pg_class c2, " + "pg_class ic, " + "pg_proc p1, " + "pg_proc p2, " + "pg_index i, " + "pg_attribute a " + "WHERE " // isolate the update rule + "(t.tgrelid=c.oid " + "AND t.tgisconstraint " + "AND t.tgconstrrelid=c2.oid " + "AND t.tgfoid=p1.oid " + "and p1.proname like '%%upd') " + "and " // isolate the delete rule + "(t1.tgrelid=c.oid " + "and t1.tgisconstraint " + "and t1.tgconstrrelid=c2.oid " + "AND t1.tgfoid=p2.oid " + "and p2.proname like '%%del') " // if we are looking for exported keys then primary table will be used + ((primaryTable != null) ? "AND c.relname='" + primaryTable + "' " : "") // if we are looking for imported keys then the foreign table will be used + ((foreignTable != null) ? "AND c2.relname='" + foreignTable + "' " : "") + "AND i.indrelid=c.oid " + "AND i.indexrelid=ic.oid " + "AND ic.oid=a.attrelid " + "AND i.indisprimary " + "ORDER BY " // orderby is as follows getExported, orders by FKTABLE, // getImported orders by PKTABLE // getCrossReference orders by FKTABLE, so this should work for both, // since when getting crossreference, primaryTable will be defined + (primaryTable != null ? "frelname" : "prelname") + ",keyseq"); // returns the following columns // and some example data with a table defined as follows // create table people ( id int primary key); // create table policy ( id int primary key); // create table users ( id int primary key, people_id int references people(id), policy_id int references policy(id)) // prelname | frelname | tgconstrname | keyseq | fkeyName | tgdeferrable | tginitdeferred // 1 | 2 | 3 | 4 | 5 | 6 | 7 // people | users | <unnamed> | 1 | people_pkey | f | f // | tgnargs | tgargs | updaterule | deleterule // | 8 | 9 | 10 | 11 // | 6 | <unnamed>\000users\000people\000UNSPECIFIED\000people_id\000id\000 | RI_FKey_noaction_upd | RI_FKey_noaction_del Vector tuples = new Vector(); while ( rs.next() ) { byte tuple[][] = new byte[14][]; tuple[2] = rs.getBytes(1); //PKTABLE_NAME tuple[6] = rs.getBytes(2); //FKTABLE_NAME String fKeyName = rs.getString(3); String updateRule = rs.getString(10); if (updateRule != null ) { // Rules look like this RI_FKey_noaction_del so we want to pull out the part between the 'Key_' and the last '_' s String rule = updateRule.substring(8, updateRule.length() - 4); int action = java.sql.DatabaseMetaData.importedKeyNoAction; if ( rule == null || "noaction".equals(rule) ) action = java.sql.DatabaseMetaData.importedKeyNoAction; if ("cascade".equals(rule)) action = java.sql.DatabaseMetaData.importedKeyCascade; else if ("setnull".equals(rule)) action = java.sql.DatabaseMetaData.importedKeySetNull; else if ("setdefault".equals(rule)) action = java.sql.DatabaseMetaData.importedKeySetDefault; else if ("restrict".equals(rule)) action = java.sql.DatabaseMetaData.importedKeyRestrict; tuple[9] = Integer.toString(action).getBytes(); } String deleteRule = rs.getString(11); if ( deleteRule != null ) { String rule = updateRule.substring(8, updateRule.length() - 4); int action = java.sql.DatabaseMetaData.importedKeyNoAction; if ("cascade".equals(rule)) action = java.sql.DatabaseMetaData.importedKeyCascade; else if ("setnull".equals(rule)) action = java.sql.DatabaseMetaData.importedKeySetNull; else if ("setdefault".equals(rule)) action = java.sql.DatabaseMetaData.importedKeySetDefault; tuple[10] = Integer.toString(action).getBytes(); } // Parse the tgargs data String fkeyColumn = ""; String pkeyColumn = ""; // Note, I am guessing at most of this, but it should be close // if not, please correct // the keys are in pairs and start after the first four arguments // the arguments are seperated by \000 int keySequence = rs.getInt(4); //KEY_SEQ // get the args String targs = rs.getString(9); // args look like this //<unnamed>\000ww\000vv\000UNSPECIFIED\000m\000a\000n\000b\000 // we are primarily interested in the column names which are the last items in the string StringTokenizer st = new StringTokenizer(targs, "\\000"); int advance = 4 + (keySequence - 1) * 2; for ( int i = 0; st.hasMoreTokens() && i < advance ; i++ ) st.nextToken(); // advance to the key column of interest if ( st.hasMoreTokens() ) { fkeyColumn = st.nextToken(); } if ( st.hasMoreTokens() ) { pkeyColumn = st.nextToken(); } tuple[3] = pkeyColumn.getBytes(); //PKCOLUMN_NAME tuple[7] = fkeyColumn.getBytes(); //FKCOLUMN_NAME tuple[8] = rs.getBytes(4); //KEY_SEQ tuple[11] = targs.getBytes(); //FK_NAME this will give us a unique name for the foreign key tuple[12] = rs.getBytes(5); //PK_NAME // DEFERRABILITY int deferrability = java.sql.DatabaseMetaData.importedKeyNotDeferrable; boolean deferrable = rs.getBoolean(6); boolean initiallyDeferred = rs.getBoolean(7); if (deferrable) { if (initiallyDeferred) deferrability = java.sql.DatabaseMetaData.importedKeyInitiallyDeferred; else deferrability = java.sql.DatabaseMetaData.importedKeyInitiallyImmediate; } tuple[13] = Integer.toString(deferrability).getBytes(); tuples.addElement(tuple); } return connection.getResultSet(null, f, tuples, "OK", 1); }
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 2252, 18, 4669, 18, 13198, 336, 24934, 31140, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 3354, 1388, 16, 514, 5523, 1388, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 3461, 15533, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 27, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 2252, 18, 4669, 18, 13198, 336, 24934, 31140, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 3354, 1388, 16, 514, 5523, 1388, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 3461, 15533, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 2 ]
context.put("noti", AnnouncementAction.NOTI_NONE);
context.put("noti", rb.getString("java.NOTI_NONE"));
protected String buildPreviewContext(VelocityPortlet portlet, Context context, RunData rundata, AnnouncementActionState state) { context.put("conService", ContentHostingService.getInstance()); // to get the content Type Image Service context.put("contentTypeImageService", ContentTypeImageService.getInstance()); String subject = state.getTempSubject(); String body = state.getTempBody(); context.put("subject", subject); context.put("body", body); context.put("user", UserDirectoryService.getCurrentUser()); context.put("date", TimeService.newTime()); List attachments = state.getAttachments(); context.put("attachments", attachments); String peid = ((JetspeedRunData) rundata).getJs_peid(); SessionState sstate = ((JetspeedRunData) rundata).getPortletSessionState(peid); // output the public view options boolean pubview = Boolean.valueOf((String) sstate.getAttribute(SSTATE_PUBLICVIEW_VALUE)).booleanValue(); if (pubview) context.put("IsPubView", rb.getString("java.yes"));// "Yes"); else context.put("IsPubView", rb.getString("java.no"));// "No"); // output the notification options String notification = (String) sstate.getAttribute(SSTATE_NOTI_VALUE);; if ("r".equals(notification)) { context.put("noti", AnnouncementAction.NOTI_REQUIRED); } else if ("n".equals(notification)) { context.put("noti", AnnouncementAction.NOTI_NONE); } else { context.put("noti", AnnouncementAction.NOTI_OPTIONAL); } // pick the "browse" template based on the standard template name String template = (String) getContext(rundata).get("template"); return template + "-preview"; // return template + rb.getString("java.preview"); } // buildPreviewContext
55392 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55392/1da69246fb2f61492af5f2239ce98d11c9a8b826/AnnouncementAction.java/clean/announcement-tool/tool/src/java/org/sakaiproject/announcement/tool/AnnouncementAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 1361, 11124, 1042, 12, 27522, 18566, 13114, 16, 1772, 819, 16, 1939, 751, 1086, 892, 16, 24936, 8386, 475, 1803, 1119, 919, 13, 202, 95, 202, 202, 2472, 18, 458, 2932, 591, 1179, 3113, 3697, 2594, 310, 1179, 18, 588, 1442, 10663, 202, 202, 759, 358, 336, 326, 913, 1412, 3421, 1956, 202, 202, 2472, 18, 458, 2932, 22194, 2040, 1179, 3113, 11691, 2040, 1179, 18, 588, 1442, 10663, 202, 202, 780, 3221, 273, 919, 18, 588, 7185, 6638, 5621, 202, 202, 780, 1417, 273, 919, 18, 588, 7185, 2250, 5621, 202, 202, 2472, 18, 458, 2932, 7857, 3113, 3221, 1769, 202, 202, 2472, 18, 458, 2932, 3432, 3113, 1417, 1769, 202, 202, 2472, 18, 458, 2932, 1355, 3113, 2177, 2853, 1179, 18, 588, 3935, 1299, 10663, 202, 202, 2472, 18, 458, 2932, 712, 3113, 2647, 1179, 18, 2704, 950, 10663, 202, 202, 682, 10065, 273, 919, 18, 588, 12961, 5621, 202, 202, 2472, 18, 458, 2932, 17828, 3113, 10065, 1769, 202, 202, 780, 2804, 350, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 1086, 892, 2934, 588, 8382, 67, 347, 350, 5621, 202, 202, 2157, 1119, 272, 2019, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 1086, 892, 2934, 588, 18566, 2157, 1119, 12, 347, 350, 1769, 202, 202, 759, 876, 326, 1071, 1476, 702, 202, 202, 6494, 5634, 1945, 273, 3411, 18, 1132, 951, 12443, 780, 13, 272, 2019, 18, 588, 1499, 12, 55, 7998, 67, 14939, 12145, 67, 4051, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 1361, 11124, 1042, 12, 27522, 18566, 13114, 16, 1772, 819, 16, 1939, 751, 1086, 892, 16, 24936, 8386, 475, 1803, 1119, 919, 13, 202, 95, 202, 202, 2472, 18, 458, 2932, 591, 1179, 3113, 3697, 2594, 310, 1179, 18, 588, 1442, 10663, 202, 202, 759, 358, 336, 326, 913, 1412, 3421, 1956, 202, 202, 2472, 18, 458, 2932, 22194, 2040, 1179, 3113, 11691, 2040, 1179, 18, 588, 1442, 10663, 202, 202, 780, 3221, 273, 919, 18, 588, 7185, 6638, 5621, 202, 202, 780, 1417, 273, 919, 18, 588, 7185, 2250, 5621, 202, 202, 2472, 18, 458, 2932, 7857, 3113, 3221, 1769, 202, 202, 2472, 18, 458, 2932, 3432, 3113, 1417, 1769, 202, 202, 2472, 18, 2 ]
request.setAttribute("items", items); request.setAttribute("handles", handlesarray);
request.setAttribute("items", resultsItems ); request.setAttribute("communities", resultsCommunities); request.setAttribute("collections", resultsCollections); request.setAttribute("item_handles", itemHandlesArray ); request.setAttribute("community_handles", communityHandlesArray ); request.setAttribute("collection_handles", collectionHandlesArray);
protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // Get the query String query = request.getParameter("query"); // Get the location parameter, if any String location = request.getParameter("location"); String newURL; // If there is a location parameter, we should redirect to // do the search with the correct location. if (location != null && !location.equals("")) { // Do the redirect response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + location + "simple-search?query=" + query)); return; } // For the results List handles; // Build log information String logInfo = ""; // Get our location Community community = UIUtil.getCommunityLocation(request); Collection collection = UIUtil.getCollectionLocation(request); Item[] items;// String[] handles; // Perform the search try { if (collection != null) { logInfo = "collection_id=" + collection.getID() + ","; request.setAttribute("collection", collection); request.setAttribute("community", community); handles = DSQuery.getItemResults(DSQuery.doQuery(query, collection)); } else if (community != null) { logInfo = "community_id=" + community.getID() + ","; request.setAttribute("community", community); // Get the collections within the community for the dropdown box request.setAttribute("collection.array", community.getCollections()); handles = DSQuery.getItemResults(DSQuery.doQuery(query, community)); } else { // Get all communities for dropdown box Community[] communities = Community.findAll(context); request.setAttribute("community.array", communities); handles = DSQuery.getItemResults(DSQuery.doQuery(query)); } // Make Item objects from the handles items = new Item[handles.size()];// ItemIDs = new String[itemHandles.size()]; for (int i = 0; i < handles.size(); i++) { String myhandle = (String) handles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); // for now all returned objects are items items[i] = (Item)o; if (items[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); }// handles[i] = HandleManager.findHandle(context, items[i]); } // Log log.info(LogManager.getHeader(context, "search", logInfo + "query=\"" + query + "\",results=" + items.length)); } catch (ParseException pe) { /* * A parse exception means there were some weird characters in * the query we couldn't resolve. We'll pretend the search went * OK but with no results for the user, but log the error, since * this shouldn't really happen. */ log.warn(LogManager.getHeader(context, "search_exception", logInfo + "query=\"" + query + "\""), pe); // Empty results items = new Item[0]; handles = (List)new ArrayList(); } catch (TokenMgrError tme) { // Similar to parse exception log.warn(LogManager.getHeader(context, "search_exception", logInfo + "query=\"" + query + "\""), tme); // Empty results items = new Item[0]; handles = (List)new ArrayList(); } String [] handlesarray = new String[handles.size()]; handlesarray = (String [])handles.toArray(handlesarray); // Pass the results to the display JSP request.setAttribute("items", items); request.setAttribute("handles", handlesarray); // And the original query string request.setAttribute("query", query); JSPManager.showJSP(request, response, "/search/results.jsp"); }
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/688ba352821e16d14790347ffe795de02ec3144e/SimpleSearchServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/SimpleSearchServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3948, 967, 12, 1042, 819, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 16, 23859, 503, 565, 288, 3639, 368, 968, 326, 843, 3639, 514, 843, 273, 590, 18, 588, 1662, 2932, 2271, 8863, 3639, 368, 968, 326, 2117, 1569, 16, 309, 1281, 3639, 514, 2117, 273, 590, 18, 588, 1662, 2932, 3562, 8863, 3639, 514, 394, 1785, 31, 3639, 368, 971, 1915, 353, 279, 2117, 1569, 16, 732, 1410, 3136, 358, 3639, 368, 741, 326, 1623, 598, 326, 3434, 2117, 18, 3639, 309, 261, 3562, 480, 446, 597, 401, 3562, 18, 14963, 2932, 6, 3719, 3639, 288, 5411, 368, 2256, 326, 3136, 5411, 766, 18, 4661, 5961, 12, 2740, 18, 3015, 5961, 1785, 12, 10792, 590, 18, 29120, 743, 1435, 397, 2117, 397, 10792, 315, 9647, 17, 3072, 35, 2271, 1546, 397, 843, 10019, 5411, 327, 31, 3639, 289, 3639, 368, 2457, 326, 1686, 3639, 987, 7372, 31, 3639, 368, 3998, 613, 1779, 3639, 514, 613, 966, 273, 1408, 31, 3639, 368, 968, 3134, 2117, 3639, 16854, 13352, 19833, 273, 6484, 1304, 18, 588, 12136, 13352, 2735, 12, 2293, 1769, 3639, 2200, 1849, 273, 6484, 1304, 18, 588, 2532, 2735, 12, 2293, 1769, 3639, 4342, 8526, 1516, 31, 759, 3639, 514, 8526, 7372, 31, 3639, 368, 11217, 326, 1623, 3639, 775, 3639, 288, 5411, 309, 261, 5548, 480, 446, 13, 5411, 288, 7734, 613, 966, 273, 315, 5548, 67, 350, 1546, 397, 1849, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3948, 967, 12, 1042, 819, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 16, 23859, 503, 565, 288, 3639, 368, 968, 326, 843, 3639, 514, 843, 273, 590, 18, 588, 1662, 2932, 2271, 8863, 3639, 368, 968, 326, 2117, 1569, 16, 309, 1281, 3639, 514, 2117, 273, 590, 18, 588, 1662, 2932, 3562, 8863, 3639, 514, 394, 1785, 31, 3639, 368, 971, 1915, 353, 279, 2117, 1569, 16, 732, 1410, 3136, 358, 3639, 368, 741, 326, 1623, 598, 326, 3434, 2117, 18, 3639, 309, 261, 3562, 480, 446, 597, 401, 3562, 18, 14963, 2932, 6, 3719, 3639, 288, 5411, 368, 2256, 326, 3136, 5411, 766, 18, 4661, 2 ]
mcf.getDefaultConnectionRequestInfo().setPassword(userPassword);
FBConnectionRequestInfo cri = mcf.getDefaultConnectionRequestInfo(); cri.setPassword(userPassword); mcf.setConnectionRequestInfo(cri);
public void setPassword(String userPassword) { mcf.getDefaultConnectionRequestInfo().setPassword(userPassword); }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/c1fa5055da0f3a68837dc8dd8d669ebaaf695de4/FBWrappingDataSource.java/buggy/src/org/firebirdsql/jdbc/FBWrappingDataSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23753, 12, 780, 729, 3913, 13, 565, 288, 3639, 478, 38, 1952, 23113, 19990, 273, 6108, 74, 18, 588, 1868, 1952, 23113, 5621, 19990, 18, 542, 3913, 12, 1355, 3913, 1769, 6108, 74, 18, 542, 1952, 23113, 12, 22203, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23753, 12, 780, 729, 3913, 13, 565, 288, 3639, 478, 38, 1952, 23113, 19990, 273, 6108, 74, 18, 588, 1868, 1952, 23113, 5621, 19990, 18, 542, 3913, 12, 1355, 3913, 1769, 6108, 74, 18, 542, 1952, 23113, 12, 22203, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
application,
application,
protected static GrailsMethodExpression create(final GrailsApplication application,Class clazz, String queryParameter) { if(queryParameter.endsWith( LESS_THAN_OR_EQUAL )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, LESS_THAN_OR_EQUAL), LESS_THAN_OR_EQUAL, 1, isNegation(queryParameter, LESS_THAN_OR_EQUAL) ) { Criterion createCriterion() { return Expression.le( this.propertyName, arguments[0] ); } }; } else if(queryParameter.endsWith( LESS_THAN )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, LESS_THAN), LESS_THAN, 1, // argument count isNegation(queryParameter, LESS_THAN) ) { Criterion createCriterion() { return Expression.lt( this.propertyName, arguments[0] ); } }; } else if(queryParameter.endsWith( GREATER_THAN_OR_EQUAL )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, GREATER_THAN_OR_EQUAL), GREATER_THAN_OR_EQUAL, 1, isNegation(queryParameter, GREATER_THAN_OR_EQUAL) ) { Criterion createCriterion() { return Expression.ge( this.propertyName, arguments[0] ); } }; } else if(queryParameter.endsWith( GREATER_THAN )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, GREATER_THAN), GREATER_THAN, 1, isNegation(queryParameter, GREATER_THAN) ) { Criterion createCriterion() { return Expression.gt( this.propertyName, arguments[0] ); } }; } else if(queryParameter.endsWith( LIKE )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, LIKE), LIKE, 1, isNegation(queryParameter, LIKE) ) { Criterion createCriterion() { return Expression.like( this.propertyName, arguments[0] ); } }; } else if(queryParameter.endsWith( IS_NOT_NULL )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, IS_NOT_NULL), IS_NOT_NULL, 0, isNegation(queryParameter, IS_NOT_NULL) ) { Criterion createCriterion() { return Expression.isNotNull( this.propertyName ); } }; } else if(queryParameter.endsWith( IS_NULL )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, IS_NULL), IS_NULL, 0, isNegation(queryParameter, IS_NULL) ) { Criterion createCriterion() { return Expression.isNull( this.propertyName ); } }; } else if(queryParameter.endsWith( BETWEEN )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, BETWEEN), BETWEEN, 2, isNegation(queryParameter, BETWEEN) ) { Criterion createCriterion() { return Expression.between( this.propertyName,this.arguments[0], this.arguments[1] ); } }; } else if(queryParameter.endsWith( NOT_EQUAL )) { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, NOT_EQUAL), NOT_EQUAL, 1, isNegation(queryParameter, NOT_EQUAL) ) { Criterion createCriterion() { return Expression.ne( this.propertyName,this.arguments[0]); } }; } else { return new GrailsMethodExpression( application, clazz, calcPropertyName(queryParameter, null), EQUAL, 1, isNegation(queryParameter, EQUAL) ) { Criterion createCriterion() { return Expression.eq( this.propertyName,this.arguments[0]); } }; } }
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/85846d755f8d115c415513d372c187f2bc2973ec/AbstractClausedStaticPersistentMethod.java/buggy/grails/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/AbstractClausedStaticPersistentMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 760, 10812, 14573, 1305, 2300, 752, 12, 6385, 10812, 14573, 3208, 2521, 16, 797, 4003, 16, 514, 843, 1662, 13, 288, 1082, 202, 430, 12, 2271, 1662, 18, 5839, 1190, 12, 21216, 67, 22408, 67, 916, 67, 12853, 8623, 288, 9506, 202, 2463, 394, 10812, 14573, 1305, 2300, 12, 25083, 202, 3685, 16, 25083, 202, 830, 3638, 16, 25083, 202, 12448, 13073, 12, 2271, 1662, 16, 21216, 67, 22408, 67, 916, 67, 12853, 3631, 25083, 202, 26005, 67, 22408, 67, 916, 67, 12853, 16, 9944, 202, 21, 16, 25083, 202, 291, 14337, 367, 12, 2271, 1662, 16, 21216, 67, 22408, 67, 916, 67, 12853, 13, 262, 288, 6862, 202, 13210, 752, 13210, 1435, 288, 25083, 202, 2463, 5371, 18, 298, 12, 333, 18, 4468, 461, 16, 1775, 63, 20, 65, 11272, 6862, 202, 97, 9506, 202, 20451, 1082, 202, 97, 25083, 202, 12107, 309, 12, 2271, 1662, 18, 5839, 1190, 12, 21216, 67, 22408, 8623, 288, 9506, 202, 2463, 394, 10812, 14573, 1305, 2300, 12, 25083, 202, 3685, 16, 9944, 202, 830, 3638, 16, 25083, 202, 12448, 13073, 12, 2271, 1662, 16, 21216, 67, 22408, 3631, 25083, 202, 26005, 67, 22408, 16, 9944, 202, 21, 16, 368, 1237, 1056, 25083, 202, 291, 14337, 367, 12, 2271, 1662, 16, 21216, 67, 22408, 13, 262, 288, 6862, 202, 13210, 752, 13210, 1435, 288, 25083, 202, 2463, 5371, 18, 5618, 12, 333, 18, 4468, 461, 16, 1775, 63, 20, 65, 11272, 6862, 202, 97, 9506, 202, 20451, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 760, 10812, 14573, 1305, 2300, 752, 12, 6385, 10812, 14573, 3208, 2521, 16, 797, 4003, 16, 514, 843, 1662, 13, 288, 1082, 202, 430, 12, 2271, 1662, 18, 5839, 1190, 12, 21216, 67, 22408, 67, 916, 67, 12853, 8623, 288, 9506, 202, 2463, 394, 10812, 14573, 1305, 2300, 12, 25083, 202, 3685, 16, 25083, 202, 830, 3638, 16, 25083, 202, 12448, 13073, 12, 2271, 1662, 16, 21216, 67, 22408, 67, 916, 67, 12853, 3631, 25083, 202, 26005, 67, 22408, 67, 916, 67, 12853, 16, 9944, 202, 21, 16, 25083, 202, 291, 14337, 367, 12, 2271, 1662, 16, 21216, 67, 22408, 67, 916, 67, 12853, 13, 262, 288, 6862, 202, 13210, 752, 13210, 1435, 288, 25083, 202, 2 ]
public void setMMFF94VanDerWaalsParameters(AtomContainer molecule, Hashtable parameterSet) throws Exception { //distances = wnd.getShortestPathLengthBetweenAtoms((AtomContainer) molecule); vdwInteractionNumber = 0; for (int i=0; i<molecule.getAtomCount(); i++) { for (int j=i+1; j<molecule.getAtomCount(); j++) { params[0] = new Integer(i); params[1] = new Integer(j); shortestPathBetweenToAtoms.setParameters(params); //if (distances[molecule.getAtomNumber(molecule.getAtomAt(i))][molecule.getAtomNumber(molecule.getAtomAt(j))]>2) { if (((IntegerResult)shortestPathBetweenToAtoms.calculate(molecule).getValue()).intValue()>2){ vdwInteractionNumber += 1; } } } //System.out.println("vdwInteractionNumber : " + vdwInteractionNumber); Vector vdwInteractionData = null; eSK = new double[vdwInteractionNumber]; asteriskR = new double[vdwInteractionNumber]; eAv = new double[vdwInteractionNumber]; capitalR = new double[vdwInteractionNumber]; r = new double[vdwInteractionNumber]; atomRadiu0 = new double[molecule.getAtomCount()]; t = new double[vdwInteractionNumber]; ivdw = new double[vdwInteractionNumber]; double gI; // To eSK calculation double gJ; // To eSK calculation double alphaI; // To eSK calculation and asteriskR[l] double alphaJ; // To eSK calculation and asteriskR[l] double nI; double nJ; double aaI; // To calculate asteriskRI double aaJ; // To calculate asteriskRJ double asteriskRI; double asteriskRJ; double gamma; // To calculate asteriskR[l] double dI; double dJ; double eI; double eJ; vdWiAtomPosition = new int[vdwInteractionNumber][]; int l = -1; for (int i=0; i<molecule.getAtomCount(); i++) { for (int j=i+1; j<molecule.getAtomCount(); j++) { params[0] = new Integer(i); params[1] = new Integer(j); shortestPathBetweenToAtoms.setParameters(params); //if (distances[molecule.getAtomNumber(molecule.getAtomAt(i))][molecule.getAtomNumber(molecule.getAtomAt(j))]>2) { if (((IntegerResult)shortestPathBetweenToAtoms.calculate(molecule).getValue()).intValue()>2){ l += 1; vdwInteractionData = (Vector) parameterSet.get("data" + molecule.getAtomAt(i).getID()); aaI = ((Double) vdwInteractionData.get(6)).doubleValue(); gI = ((Double) vdwInteractionData.get(7)).doubleValue(); alphaI = ((Double) vdwInteractionData.get(1)).doubleValue(); nI = ((Double) vdwInteractionData.get(2)).doubleValue(); eI = ((Double) vdwInteractionData.get(0)).doubleValue(); asteriskRI = aaI * Math.pow(alphaI,0.25); vdwInteractionData = (Vector) parameterSet.get("data" + molecule.getAtomAt(j).getID()); //System.out.println("vdwInteractionData : " + vdwInteractionData); aaJ = ((Double) vdwInteractionData.get(6)).doubleValue(); gJ = ((Double) vdwInteractionData.get(7)).doubleValue(); alphaJ = ((Double) vdwInteractionData.get(1)).doubleValue(); nJ = ((Double) vdwInteractionData.get(2)).doubleValue(); eJ = ((Double) vdwInteractionData.get(0)).doubleValue(); asteriskRJ = aaJ * Math.pow(alphaJ,0.25); if (molecule.getAtomAt(i).getID() == molecule.getAtomAt(j).getID()) { asteriskR[l] = asteriskRI; } else { gamma = (asteriskRI - asteriskRJ) / (asteriskRI + asteriskRJ); asteriskR[l] = 0.5 * (asteriskRI + asteriskRJ) * (1 + bb * (1 - Math.exp(-microB * Math.pow(gamma,2)))); } eSK[l] = ((181.16 * gI * gJ * alphaI * alphaJ) / (Math.sqrt(alphaI/nI) + Math.sqrt(alphaJ/nJ))) * 1 / Math.pow(asteriskR[l], 6); //System.out.println("eSK = " + eSK[l]); vdwInteractionData = (Vector) parameterSet.get("vdw" + molecule.getAtomAt(i).getID()); atomRadiu0[i] = ((Double) vdwInteractionData.get(0)).doubleValue(); vdwInteractionData = (Vector) parameterSet.get("vdw" + molecule.getAtomAt(j).getID()); atomRadiu0[j] = ((Double) vdwInteractionData.get(0)).doubleValue(); dI = 2 * atomRadiu0[i]; dJ = 2 * atomRadiu0[j]; capitalR[l] = (dI + dJ)/2; eAv[l] = Math.sqrt(eI * eJ); t[l] = 1; params[0] = new Integer(i); params[1] = new Integer(j); shortestPathBetweenToAtoms.setParameters(params); if (((IntegerResult)shortestPathBetweenToAtoms.calculate(molecule).getValue()).intValue()==3){ //if (distances[molecule.getAtomNumber(molecule.getAtomAt(i))][molecule.getAtomNumber(molecule.getAtomAt(j))] == 3) { ivdw[l] = vdwScale14; }else { ivdw[l] = 1; } vdWiAtomPosition[l] = new int[2]; vdWiAtomPosition[l][0] = i; vdWiAtomPosition[l][1] = j; } } } }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/9adcbd5769512fe518277f87ee5cc7c84de1ccb0/VanDerWaalsInteractions.java/buggy/src/org/openscience/cdk/modeling/forcefield/VanDerWaalsInteractions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 8206, 2246, 11290, 58, 304, 12041, 59, 69, 1031, 2402, 12, 3641, 2170, 13661, 16, 18559, 1569, 694, 13, 1216, 1185, 288, 202, 202, 759, 25834, 273, 341, 4880, 18, 588, 4897, 395, 743, 1782, 11831, 14280, 12443, 3641, 2170, 13, 13661, 1769, 9506, 202, 16115, 91, 17419, 1854, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 81, 10545, 18, 588, 3641, 1380, 5621, 277, 27245, 288, 1082, 202, 1884, 261, 474, 525, 33, 77, 15, 21, 31, 525, 32, 81, 10545, 18, 588, 3641, 1380, 5621, 525, 27245, 288, 9506, 202, 2010, 63, 20, 65, 273, 394, 2144, 12, 77, 1769, 9506, 202, 2010, 63, 21, 65, 273, 394, 2144, 12, 78, 1769, 9506, 202, 6620, 395, 743, 11831, 774, 14280, 18, 542, 2402, 12, 2010, 1769, 9506, 202, 759, 430, 261, 25834, 63, 81, 10545, 18, 588, 3641, 1854, 12, 81, 10545, 18, 588, 3641, 861, 12, 77, 3719, 6362, 81, 10545, 18, 588, 3641, 1854, 12, 81, 10545, 18, 588, 3641, 861, 12, 78, 3719, 65, 34, 22, 13, 288, 9506, 202, 430, 261, 12443, 4522, 1253, 13, 6620, 395, 743, 11831, 774, 14280, 18, 11162, 12, 81, 10545, 2934, 24805, 1435, 2934, 474, 620, 1435, 34, 22, 15329, 6862, 202, 16115, 91, 17419, 1854, 1011, 404, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 16115, 91, 17419, 1854, 294, 315, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 8206, 2246, 11290, 58, 304, 12041, 59, 69, 1031, 2402, 12, 3641, 2170, 13661, 16, 18559, 1569, 694, 13, 1216, 1185, 288, 202, 202, 759, 25834, 273, 341, 4880, 18, 588, 4897, 395, 743, 1782, 11831, 14280, 12443, 3641, 2170, 13, 13661, 1769, 9506, 202, 16115, 91, 17419, 1854, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 81, 10545, 18, 588, 3641, 1380, 5621, 277, 27245, 288, 1082, 202, 1884, 261, 474, 525, 33, 77, 15, 21, 31, 525, 32, 81, 10545, 18, 588, 3641, 1380, 5621, 525, 27245, 288, 9506, 202, 2010, 63, 20, 65, 273, 394, 2144, 12, 77, 1769, 9506, 202, 2010, 63, 21, 65, 2 ]
page.close();
page.closeAllPerspectives();
public void run() { WorkbenchPage page = (WorkbenchPage)window.getActivePage(); if (page != null) page.close(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4287f89dd930b793a9a5df23004524f90b006536/CloseAllPerspectivesAction.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CloseAllPerspectivesAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2421, 22144, 1964, 1363, 273, 261, 2421, 22144, 1964, 13, 5668, 18, 588, 3896, 1964, 5621, 202, 202, 430, 261, 2433, 480, 446, 13, 1082, 202, 2433, 18, 4412, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2421, 22144, 1964, 1363, 273, 261, 2421, 22144, 1964, 13, 5668, 18, 588, 3896, 1964, 5621, 202, 202, 430, 261, 2433, 480, 446, 13, 1082, 202, 2433, 18, 4412, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
lostOwnership(Clipboard clipboard, Transferable contents);
void lostOwnership (Clipboard clipboard, Transferable contents);
lostOwnership(Clipboard clipboard, Transferable contents);
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/ClipboardOwner.java/buggy/core/src/classpath/java/java/awt/datatransfer/ClipboardOwner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 13557, 5460, 12565, 261, 15339, 3752, 20304, 16, 12279, 429, 2939, 1769, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 13557, 5460, 12565, 261, 15339, 3752, 20304, 16, 12279, 429, 2939, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void park() {
public synchronized void park() { if(isStopping) return; isStopping = true;
public void park() { config.store(); }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/53d62fcf9107325580908435fbbedb36fbfaf9d2/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 779, 79, 1435, 288, 202, 202, 1425, 18, 2233, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 779, 79, 1435, 288, 202, 202, 1425, 18, 2233, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityType value = new org.quickfix.field.UnderlyingSecurityType();
public quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { quickfix.field.UnderlyingSecurityType value = new quickfix.field.UnderlyingSecurityType();
public org.quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityType value = new org.quickfix.field.UnderlyingSecurityType(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix44/Email.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 10833, 765, 6291, 4368, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 10833, 765, 6291, 4368, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (source == nextButton)
} else if (source == nextButton)
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == nextButton) { if ((installdata.curPanelNumber < installdata.panels.size() - 1) && ((IzPanel) installdata.panels.get(installdata.curPanelNumber)).isValidated()) { installdata.curPanelNumber++; switchPanel(installdata.curPanelNumber - 1); } } else if (source == quitButton) exit(); }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/InstallerFrame.java/clean/src/lib/com/izforge/izpack/installer/InstallerFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 565, 288, 1377, 1033, 1084, 273, 425, 18, 588, 1830, 5621, 1377, 309, 261, 3168, 422, 2807, 3616, 13, 1377, 288, 3639, 309, 14015, 5425, 892, 18, 1397, 5537, 1854, 405, 374, 3719, 3639, 288, 1850, 3799, 892, 18, 1397, 5537, 1854, 413, 31, 1850, 1620, 5537, 12, 5425, 892, 18, 1397, 5537, 1854, 397, 404, 1769, 3639, 289, 1377, 289, 1377, 469, 3639, 309, 261, 3168, 422, 1024, 3616, 13, 1377, 288, 3639, 309, 14015, 5425, 892, 18, 1397, 5537, 1854, 411, 3799, 892, 18, 7355, 10558, 18, 1467, 1435, 300, 404, 13, 597, 1850, 14015, 45, 94, 5537, 13, 3799, 892, 18, 7355, 10558, 18, 588, 12, 5425, 892, 18, 1397, 5537, 1854, 13, 2934, 291, 24258, 10756, 3639, 288, 1850, 3799, 892, 18, 1397, 5537, 1854, 9904, 31, 1850, 1620, 5537, 12, 5425, 892, 18, 1397, 5537, 1854, 300, 404, 1769, 3639, 289, 1377, 289, 1377, 469, 3639, 309, 261, 3168, 422, 9706, 3616, 13, 3639, 2427, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 565, 288, 1377, 1033, 1084, 273, 425, 18, 588, 1830, 5621, 1377, 309, 261, 3168, 422, 2807, 3616, 13, 1377, 288, 3639, 309, 14015, 5425, 892, 18, 1397, 5537, 1854, 405, 374, 3719, 3639, 288, 1850, 3799, 892, 18, 1397, 5537, 1854, 413, 31, 1850, 1620, 5537, 12, 5425, 892, 18, 1397, 5537, 1854, 397, 404, 1769, 3639, 289, 1377, 289, 1377, 469, 3639, 309, 261, 3168, 422, 1024, 3616, 13, 1377, 288, 3639, 309, 14015, 5425, 892, 18, 1397, 5537, 1854, 411, 3799, 892, 18, 7355, 10558, 18, 1467, 1435, 300, 404, 13, 597, 1850, 14015, 45, 94, 5537, 13, 3799, 892, 18, 7355, 10558, 18, 588, 12, 5425, 2 ]
JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) {
JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) {
public void beginTask(String taskName, int totalWork) { JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) { listener.beginTask(taskName, totalWork); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/9f68fc05c49b144eebae1957b15f8f3671c54cac/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2376, 2174, 12, 780, 20172, 16, 509, 2078, 2421, 13, 288, 5411, 3956, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 5411, 1123, 18, 10086, 2174, 12, 4146, 461, 16, 2078, 2421, 1769, 5411, 4460, 2278, 966, 12, 1376, 1769, 5411, 783, 2174, 461, 273, 20172, 31, 5411, 309, 261, 12757, 480, 446, 13, 288, 9506, 202, 12757, 18, 10086, 2174, 12, 4146, 461, 16, 2078, 2421, 1769, 1082, 202, 97, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2376, 2174, 12, 780, 20172, 16, 509, 2078, 2421, 13, 288, 5411, 3956, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 5411, 1123, 18, 10086, 2174, 12, 4146, 461, 16, 2078, 2421, 1769, 5411, 4460, 2278, 966, 12, 1376, 1769, 5411, 783, 2174, 461, 273, 20172, 31, 5411, 309, 261, 12757, 480, 446, 13, 288, 9506, 202, 12757, 18, 10086, 2174, 12, 4146, 461, 16, 2078, 2421, 1769, 1082, 202, 97, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String source = toks.nextToken();
String source = toks.nextToken();
private void addDatasetViews(StringTokenizer toks) throws InvalidQueryException { if (toks.countTokens() == 2) { toks.nextToken(); // ignore from String source = toks.nextToken(); if (martMap.containsKey(source)) { //add DatabaseDSViewAdaptor with Mart DataSource ds = (DataSource) martMap.get(source); try { String user = ds.getConnection().getMetaData().getUserName(); //remove any @host if present if (user.indexOf("@") >= 0) user = user.substring(0, user.indexOf("@")); DatabaseDSViewAdaptor adaptor = new DatabaseDSViewAdaptor(ds, user); adaptorManager.add(adaptor); adaptorMap.put(source, adaptor); } catch (Exception e) { throw new InvalidQueryException("Could not create DatabaseDSViewAdaptor with Mart " + source + " " + e.getMessage() + "\n", e); } } else { try { URL regURL = InputSourceUtil.getURLForString(source); RegistryDSViewAdaptor adaptor = new RegistryDSViewAdaptor(regURL); adaptorManager.add(adaptor); adaptorMap.put(source, adaptor); } catch (MalformedURLException e) { throw new InvalidQueryException("Recieved MalformedURLException parsing " + source + " into a URL " + e.getMessage() + "\n", e); } catch (ConfigurationException e) { throw new InvalidQueryException("Recieved ConfigurationException loading DatasetViews from " + source + " " + e.getMessage() + "\n", e); } } } else throw new InvalidQueryException("Recieved invalid add DatasetViews command. " + Help(ADDC) + "\n"); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/1bb374fdc19d6902ec83ac710293297de1e6cb6a/MartShell.java/buggy/src/java/org/ensembl/mart/shell/MartShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 10656, 9959, 12, 780, 10524, 21404, 13, 1216, 1962, 1138, 503, 288, 202, 202, 430, 261, 17692, 87, 18, 1883, 5157, 1435, 422, 576, 13, 288, 1082, 202, 17692, 87, 18, 4285, 1345, 5621, 368, 2305, 628, 1082, 202, 780, 1084, 273, 21404, 18, 4285, 1345, 5621, 1082, 202, 430, 261, 81, 485, 863, 18, 12298, 653, 12, 3168, 3719, 288, 9506, 202, 759, 1289, 5130, 3948, 1767, 29888, 598, 490, 485, 9506, 202, 8597, 3780, 273, 261, 8597, 13, 312, 485, 863, 18, 588, 12, 3168, 1769, 9506, 202, 698, 288, 6862, 202, 780, 729, 273, 3780, 18, 588, 1952, 7675, 588, 6998, 7675, 588, 15296, 5621, 6862, 202, 759, 4479, 1281, 632, 2564, 309, 3430, 6862, 202, 430, 261, 1355, 18, 31806, 2932, 36, 7923, 1545, 374, 13, 25083, 202, 1355, 273, 729, 18, 28023, 12, 20, 16, 729, 18, 31806, 2932, 36, 7923, 1769, 6862, 202, 4254, 3948, 1767, 29888, 9087, 273, 394, 5130, 3948, 1767, 29888, 12, 2377, 16, 729, 1769, 6862, 202, 19195, 280, 1318, 18, 1289, 12, 19195, 280, 1769, 6862, 202, 19195, 280, 863, 18, 458, 12, 3168, 16, 9087, 1769, 9506, 202, 97, 1044, 261, 503, 425, 13, 288, 6862, 202, 12849, 394, 1962, 1138, 503, 2932, 4445, 486, 752, 5130, 3948, 1767, 29888, 598, 490, 485, 315, 397, 1084, 397, 315, 315, 397, 425, 18, 24906, 1435, 397, 1548, 82, 3113, 425, 1769, 9506, 202, 97, 1082, 202, 97, 469, 288, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 10656, 9959, 12, 780, 10524, 21404, 13, 1216, 1962, 1138, 503, 288, 202, 202, 430, 261, 17692, 87, 18, 1883, 5157, 1435, 422, 576, 13, 288, 1082, 202, 17692, 87, 18, 4285, 1345, 5621, 368, 2305, 628, 1082, 202, 780, 1084, 273, 21404, 18, 4285, 1345, 5621, 1082, 202, 430, 261, 81, 485, 863, 18, 12298, 653, 12, 3168, 3719, 288, 9506, 202, 759, 1289, 5130, 3948, 1767, 29888, 598, 490, 485, 9506, 202, 8597, 3780, 273, 261, 8597, 13, 312, 485, 863, 18, 588, 12, 3168, 1769, 9506, 202, 698, 288, 6862, 202, 780, 729, 273, 3780, 18, 588, 1952, 7675, 588, 6998, 7675, 588, 15296, 5621, 6862, 202, 759, 4479, 1281, 632, 2 ]
throw new CorruptObjectException(id, "not a tree");
throw new IncorrectObjectTypeException(id, Constants.TYPE_TREE);
public ObjectReader openTree(final ObjectId id) throws IOException { final ObjectReader or = openObject(id); if (or == null) { return null; } else if (Constants.TYPE_TREE.equals(or.getType())) { return or; } else { or.close(); throw new CorruptObjectException(id, "not a tree"); } }
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/e339766abc2b919e7bb396cae22ddef065821381/Repository.java/buggy/org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 2514, 1696, 2471, 12, 6385, 21192, 612, 13, 1216, 1860, 565, 288, 3639, 727, 1033, 2514, 578, 273, 1696, 921, 12, 350, 1769, 3639, 309, 261, 280, 422, 446, 13, 3639, 288, 5411, 327, 446, 31, 3639, 289, 3639, 469, 309, 261, 2918, 18, 2399, 67, 26557, 18, 14963, 12, 280, 18, 588, 559, 1435, 3719, 3639, 288, 5411, 327, 578, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 578, 18, 4412, 5621, 5411, 604, 394, 657, 6746, 921, 14144, 12, 350, 16, 5245, 18, 2399, 67, 26557, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 2514, 1696, 2471, 12, 6385, 21192, 612, 13, 1216, 1860, 565, 288, 3639, 727, 1033, 2514, 578, 273, 1696, 921, 12, 350, 1769, 3639, 309, 261, 280, 422, 446, 13, 3639, 288, 5411, 327, 446, 31, 3639, 289, 3639, 469, 309, 261, 2918, 18, 2399, 67, 26557, 18, 14963, 12, 280, 18, 588, 559, 1435, 3719, 3639, 288, 5411, 327, 578, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 578, 18, 4412, 5621, 5411, 604, 394, 657, 6746, 921, 14144, 12, 350, 16, 5245, 18, 2399, 67, 26557, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
((BlackboardServiceProxy)blackboard).publishRemove(obj);
((BlackboardServiceProxy)blackboard).publishRemove(obj, true);
public void assertPublishRemove(Object obj, BlackboardDeltaState bbs, long waitTime, boolean expectedResult, boolean ordered) { blackboard.openTransaction(); ((BlackboardServiceProxy)blackboard).publishRemove(obj); blackboard.closeTransaction(); if (bbs != null) { try { Thread.currentThread().sleep(waitTime > 0?waitTime:0); //wait the designated amount of time boolean result = bbs.compare(((BlackboardServiceProxy)blackboard).getCurrentBlackboardDeltaState(), ordered); PluginTestResult.addEntry(PluginTestResult.PHASE_TEST_EXECUTION, PluginTestResult.COMMAND_ASSERT_PUBLISH_REMOVE, !(result^expectedResult), obj.getClass().getName()); ((BlackboardServiceProxy)blackboard).resetBlackboardDeltaState(); //reset the blackboard state } catch (InterruptedException ex) { ex.printStackTrace(); } } }
12403 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12403/26fbdc6d3dcdac7665aa33d3e94bebc73522c265/PluginTestCase.java/clean/CougaarUnit/src/org/cougaar/plugin/test/PluginTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 6024, 3288, 12, 921, 1081, 16, 22467, 3752, 9242, 1119, 324, 2038, 16, 1525, 30452, 16, 1250, 2665, 1253, 16, 1250, 5901, 13, 288, 3639, 7721, 3752, 18, 3190, 3342, 5621, 3639, 14015, 13155, 3752, 1179, 3886, 13, 11223, 3752, 2934, 6543, 3288, 12, 2603, 16, 638, 1769, 3639, 7721, 3752, 18, 4412, 3342, 5621, 3639, 309, 261, 70, 2038, 480, 446, 13, 288, 5411, 775, 288, 7734, 4884, 18, 2972, 3830, 7675, 19607, 12, 7048, 950, 405, 374, 35, 7048, 950, 30, 20, 1769, 282, 368, 7048, 326, 25264, 3844, 434, 813, 7734, 1250, 563, 273, 324, 2038, 18, 9877, 12443, 12, 13155, 3752, 1179, 3886, 13, 11223, 3752, 2934, 588, 3935, 13155, 3752, 9242, 1119, 9334, 5901, 1769, 7734, 6258, 4709, 1253, 18, 1289, 1622, 12, 3773, 4709, 1253, 18, 8939, 4429, 67, 16961, 67, 15271, 13269, 16, 6258, 4709, 1253, 18, 19104, 67, 8423, 11539, 67, 22224, 67, 22122, 16, 401, 12, 2088, 66, 3825, 1253, 3631, 1081, 18, 588, 797, 7675, 17994, 10663, 7734, 14015, 13155, 3752, 1179, 3886, 13, 11223, 3752, 2934, 6208, 13155, 3752, 9242, 1119, 5621, 282, 368, 6208, 326, 7721, 3752, 919, 5411, 289, 5411, 1044, 261, 24485, 503, 431, 13, 288, 7734, 431, 18, 1188, 6332, 5621, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 6024, 3288, 12, 921, 1081, 16, 22467, 3752, 9242, 1119, 324, 2038, 16, 1525, 30452, 16, 1250, 2665, 1253, 16, 1250, 5901, 13, 288, 3639, 7721, 3752, 18, 3190, 3342, 5621, 3639, 14015, 13155, 3752, 1179, 3886, 13, 11223, 3752, 2934, 6543, 3288, 12, 2603, 16, 638, 1769, 3639, 7721, 3752, 18, 4412, 3342, 5621, 3639, 309, 261, 70, 2038, 480, 446, 13, 288, 5411, 775, 288, 7734, 4884, 18, 2972, 3830, 7675, 19607, 12, 7048, 950, 405, 374, 35, 7048, 950, 30, 20, 1769, 282, 368, 7048, 326, 25264, 3844, 434, 813, 7734, 1250, 563, 273, 324, 2038, 18, 9877, 12443, 12, 13155, 3752, 1179, 3886, 13, 11223, 3752, 2934, 588, 3935, 13155, 3752, 2 ]
public Insets getBorderInsets (Component c)
public Insets getBorderInsets(Component c)
public Insets getBorderInsets (Component c) { return new Insets (0, 0, 0, 0); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/AbstractBorder.java/clean/core/src/classpath/javax/javax/swing/border/AbstractBorder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 22300, 2882, 1019, 382, 4424, 12, 1841, 276, 13, 225, 288, 565, 327, 394, 22300, 261, 20, 16, 374, 16, 374, 16, 374, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 22300, 2882, 1019, 382, 4424, 12, 1841, 276, 13, 225, 288, 565, 327, 394, 22300, 261, 20, 16, 374, 16, 374, 16, 374, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else { finished[0] = true;
} else { finished = true;
public IStatus runInUIThread(IProgressMonitor monitor) { if(!monitor.isCanceled() && !control.isDisposed()){ Point loc = control.getLocation(); switch (getAnimationState()) { case OPENING: loc.y--; if (loc.y >= endY) control.setLocation(loc); else { finished[0] = true; setAnimationState(OPEN); } break; case CLOSING: loc.y++; if (loc.y <= endY) control.setLocation(loc); else { finished[0] = true; setAnimationState(CLOSED); } break; default: break; } if(!finished[0]) getSlideJob().schedule(5); return Status.OK_STATUS; } return Status.CANCEL_STATUS; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/229fa3ff73e62189c51c61c3f11fc1aafcd37f5f/WorkbenchControlAnimator.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchControlAnimator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 12, 5, 10259, 18, 291, 23163, 1435, 597, 401, 7098, 18, 291, 1669, 7423, 10756, 95, 6862, 202, 2148, 1515, 273, 3325, 18, 588, 2735, 5621, 6862, 202, 9610, 261, 588, 10816, 1119, 10756, 288, 6862, 202, 3593, 11919, 1360, 30, 25083, 202, 1829, 18, 93, 413, 31, 25083, 202, 430, 261, 1829, 18, 93, 1545, 679, 61, 13, 6862, 1082, 202, 7098, 18, 542, 2735, 12, 1829, 1769, 25083, 202, 12107, 288, 6862, 1082, 202, 13527, 63, 20, 65, 273, 638, 31, 6862, 1082, 202, 542, 10816, 1119, 12, 11437, 1769, 25083, 202, 97, 25083, 202, 8820, 31, 6862, 202, 3593, 27775, 23708, 30, 25083, 202, 1829, 18, 93, 9904, 31, 25083, 202, 430, 261, 1829, 18, 93, 1648, 679, 61, 13, 6862, 1082, 202, 7098, 18, 542, 2735, 12, 1829, 1769, 25083, 202, 12107, 288, 6862, 1082, 202, 13527, 63, 20, 65, 273, 638, 31, 6862, 1082, 202, 542, 10816, 1119, 12, 28475, 1769, 25083, 202, 97, 25083, 202, 8820, 31, 6862, 202, 1886, 30, 25083, 202, 8820, 31, 6862, 202, 97, 6862, 202, 430, 12, 5, 13527, 63, 20, 5717, 25083, 202, 588, 21068, 2278, 7675, 10676, 12, 25, 1769, 6862, 25083, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 25083, 202, 97, 9506, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 1082, 202, 97, 1082, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 12, 5, 10259, 18, 291, 23163, 1435, 597, 401, 7098, 18, 291, 1669, 7423, 10756, 95, 6862, 202, 2148, 1515, 273, 3325, 18, 588, 2735, 5621, 6862, 202, 9610, 261, 588, 10816, 1119, 10756, 288, 6862, 202, 3593, 11919, 1360, 30, 25083, 202, 1829, 18, 93, 413, 31, 25083, 202, 430, 261, 1829, 18, 93, 1545, 679, 61, 13, 6862, 1082, 202, 7098, 18, 542, 2735, 12, 1829, 1769, 25083, 202, 12107, 288, 6862, 1082, 202, 13527, 63, 20, 65, 273, 638, 31, 6862, 1082, 202, 542, 10816, 1119, 12, 11437, 1769, 25083, 202, 97, 25083, 202, 8820, 2 ]
public boolean hasForward() {
public boolean hasForward () {
public boolean hasForward() { if (index + 1 < history.size() && index >= 0) { return true; } else { return false; } }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/9a4ed9a276ff3906598aa1c6aa55aeb8a2745a6e/PanelManager.java/buggy/demos/browser/src/java/org/xhtmlrenderer/demo/browser/PanelManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 8514, 1832, 288, 3639, 309, 261, 1615, 397, 404, 411, 4927, 18, 1467, 1435, 597, 770, 1545, 374, 13, 288, 5411, 327, 638, 31, 3639, 289, 469, 288, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 8514, 1832, 288, 3639, 309, 261, 1615, 397, 404, 411, 4927, 18, 1467, 1435, 597, 770, 1545, 374, 13, 288, 5411, 327, 638, 31, 3639, 289, 469, 288, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int cp = screen52.getCurrentPos();
int cp = screen52.getScreenFields().getCurrentFieldPos();
public final void saveScreen() throws IOException { ByteArrayOutputStream sc = new ByteArrayOutputStream(); sc.write(4); sc.write(0x12); // 18 sc.write(0); // 18 sc.write(0); // 18 sc.write((byte) screen52.getRows()); // store the current size sc.write((byte) screen52.getColumns()); // "" int cp = screen52.getCurrentPos(); // save off current position sc.write((byte) (cp >> 8 & 0xff)); // "" sc.write((byte) (cp & 0xff)); // "" sc.write((byte) (screen52.homePos >> 8 & 0xff)); // save home pos sc.write((byte) (screen52.homePos & 0xff)); // "" int rows = screen52.getRows(); // store the current size int cols = screen52.getColumns(); // ""// byte[] sa = new byte[rows * cols]; fillRegenerationBuffer(sc,rows,cols);// fillScreenArray(sa, rows, cols);//// sc.write(sa);// sa = null; int sizeFields = screen52.getScreenFields().getSize(); sc.write((byte) (sizeFields >> 8 & 0xff)); // "" sc.write((byte) (sizeFields & 0xff)); // "" if (sizeFields > 0) { int x = 0; int s = screen52.getScreenFields().getSize(); ScreenField sf = null; while (x < s) { sf = screen52.getScreenFields().getField(x); sc.write((byte) sf.getAttr()); // attribute int sp = sf.startPos(); sc.write((byte) (sp >> 8 & 0xff)); // "" sc.write((byte) (sp & 0xff)); // "" if (sf.mdt) sc.write((byte) 1); else sc.write((byte) 0); sc.write((byte) (sf.getLength() >> 8 & 0xff)); // "" sc.write((byte) (sf.getLength() & 0xff)); // "" sc.write((byte) sf.getFFW1() & 0xff); sc.write((byte) sf.getFFW2() & 0xff); sc.write((byte) sf.getFCW1() & 0xff); sc.write((byte) sf.getFCW2() & 0xff); log.debug("Saved "); log.debug(sf.toString()); x++; } sf = null; } // The following two lines of code looks to have caused all sorts of // problems so for now we have commented them out. // screen52.getScreenFields().setCurrentField(null); // set it to null // for GC ? // screen52.clearTable(); try { writeGDS(0, 3, sc.toByteArray()); } catch (IOException ioe) { log.warn(ioe.getMessage()); } sc = null; log.debug("Save Screen end "); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/64652e1c9e219518ec70ee7e682034f7e5e2f0ca/tnvt.java/clean/src/org/tn5250j/framework/tn5250/tnvt.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1923, 7956, 1435, 1216, 1860, 288, 202, 202, 8826, 4632, 888, 273, 394, 11559, 5621, 202, 202, 1017, 18, 2626, 12, 24, 1769, 202, 202, 1017, 18, 2626, 12, 20, 92, 2138, 1769, 368, 6549, 202, 202, 1017, 18, 2626, 12, 20, 1769, 368, 6549, 202, 202, 1017, 18, 2626, 12, 20, 1769, 368, 6549, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 5518, 9401, 18, 588, 4300, 10663, 368, 1707, 326, 783, 963, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 5518, 9401, 18, 588, 3380, 10663, 368, 565, 1408, 1082, 225, 509, 3283, 273, 5518, 9401, 18, 588, 7956, 2314, 7675, 588, 3935, 974, 1616, 5621, 225, 368, 1923, 3397, 783, 1754, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 261, 4057, 1671, 1725, 473, 374, 5297, 10019, 368, 565, 1408, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 261, 4057, 473, 374, 5297, 10019, 368, 565, 1408, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 261, 9252, 9401, 18, 8712, 1616, 1671, 1725, 473, 374, 5297, 10019, 368, 1923, 6382, 949, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 261, 9252, 9401, 18, 8712, 1616, 473, 374, 5297, 10019, 368, 565, 1408, 202, 202, 474, 2595, 273, 5518, 9401, 18, 588, 4300, 5621, 368, 1707, 326, 783, 963, 202, 202, 474, 5347, 273, 5518, 9401, 18, 588, 3380, 5621, 368, 565, 1408, 759, 202, 202, 7229, 8526, 7864, 273, 394, 1160, 63, 3870, 380, 5347, 15533, 202, 202, 5935, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1923, 7956, 1435, 1216, 1860, 288, 202, 202, 8826, 4632, 888, 273, 394, 11559, 5621, 202, 202, 1017, 18, 2626, 12, 24, 1769, 202, 202, 1017, 18, 2626, 12, 20, 92, 2138, 1769, 368, 6549, 202, 202, 1017, 18, 2626, 12, 20, 1769, 368, 6549, 202, 202, 1017, 18, 2626, 12, 20, 1769, 368, 6549, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 5518, 9401, 18, 588, 4300, 10663, 368, 1707, 326, 783, 963, 202, 202, 1017, 18, 2626, 12443, 7229, 13, 5518, 9401, 18, 588, 3380, 10663, 368, 565, 1408, 1082, 225, 509, 3283, 273, 5518, 9401, 18, 588, 7956, 2314, 7675, 588, 3935, 974, 1616, 5621, 225, 368, 1923, 3397, 783, 1754, 2 ]
String message = "";
if(logDir == null) { log.error("logDir needed by HTML email publisher is not set"); return ""; }
protected String createMessage(XMLLogHelper logHelper) { String message = ""; try { File logDir = new File( this.logDir ); File inFile = new File( logDir, logHelper.getLogFileName() ); message = transform( inFile ); } catch (Exception ex) { log.error("", ex); try { String logFileName = logHelper.getLogFileName(); message = createLinkLine(logFileName); } catch (CruiseControlException ccx) { log.error("exception getting logfile name", ccx); } } return message; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/46d31b3b13dfa871cb846bd2f79612372fbfd886/HTMLEmailPublisher.java/clean/main/src/net/sourceforge/cruisecontrol/publishers/HTMLEmailPublisher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 23836, 12, 4201, 1343, 2276, 613, 2276, 13, 288, 565, 309, 12, 1330, 1621, 422, 446, 13, 288, 613, 18, 1636, 2932, 1330, 1621, 3577, 635, 3982, 2699, 12855, 353, 486, 444, 8863, 327, 1408, 31, 289, 565, 775, 288, 1377, 1387, 31101, 273, 394, 1387, 12, 333, 18, 1330, 1621, 11272, 1377, 1387, 316, 812, 273, 394, 1387, 12, 31101, 16, 613, 2276, 18, 588, 1343, 4771, 1435, 11272, 1377, 883, 273, 2510, 12, 316, 812, 11272, 565, 289, 1044, 261, 503, 431, 13, 288, 1377, 613, 18, 1636, 2932, 3113, 431, 1769, 1377, 775, 288, 3639, 514, 613, 4771, 273, 613, 2276, 18, 588, 1343, 4771, 5621, 3639, 883, 273, 752, 2098, 1670, 12, 1330, 4771, 1769, 1377, 289, 1377, 1044, 261, 39, 8653, 784, 3367, 503, 4946, 92, 13, 288, 3639, 613, 18, 1636, 2932, 4064, 8742, 15204, 508, 3113, 4946, 92, 1769, 1377, 289, 565, 289, 565, 327, 883, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 23836, 12, 4201, 1343, 2276, 613, 2276, 13, 288, 565, 309, 12, 1330, 1621, 422, 446, 13, 288, 613, 18, 1636, 2932, 1330, 1621, 3577, 635, 3982, 2699, 12855, 353, 486, 444, 8863, 327, 1408, 31, 289, 565, 775, 288, 1377, 1387, 31101, 273, 394, 1387, 12, 333, 18, 1330, 1621, 11272, 1377, 1387, 316, 812, 273, 394, 1387, 12, 31101, 16, 613, 2276, 18, 588, 1343, 4771, 1435, 11272, 1377, 883, 273, 2510, 12, 316, 812, 11272, 565, 289, 1044, 261, 503, 431, 13, 288, 1377, 613, 18, 1636, 2932, 3113, 431, 1769, 1377, 775, 288, 3639, 514, 613, 4771, 273, 613, 2276, 18, 588, 1343, 4771, 5621, 3639, 883, 273, 752, 2098, 1670, 12, 2 ]
this.noex = noex;
this.visibility = visibility;
public DefnNode(ISourcePosition position, String name, INode argsNode, ScopeNode bodyNode, Visibility noex) { super(position); this.name = name; this.argsNode = argsNode; this.bodyNode = bodyNode; this.noex = noex; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/615c030e9e2e4f7129fe3e92d877dd15dd313c3d/DefnNode.java/buggy/org/jruby/ast/DefnNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1505, 4293, 907, 12, 45, 1830, 2555, 1754, 16, 514, 508, 16, 21176, 833, 907, 16, 5468, 907, 1417, 907, 16, 27791, 1158, 338, 13, 288, 3639, 2240, 12, 3276, 1769, 7734, 333, 18, 529, 273, 508, 31, 3639, 333, 18, 1968, 907, 273, 833, 907, 31, 3639, 333, 18, 3432, 907, 273, 1417, 907, 31, 3639, 333, 18, 14422, 273, 9478, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1505, 4293, 907, 12, 45, 1830, 2555, 1754, 16, 514, 508, 16, 21176, 833, 907, 16, 5468, 907, 1417, 907, 16, 27791, 1158, 338, 13, 288, 3639, 2240, 12, 3276, 1769, 7734, 333, 18, 529, 273, 508, 31, 3639, 333, 18, 1968, 907, 273, 833, 907, 31, 3639, 333, 18, 3432, 907, 273, 1417, 907, 31, 3639, 333, 18, 14422, 273, 9478, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
offset = STACKFRAME_HEADER_SIZE + 80; for (int i = 13; i <= 16; i++) {
offset = STACKFRAME_HEADER_SIZE + JNI_GLUE_SAVED_VOL_SIZE; for (int i = FIRST_OS_NONVOLATILE_GPR; i < FIRST_NONVOLATILE_GPR; i++) {
static void generateGlueCodeForJNIMethod(VM_Assembler asm, VM_Method mth) { int offset; asm.emitSTU(FP,-JNI_GLUE_FRAME_SIZE,FP); // buy the glue frame // we may need to save CR in the previous frame also if CR will be used // CR is to be saved at FP+4 in the previous frame // Here we check if this is a JNI function that takes the vararg in the ... style // This includes CallStatic<type>Method, Call<type>Method, CallNonVirtual<type>Method // For these calls, the vararg starts at the 4th or 5th argument (GPR 6 or 7) // So, we save the GPR 6-10 and FPR 1-3 in a volatile register save area // in the glue stack frame so that the JNI function can later repackage the arguments // based on the parameter types of target method to be invoked. // (For long argument lists, the additional arguments, have been saved in // the spill area of the AIX caller, and will be retrieved from there.) // // If we are compiling such a JNI Function, then emit the code to store // GPR 4-10 and FPR 1-6 into the volatile save area. String mthName = mth.getName().toString(); if ((mthName.startsWith("Call") && mthName.endsWith("Method")) || mthName.equals("NewObject")) { offset = STACKFRAME_HEADER_SIZE + 12; // skip over slots for GPR 3-5 for (int i = 6; i <= 10; i++ ) { asm.emitST (i, offset, FP); offset+=4; } // store FPRs 1-3 in first 3 slots of volatile FPR save area for (int i = 1; i <= 3; i++) { asm.emitSTFD (i, offset, FP); offset+=8; } } // Save AIX non-volatile GRPs and FPRs that will not be saved and restored // by RVM. These are GPR 13-16 & FPR 14-15. // offset = STACKFRAME_HEADER_SIZE + 80; // skip 20 word volatile reg save area for (int i = 13; i <= 16; i++) { asm.emitST (i, offset, FP); offset += 4; } for (int i = 14; i <= 15; i++) { asm.emitSTFD (i, offset, FP); offset +=8; } // set the method ID for the glue frame // and save the return address in the previous frame // asm.emitLVAL(S0, INVISIBLE_METHOD_ID); asm.emitMFLR(0); asm.emitST (S0, STACKFRAME_METHOD_ID_OFFSET, FP); asm.emitST (0, JNI_GLUE_FRAME_SIZE + STACKFRAME_NEXT_INSTRUCTION_OFFSET, FP); int CR_OFFSET = 4; // Save CR in caller's frame; see page 162 of PPC Compiler Writer's Guide asm.emitMFCR (S0); asm.emitST (S0, JNI_GLUE_FRAME_SIZE + CR_OFFSET, FP); // change the vpStatus of the current Processor to "in Java", if GC has started // and we are "blocked_in_native" then loop doing sysYields until GC done and the // processor is unblocked. With default jni, we can also be "blocked_in_native" // if the running thread has been detected as "stuck" and is being moved to a // native processor. // // on entry T0 = JNI Function Ptr (Handle) which should point into the array of function ptrs // the next word in that array contains the address of the current processors vpStatus word // // AIX non volatile gprs 13-16 have been saved & are available (also gprs 11-13 can be used). // S0=13, SP=14, TI=15, PROCESSOR_REGISTER=16 are available (&have labels) for changing state. // ...it would be nice to leave the passed arguments untouched, unless we are blocked // and have to call sysVirtualProcessorYield int label0 = asm.getMachineCodeIndex(); // inst index of the following instr asm.emitL (TI, 4, T0); // TI <- addr of processors vpStatus, from JNI function Ptr array asm.emitLWARX (S0, 0, TI); // get status for processor asm.emitCMPI (S0, VM_Processor.BLOCKED_IN_NATIVE); // check if GC in progress, blocked in native mode VM_ForwardReference frBlocked = asm.emitForwardBC(EQ); asm.emitCAL (S0, VM_Processor.IN_JAVA, 0 ); // S0 <- new state value asm.emitSTWCXr(S0, 0, TI); // attempt to change state to native asm.emitBC (NE, label0); // br if failure -retry lwarx by jumping to label0 VM_ForwardReference frInJava = asm.emitForwardB(); // branch around code to call sysYield // branch to here if blocked in native, call sysVirtulaProcessorYield (AIX pthread yield) // must save AIX volatile gprs & fprs before the call and restore after // frBlocked.resolve(asm); offset = STACKFRAME_HEADER_SIZE; // save volatile GPRS 3-10 for (int i = FIRST_AIX_VOLATILE_GPR; i <= LAST_AIX_VOLATILE_GPR; i++) { asm.emitST (i, offset, FP); offset+=4; } // save volatile FPRS 1-6 for (int i = FIRST_AIX_VOLATILE_FPR; i <= 6; i++) { asm.emitSTFD (i, offset, FP); offset+=8; } // note JTOC is the RVM JTOC, set by native code when it branched thru the // JNI function pointer to this code asm.emitL (SP, VM_Entrypoints.the_boot_recordField.getOffset(), JTOC); // get boot record address asm.emitCAL (PROCESSOR_REGISTER, 0, JTOC); // save JTOC for later asm.emitL (JTOC, VM_Entrypoints.sysTOCField.getOffset(), SP); // load TOC for syscalls from bootrecord asm.emitL (TI, VM_Entrypoints.sysVirtualProcessorYieldIPField.getOffset(), SP); // load addr of function asm.emitMTLR (TI); asm.emitBLRL(); // call sysVirtualProcessorYield in sys.C asm.emitCAL (JTOC, 0,PROCESSOR_REGISTER); // restore RVM JTOC // restore the saved volatile GPRs 3-10 and FPRs 1-6 offset = STACKFRAME_HEADER_SIZE; // restore volatile GPRS 3-10 for (int i = FIRST_AIX_VOLATILE_GPR; i <= LAST_AIX_VOLATILE_GPR; i++) { asm.emitL (i, offset, FP); offset+=4; } // restore volatile FPRS 1-6 for (int i = FIRST_AIX_VOLATILE_FPR; i <= 6; i++) { asm.emitLFD (i, offset, FP); offset+=8; } asm.emitB (label0); // br back to label0 to try lwarx again // NOW_IN_JAVA: // branch to here, after setting status to IN_JAVA // // GC is not in progress - so we can now reference moveable objects in the heap, // such as JNIEnvironment, VM_Thread, VM_Processor. // // T0 = the address of running threads entry in the jnifunctionpointers array // (as of 11/16/00 each thread gets 2 words in this array) // compute offset into this array, use this divieded by 2 as offset in threads array, // load VM_Thread, and from it load the jniEnv pointer. // ...use TI and PROCESSOR_REGISTER as temps for a while // ...JTOC is now the RVM JTOC // frInJava.resolve(asm); asm.emitL (TI, VM_Entrypoints.JNIFunctionPointersField.getOffset(), JTOC); asm.emitSF (TI, TI, T0); // TI <- byte offset into funcPtrs array asm.emitSRAI (TI, TI, 1); // divide by 2 asm.emitL (PROCESSOR_REGISTER, VM_Entrypoints.threadsField.getOffset(), JTOC); asm.emitA (TI, PROCESSOR_REGISTER, TI); asm.emitL (TI, 0, TI); // TI <- address of VM_Thread asm.emitL (T0, VM_Entrypoints.jniEnvField.getOffset(), TI); // T0 <- JNIEnv ref (a REAL ref) // get pointer to top java frame from JNIEnv, compute offset from current // frame pointer (offset to avoid more interior pointers) and save offset // in this glue frame // asm.emitL (TI, VM_Entrypoints.JNITopJavaFPField.getOffset(), T0); // get addr of top java frame from JNIEnv asm.emitSF (TI, FP, TI); // TI <- offset from current FP asm.emitST (TI, JNI_GLUE_FRAME_SIZE-4, FP); // store offset at end of glue frame // load TI & PR registers from JNIEnv before calling Java JNI Function asm.emitL (TI, VM_Entrypoints.JNIEnvSavedTIField.getOffset(), T0); asm.emitL (PROCESSOR_REGISTER, VM_Entrypoints.JNIEnvSavedPRField.getOffset(), T0); // check if now running on a native processor, if so we have to // transfer back to a blue/RVM processor (via call to becomeRVM) // asm.emitL (S0, VM_Entrypoints.processorModeField.getOffset(), PROCESSOR_REGISTER); // get processorMode asm.emitCMPI (S0, VM_Processor.RVM); // are we still on blue processor VM_ForwardReference frBlue2 = asm.emitForwardBC(EQ); // skip transfer to blue if on blue // save volatile GPRs 3-10 and FPRs 1-6 before calling becomeRVMThread offset = STACKFRAME_HEADER_SIZE; // save volatile GPRS 3-10 for (int i = FIRST_AIX_VOLATILE_GPR; i <= LAST_AIX_VOLATILE_GPR; i++) { asm.emitST (i, offset, FP); offset+=4; } // save volatile FPRS 1-6 for (int i = FIRST_AIX_VOLATILE_FPR; i <= 6; i++) { asm.emitSTFD (i, offset, FP); offset+=8; } // Branch to becomeRVMThread: we will yield and get rescheduled to execute // on a regular VM_Processor for Java code. At this point PR, TI & JTOC // are valid for executing Java // asm.emitLtoc (S0, VM_Entrypoints.becomeRVMThreadMethod.getOffset()); // always 2 instructions asm.emitMTLR (S0); asm.emitBLRL (); // At this point, we have resumed execution in a RVM VM_Processor // The PR register now points to this VM_Processor. TI & JTOC are still valid. // restore the saved volatile GPRs 3-10 and FPRs 1-6 offset = STACKFRAME_HEADER_SIZE; // restore volatile GPRS 3-10 for (int i = FIRST_AIX_VOLATILE_GPR; i <= LAST_AIX_VOLATILE_GPR; i++) { asm.emitL (i, offset, FP); offset+=4; } // restore volatile FPRS 1-6 for (int i = FIRST_AIX_VOLATILE_FPR; i <= 6; i++) { asm.emitLFD (i, offset, FP); offset+=8; } // branch to here if making jni call on RVM/blue processor frBlue2.resolve(asm); // BRANCH TO THE PROLOG FOR THE JNI FUNCTION VM_ForwardReference frNormalPrologue = asm.emitForwardBL(); // relative branch and link past the following epilog, to the normal prolog of the method // the normal epilog of the method will return to the epilog here to pop the glue stack frame // RETURN TO HERE FROM EPILOG OF JNI FUNCTION // CAUTION: START OF EPILOG OF GLUE CODE // The section of code from here to "END OF EPILOG OF GLUE CODE" is nestled between // the glue code prolog and the real JNI code. // T0 & T1 (R3 & R4) or F1 contain the return value from the function - DO NOT USE // assume: JTOC, TI, and PROCESSOR_REG are valid, and all RVM non-volatile // GPRs and FPRs have been restored. Our processor state should be ...IN_JAVA so // it is OK to use saved refs to moveable objects (ie. PROCESSOR_REG) // establish T2 -> current threads JNIEnv structure, from activeThread field // of current processor asm.emitL (T2, VM_Entrypoints.activeThreadField.getOffset(), PROCESSOR_REGISTER); // T2 <- activeThread of PR asm.emitL (T2, VM_Entrypoints.jniEnvField.getOffset(), T2); // T2 <- JNIEnvironment // before returning to C, set pointer to top java frame in JNIEnv, using offset // saved in this glue frame during transition from C to Java. GC will use this saved // frame pointer if it is necessary to do GC with a processors active thread // stuck (and blocked) in native C, ie. GC starts scanning the threads stack at that frame. // asm.emitL (T3, JNI_GLUE_FRAME_SIZE-4, FP); // load offset from FP to top java frame asm.emitA (T3, FP, T3); // T3 <- address of top java frame asm.emitST (T3, VM_Entrypoints.JNITopJavaFPField.getOffset(), T2); // store TopJavaFP back into JNIEnv // Check if nativeAffinity is set: // -if yes, the caller is via CreateJavaVM or AttachCurrentThread // from an external pthread and control must be returned to the C program there // -If no, return to C can be done on the current processor asm.emitL (S0, VM_Entrypoints.activeThreadField.getOffset(), PROCESSOR_REGISTER); // T2 <- activeThread of PR asm.emitL (S0, VM_Entrypoints.nativeAffinityField.getOffset(), S0); // T2 <- nativeAffinity asm.emitCMPI (S0, 0); VM_ForwardReference fr6 = asm.emitForwardBC(EQ); // check to see if this frame address is the sentinal since there may be no further Java frame below asm.emitCMPI (T3, VM_Constants.STACKFRAME_SENTINAL_FP); VM_ForwardReference fr5 = asm.emitForwardBC(NE); // save result GPRS 3-4 and FPRS 1 offset = STACKFRAME_HEADER_SIZE; asm.emitST (T0, offset, FP); asm.emitST (T1, offset+4, FP); asm.emitST (T2, offset+8, FP); asm.emitST (T3, offset+12, FP); asm.emitSTFD (FIRST_AIX_VOLATILE_FPR, offset+16, FP); // Branch to becomeNativeThread: we will yield and get rescheduled to execute // on a VM_Processor for the external pthread code. // asm.emitLtoc (S0, VM_Entrypoints.becomeNativeThreadMethod.getOffset()); // always 2 instructions asm.emitMTLR (S0); asm.emitBLRL (); // restore result GPRS 3-4 and FPRS 1 offset = STACKFRAME_HEADER_SIZE; asm.emitL (T0, offset, FP); asm.emitL (T1, offset+4, FP); asm.emitL (T2, offset+8, FP); asm.emitL (T3, offset+12, FP); asm.emitLFD (FIRST_AIX_VOLATILE_FPR, offset+16, FP); // While in Java (JNI Function), on a RVM Processor, we allow the thread to be migrated // to a different Processor. Thus the current processor when returning from Java back // may be different from the processor when calling the Java JNI Function. We therefore // must update the saved processor registers, in the threads JNIEnvironment and in the // preceeding "Java to C" transition frame. // Note: must be done after the possible call to becomeNativeThread to pick up the right PR value // // update the saved PR of the frame if TopJavaFP is valid (branch here from check above) fr6.resolve(asm); fr5.resolve(asm); // check to see if this frame address is the sentinal since there may be no further Java frame below asm.emitCMPI (T3, VM_Constants.STACKFRAME_SENTINAL_FP); VM_ForwardReference fr4 = asm.emitForwardBC(EQ); asm.emitL (S0, 0, T3); // get fp for caller of prev J to C transition frame asm.emitST (PROCESSOR_REGISTER, -JNI_PR_OFFSET, S0); // store PR back into transition frame fr4.resolve(asm); asm.emitST (PROCESSOR_REGISTER, VM_Entrypoints.JNIEnvSavedPRField.getOffset(), T2); // store PR back into JNIEnv // change the state of the VP to "in Native". With default jni transitions to // native C from Java ALWAYS start on a blue/RVM Processor (status = IN_JAVA) // and are never "BLOCKED_IN_JAVA" // asm.emitL (T3, VM_Entrypoints.vpStatusAddressField.getOffset(), PROCESSOR_REGISTER); // T3 gets addr vpStatus word asm.emitCAL (S0, VM_Processor.IN_NATIVE, 0 ); // S0 <- new status value asm.emitST (S0, 0, T3); // change state to native asm.emitL (S0, JNI_GLUE_FRAME_SIZE + CR_OFFSET, FP); asm.emitMTCRF (0xff, S0); // Restore those AIX nonvolatile registers saved in the prolog above // Here we only save & restore ONLY those registers not restored by RVM // offset = STACKFRAME_HEADER_SIZE + 80; // skip 20 word volatile reg save area for (int i = 13; i <= 16; i++) { asm.emitL (i, offset, FP); // 4 instructions offset += 4; } for (int i = 14; i <= 15; i++) { asm.emitLFD (i, offset, FP); // 2 instructions offset +=8; } // pop frame asm.emitCAL(FP, JNI_GLUE_FRAME_SIZE, FP); // load return address & return to caller // T0 & T1 (or F1) should still contain the return value // asm.emitL(T2, STACKFRAME_NEXT_INSTRUCTION_OFFSET, FP); asm.emitMTLR(T2); asm.emitBLR (); // branch always, through link register //END OF EPILOG OF GLUE CODE frNormalPrologue.resolve(asm); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/84e99898036221f1c0ed5e72e060bc3e0803769c/VM_JNICompiler.java/clean/rvm/src/vm/arch/powerPC/jni/VM_JNICompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 2103, 21308, 344, 1085, 1290, 46, 50, 45, 1305, 12, 7397, 67, 1463, 5747, 749, 20415, 16, 8251, 67, 1305, 312, 451, 13, 288, 565, 509, 1384, 31, 565, 20415, 18, 18356, 882, 57, 12, 30246, 16, 17, 46, 50, 45, 67, 11261, 1821, 67, 15072, 67, 4574, 16, 30246, 1769, 377, 368, 30143, 326, 17960, 2623, 565, 368, 732, 2026, 1608, 358, 1923, 6732, 316, 326, 2416, 2623, 2546, 309, 6732, 903, 506, 1399, 565, 368, 6732, 353, 358, 506, 5198, 622, 28740, 15, 24, 316, 326, 2416, 2623, 565, 368, 13743, 732, 866, 309, 333, 353, 279, 804, 50, 45, 445, 716, 5530, 326, 569, 3175, 316, 326, 1372, 2154, 565, 368, 1220, 6104, 3049, 5788, 32, 723, 34, 1305, 16, 3049, 32, 723, 34, 1305, 16, 3049, 3989, 6466, 32, 723, 34, 1305, 565, 368, 2457, 4259, 4097, 16, 326, 569, 3175, 2542, 622, 326, 1059, 451, 578, 1381, 451, 1237, 261, 43, 8025, 1666, 578, 2371, 13, 565, 368, 6155, 16, 732, 1923, 326, 4948, 54, 1666, 17, 2163, 471, 478, 8025, 404, 17, 23, 316, 279, 31548, 1744, 1923, 5091, 377, 368, 316, 326, 17960, 2110, 2623, 1427, 716, 326, 804, 50, 45, 445, 848, 5137, 2071, 1270, 326, 1775, 565, 368, 2511, 603, 326, 1569, 1953, 434, 1018, 707, 358, 506, 8187, 18, 565, 368, 261, 1290, 1525, 1237, 6035, 16, 326, 3312, 1775, 16, 1240, 2118, 5198, 316, 565, 368, 326, 1694, 737, 5091, 434, 326, 432, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 2103, 21308, 344, 1085, 1290, 46, 50, 45, 1305, 12, 7397, 67, 1463, 5747, 749, 20415, 16, 8251, 67, 1305, 312, 451, 13, 288, 565, 509, 1384, 31, 565, 20415, 18, 18356, 882, 57, 12, 30246, 16, 17, 46, 50, 45, 67, 11261, 1821, 67, 15072, 67, 4574, 16, 30246, 1769, 377, 368, 30143, 326, 17960, 2623, 565, 368, 732, 2026, 1608, 358, 1923, 6732, 316, 326, 2416, 2623, 2546, 309, 6732, 903, 506, 1399, 565, 368, 6732, 353, 358, 506, 5198, 622, 28740, 15, 24, 316, 326, 2416, 2623, 565, 368, 13743, 732, 866, 309, 333, 353, 279, 804, 50, 45, 445, 716, 5530, 326, 569, 3175, 316, 326, 1372, 2154, 565, 368, 1220, 6104, 2 ]
} else if (n == lattice.getTerminalNode()) {
} else if (n == lattice.getTerminalNode()) {
protected void removeHangingNodes() { for (Iterator i = lattice.getCopyOfNodes().iterator(); i.hasNext();) { Node n = (Node) i.next(); if (n == lattice.getInitialNode()) { } else if (n == lattice.getTerminalNode()) { } else { if (n.getToEdges().size() == 0 || n.getFromEdges().size() == 0) { removedNodes.add(n); lattice.removeNodeAndEdges(n); removeHangingNodes(); return; } } } }
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/8d147af0bf72c96a0a6e8a3bd99e0057deb9183d/LatticeOptimizer.java/buggy/sphinx4/edu/cmu/sphinx/result/LatticeOptimizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1206, 44, 18183, 3205, 1435, 288, 3639, 364, 261, 3198, 277, 273, 16690, 18, 588, 2951, 951, 3205, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 2029, 290, 273, 261, 907, 13, 277, 18, 4285, 5621, 5411, 309, 261, 82, 422, 16690, 18, 588, 4435, 907, 10756, 288, 5411, 289, 469, 309, 261, 82, 422, 16690, 18, 588, 11336, 907, 10756, 288, 5411, 289, 469, 288, 7734, 309, 261, 82, 18, 588, 774, 10697, 7675, 1467, 1435, 422, 374, 13491, 747, 290, 18, 588, 1265, 10697, 7675, 1467, 1435, 422, 374, 13, 288, 10792, 3723, 3205, 18, 1289, 12, 82, 1769, 10792, 16690, 18, 4479, 907, 1876, 10697, 12, 82, 1769, 10792, 1206, 44, 18183, 3205, 5621, 10792, 327, 31, 7734, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1206, 44, 18183, 3205, 1435, 288, 3639, 364, 261, 3198, 277, 273, 16690, 18, 588, 2951, 951, 3205, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 2029, 290, 273, 261, 907, 13, 277, 18, 4285, 5621, 5411, 309, 261, 82, 422, 16690, 18, 588, 4435, 907, 10756, 288, 5411, 289, 469, 309, 261, 82, 422, 16690, 18, 588, 11336, 907, 10756, 288, 5411, 289, 469, 288, 7734, 309, 261, 82, 18, 588, 774, 10697, 7675, 1467, 1435, 422, 374, 13491, 747, 290, 18, 588, 1265, 10697, 7675, 1467, 1435, 422, 374, 13, 288, 10792, 3723, 3205, 18, 1289, 12, 82, 1769, 10792, 16690, 18, 4479, 907, 1876, 10697, 12, 82, 1769, 10792, 1206, 2 ]
rejectedFiles = validateEdit(container, copyResources); if (canceled)
if (validateEdit(container, copyResources) == false)
public void execute(IProgressMonitor monitor) { IResource[] copyResources = resources; // Checks only required if this is an exisiting container path. monitor.beginTask( WorkbenchMessages.getString("CopyFilesAndFoldersOperation.operationTitle"), //$NON-NLS-1$ 100); monitor.worked(10); // show some initial progress boolean copyWithAutoRename = false; IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); ArrayList rejectedFiles = new ArrayList(); if (root.exists(destinationPath)) { IContainer container = (IContainer) root.findMember(destinationPath); // If we're copying to the source container then perform // auto-renames on all resources to avoid name collisions. if (isDestinationSameAsSource(copyResources, container) && canPerformAutoRename()) { copyWithAutoRename = true; } else { // If no auto-renaming will be happening, check for // potential name collisions at the target resource copyResources = validateNoNameCollisions(container, copyResources, monitor); if (copyResources == null) { if (canceled) return; displayError(WorkbenchMessages.getString("CopyFilesAndFoldersOperation.nameCollision")); //$NON-NLS-1$ return; } rejectedFiles = validateEdit(container, copyResources); if (canceled) return; } } errorStatus = null; if (copyResources.length > 0) { if (copyWithAutoRename) performCopyWithAutoRename(copyResources, destinationPath, monitor); else performCopy(copyResources, rejectedFiles, destinationPath, monitor); } copiedResources[0] = copyResources; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0edca7cf7f2306c4b4528b63b245d58d9a569f78/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 45, 1420, 8526, 1610, 3805, 273, 2703, 31, 9506, 202, 759, 13074, 1338, 1931, 309, 333, 353, 392, 431, 291, 305, 310, 1478, 589, 18, 9506, 202, 10259, 18, 10086, 2174, 12, 6862, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 7624, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 6625, 1769, 6862, 202, 10259, 18, 1252, 329, 12, 2163, 1769, 368, 2405, 2690, 2172, 4007, 9506, 202, 6494, 1610, 1190, 4965, 16019, 273, 629, 31, 9506, 202, 45, 8241, 2375, 1365, 273, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 9506, 202, 19558, 11876, 2697, 273, 394, 2407, 5621, 9506, 202, 430, 261, 3085, 18, 1808, 12, 10590, 743, 3719, 288, 6862, 202, 45, 2170, 1478, 273, 261, 45, 2170, 13, 1365, 18, 4720, 4419, 12, 10590, 743, 1769, 6862, 202, 759, 971, 732, 4565, 8933, 358, 326, 1084, 1478, 1508, 3073, 6862, 202, 759, 3656, 17, 1187, 753, 603, 777, 2703, 358, 4543, 508, 27953, 18, 6862, 202, 430, 261, 291, 5683, 8650, 1463, 1830, 12, 3530, 3805, 16, 1478, 13, 597, 848, 4990, 4965, 16019, 10756, 288, 25083, 202, 3530, 1190, 4965, 16019, 273, 638, 31, 6862, 202, 97, 469, 288, 25083, 202, 759, 971, 1158, 3656, 17, 1187, 7772, 903, 506, 5865, 310, 16, 866, 364, 25083, 202, 759, 8555, 508, 27953, 622, 326, 1018, 1058, 25083, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 45, 1420, 8526, 1610, 3805, 273, 2703, 31, 9506, 202, 759, 13074, 1338, 1931, 309, 333, 353, 392, 431, 291, 305, 310, 1478, 589, 18, 9506, 202, 10259, 18, 10086, 2174, 12, 6862, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 7624, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 6625, 1769, 6862, 202, 10259, 18, 1252, 329, 12, 2163, 1769, 368, 2405, 2690, 2172, 4007, 9506, 202, 6494, 1610, 1190, 4965, 16019, 273, 629, 31, 9506, 202, 45, 8241, 2375, 1365, 273, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 9506, 202, 19558, 2 ]
addCondition( Condition.createAttributeExistsCondition( name ) );
addCondition(Condition.createAttributeExistsCondition(name));
public void addAttributeExistsCondition( String name ) { _specificityC++; addCondition( Condition.createAttributeExistsCondition( name ) ); }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/c5e4137650b883bbb105b1671ee06fa69cd65ec3/Selector.java/clean/src/java/org/xhtmlrenderer/css/newmatch/Selector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10759, 4002, 3418, 12, 514, 508, 262, 288, 3639, 389, 12524, 560, 39, 9904, 31, 3639, 527, 3418, 12, 3418, 18, 2640, 1499, 4002, 3418, 12, 529, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10759, 4002, 3418, 12, 514, 508, 262, 288, 3639, 389, 12524, 560, 39, 9904, 31, 3639, 527, 3418, 12, 3418, 18, 2640, 1499, 4002, 3418, 12, 529, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"Unsupported output TDS type " + Integer.toHexString(pi.tdsType));
"Unsupported output TDS type " + Integer.toHexString(pi.tdsType));
static void writeTds5ParamFmt(RequestStream out, String charset, boolean isWideChar, ParamInfo pi, boolean useParamNames) throws IOException { if (pi.name != null && useParamNames) { // Output parameter name. if (isWideChar) { byte[] buf = Support.encodeString(charset, pi.name); out.write((byte) buf.length); out.write(buf); } else { out.write((byte) pi.name.length()); out.write(pi.name); } } else { out.write((byte)0); } out.write((byte) (pi.isOutput ? 1 : 0)); // Output param if (pi.sqlType.startsWith("univarchar")) { out.write((int) UDT_UNIVARCHAR); } else { out.write((int) 0); // user type } out.write((byte) pi.tdsType); // TDS data type token // Output length fields switch (pi.tdsType) { case SYBVARCHAR: case SYBVARBINARY: out.write((byte) VAR_MAX); break; case XSYBCHAR: out.write((int)0x7FFFFFFF); break; case SYBLONGDATA: // It appears that type 3 = send text data // and type 4 = send image data // No idea if there is a type 1/2 or what they are. out.write(pi.sqlType.equals("text") ? (byte) 3 : (byte) 4); out.write((byte)0); out.write((byte)0); break; case SYBLONGBINARY: out.write((int)0x7FFFFFFF); break; case SYBBIT: break; case SYBINTN: out.write((byte) 4); break; case SYBFLTN: if (pi.value instanceof Float) { out.write((byte) 4); } else { out.write((byte) 8); } break; case SYBDATETIMN: out.write((byte) 8); break; case SYBDATEN: case SYBTIMEN: out.write((byte)4); break; case SYBDECIMAL: out.write((byte) 17); out.write((byte) 38); if (pi.jdbcType == java.sql.Types.BIGINT) { out.write((byte) 0); } else { if (pi.value instanceof BigDecimal) { out.write((byte) ((BigDecimal) pi.value).scale()); } else { if (pi.scale >= 0 && pi.scale <= TdsData.DEFAULT_PRECISION_38) { out.write((byte) pi.scale); } else { out.write((byte) DEFAULT_SCALE); } } } break; default: throw new IllegalStateException( "Unsupported output TDS type " + Integer.toHexString(pi.tdsType)); } out.write((byte) 0); // Locale information }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/4f442f649ebfa87f828d70e8d57e11e5a6ac5daf/TdsData.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1045, 56, 2377, 25, 786, 16090, 12, 691, 1228, 596, 16, 21394, 514, 4856, 16, 21394, 1250, 353, 11075, 2156, 16, 21394, 3014, 966, 4790, 16, 21394, 1250, 999, 786, 1557, 13, 565, 1216, 1860, 288, 3639, 309, 261, 7259, 18, 529, 480, 446, 597, 999, 786, 1557, 13, 288, 5411, 368, 3633, 1569, 508, 18, 5411, 309, 261, 291, 11075, 2156, 13, 288, 7734, 1160, 8526, 1681, 273, 13619, 18, 3015, 780, 12, 9999, 16, 4790, 18, 529, 1769, 7734, 596, 18, 2626, 12443, 7229, 13, 1681, 18, 2469, 1769, 7734, 596, 18, 2626, 12, 4385, 1769, 5411, 289, 469, 288, 7734, 596, 18, 2626, 12443, 7229, 13, 4790, 18, 529, 18, 2469, 10663, 7734, 596, 18, 2626, 12, 7259, 18, 529, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 596, 18, 2626, 12443, 7229, 13, 20, 1769, 3639, 289, 3639, 596, 18, 2626, 12443, 7229, 13, 261, 7259, 18, 291, 1447, 692, 404, 294, 374, 10019, 368, 3633, 579, 3639, 309, 261, 7259, 18, 4669, 559, 18, 17514, 1190, 2932, 318, 427, 22483, 6, 3719, 288, 5411, 596, 18, 2626, 12443, 474, 13, 587, 9081, 67, 10377, 7716, 7305, 1769, 3639, 289, 469, 288, 5411, 596, 18, 2626, 12443, 474, 13, 374, 1769, 368, 729, 618, 3639, 289, 3639, 596, 18, 2626, 12443, 7229, 13, 4790, 18, 88, 2377, 559, 1769, 368, 399, 3948, 501, 618, 1147, 3639, 368, 3633, 769, 1466, 3639, 1620, 261, 7259, 18, 88, 2377, 559, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1045, 56, 2377, 25, 786, 16090, 12, 691, 1228, 596, 16, 21394, 514, 4856, 16, 21394, 1250, 353, 11075, 2156, 16, 21394, 3014, 966, 4790, 16, 21394, 1250, 999, 786, 1557, 13, 565, 1216, 1860, 288, 3639, 309, 261, 7259, 18, 529, 480, 446, 597, 999, 786, 1557, 13, 288, 5411, 368, 3633, 1569, 508, 18, 5411, 309, 261, 291, 11075, 2156, 13, 288, 7734, 1160, 8526, 1681, 273, 13619, 18, 3015, 780, 12, 9999, 16, 4790, 18, 529, 1769, 7734, 596, 18, 2626, 12443, 7229, 13, 1681, 18, 2469, 1769, 7734, 596, 18, 2626, 12, 4385, 1769, 5411, 289, 469, 288, 7734, 596, 18, 2626, 12443, 7229, 13, 4790, 18, 529, 18, 2469, 10663, 7734, 2 ]
assertNull(registry.find(VIEW_ID));
assertNull(registry.find(VIEW_ID1));
public void testCategoryViewContainmentProperties() { ViewRegistry registry = (ViewRegistry)WorkbenchPlugin.getDefault().getViewRegistry(); assertNull(registry.find(VIEW_ID)); assertNull(registry.findCategory(CATEGORY_ID)); getBundle(); IViewDescriptor desc = registry.find(VIEW_ID); assertNotNull(desc); IViewCategory category = registry.findCategory(CATEGORY_ID); assertNotNull(category); testCategoryProperties(category); assertTrue(category.getViews()[0] == desc); removeBundle(); assertNull(registry.find(VIEW_ID)); assertNull(registry.findCategory(CATEGORY_ID)); try { testCategoryProperties(category); fail(); } catch (RuntimeException e) { // no-op } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/95343251e691c1d3de76239eb277278663e54963/ViewTests.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/ViewTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4457, 1767, 22928, 475, 2297, 1435, 288, 202, 202, 1767, 4243, 4023, 273, 261, 1767, 4243, 13, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 1767, 4243, 5621, 9506, 202, 11231, 2041, 12, 9893, 18, 4720, 12, 12145, 67, 734, 10019, 202, 202, 11231, 2041, 12, 9893, 18, 4720, 4457, 12, 24847, 67, 734, 10019, 202, 202, 588, 3405, 5621, 9506, 202, 45, 1767, 3187, 3044, 273, 4023, 18, 4720, 12, 12145, 67, 734, 1769, 202, 202, 11231, 5962, 12, 5569, 1769, 202, 377, 202, 202, 45, 1767, 4457, 3150, 273, 4023, 18, 4720, 4457, 12, 24847, 67, 734, 1769, 202, 202, 11231, 5962, 12, 4743, 1769, 9506, 202, 3813, 4457, 2297, 12, 4743, 1769, 202, 202, 11231, 5510, 12, 4743, 18, 588, 9959, 1435, 63, 20, 65, 422, 3044, 1769, 202, 202, 4479, 3405, 5621, 1082, 202, 11231, 2041, 12, 9893, 18, 4720, 12, 12145, 67, 734, 10019, 202, 202, 11231, 2041, 12, 9893, 18, 4720, 4457, 12, 24847, 67, 734, 10019, 202, 202, 698, 288, 1082, 202, 3813, 4457, 2297, 12, 4743, 1769, 1082, 202, 6870, 5621, 202, 202, 97, 202, 202, 14683, 261, 11949, 425, 13, 288, 9506, 202, 759, 1158, 17, 556, 202, 202, 97, 202, 202, 97, 202, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4457, 1767, 22928, 475, 2297, 1435, 288, 202, 202, 1767, 4243, 4023, 273, 261, 1767, 4243, 13, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 1767, 4243, 5621, 9506, 202, 11231, 2041, 12, 9893, 18, 4720, 12, 12145, 67, 734, 10019, 202, 202, 11231, 2041, 12, 9893, 18, 4720, 4457, 12, 24847, 67, 734, 10019, 202, 202, 588, 3405, 5621, 9506, 202, 45, 1767, 3187, 3044, 273, 4023, 18, 4720, 12, 12145, 67, 734, 1769, 202, 202, 11231, 5962, 12, 5569, 1769, 202, 377, 202, 202, 45, 1767, 4457, 3150, 273, 4023, 18, 4720, 4457, 12, 24847, 67, 734, 1769, 202, 202, 11231, 5962, 12, 4743, 1769, 9506, 202, 3813, 4457, 2297, 12, 4743, 2 ]
new Timer().schedule( new MyTimerTask(this), 100 );
new Timer().schedule(new MyTimerTask(this), 300);
public void processInvite( RequestEvent requestEvent, ServerTransaction serverTransaction) { SipProvider sipProvider = (SipProvider) requestEvent.getSource(); Request request = requestEvent.getRequest(); try { System.out.println("shootme: got an Invite sending RINGING"); //System.out.println("shootme: " + request); Response response = messageFactory.createResponse(180, request); ToHeader toHeader = (ToHeader) response.getHeader(ToHeader.NAME); toHeader.setTag("4321"); // Application is supposed to set. Address address = addressFactory.createAddress("Shootme <sip:" + myAddress+ ":" + myPort + ">"); ContactHeader contactHeader = headerFactory.createContactHeader(address); response.addHeader(contactHeader); ServerTransaction st = requestEvent.getServerTransaction(); if (st == null) { st = sipProvider.getNewServerTransaction(request); } dialog = st.getDialog(); st.sendResponse(response); this.okResponse = messageFactory.createResponse(200, request); toHeader = (ToHeader) okResponse.getHeader(ToHeader.NAME); toHeader.setTag("4321"); // Application is supposed to set. okResponse.addHeader(contactHeader); this.inviteTid = st; // Defer sending the OK to simulate the phone ringing. this.inviteRequest = request; new Timer().schedule( new MyTimerTask(this), 100 ); } catch (Exception ex) { ex.printStackTrace(); System.exit(0); } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/Shootme.java/buggy/src/examples/cancel/Shootme.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1207, 22730, 12, 202, 202, 691, 1133, 590, 1133, 16, 202, 202, 2081, 3342, 1438, 3342, 13, 288, 202, 202, 17550, 2249, 10341, 2249, 273, 261, 17550, 2249, 13, 590, 1133, 18, 588, 1830, 5621, 202, 202, 691, 590, 273, 590, 1133, 18, 588, 691, 5621, 202, 202, 698, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 674, 1632, 3501, 30, 2363, 392, 30981, 5431, 534, 1360, 1360, 8863, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 674, 1632, 3501, 30, 225, 315, 397, 590, 1769, 1082, 202, 1064, 766, 273, 883, 1733, 18, 2640, 1064, 12, 18278, 16, 590, 1769, 1082, 202, 774, 1864, 358, 1864, 273, 261, 774, 1864, 13, 766, 18, 588, 1864, 12, 774, 1864, 18, 1985, 1769, 1082, 202, 869, 1864, 18, 542, 1805, 2932, 24, 1578, 21, 8863, 368, 4257, 353, 18405, 358, 444, 18, 1082, 202, 1887, 1758, 273, 9506, 202, 2867, 1733, 18, 2640, 1887, 2932, 1555, 1632, 3501, 411, 28477, 2773, 397, 3399, 1887, 15, 6153, 397, 3399, 2617, 397, 14675, 1769, 1082, 202, 6567, 1864, 5388, 1864, 273, 9506, 202, 3374, 1733, 18, 2640, 6567, 1864, 12, 2867, 1769, 1082, 202, 2740, 18, 1289, 1864, 12, 8994, 1864, 1769, 1082, 202, 2081, 3342, 384, 273, 590, 1133, 18, 588, 2081, 3342, 5621, 1082, 202, 430, 261, 334, 422, 446, 13, 288, 9506, 202, 334, 273, 10341, 2249, 18, 588, 1908, 2081, 3342, 12, 2293, 1769, 1082, 202, 97, 1875, 202, 12730, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1207, 22730, 12, 202, 202, 691, 1133, 590, 1133, 16, 202, 202, 2081, 3342, 1438, 3342, 13, 288, 202, 202, 17550, 2249, 10341, 2249, 273, 261, 17550, 2249, 13, 590, 1133, 18, 588, 1830, 5621, 202, 202, 691, 590, 273, 590, 1133, 18, 588, 691, 5621, 202, 202, 698, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 674, 1632, 3501, 30, 2363, 392, 30981, 5431, 534, 1360, 1360, 8863, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 674, 1632, 3501, 30, 225, 315, 397, 590, 1769, 1082, 202, 1064, 766, 273, 883, 1733, 18, 2640, 1064, 12, 18278, 16, 590, 1769, 1082, 202, 774, 1864, 358, 1864, 273, 261, 774, 1864, 13, 766, 2 ]
char c = tmpBuf[i];
int c = tmpBuf[i];
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; //System.out.println("readCharData input="+input.name+" line="+input.line+" col="+input.column); while (!done) { // Block read mark(tmpBuf.length); int len = read(tmpBuf, 0, tmpBuf.length); if (len == -1) { if (inputStack.size() > 1) { popInput(); // report end-entity done = true; } else throw new EOFException(); } for (int i = 0; i < len && !done; i++) { char c = tmpBuf[i]; switch (c) { case ' ': case '\t': case '\n': case '\r': buf.append(c); break; // whitespace case '&': reset(); read(tmpBuf, 0, i); // character reference? mark(3); c = readCh(); // & c = readCh(); if (c == '#') { mark(1); c = readCh(); boolean hex = (c == 'x'); if (!hex) reset(); char[] ch = readCharacterRef(hex ? 16 : 10); buf.append(ch, 0, ch.length); for (int j = 0; j < ch.length; j++) { switch (ch[j]) { case ' ': case '\t': case '\n': case '\r': break; // whitespace default: white = false; } } } else { // entity reference reset(); c = readCh(); // & String entityName = readNmtoken(true); require(';'); String text = (String) PREDEFINED_ENTITIES.get(entityName); if (text != null) buf.append(text); else { //if (replaceERefs) // expandEntity(entityName, false); //report start-entity //else // reset(); // report reference pushInput("", "&" + entityName + ";"); done = true; break; } } // continue processing i = -1; mark(tmpBuf.length); len = read(tmpBuf, 0, tmpBuf.length); if (len == -1) { if (inputStack.size() > 1) { popInput(); done = true; } else throw new EOFException(); } entities = true; break; // end of text sequence case '>': int l = buf.length(); if (l > 1 && buf.charAt(l - 1) == ']' && buf.charAt(l - 2) == ']') error("Character data may not contain unescaped ']]>'"); buf.append(c); break; case '<': reset(); read(tmpBuf, 0, i); done = true; break; // end of text sequence default: if ((c < 0x0020 || c > 0xfffd) || (input.xml11 && (c >= 0x007f) && (c <= 0x009f) && (c != 0x0085))) { error("illegal XML character", "U+" + Integer.toHexString(c)); } white = false; buf.append(c); } } // if text buffer >= 2MB, return it as a chunk // to avoid excessive memory use if (!coalescing && buf.length() >= 2097152) done = true; } if (entities) normalizeCRLF(buf); return white ? XMLStreamConstants.SPACE : XMLStreamConstants.CHARACTERS; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/XMLParser.java/buggy/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 855, 2156, 751, 12, 780, 1633, 13, 565, 1216, 1860, 16, 21526, 225, 288, 565, 1250, 9578, 273, 638, 31, 565, 1681, 18, 542, 1782, 12, 20, 1769, 565, 309, 261, 3239, 480, 446, 13, 1377, 1681, 18, 6923, 12, 3239, 1769, 565, 1250, 2731, 273, 629, 31, 565, 1250, 5140, 273, 629, 31, 565, 368, 3163, 18, 659, 18, 8222, 2932, 896, 2156, 751, 810, 1546, 15, 2630, 18, 529, 9078, 980, 1546, 15, 2630, 18, 1369, 9078, 645, 1546, 15, 2630, 18, 2827, 1769, 565, 1323, 16051, 8734, 13, 1377, 288, 3639, 368, 3914, 855, 3639, 2267, 12, 5645, 5503, 18, 2469, 1769, 3639, 509, 562, 273, 855, 12, 5645, 5503, 16, 374, 16, 1853, 5503, 18, 2469, 1769, 3639, 309, 261, 1897, 422, 300, 21, 13, 1850, 288, 5411, 309, 261, 2630, 2624, 18, 1467, 1435, 405, 404, 13, 2868, 288, 7734, 1843, 1210, 5621, 7734, 368, 2605, 679, 17, 1096, 7734, 2731, 273, 638, 31, 2868, 289, 5411, 469, 2868, 604, 394, 30051, 5621, 1850, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 597, 401, 8734, 31, 277, 27245, 1850, 288, 5411, 509, 276, 273, 1853, 5503, 63, 77, 15533, 5411, 1620, 261, 71, 13, 2868, 288, 2868, 648, 296, 4290, 2868, 648, 2337, 88, 4278, 2868, 648, 2337, 82, 4278, 2868, 648, 2337, 86, 4278, 7734, 1681, 18, 6923, 12, 71, 1769, 7734, 898, 31, 368, 7983, 2868, 648, 5183, 4278, 7734, 2715, 5621, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 855, 2156, 751, 12, 780, 1633, 13, 565, 1216, 1860, 16, 21526, 225, 288, 565, 1250, 9578, 273, 638, 31, 565, 1681, 18, 542, 1782, 12, 20, 1769, 565, 309, 261, 3239, 480, 446, 13, 1377, 1681, 18, 6923, 12, 3239, 1769, 565, 1250, 2731, 273, 629, 31, 565, 1250, 5140, 273, 629, 31, 565, 368, 3163, 18, 659, 18, 8222, 2932, 896, 2156, 751, 810, 1546, 15, 2630, 18, 529, 9078, 980, 1546, 15, 2630, 18, 1369, 9078, 645, 1546, 15, 2630, 18, 2827, 1769, 565, 1323, 16051, 8734, 13, 1377, 288, 3639, 368, 3914, 855, 3639, 2267, 12, 5645, 5503, 18, 2469, 1769, 3639, 509, 562, 273, 855, 12, 5645, 5503, 16, 374, 16, 2 ]
super( name );
super( null );
public EngineCase( String name ) { super( name ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/cfb1d1a07a0bff5b7245411b7943af53f15ead03/EngineCase.java/buggy/testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/EngineCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10507, 2449, 12, 514, 508, 262, 202, 95, 202, 202, 9565, 12, 508, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10507, 2449, 12, 514, 508, 262, 202, 95, 202, 202, 9565, 12, 508, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new RubyArray(ruby) {
return new RubyArray(ruby, null) {
public static RubyArray nilArray(Ruby ruby) { return new RubyArray(ruby) { public boolean isNil() { return true; } }; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/a42a5780d9d19f5b3f27bdc079684319c5596e54/RubyArray.java/clean/org/jruby/RubyArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19817, 1076, 515, 1076, 12, 54, 10340, 22155, 13, 288, 202, 202, 2463, 394, 19817, 1076, 12, 27768, 13, 288, 1082, 202, 482, 1250, 8197, 330, 1435, 288, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 20451, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19817, 1076, 515, 1076, 12, 54, 10340, 22155, 13, 288, 202, 202, 2463, 394, 19817, 1076, 12, 27768, 13, 288, 1082, 202, 482, 1250, 8197, 330, 1435, 288, 9506, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 20451, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new ArgumentError(getRuntime(), "step cannot be 0");
throw getRuntime().newArgumentError("step cannot be 0");
public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw new ArgumentError(getRuntime(), "step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", RubyFixnum.newFixnum(getRuntime(), 0))).isFalse()) { cmp = ">"; } while (true) { if (i.callMethod(cmp, to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("+", step); } return this; }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyInteger.java/buggy/src/org/jruby/RubyInteger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2235, 12, 54, 10340, 9902, 358, 16, 19817, 9902, 2235, 13, 288, 3639, 19817, 9902, 277, 273, 333, 31, 3639, 309, 261, 4119, 18, 588, 3708, 620, 1435, 422, 374, 13, 288, 5411, 604, 18814, 7675, 2704, 1379, 668, 2932, 4119, 2780, 506, 374, 8863, 3639, 289, 3639, 514, 9411, 273, 3532, 14432, 3639, 309, 261, 12443, 54, 10340, 5507, 13, 2235, 18, 1991, 1305, 2932, 32, 3113, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 588, 5576, 9334, 374, 3719, 2934, 291, 8381, 10756, 288, 5411, 9411, 273, 14675, 31, 3639, 289, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 261, 77, 18, 1991, 1305, 12, 9625, 16, 358, 2934, 291, 5510, 10756, 288, 7734, 898, 31, 5411, 289, 5411, 18814, 7675, 23604, 12, 77, 1769, 5411, 277, 273, 261, 54, 10340, 9902, 13, 277, 18, 1991, 1305, 2932, 15, 3113, 2235, 1769, 3639, 289, 3639, 327, 333, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2235, 12, 54, 10340, 9902, 358, 16, 19817, 9902, 2235, 13, 288, 3639, 19817, 9902, 277, 273, 333, 31, 3639, 309, 261, 4119, 18, 588, 3708, 620, 1435, 422, 374, 13, 288, 5411, 604, 18814, 7675, 2704, 1379, 668, 2932, 4119, 2780, 506, 374, 8863, 3639, 289, 3639, 514, 9411, 273, 3532, 14432, 3639, 309, 261, 12443, 54, 10340, 5507, 13, 2235, 18, 1991, 1305, 2932, 32, 3113, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 588, 5576, 9334, 374, 3719, 2934, 291, 8381, 10756, 288, 5411, 9411, 273, 14675, 31, 3639, 289, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 261, 77, 18, 1991, 1305, 12, 9625, 16, 358, 2934, 291, 5510, 10756, 2 ]
tracker.removeLevel(level);
removeLevel(level);
SplitfileBlock getBlock() { int len = blocks.size(); int x = tracker.random.nextInt(len); SplitfileBlock block = (SplitfileBlock) blocks.remove(x); if(blocks.isEmpty()) tracker.removeLevel(level); return block; }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/b7133fb27d8a7d18085bd1d9ba428adcdbe21b69/RetryTracker.java/buggy/src/freenet/client/RetryTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 5521, 768, 1768, 11902, 1435, 288, 1082, 202, 474, 562, 273, 4398, 18, 1467, 5621, 1082, 202, 474, 619, 273, 9745, 18, 9188, 18, 4285, 1702, 12, 1897, 1769, 1082, 202, 5521, 768, 1768, 1203, 273, 261, 5521, 768, 1768, 13, 4398, 18, 4479, 12, 92, 1769, 1082, 202, 430, 12, 7996, 18, 291, 1921, 10756, 9506, 202, 16543, 18, 4479, 2355, 12, 2815, 1769, 1082, 202, 2463, 1203, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 5521, 768, 1768, 11902, 1435, 288, 1082, 202, 474, 562, 273, 4398, 18, 1467, 5621, 1082, 202, 474, 619, 273, 9745, 18, 9188, 18, 4285, 1702, 12, 1897, 1769, 1082, 202, 5521, 768, 1768, 1203, 273, 261, 5521, 768, 1768, 13, 4398, 18, 4479, 12, 92, 1769, 1082, 202, 430, 12, 7996, 18, 291, 1921, 10756, 9506, 202, 16543, 18, 4479, 2355, 12, 2815, 1769, 1082, 202, 2463, 1203, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_CUT_EDIT_HOVER));
sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_CUT_HOVER));
private void makeActions() { // The actions in jface do not have menu vs. enable, vs. disable vs. color // There are actions in here being passed the workbench - problem // Get services for notification. IPartService partService = getWindow().getPartService(); WWinKeyBindingService keyBindingService = getWindow().getKeyBindingService(); // Many actions need the workbench. IWorkbench workbench = getWindow().getWorkbench(); newWizardAction = new NewWizardAction(); // images for this action are set in its constructor keyBindingService.registerGlobalAction(newWizardAction); newWizardDropDownAction = new NewWizardDropDownAction(workbench, newWizardAction); newWizardDropDownAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_NEW_WIZ)); newWizardDropDownAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_NEW_WIZ_HOVER)); newWizardDropDownAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_NEW_WIZ_DISABLED)); importResourcesAction = new ImportResourcesAction(workbench); importResourcesAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_IMPORT_WIZ)); importResourcesAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_IMPORT_WIZ_HOVER)); importResourcesAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_IMPORT_WIZ_DISABLED)); exportResourcesAction = new ExportResourcesAction(workbench, WorkbenchMessages.getString("ExportResourcesAction.fileMenuText")); //$NON-NLS-1$ exportResourcesAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_EXPORT_WIZ)); exportResourcesAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_EXPORT_WIZ_HOVER)); exportResourcesAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_EXPORT_WIZ_DISABLED)); rebuildAllAction = new GlobalBuildAction(window, IncrementalProjectBuilder.FULL_BUILD); rebuildAllAction.setActionDefinitionId(rebuildAllActionDefId); keyBindingService.registerGlobalAction(rebuildAllAction); buildAllAction = new GlobalBuildAction( window, IncrementalProjectBuilder.INCREMENTAL_BUILD); buildAllAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_BUILD_EXEC)); buildAllAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_BUILD_EXEC_HOVER)); buildAllAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_BUILD_EXEC_DISABLED)); buildAllAction.setActionDefinitionId(buildAllActionDefId); keyBindingService.registerGlobalAction(buildAllAction); saveAction = new SaveAction(window); saveAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVE_EDIT)); saveAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVE_EDIT_HOVER)); saveAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVE_EDIT_DISABLED)); partService.addPartListener(saveAction); saveAction.setActionDefinitionId(saveActionDefId); keyBindingService.registerGlobalAction(saveAction); saveAsAction = new SaveAsAction(window); saveAsAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVEAS_EDIT)); saveAsAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVEAS_EDIT_HOVER)); saveAsAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVEAS_EDIT_DISABLED)); partService.addPartListener(saveAsAction); saveAllAction = new SaveAllAction(window); saveAllAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVEALL_EDIT)); saveAllAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVEALL_EDIT_HOVER)); saveAllAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_SAVEALL_EDIT_DISABLED)); partService.addPartListener(saveAllAction); saveAllAction.setActionDefinitionId(saveAllActionDefId); keyBindingService.registerGlobalAction(saveAllAction); undoAction = createGlobalAction(IWorkbenchActionConstants.UNDO, "edit", true); //$NON-NLS-1$ undoAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_UNDO_EDIT)); undoAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_UNDO_EDIT_HOVER)); undoAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_UNDO_EDIT_DISABLED)); redoAction = createGlobalAction(IWorkbenchActionConstants.REDO, "edit", true); //$NON-NLS-1$ redoAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_REDO_EDIT)); redoAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_REDO_EDIT_HOVER)); redoAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_REDO_EDIT_DISABLED)); cutAction = createGlobalAction(IWorkbenchActionConstants.CUT, "edit", false); //$NON-NLS-1$ cutAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_CUT_EDIT)); cutAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_CUT_EDIT_HOVER)); cutAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_CUT_EDIT_DISABLED)); copyAction = createGlobalAction(IWorkbenchActionConstants.COPY, "edit", false); //$NON-NLS-1$ copyAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_COPY_EDIT)); copyAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_COPY_EDIT_HOVER)); copyAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_COPY_EDIT_DISABLED)); pasteAction = createGlobalAction(IWorkbenchActionConstants.PASTE, "edit", false); //$NON-NLS-1$ pasteAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PASTE_EDIT)); pasteAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PASTE_EDIT_HOVER)); pasteAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PASTE_EDIT_DISABLED)); printAction = createGlobalAction(IWorkbenchActionConstants.PRINT, "file", false); //$NON-NLS-1$ printAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PRINT_EDIT)); printAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PRINT_EDIT_HOVER)); printAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PRINT_EDIT_DISABLED)); selectAllAction = createGlobalAction(IWorkbenchActionConstants.SELECT_ALL, "edit", false); //$NON-NLS-1$ findAction = createGlobalAction(IWorkbenchActionConstants.FIND, "findReplace", "edit", "findReplace", false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ // Find's images are commented out due to a conflict with Search. // See bug 16412. // findAction.setImageDescriptor(WorkbenchImages.getImageDescriptor(IWorkbenchGraphicConstants.IMG_CTOOL_SEARCH_SRC)); // findAction.setHoverImageDescriptor(WorkbenchImages.getImageDescriptor(IWorkbenchGraphicConstants.IMG_CTOOL_SEARCH_SRC_HOVER)); // findAction.setDisabledImageDescriptor(WorkbenchImages.getImageDescriptor(IWorkbenchGraphicConstants.IMG_CTOOL_SEARCH_SRC_DISABLED)); closeAction = new CloseEditorAction(window); partService.addPartListener(closeAction); closeAction.setActionDefinitionId(closeActionDefId); keyBindingService.registerGlobalAction(closeAction); closeAllAction = new CloseAllAction(window); partService.addPartListener(closeAllAction); closeAllAction.setActionDefinitionId(closeAllActionDefId); keyBindingService.registerGlobalAction(closeAllAction); closeAllSavedAction = new CloseAllSavedAction(window); partService.addPartListener(closeAllSavedAction); closeAllSavedAction.setActionDefinitionId(closeAllSavedActionDefId); keyBindingService.registerGlobalAction(closeAllSavedAction); pinEditorAction = new PinEditorAction(window); partService.addPartListener(pinEditorAction); pinEditorAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PIN_EDITOR)); pinEditorAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PIN_EDITOR_HOVER)); pinEditorAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PIN_EDITOR_DISABLED)); aboutAction = new AboutAction(window); aboutAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_OBJS_DEFAULT_PROD)); openPreferencesAction = new OpenPreferencesAction(window); addBookmarkAction = createGlobalAction(IWorkbenchActionConstants.BOOKMARK, "addBookMark", "edit", "addBookmark", false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ addTaskAction = createGlobalAction(IWorkbenchActionConstants.ADD_TASK, "edit", false); //$NON-NLS-1$ showInAction = new WorkbenchShowInAction(window); partService.addPartListener(showInAction); showInAction.setActionDefinitionId(showInActionDefId); keyBindingService.registerGlobalAction(showInAction); // can't use createGlobalAction convenience since deleteAction is not registered with the key binding service deleteAction = new RetargetAction(IWorkbenchActionConstants.DELETE, WorkbenchMessages.getString("Workbench.delete")); //$NON-NLS-1$ deleteAction.setToolTipText(WorkbenchMessages.getString("Workbench.deleteToolTip")); //$NON-NLS-1$ deleteAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_DELETE_EDIT)); deleteAction.setHoverImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_DELETE_EDIT_HOVER)); deleteAction.setDisabledImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_DELETE_EDIT_DISABLED)); deleteAction.enableAccelerator(false); WorkbenchHelp.setHelp( deleteAction, IHelpContextIds.DELETE_RETARGET_ACTION); partService.addPartListener(deleteAction); deleteAction.setActionDefinitionId(deleteActionDefId); // don't register the delete action with the key binding service. // doing so would break cell editors that listen for keyPressed SWT // events. //keyBindingService.registerGlobalAction(deleteAction); AboutInfo[] infos = ((Workbench) workbench).getConfigurationInfo().getFeaturesInfo(); // See if a welcome page is specified for (int i = 0; i < infos.length; i++) { if (infos[i].getWelcomePageURL() != null) { quickStartAction = new QuickStartAction(workbench); break; } } // See if a tips and tricks page is specified for (int i = 0; i < infos.length; i++) { if (infos[i].getTipsAndTricksHref() != null) { tipsAndTricksAction = new TipsAndTricksAction(workbench); break; } } // Actions for invisible accelerators showViewMenuAction = new ShowViewMenuAction(window); showViewMenuAction.setActionDefinitionId(showViewMenuActionDefId); keyBindingService.registerGlobalAction(showViewMenuAction); showPartPaneMenuAction = new ShowPartPaneMenuAction(window); showPartPaneMenuAction.setActionDefinitionId( showPartPaneMenuActionDefId); keyBindingService.registerGlobalAction(showPartPaneMenuAction); nextEditorAction = new CycleEditorAction(window, true); nextEditorAction.setActionDefinitionId(nextEditorActionDefId); keyBindingService.registerGlobalAction(nextEditorAction); prevEditorAction = new CycleEditorAction(window, false); prevEditorAction.setActionDefinitionId(prevEditorActionDefId); keyBindingService.registerGlobalAction(prevEditorAction); nextPartAction = new CyclePartAction(window, true); nextPartAction.setActionDefinitionId(nextPartActionDefId); keyBindingService.registerGlobalAction(nextPartAction); prevPartAction = new CyclePartAction(window, false); prevPartAction.setActionDefinitionId(prevPartActionDefId); keyBindingService.registerGlobalAction(prevPartAction); nextPerspectiveAction = new CyclePerspectiveAction(window, true); nextPerspectiveAction.setActionDefinitionId(nextPerspectiveActionDefId); keyBindingService.registerGlobalAction(nextPerspectiveAction); prevPerspectiveAction = new CyclePerspectiveAction(window, false); prevPerspectiveAction.setActionDefinitionId(prevPerspectiveActionDefId); keyBindingService.registerGlobalAction(prevPerspectiveAction); activateEditorAction = new ActivateEditorAction(window); activateEditorAction.setActionDefinitionId(activateEditorActionDefId); keyBindingService.registerGlobalAction(activateEditorAction); workbenchEditorsAction = new WorkbenchEditorsAction(window); workbenchEditorsAction.setActionDefinitionId( workbenchEditorsActionDefId); keyBindingService.registerGlobalAction(workbenchEditorsAction); hideShowEditorAction = new ToggleEditorsVisibilityAction(window); savePerspectiveAction = new SavePerspectiveAction(window); editActionSetAction = new EditActionSetsAction(window); lockToolBarAction = new LockToolBarAction(window); resetPerspectiveAction = new ResetPerspectiveAction(window); closePerspAction = new ClosePerspectiveAction(window); closeAllPerspsAction = new CloseAllPerspectivesAction(window); //Must change/copy the image. It is using a local toolbar image and colored. backwardHistoryAction = new NavigationHistoryAction(window, false); backwardHistoryAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_BACKWARD_NAV)); backwardHistoryAction.setActionDefinitionId(backwardHistoryActionDefId); keyBindingService.registerGlobalAction(backwardHistoryAction); forwardHistoryAction = new NavigationHistoryAction(window, true); forwardHistoryAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_FORWARD_NAV)); forwardHistoryAction.setActionDefinitionId(forwardHistoryActionDefId); keyBindingService.registerGlobalAction(forwardHistoryAction); revertAction = createGlobalAction(IWorkbenchActionConstants.REVERT, "file", false); //$NON-NLS-1$ refreshAction = createGlobalAction(IWorkbenchActionConstants.REFRESH, "file", false); //$NON-NLS-1$ propertiesAction = createGlobalAction(IWorkbenchActionConstants.PROPERTIES, "file", false); //$NON-NLS-1$ moveAction = createGlobalAction(IWorkbenchActionConstants.MOVE, "edit", false); //$NON-NLS-1$ renameAction = createGlobalAction(IWorkbenchActionConstants.RENAME, "edit", false); //$NON-NLS-1$ goIntoAction = createGlobalAction(IWorkbenchActionConstants.GO_INTO, "navigate", false); //$NON-NLS-1$ backAction = createGlobalAction(IWorkbenchActionConstants.BACK, "navigate", true); //$NON-NLS-1$ forwardAction = createGlobalAction(IWorkbenchActionConstants.FORWARD, "navigate", true); //$NON-NLS-1$ upAction = createGlobalAction(IWorkbenchActionConstants.UP, "navigate", true); //$NON-NLS-1$ nextAction = createGlobalAction(IWorkbenchActionConstants.NEXT, "navigate", true); //$NON-NLS-1$ nextAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_NEXT_NAV)); previousAction = createGlobalAction(IWorkbenchActionConstants.PREVIOUS, "navigate", true); //$NON-NLS-1$ previousAction.setImageDescriptor( WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_CTOOL_PREVIOUS_NAV)); buildProjectAction = createGlobalAction(IWorkbenchActionConstants.BUILD_PROJECT, "project", false); //$NON-NLS-1$ rebuildProjectAction = createGlobalAction(IWorkbenchActionConstants.REBUILD_PROJECT, "project", false); //$NON-NLS-1$ openProjectAction = createGlobalAction(IWorkbenchActionConstants.OPEN_PROJECT, "project", false); //$NON-NLS-1$ closeProjectAction = createGlobalAction(IWorkbenchActionConstants.CLOSE_PROJECT, "project", false); //$NON-NLS-1$ }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5468a1edd56cfcaa9d93679f82ede8fa030e37c7/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 6100, 1435, 288, 202, 202, 759, 1021, 4209, 316, 525, 865, 741, 486, 1240, 3824, 6195, 18, 4237, 16, 6195, 18, 4056, 6195, 18, 2036, 202, 202, 759, 6149, 854, 4209, 316, 2674, 3832, 2275, 326, 1440, 22144, 300, 6199, 3196, 202, 759, 968, 4028, 364, 3851, 18, 202, 202, 45, 1988, 1179, 1087, 1179, 273, 26156, 7675, 588, 1988, 1179, 5621, 202, 202, 59, 18049, 653, 5250, 1179, 498, 5250, 1179, 273, 1082, 202, 588, 3829, 7675, 588, 653, 5250, 1179, 5621, 202, 202, 759, 19903, 4209, 1608, 326, 1440, 22144, 18, 202, 202, 45, 2421, 22144, 1440, 22144, 273, 26156, 7675, 588, 2421, 22144, 5621, 202, 202, 2704, 27130, 1803, 273, 394, 1166, 27130, 1803, 5621, 202, 202, 759, 4602, 364, 333, 1301, 854, 444, 316, 2097, 3885, 202, 202, 856, 5250, 1179, 18, 4861, 5160, 1803, 12, 2704, 27130, 1803, 1769, 202, 202, 2704, 27130, 7544, 4164, 1803, 273, 1082, 202, 2704, 1166, 27130, 7544, 4164, 1803, 12, 1252, 22144, 16, 394, 27130, 1803, 1769, 202, 202, 2704, 27130, 7544, 4164, 1803, 18, 542, 2040, 3187, 12, 1082, 202, 2421, 22144, 8946, 18, 588, 2040, 3187, 12, 9506, 202, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1268, 51, 1741, 67, 12917, 67, 59, 6867, 10019, 202, 202, 2704, 27130, 7544, 4164, 1803, 18, 542, 21184, 2040, 3187, 12, 1082, 202, 2421, 22144, 8946, 18, 588, 2040, 3187, 12, 9506, 202, 45, 2421, 22144, 29459, 2918, 18, 3445, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 6100, 1435, 288, 202, 202, 759, 1021, 4209, 316, 525, 865, 741, 486, 1240, 3824, 6195, 18, 4237, 16, 6195, 18, 4056, 6195, 18, 2036, 202, 202, 759, 6149, 854, 4209, 316, 2674, 3832, 2275, 326, 1440, 22144, 300, 6199, 3196, 202, 759, 968, 4028, 364, 3851, 18, 202, 202, 45, 1988, 1179, 1087, 1179, 273, 26156, 7675, 588, 1988, 1179, 5621, 202, 202, 59, 18049, 653, 5250, 1179, 498, 5250, 1179, 273, 1082, 202, 588, 3829, 7675, 588, 653, 5250, 1179, 5621, 202, 202, 759, 19903, 4209, 1608, 326, 1440, 22144, 18, 202, 202, 45, 2421, 22144, 1440, 22144, 273, 26156, 7675, 588, 2421, 22144, 5621, 202, 202, 2704, 27130, 1803, 273, 394, 2 ]
enableBackgroundRefresh.setLayoutData(gridData); enableBackgroundRefresh.setText("Use the following schedule (Experimental)"); enableBackgroundRefresh.setSelection(getPreferenceStore().getBoolean(
enableBackgroundSynch.setLayoutData(gridData); enableBackgroundSynch.setText("Use the following synchronization schedule (Experimental)"); enableBackgroundSynch.setSelection(getPreferenceStore().getBoolean(
private void createTaskRefreshScheduleGroup(Composite parent) { Group group = new Group(parent, SWT.SHADOW_ETCHED_IN); group.setText("Repository Refresh"); group.setLayout(new GridLayout(1, false)); group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); { userRefreshOnly = new Button(group, SWT.RADIO); final GridData gridData = new GridData(); gridData.horizontalSpan = 2; userRefreshOnly.setLayoutData(gridData); userRefreshOnly.setText("Do not schedule background synchronization"); userRefreshOnly.setSelection(!getPreferenceStore().getBoolean( TaskListPreferenceConstants.REPOSITORY_SYNCH_SCHEDULE_ENABLED)); userRefreshOnly.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { updateRefreshGroupEnablements(); } public void widgetDefaultSelected(SelectionEvent e) { } }); } { enableBackgroundRefresh = new Button(group, SWT.RADIO); final GridData gridData = new GridData(); gridData.horizontalSpan = 2; enableBackgroundRefresh.setLayoutData(gridData); enableBackgroundRefresh.setText("Use the following schedule (Experimental)"); enableBackgroundRefresh.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.REPOSITORY_SYNCH_SCHEDULE_ENABLED)); enableBackgroundRefresh.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { updateRefreshGroupEnablements(); } public void widgetDefaultSelected(SelectionEvent e) { } }); } final Composite composite = new Composite(group, SWT.NONE); final GridData gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_VERTICAL | GridData.VERTICAL_ALIGN_BEGINNING); gridData.horizontalSpan = 2; composite.setLayoutData(gridData); final GridLayout gridLayout_1 = new GridLayout(); gridLayout_1.numColumns = 3; composite.setLayout(gridLayout_1); { final Label label = new Label(composite, SWT.NONE); label.setText("Every: "); } { refreshScheduleTime = new Text(composite, SWT.BORDER | SWT.RIGHT); final GridData gridData_1 = new GridData(); gridData_1.widthHint = 35; refreshScheduleTime.setLayoutData(gridData_1); refreshScheduleTime.setText(getMinutesString()); refreshScheduleTime.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { updateRefreshGroupEnablements(); } }); } { final Label label = new Label(composite, SWT.NONE); label.setText("minutes"); } refreshQueries = new Button(group, SWT.CHECK); refreshQueries.setText("Automatically perform a repository refresh on startup"); refreshQueries.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.REPOSITORY_SYNCH_ON_STARTUP)); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/85862bbae75db32904da7195399b17fcc77f22f6/MylarRepositoriesPreferencePage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/preferences/MylarRepositoriesPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 2174, 8323, 6061, 1114, 12, 9400, 982, 13, 288, 202, 202, 1114, 1041, 273, 394, 3756, 12, 2938, 16, 348, 8588, 18, 2664, 1880, 7306, 67, 9235, 2056, 67, 706, 1769, 202, 202, 1655, 18, 542, 1528, 2932, 3305, 14179, 8863, 202, 202, 1655, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 629, 10019, 202, 202, 1655, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 95, 1082, 202, 1355, 8323, 3386, 273, 394, 12569, 12, 1655, 16, 348, 8588, 18, 28829, 4294, 1769, 1082, 202, 6385, 7145, 751, 3068, 751, 273, 394, 7145, 751, 5621, 1082, 202, 5222, 751, 18, 18396, 6952, 273, 576, 31, 1082, 202, 1355, 8323, 3386, 18, 542, 3744, 751, 12, 5222, 751, 1769, 1082, 202, 1355, 8323, 3386, 18, 542, 1528, 2932, 3244, 486, 4788, 5412, 24488, 8863, 1082, 202, 1355, 8323, 3386, 18, 542, 6233, 12, 5, 588, 9624, 2257, 7675, 588, 5507, 12, 6862, 202, 2174, 682, 9624, 2918, 18, 862, 30986, 67, 7474, 50, 1792, 67, 55, 27395, 67, 13560, 10019, 1082, 202, 1355, 8323, 3386, 18, 1289, 6233, 2223, 12, 2704, 12977, 2223, 1435, 288, 9506, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 6862, 202, 2725, 8323, 1114, 8317, 1346, 5621, 9506, 202, 97, 9506, 202, 482, 918, 3604, 1868, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 97, 1082, 202, 22938, 202, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 2174, 8323, 6061, 1114, 12, 9400, 982, 13, 288, 202, 202, 1114, 1041, 273, 394, 3756, 12, 2938, 16, 348, 8588, 18, 2664, 1880, 7306, 67, 9235, 2056, 67, 706, 1769, 202, 202, 1655, 18, 542, 1528, 2932, 3305, 14179, 8863, 202, 202, 1655, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 629, 10019, 202, 202, 1655, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 95, 1082, 202, 1355, 8323, 3386, 273, 394, 12569, 12, 1655, 16, 348, 8588, 18, 28829, 4294, 1769, 1082, 202, 6385, 7145, 751, 3068, 751, 273, 394, 7145, 751, 5621, 1082, 202, 5222, 751, 18, 18396, 2 ]
final String projectName, final IPath newLocation) { WorkspaceModifyOperation op = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) { try { if (monitor.isCanceled()) { throw new OperationCanceledException();
final String projectName, final URI newLocation) { IRunnableWithProgress op = new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException { org.eclipse.ui.ide.undo.CopyProjectOperation op = new org.eclipse.ui.ide.undo.CopyProjectOperation( project, projectName, newLocation, IDEWorkbenchMessages.CopyProjectOperation_copyProject); op.setModelProviderIds(getModelProviderIds()); try { PlatformUI.getWorkbench().getOperationSupport() .getOperationHistory().execute( op, monitor, WorkspaceUndoUtil .getUIInfoAdapter(parentShell)); } catch (final ExecutionException e) { if (e.getCause() instanceof CoreException) { recordError((CoreException)e.getCause()); } else { throw new InvocationTargetException(e);
private boolean performProjectCopy(final IProject project, final String projectName, final IPath newLocation) { WorkspaceModifyOperation op = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) { try { if (monitor.isCanceled()) { throw new OperationCanceledException(); } monitor.setTaskName(IDEWorkbenchMessages.CopyProjectOperation_progressTitle); //Get a copy of the current description and modify it IProjectDescription newDescription = createProjectDescription( project, projectName, newLocation); project.copy(newDescription, IResource.SHALLOW | IResource.FORCE, monitor); } catch (CoreException e) { recordError(e); // log error } } }; try { new ProgressMonitorJobsDialog(parentShell).run(true, true, op); } catch (InterruptedException e) { return false; } catch (InvocationTargetException e) { final String message = e.getTargetException().getMessage(); parentShell.getDisplay().syncExec(new Runnable() { public void run() { MessageDialog.openError(parentShell, IDEWorkbenchMessages.CopyProjectOperation_copyFailedTitle, NLS.bind(IDEWorkbenchMessages.CopyProjectOperation_internalError, message)); } }); return false; } return true; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/53cada7d6d0463cdcb3aed320ea380f4aae64087/CopyProjectOperation.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyProjectOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3073, 4109, 2951, 12, 6385, 467, 4109, 1984, 16, 5411, 727, 514, 17234, 16, 727, 467, 743, 394, 2735, 13, 288, 3639, 14396, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 5411, 1071, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 7734, 775, 288, 10792, 309, 261, 10259, 18, 291, 23163, 10756, 288, 25083, 202, 12849, 394, 4189, 23163, 503, 5621, 6862, 202, 97, 4766, 3639, 6438, 18, 542, 2174, 461, 12, 10385, 2421, 22144, 5058, 18, 2951, 4109, 2988, 67, 8298, 4247, 1769, 4766, 3639, 368, 967, 279, 1610, 434, 326, 783, 2477, 471, 5612, 518, 10792, 467, 4109, 3291, 394, 3291, 273, 752, 4109, 3291, 12, 18701, 1984, 16, 17234, 16, 394, 2735, 1769, 10792, 1984, 18, 3530, 12, 2704, 3291, 16, 467, 1420, 18, 2664, 13511, 18701, 571, 467, 1420, 18, 27817, 16, 6438, 1769, 7734, 289, 1044, 261, 25341, 425, 13, 288, 10792, 1409, 668, 12, 73, 1769, 368, 613, 555, 7734, 289, 5411, 289, 3639, 289, 31, 3639, 775, 288, 5411, 394, 10980, 7187, 7276, 6353, 12, 2938, 13220, 2934, 2681, 12, 3767, 16, 638, 16, 1061, 1769, 3639, 289, 1044, 261, 24485, 503, 425, 13, 288, 5411, 327, 629, 31, 3639, 289, 1044, 261, 9267, 14950, 425, 13, 288, 5411, 727, 514, 883, 273, 425, 18, 588, 14950, 7675, 24906, 5621, 5411, 982, 13220, 18, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 7734, 1071, 918, 1086, 1435, 288, 10792, 2350, 6353, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3073, 4109, 2951, 12, 6385, 467, 4109, 1984, 16, 5411, 727, 514, 17234, 16, 727, 467, 743, 394, 2735, 13, 288, 3639, 14396, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 5411, 1071, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 7734, 775, 288, 10792, 309, 261, 10259, 18, 291, 23163, 10756, 288, 25083, 202, 12849, 394, 4189, 23163, 503, 5621, 6862, 202, 97, 4766, 3639, 6438, 18, 542, 2174, 461, 12, 10385, 2421, 22144, 5058, 18, 2951, 4109, 2988, 67, 8298, 4247, 1769, 4766, 3639, 368, 967, 279, 1610, 434, 326, 783, 2477, 471, 5612, 518, 10792, 467, 4109, 3291, 394, 3291, 273, 752, 4109, 3291, 12, 18701, 1984, 16, 17234, 16, 2 ]
public org.quickfix.field.OptAttribute getOptAttribute() throws FieldNotFound { org.quickfix.field.OptAttribute value = new org.quickfix.field.OptAttribute();
public quickfix.field.OptAttribute getOptAttribute() throws FieldNotFound { quickfix.field.OptAttribute value = new quickfix.field.OptAttribute();
public org.quickfix.field.OptAttribute getOptAttribute() throws FieldNotFound { org.quickfix.field.OptAttribute value = new org.quickfix.field.OptAttribute(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderMultileg.java/buggy/src/java/src/quickfix/fix44/NewOrderMultileg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 6179, 1499, 28959, 1499, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6179, 1499, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6179, 1499, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 6179, 1499, 28959, 1499, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6179, 1499, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6179, 1499, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String menuKind = parent.langpack.getString("ShortcutPanel.regular.StartMenu:Start-Menu"); if( OsVersion.IS_UNIX && UnixHelper.kdeIsInstalled() ) menuKind = parent.langpack.getString("ShortcutPanel.regular.StartMenu:K-Menu"); createShortcuts = new JCheckBox( StringTool.replace( parent.langpack.getString("ShortcutPanel.regular.create"), "StartMenu", menuKind ), true); createShortcuts.addActionListener(this); constraints.gridx = 0; constraints.gridy = 1; constraints.gridwidth = 2; constraints.gridheight = 1; constraints.weighty = 0.2;
private void buildUI(File groups) { File itsProgramFolder = groups; constraints.gridx = 0; constraints.gridy = 0; constraints.gridwidth = 3; constraints.gridheight = 1; constraints.weightx = 1.0; constraints.weighty = 1.0; constraints.fill = GridBagConstraints.HORIZONTAL; constraints.anchor = GridBagConstraints.WEST; /**/ // Add a CheckBox which enables the user to entirely supress shortcut creation. String menuKind = parent.langpack.getString("ShortcutPanel.regular.StartMenu:Start-Menu"); if( OsVersion.IS_UNIX && UnixHelper.kdeIsInstalled() ) menuKind = parent.langpack.getString("ShortcutPanel.regular.StartMenu:K-Menu"); createShortcuts = new JCheckBox( StringTool.replace( parent.langpack.getString("ShortcutPanel.regular.create"), "StartMenu", menuKind ), true); createShortcuts.addActionListener(this); constraints.gridx = 0; constraints.gridy = 1; constraints.gridwidth = 2; constraints.gridheight = 1; constraints.weighty = 0.2; layout.addLayoutComponent(createShortcuts, constraints); add(createShortcuts); // ---------------------------------------------------- // check box to allow the user to decide if a desktop // shortcut should be created. // this should only be created if needed and requested // in the definition file. // ---------------------------------------------------- if (hasDesktopShortcuts) { String initialAllowedValue = idata.getVariable( "DesktopShortcutCheckboxEnabled" ); boolean initialAllowedFlag = false; if( initialAllowedValue==null) initialAllowedFlag= false; else if( Boolean.TRUE.toString().equals(initialAllowedValue) ) initialAllowedFlag=true; allowDesktopShortcut = new JCheckBox(parent.langpack .getString("ShortcutPanel.regular.desktop"), initialAllowedFlag); constraints.gridx = 0; constraints.gridy = 2; constraints.gridwidth = 3; constraints.gridheight = 1; constraints.weighty = 0.2; layout.addLayoutComponent(allowDesktopShortcut, constraints); add(allowDesktopShortcut); } JLabel listLabel = LabelFactory.create(parent.langpack.getString("ShortcutPanel.regular.list"), JLabel.LEADING); constraints.gridx = 0; constraints.gridy = 3; constraints.gridwidth = 1; constraints.gridheight = 1; constraints.weightx = 0.2; constraints.weighty = 0.2; constraints.fill = GridBagConstraints.NONE; constraints.anchor = GridBagConstraints.WEST; layout.addLayoutComponent(listLabel, constraints); add(listLabel); // ---------------------------------------------------- // list box to list all of already existing folders as program groups // at the intended destination // ---------------------------------------------------- addSelectionList( groups, 0, 4, 2, 1, GridBagConstraints.BOTH ); // ---------------------------------------------------- // radio buttons to select current user or all users. // ---------------------------------------------------- if (shortcut.multipleUsers()) { JPanel usersPanel = new JPanel(new GridLayout(2, 1)); ButtonGroup usersGroup = new ButtonGroup(); currentUser = new JRadioButton(parent.langpack .getString("ShortcutPanel.regular.currentUser"), !isRootUser); currentUser.addActionListener(this); usersGroup.add(currentUser); usersPanel.add(currentUser); allUsers = new JRadioButton( parent.langpack.getString("ShortcutPanel.regular.allUsers"), isRootUser); if (!isRootUser) allUsers.setEnabled(false); allUsers.addActionListener(this); usersGroup.add(allUsers); usersPanel.add(allUsers); TitledBorder border = new TitledBorder(new EmptyBorder(2, 2, 2, 2), parent.langpack .getString("ShortcutPanel.regular.userIntro")); usersPanel.setBorder(border); constraints.gridx = 2; constraints.gridy = 4; constraints.gridwidth = 1; constraints.gridheight = 1; constraints.weighty = 1.0; constraints.weightx = 1.0; constraints.fill = GridBagConstraints.NONE; layout.addLayoutComponent(usersPanel, constraints); add(usersPanel); } // ---------------------------------------------------- // edit box that contains the suggested program group // name, which can be modfied or substituted from the // list by the user // ---------------------------------------------------- programGroup = new JTextField(suggestedProgramGroup, 40); // 40? constraints.gridx = 0; constraints.gridy = 5; constraints.gridwidth = 2; constraints.gridheight = 1; constraints.weighty = 1.0; constraints.weightx = 10.0; constraints.fill = GridBagConstraints.HORIZONTAL; layout.addLayoutComponent(programGroup, constraints); add(programGroup); // ---------------------------------------------------- // reset button that allows the user to revert to the // original suggestion for the program group // ---------------------------------------------------- defaultButton = ButtonFactory.createButton(parent.langpack .getString("ShortcutPanel.regular.default"), idata.buttonsHColor); defaultButton.addActionListener(this); constraints.gridx = 2; constraints.gridy = 5; constraints.gridwidth = 1; constraints.gridheight = 1; constraints.fill = GridBagConstraints.NONE; layout.addLayoutComponent(defaultButton, constraints); add(defaultButton); }
58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/1fd6ec3cd6f1342b02efc64f02a3ec5f99351fa7/ShortcutPanel.java/clean/izpack-src/trunk/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 5370, 12, 812, 3252, 13, 565, 288, 3639, 1387, 2097, 9459, 3899, 273, 3252, 31, 1171, 6237, 18, 5222, 92, 273, 374, 31, 3639, 6237, 18, 5222, 93, 273, 374, 31, 3639, 6237, 18, 5222, 2819, 273, 890, 31, 3639, 6237, 18, 5222, 4210, 273, 404, 31, 3639, 6237, 18, 4865, 92, 273, 404, 18, 20, 31, 3639, 6237, 18, 4865, 93, 273, 404, 18, 20, 31, 7734, 6237, 18, 5935, 273, 13075, 18, 44, 20344, 31, 3639, 6237, 18, 16215, 273, 13075, 18, 31285, 31, 3639, 1783, 19, 7734, 368, 1436, 279, 2073, 3514, 1492, 19808, 326, 729, 358, 21658, 1169, 663, 10995, 6710, 18, 1850, 514, 3824, 5677, 273, 982, 18, 4936, 2920, 18, 588, 780, 2932, 15576, 5537, 18, 16819, 18, 1685, 4599, 30, 1685, 17, 4599, 8863, 3639, 309, 12, 31799, 1444, 18, 5127, 67, 10377, 60, 597, 9480, 2276, 18, 79, 323, 2520, 16747, 1435, 262, 5411, 3824, 5677, 273, 982, 18, 4936, 2920, 18, 588, 780, 2932, 15576, 5537, 18, 16819, 18, 1685, 4599, 30, 47, 17, 4599, 8863, 7734, 752, 15576, 87, 273, 394, 804, 19174, 12, 514, 6364, 18, 2079, 12, 982, 18, 4936, 2920, 18, 588, 780, 2932, 15576, 5537, 18, 16819, 18, 2640, 6, 3631, 315, 1685, 4599, 3113, 3824, 5677, 262, 16, 7734, 638, 1769, 3639, 752, 15576, 87, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 6237, 18, 5222, 92, 273, 374, 31, 3639, 6237, 18, 5222, 93, 273, 404, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 5370, 12, 812, 3252, 13, 565, 288, 3639, 1387, 2097, 9459, 3899, 273, 3252, 31, 1171, 6237, 18, 5222, 92, 273, 374, 31, 3639, 6237, 18, 5222, 93, 273, 374, 31, 3639, 6237, 18, 5222, 2819, 273, 890, 31, 3639, 6237, 18, 5222, 4210, 273, 404, 31, 3639, 6237, 18, 4865, 92, 273, 404, 18, 20, 31, 3639, 6237, 18, 4865, 93, 273, 404, 18, 20, 31, 7734, 6237, 18, 5935, 273, 13075, 18, 44, 20344, 31, 3639, 6237, 18, 16215, 273, 13075, 18, 31285, 31, 3639, 1783, 19, 7734, 368, 1436, 279, 2073, 3514, 1492, 19808, 326, 729, 358, 21658, 1169, 663, 10995, 6710, 18, 1850, 514, 3824, 5677, 273, 982, 18, 4936, 2920, 2 ]
if (!goneThroughMain)
if(mayGoThroughMain())
public void _main(IWContext iwc) throws Exception { initVariables(iwc); if (!initializedInMain) { this.initInMain(iwc); } if (!goneThroughMain) { main(iwc); } goneThroughMain = true; }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/ab803d67d6f6399ac2f3b884f2e5c66d27a2c667/PresentationObject.java/clean/src/java/com/idega/presentation/PresentationObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 389, 5254, 12, 45, 59, 1042, 25522, 71, 13, 1216, 1185, 202, 95, 202, 202, 2738, 6158, 12, 22315, 71, 1769, 202, 202, 430, 16051, 13227, 382, 6376, 13, 202, 202, 95, 1082, 202, 2211, 18, 2738, 382, 6376, 12, 22315, 71, 1769, 202, 202, 97, 202, 202, 430, 16051, 75, 476, 14287, 6376, 13, 202, 202, 95, 1082, 202, 5254, 12, 22315, 71, 1769, 202, 202, 97, 202, 202, 75, 476, 14287, 6376, 273, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 389, 5254, 12, 45, 59, 1042, 25522, 71, 13, 1216, 1185, 202, 95, 202, 202, 2738, 6158, 12, 22315, 71, 1769, 202, 202, 430, 16051, 13227, 382, 6376, 13, 202, 202, 95, 1082, 202, 2211, 18, 2738, 382, 6376, 12, 22315, 71, 1769, 202, 202, 97, 202, 202, 430, 16051, 75, 476, 14287, 6376, 13, 202, 202, 95, 1082, 202, 5254, 12, 22315, 71, 1769, 202, 202, 97, 202, 202, 75, 476, 14287, 6376, 273, 638, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jobName == null) throw new SchedulerException(
if (jobName == null) { throw new SchedulerException(
public void validate() throws SchedulerException { if (name == null) throw new SchedulerException("Trigger's name cannot be null", SchedulerException.ERR_CLIENT_ERROR); if (group == null) throw new SchedulerException("Trigger's group cannot be null", SchedulerException.ERR_CLIENT_ERROR); if (jobName == null) throw new SchedulerException( "Trigger's related Job's name cannot be null", SchedulerException.ERR_CLIENT_ERROR); if (jobGroup == null) throw new SchedulerException( "Trigger's related Job's group cannot be null", SchedulerException.ERR_CLIENT_ERROR); }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/Trigger.java/clean/src/java/org/quartz/Trigger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1954, 1435, 1216, 12620, 503, 288, 3639, 309, 261, 529, 422, 446, 13, 7734, 604, 394, 12620, 503, 2932, 6518, 1807, 508, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 3639, 309, 261, 1655, 422, 446, 13, 7734, 604, 394, 12620, 503, 2932, 6518, 1807, 1041, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 3639, 309, 261, 4688, 461, 422, 446, 13, 7734, 604, 394, 12620, 503, 12, 13491, 315, 6518, 1807, 3746, 3956, 1807, 508, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 3639, 309, 261, 4688, 1114, 422, 446, 13, 7734, 604, 394, 12620, 503, 12, 13491, 315, 6518, 1807, 3746, 3956, 1807, 1041, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1954, 1435, 1216, 12620, 503, 288, 3639, 309, 261, 529, 422, 446, 13, 7734, 604, 394, 12620, 503, 2932, 6518, 1807, 508, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 3639, 309, 261, 1655, 422, 446, 13, 7734, 604, 394, 12620, 503, 2932, 6518, 1807, 1041, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 3639, 309, 261, 4688, 461, 422, 446, 13, 7734, 604, 394, 12620, 503, 12, 13491, 315, 6518, 1807, 3746, 3956, 1807, 508, 2780, 506, 446, 3113, 13491, 12620, 503, 18, 9712, 67, 11935, 67, 3589, 1769, 3639, 309, 261, 4688, 1114, 422, 446, 13, 7734, 604, 394, 12620, 503, 12, 2 ]
if (resultSet.wasNull()) { return null; } else {
if (resultSet.wasNull()) { logColumnExtraction(columnName, null); return null; } else { logColumnExtraction(columnName, value);
public EMail getEMail(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final String value = resultSet.getString(columnName); if (resultSet.wasNull()) { return null; } else { return EMailBuilder.parse(value); } } catch (final EMailFormatException efx) { throw new HypersonicException(efx); } catch (final SQLException sqlx) { throw new HypersonicException(sqlx); } }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/30bb50f571b7d24c22102dbe6834bf508c57d427/Session.java/clean/local/model/src/main/java/com/thinkparity/ophelia/model/io/db/hsqldb/Session.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 6759, 336, 3375, 671, 12, 6385, 514, 7578, 13, 288, 3639, 1815, 3678, 2932, 588, 7335, 12, 780, 2225, 1769, 3639, 1815, 3678, 1253, 2932, 588, 7335, 12, 780, 2225, 1769, 3639, 775, 288, 5411, 727, 514, 460, 273, 12168, 18, 588, 780, 12, 2827, 461, 1769, 5411, 309, 261, 2088, 694, 18, 17416, 2041, 10756, 288, 327, 446, 31, 289, 5411, 469, 288, 7734, 327, 512, 6759, 1263, 18, 2670, 12, 1132, 1769, 5411, 289, 3639, 289, 1044, 261, 6385, 512, 6759, 9291, 425, 19595, 13, 288, 5411, 604, 394, 670, 879, 3565, 335, 503, 12, 10241, 92, 1769, 3639, 289, 1044, 261, 6385, 6483, 1847, 92, 13, 288, 5411, 604, 394, 670, 879, 3565, 335, 503, 12, 4669, 92, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 6759, 336, 3375, 671, 12, 6385, 514, 7578, 13, 288, 3639, 1815, 3678, 2932, 588, 7335, 12, 780, 2225, 1769, 3639, 1815, 3678, 1253, 2932, 588, 7335, 12, 780, 2225, 1769, 3639, 775, 288, 5411, 727, 514, 460, 273, 12168, 18, 588, 780, 12, 2827, 461, 1769, 5411, 309, 261, 2088, 694, 18, 17416, 2041, 10756, 288, 327, 446, 31, 289, 5411, 469, 288, 7734, 327, 512, 6759, 1263, 18, 2670, 12, 1132, 1769, 5411, 289, 3639, 289, 1044, 261, 6385, 512, 6759, 9291, 425, 19595, 13, 288, 5411, 604, 394, 670, 879, 3565, 335, 503, 12, 10241, 92, 1769, 3639, 289, 1044, 261, 6385, 6483, 1847, 92, 13, 288, 5411, 604, 394, 670, 879, 3565, 2 ]
public String cstring(int addr) throws ReadFaultException {
public final String cstring(int addr) throws ReadFaultException {
public String cstring(int addr) throws ReadFaultException { StringBuffer sb = new StringBuffer(); for(;;) { int word = memRead(addr&~3); switch(addr&3) { case 0: if(((word>>>24)&0xff)==0) return sb.toString(); sb.append((char)((word>>>24)&0xff)); addr++; case 1: if(((word>>>16)&0xff)==0) return sb.toString(); sb.append((char)((word>>>16)&0xff)); addr++; case 2: if(((word>>> 8)&0xff)==0) return sb.toString(); sb.append((char)((word>>> 8)&0xff)); addr++; case 3: if(((word>>> 0)&0xff)==0) return sb.toString(); sb.append((char)((word>>> 0)&0xff)); addr++; } } }
4600 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4600/ad692a248f2ed9412db5b313b85fd8365488017f/Runtime.java/clean/src/org/ibex/nestedvm/Runtime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 276, 1080, 12, 474, 3091, 13, 1216, 2720, 7083, 503, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 364, 12, 25708, 13, 288, 5411, 509, 2076, 273, 1663, 1994, 12, 4793, 10, 98, 23, 1769, 5411, 1620, 12, 4793, 10, 23, 13, 288, 7734, 648, 374, 30, 309, 12443, 12, 1095, 23012, 3247, 13, 10, 20, 5297, 13, 631, 20, 13, 327, 2393, 18, 10492, 5621, 2393, 18, 6923, 12443, 3001, 13, 12443, 1095, 23012, 3247, 13, 10, 20, 5297, 10019, 3091, 9904, 31, 7734, 648, 404, 30, 309, 12443, 12, 1095, 23012, 2313, 13, 10, 20, 5297, 13, 631, 20, 13, 327, 2393, 18, 10492, 5621, 2393, 18, 6923, 12443, 3001, 13, 12443, 1095, 23012, 2313, 13, 10, 20, 5297, 10019, 3091, 9904, 31, 7734, 648, 576, 30, 309, 12443, 12, 1095, 23012, 1725, 13, 10, 20, 5297, 13, 631, 20, 13, 327, 2393, 18, 10492, 5621, 2393, 18, 6923, 12443, 3001, 13, 12443, 1095, 23012, 1725, 13, 10, 20, 5297, 10019, 3091, 9904, 31, 7734, 648, 890, 30, 309, 12443, 12, 1095, 23012, 374, 13, 10, 20, 5297, 13, 631, 20, 13, 327, 2393, 18, 10492, 5621, 2393, 18, 6923, 12443, 3001, 13, 12443, 1095, 23012, 374, 13, 10, 20, 5297, 10019, 3091, 9904, 31, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 276, 1080, 12, 474, 3091, 13, 1216, 2720, 7083, 503, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 364, 12, 25708, 13, 288, 5411, 509, 2076, 273, 1663, 1994, 12, 4793, 10, 98, 23, 1769, 5411, 1620, 12, 4793, 10, 23, 13, 288, 7734, 648, 374, 30, 309, 12443, 12, 1095, 23012, 3247, 13, 10, 20, 5297, 13, 631, 20, 13, 327, 2393, 18, 10492, 5621, 2393, 18, 6923, 12443, 3001, 13, 12443, 1095, 23012, 3247, 13, 10, 20, 5297, 10019, 3091, 9904, 31, 7734, 648, 404, 30, 309, 12443, 12, 1095, 23012, 2313, 13, 10, 20, 5297, 13, 631, 20, 13, 327, 2393, 18, 10492, 5621, 2393, 18, 6923, 12443, 3001, 13, 12443, 2 ]
{ return hasSkill( ClassSkillsDatabase.getSkillName( skillID ) );
{ return hasSkill( ClassSkillsDatabase.getSkillName( skillID ) );
public static boolean hasSkill( int skillID ) { return hasSkill( ClassSkillsDatabase.getSkillName( skillID ) ); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/5b0cbee3f8776ed3ad162f2c13c3263654f5add0/KoLCharacter.java/buggy/src/net/sourceforge/kolmafia/KoLCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 711, 9030, 12, 509, 15667, 734, 262, 202, 95, 202, 202, 2463, 711, 9030, 12, 1659, 20057, 4254, 18, 588, 9030, 461, 12, 15667, 734, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 711, 9030, 12, 509, 15667, 734, 262, 202, 95, 202, 202, 2463, 711, 9030, 12, 1659, 20057, 4254, 18, 588, 9030, 461, 12, 15667, 734, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AST tmp1472_AST_in = (AST)_t;
AST tmp1482_AST_in = (AST)_t;
public final void procedurestate(AST _t) throws RecognitionException { AST procedurestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST p = null; AST id = null; AST __t1000 = _t; p = _t==ASTNULL ? null :(AST)_t; match(_t,PROCEDURE); _t = _t.getFirstChild(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { action.procedureBegin(p, id); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXTERNAL: { AST __t1002 = _t; AST tmp1471_AST_in = (AST)_t; match(_t,EXTERNAL); _t = _t.getFirstChild(); constant(_t); _t = _retTree; { _loop1005: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CDECL_KW: { AST tmp1472_AST_in = (AST)_t; match(_t,CDECL_KW); _t = _t.getNextSibling(); break; } case PASCAL_KW: { AST tmp1473_AST_in = (AST)_t; match(_t,PASCAL_KW); _t = _t.getNextSibling(); break; } case STDCALL_KW: { AST tmp1474_AST_in = (AST)_t; match(_t,STDCALL_KW); _t = _t.getNextSibling(); break; } case ORDINAL: { AST __t1004 = _t; AST tmp1475_AST_in = (AST)_t; match(_t,ORDINAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1004; _t = _t.getNextSibling(); break; } case PERSISTENT: { AST tmp1476_AST_in = (AST)_t; match(_t,PERSISTENT); _t = _t.getNextSibling(); break; } default: { break _loop1005; } } } while (true); } _t = __t1002; _t = _t.getNextSibling(); break; } case PRIVATE: { AST tmp1477_AST_in = (AST)_t; match(_t,PRIVATE); _t = _t.getNextSibling(); break; } case IN_KW: { AST tmp1478_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getNextSibling(); AST tmp1479_AST_in = (AST)_t; match(_t,SUPER); _t = _t.getNextSibling(); break; } case PERIOD: case LEXCOLON: { break; } default: { throw new NoViableAltException(_t); } } } block_colon(_t); _t = _retTree; code_block(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EOF: { AST tmp1480_AST_in = (AST)_t; match(_t,Token.EOF_TYPE); _t = _t.getNextSibling(); break; } case END: { AST __t1007 = _t; AST tmp1481_AST_in = (AST)_t; match(_t,END); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PROCEDURE: { AST tmp1482_AST_in = (AST)_t; match(_t,PROCEDURE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1007; _t = _t.getNextSibling(); state_end(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.procedureEnd(p); } _t = __t1000; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12131, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12131, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 293, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 18088, 273, 389, 88, 31, 202, 202, 84, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3373, 23552, 4830, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 350, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 734, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 1128, 18, 685, 8153, 8149, 12, 84, 16, 612, 1769, 202, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5675, 11702, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 6625, 22, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3461, 11212, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 2294, 11702, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12131, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12131, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 293, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 18088, 273, 389, 88, 31, 202, 202, 84, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3373, 23552, 4830, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 350, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 2 ]
try { TransformerFactory tf = TransformerFactory.newInstance(); StringReader input = new StringReader(PRETTY_PRINTER); Templates templates = tf.newTemplates(new StreamSource(input)); templates.newTransformer().transform(new DOMSource(doc), new StreamResult(System.out)); } catch (Exception e) { e.printStackTrace(); } }
try { TransformerFactory tf = TransformerFactory.newInstance(); StringReader input = new StringReader(PRETTY_PRINTER); Templates templates = tf.newTemplates(new StreamSource(input)); templates.newTransformer().transform(new DOMSource(doc), new StreamResult(System.out)); } catch (Exception e) { e.printStackTrace(); } }
public static void debug(Document doc) { try { TransformerFactory tf = TransformerFactory.newInstance(); StringReader input = new StringReader(PRETTY_PRINTER); //File input = new File(System.getProperty("test.dir") + "/" + "pretty.xsl"); Templates templates = tf.newTemplates(new StreamSource(input)); templates.newTransformer().transform(new DOMSource(doc), new StreamResult(System.out)); } catch (Exception e) { e.printStackTrace(); } }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/DOMBuilder.java/buggy/src/main/mondrian/web/taglib/DOMBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1198, 12, 2519, 997, 13, 288, 202, 202, 698, 288, 1082, 202, 8319, 1733, 3253, 273, 11519, 1733, 18, 2704, 1442, 5621, 1082, 202, 780, 2514, 810, 273, 394, 26227, 12, 27608, 67, 8025, 9125, 1769, 1082, 202, 759, 812, 810, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 3813, 18, 1214, 7923, 397, 4016, 397, 315, 19073, 18, 30903, 8863, 1082, 202, 8218, 5539, 273, 3253, 18, 2704, 8218, 12, 2704, 3961, 1830, 12, 2630, 10019, 1082, 202, 8502, 18, 2704, 8319, 7675, 6547, 12, 2704, 4703, 1830, 12, 2434, 3631, 394, 3961, 1253, 12, 3163, 18, 659, 10019, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1198, 12, 2519, 997, 13, 288, 202, 202, 698, 288, 1082, 202, 8319, 1733, 3253, 273, 11519, 1733, 18, 2704, 1442, 5621, 1082, 202, 780, 2514, 810, 273, 394, 26227, 12, 27608, 67, 8025, 9125, 1769, 1082, 202, 759, 812, 810, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 3813, 18, 1214, 7923, 397, 4016, 397, 315, 19073, 18, 30903, 8863, 1082, 202, 8218, 5539, 273, 3253, 18, 2704, 8218, 12, 2704, 3961, 1830, 12, 2630, 10019, 1082, 202, 8502, 18, 2704, 8319, 7675, 6547, 12, 2704, 4703, 1830, 12, 2434, 3631, 394, 3961, 1253, 12, 3163, 18, 659, 10019, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 1082, 202, 2 ]
if(f.isDirectory()) {
if (f.isDirectory()) {
public boolean accept(File f) { if(f.isDirectory()) { return true; } String n = f.getName(); int i = n.lastIndexOf('.'); if(i > 0 && i < n.length() -1) { String ext = n.substring(i + 1).toLowerCase(); if(ext.equals("js")) { return true; } } return false; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 1250, 2791, 12, 812, 284, 13, 288, 13491, 309, 261, 74, 18, 291, 2853, 10756, 288, 18701, 327, 638, 31, 13491, 289, 13491, 514, 290, 273, 284, 18, 17994, 5621, 13491, 509, 277, 273, 290, 18, 2722, 31985, 2668, 1093, 1769, 13491, 309, 12, 77, 405, 374, 597, 277, 411, 290, 18, 2469, 1435, 300, 21, 13, 288, 18701, 514, 1110, 273, 290, 18, 28023, 12, 77, 397, 404, 2934, 869, 5630, 5621, 18701, 309, 12, 408, 18, 14963, 2932, 2924, 6, 3719, 288, 27573, 327, 638, 31, 18701, 289, 13491, 289, 13491, 327, 629, 31, 10792, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 1250, 2791, 12, 812, 284, 13, 288, 13491, 309, 261, 74, 18, 291, 2853, 10756, 288, 18701, 327, 638, 31, 13491, 289, 13491, 514, 290, 273, 284, 18, 17994, 5621, 13491, 509, 277, 273, 290, 18, 2722, 31985, 2668, 1093, 1769, 13491, 309, 12, 77, 405, 374, 597, 277, 411, 290, 18, 2469, 1435, 300, 21, 13, 288, 18701, 514, 1110, 273, 290, 18, 28023, 12, 77, 397, 404, 2934, 869, 5630, 5621, 18701, 309, 12, 408, 18, 14963, 2932, 2924, 6, 3719, 288, 27573, 327, 638, 31, 18701, 289, 13491, 289, 13491, 327, 629, 31, 10792, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
monitor.beginTask((progressMonitorDialog.hasMessage() ? getProductProgressTitle() : ""), expectedProgressCount);
monitor.beginTask("", expectedProgressCount);
private void runStartupWithProgress(final int expectedProgressCount, final Runnable runnable) throws InvocationTargetException, InterruptedException { progressCount = 0; final double cutoff = 0.95; Shell shell = new Shell(Display.getCurrent(), SWT.NONE); try { final StartupProgressMonitorDialog progressMonitorDialog = new StartupProgressMonitorDialog(shell); SynchronousBundleListener bundleListener = new StartupProgressBundleListener(progressMonitorDialog.getProgressMonitor(), (int) (expectedProgressCount * cutoff)); WorkbenchPlugin.getDefault().addBundleListener(bundleListener); try { progressMonitorDialog.run(false, false, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) { monitor.beginTask((progressMonitorDialog.hasMessage() ? getProductProgressTitle() : ""), expectedProgressCount); //$NON-NLS-1$ runnable.run(); monitor.subTask(WorkbenchMessages.Startup_Done); int remainingWork = expectedProgressCount - Math.min(progressCount, (int)(expectedProgressCount * cutoff)); monitor.worked(remainingWork); Display.getCurrent().update(); monitor.done(); }}); } finally { WorkbenchPlugin.getDefault().removeBundleListener(bundleListener); } } finally { shell.dispose(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/ec38e8e79bb481591eda5b282cb65b6e12c4ed99/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1086, 22178, 1190, 5491, 12, 6385, 509, 2665, 5491, 1380, 16, 727, 10254, 14685, 13, 1216, 15342, 16, 7558, 288, 202, 202, 8298, 1380, 273, 374, 31, 202, 202, 6385, 1645, 13383, 273, 374, 18, 8778, 31, 3639, 19433, 5972, 273, 394, 19433, 12, 4236, 18, 588, 3935, 9334, 348, 8588, 18, 9826, 1769, 3639, 775, 288, 1082, 202, 6385, 3603, 416, 5491, 7187, 6353, 4007, 7187, 6353, 273, 394, 3603, 416, 5491, 7187, 6353, 12, 10304, 1769, 25083, 202, 55, 7121, 3405, 2223, 3440, 2223, 273, 394, 3603, 416, 5491, 3405, 2223, 12, 8298, 7187, 6353, 18, 588, 5491, 7187, 9334, 261, 474, 13, 261, 3825, 5491, 1380, 380, 13383, 10019, 1082, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 1289, 3405, 2223, 12, 9991, 2223, 1769, 6862, 1082, 202, 698, 288, 9506, 202, 8298, 7187, 6353, 18, 2681, 12, 5743, 16, 629, 16, 394, 467, 20013, 1190, 5491, 1435, 288, 25083, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 25083, 202, 10259, 18, 10086, 2174, 2932, 3113, 2665, 5491, 1380, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 6862, 202, 2681, 6914, 18, 2681, 5621, 6862, 6862, 9506, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 22178, 67, 7387, 1769, 25083, 202, 474, 4463, 2421, 273, 2665, 5491, 1380, 300, 2361, 18, 1154, 12, 8298, 1380, 16, 261, 474, 21433, 3825, 5491, 1380, 380, 13383, 10019, 25083, 202, 10259, 18, 1252, 329, 12, 17956, 2421, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1086, 22178, 1190, 5491, 12, 6385, 509, 2665, 5491, 1380, 16, 727, 10254, 14685, 13, 1216, 15342, 16, 7558, 288, 202, 202, 8298, 1380, 273, 374, 31, 202, 202, 6385, 1645, 13383, 273, 374, 18, 8778, 31, 3639, 19433, 5972, 273, 394, 19433, 12, 4236, 18, 588, 3935, 9334, 348, 8588, 18, 9826, 1769, 3639, 775, 288, 1082, 202, 6385, 3603, 416, 5491, 7187, 6353, 4007, 7187, 6353, 273, 394, 3603, 416, 5491, 7187, 6353, 12, 10304, 1769, 25083, 202, 55, 7121, 3405, 2223, 3440, 2223, 273, 394, 3603, 416, 5491, 3405, 2223, 12, 8298, 7187, 6353, 18, 588, 5491, 7187, 9334, 261, 474, 13, 261, 3825, 5491, 1380, 380, 13383, 10019, 1082, 202, 2421, 2 ]
boolean result = false;
private static boolean like( Object obj1, Object pattern ) throws DataException { if ( obj1 == null || pattern == null ) { if ( obj1 == null && pattern == null ) return true; else return false; } boolean result = false; try { String patternString = pattern.toString( ); if ( pattern instanceof String ) { // support '%' as SQL, replace all "%" with ".*" if ( patternString.indexOf( "%" ) >= 0 ) { patternString = patternString.replaceAll( "\\Q%\\E", ".*" ); } result = obj1.toString( ).matches( patternString ); } else if ( pattern instanceof NativeRegExp ) { String testString = patternString.concat( ".test(\"" + obj1.toString( ) + "\")" ); Context cx = Context.enter( ); try { Scriptable scope = cx.initStandardObjects( ); Object rlt = evaluateJSScript( cx, scope, testString, "", 0 ); if ( rlt instanceof Boolean ) result = ( (Boolean) rlt ).booleanValue( ); } finally { Context.exit( ); } } } catch ( RuntimeException e ) { throw new DataException( ResourceConstants.MATCH_ERROR, e ); } return result; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/5461f3b42928b4f5fb9d77b27aeb728d6f7a132c/ScriptEvalUtil.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 3007, 12, 1033, 1081, 21, 16, 1033, 1936, 262, 1216, 1910, 503, 202, 95, 202, 202, 430, 261, 1081, 21, 422, 446, 747, 1936, 422, 446, 262, 202, 202, 95, 1082, 202, 430, 261, 1081, 21, 422, 446, 597, 1936, 422, 446, 262, 9506, 202, 2463, 638, 31, 1082, 202, 12107, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 6494, 563, 273, 629, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 1936, 780, 273, 1936, 18, 10492, 12, 11272, 1082, 202, 430, 261, 1936, 1276, 514, 262, 1082, 202, 95, 9506, 202, 759, 2865, 9089, 487, 3063, 16, 1453, 777, 20880, 598, 3552, 7388, 9506, 202, 430, 261, 1936, 780, 18, 31806, 12, 20880, 262, 1545, 374, 262, 9506, 202, 95, 6862, 202, 4951, 780, 273, 1936, 780, 18, 2079, 1595, 12, 8422, 53, 9, 1695, 41, 3113, 3552, 7388, 11272, 9506, 202, 97, 9506, 202, 2088, 273, 1081, 21, 18, 10492, 12, 262, 18, 8436, 12, 1936, 780, 11272, 1082, 202, 97, 1082, 202, 12107, 309, 261, 1936, 1276, 16717, 13673, 262, 1082, 202, 95, 9506, 202, 780, 1842, 780, 273, 1936, 780, 18, 16426, 12, 3552, 3813, 12, 8530, 25083, 202, 15, 1081, 21, 18, 10492, 12, 262, 397, 7023, 2225, 11272, 9506, 202, 1042, 9494, 273, 1772, 18, 2328, 12, 11272, 9506, 202, 698, 9506, 202, 95, 6862, 202, 3651, 429, 2146, 273, 9494, 18, 2738, 8336, 4710, 12, 11272, 6862, 202, 921, 436, 5618, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 3007, 12, 1033, 1081, 21, 16, 1033, 1936, 262, 1216, 1910, 503, 202, 95, 202, 202, 430, 261, 1081, 21, 422, 446, 747, 1936, 422, 446, 262, 202, 202, 95, 1082, 202, 430, 261, 1081, 21, 422, 446, 597, 1936, 422, 446, 262, 9506, 202, 2463, 638, 31, 1082, 202, 12107, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 6494, 563, 273, 629, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 1936, 780, 273, 1936, 18, 10492, 12, 11272, 1082, 202, 430, 261, 1936, 1276, 514, 262, 1082, 202, 95, 9506, 202, 759, 2865, 9089, 487, 3063, 16, 1453, 777, 20880, 598, 3552, 7388, 9506, 202, 430, 261, 1936, 780, 2 ]
if (args.length < 1) { return null;
if (args.length == 1) { return new ParenthesesFunDef(args[0].getCategory()); } else { final int[] argTypes = new int[args.length]; Arrays.fill(argTypes, Category.Member); return (FunDef) new TupleFunDef(argTypes);
public FunDef resolve( Exp[] args, Validator validator, int[] conversionCount) { if (args.length < 1) { return null; } int j = 0; int clauseCount = args.length / 2; int mismatchingArgs = 0; int returnType = args[1].getCategory(); for (int i = 0; i < clauseCount; i++) { if (!validator.canConvert(args[j++], Category.Logical, conversionCount)) { mismatchingArgs++; } if (!validator.canConvert(args[j++], returnType, conversionCount)) { mismatchingArgs++; } } if (j < args.length) { if (!validator.canConvert(args[j++], returnType, conversionCount)) { mismatchingArgs++; } } Util.assertTrue(j == args.length); if (mismatchingArgs != 0) { return null; } return new FunDefBase(this, returnType, ExpBase.getTypes(args)) { public Calc compileCall(ResolvedFunCall call, ExpCompiler compiler) { final Exp[] args = call.getArgs(); final BooleanCalc[] conditionCalcs = new BooleanCalc[args.length / 2]; final Calc[] exprCalcs = new Calc[args.length / 2]; final List calcList = new ArrayList(); for (int i = 0, j = 0; i < exprCalcs.length; i++) { conditionCalcs[i] = compiler.compileBoolean(args[j++]); calcList.add(conditionCalcs[i]); exprCalcs[i] = compiler.compileScalar(args[j++], true); calcList.add(exprCalcs[i]); } final Calc defaultCalc = args.length % 2 == 1 ? compiler.compileScalar(args[args.length - 1], true) : ConstantCalc.constantNull(call.getType()); calcList.add(defaultCalc); final Calc[] calcs = (Calc[]) calcList.toArray(new Calc[calcList.size()]); return new AbstractCalc(call) { public Object evaluate(Evaluator evaluator) { for (int i = 0; i < conditionCalcs.length; i++) { if (conditionCalcs[i].evaluateBoolean(evaluator)) { return exprCalcs[i].evaluate(evaluator); } } return defaultCalc.evaluate(evaluator); } public Calc[] getCalcs() { return calcs; } }; } }; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/759b141925c76c1aa0aaf89d93dc38bfe19d7c5a/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 478, 318, 3262, 2245, 12, 10792, 7784, 8526, 833, 16, 9150, 4213, 16, 509, 8526, 4105, 1380, 13, 288, 7734, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 10792, 327, 446, 31, 7734, 289, 7734, 509, 525, 273, 374, 31, 7734, 509, 6591, 1380, 273, 833, 18, 2469, 342, 576, 31, 7734, 509, 13484, 310, 2615, 273, 374, 31, 7734, 509, 9424, 273, 833, 63, 21, 8009, 588, 4457, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6591, 1380, 31, 277, 27245, 288, 10792, 309, 16051, 7357, 18, 4169, 2723, 12, 1968, 63, 78, 9904, 6487, 9856, 18, 17955, 16, 4105, 1380, 3719, 288, 13491, 13484, 310, 2615, 9904, 31, 10792, 289, 10792, 309, 16051, 7357, 18, 4169, 2723, 12, 1968, 63, 78, 9904, 6487, 9424, 16, 4105, 1380, 3719, 288, 13491, 13484, 310, 2615, 9904, 31, 10792, 289, 7734, 289, 7734, 309, 261, 78, 411, 833, 18, 2469, 13, 288, 10792, 309, 16051, 7357, 18, 4169, 2723, 12, 1968, 63, 78, 9904, 6487, 9424, 16, 4105, 1380, 3719, 288, 13491, 13484, 310, 2615, 9904, 31, 10792, 289, 7734, 289, 7734, 3564, 18, 11231, 5510, 12, 78, 422, 833, 18, 2469, 1769, 7734, 309, 261, 11173, 16271, 2615, 480, 374, 13, 288, 10792, 327, 446, 31, 7734, 289, 7734, 327, 394, 478, 318, 3262, 2171, 12, 2211, 16, 9424, 16, 7784, 2171, 18, 588, 2016, 12, 1968, 3719, 288, 10792, 1071, 29128, 4074, 1477, 12, 12793, 22783, 1477, 745, 16, 7784, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 478, 318, 3262, 2245, 12, 10792, 7784, 8526, 833, 16, 9150, 4213, 16, 509, 8526, 4105, 1380, 13, 288, 7734, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 10792, 327, 446, 31, 7734, 289, 7734, 509, 525, 273, 374, 31, 7734, 509, 6591, 1380, 273, 833, 18, 2469, 342, 576, 31, 7734, 509, 13484, 310, 2615, 273, 374, 31, 7734, 509, 9424, 273, 833, 63, 21, 8009, 588, 4457, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6591, 1380, 31, 277, 27245, 288, 10792, 309, 16051, 7357, 18, 4169, 2723, 12, 1968, 63, 78, 9904, 6487, 9856, 18, 17955, 16, 4105, 1380, 3719, 288, 13491, 13484, 310, 2615, 9904, 31, 10792, 289, 10792, 2 ]
while (--pos >= 0) {
while (--pos >= 0) {
void checkCompatibility(ProxySignature other) { if (method.getReturnType() != other.method.getReturnType()) throw new IllegalArgumentException("incompatible return types: " + method + ", " + other.method); // if you can think of a more efficient way than this O(n^2) search, // implement it! int size1 = exceptions.size(); int size2 = other.exceptions.size(); boolean[] valid1 = new boolean[size1]; boolean[] valid2 = new boolean[size2]; Iterator itr = exceptions.iterator(); int pos = size1; while (--pos >= 0) { Class c1 = (Class) itr.next(); Iterator itr2 = other.exceptions.iterator(); int pos2 = size2; while (--pos2 >= 0) { Class c2 = (Class) itr2.next(); if (c2.isAssignableFrom(c1)) valid1[pos] = true; if (c1.isAssignableFrom(c2)) valid2[pos2] = true; } } pos = size1; itr = exceptions.iterator(); while (--pos >= 0) { itr.next(); if (! valid1[pos]) itr.remove(); } pos = size2; itr = other.exceptions.iterator(); while (--pos >= 0) { itr.next(); if (! valid2[pos]) itr.remove(); } exceptions.addAll(other.exceptions); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 866, 21633, 12, 3886, 5374, 1308, 13, 565, 288, 5411, 309, 261, 2039, 18, 588, 9102, 1435, 480, 1308, 18, 2039, 18, 588, 9102, 10756, 3639, 604, 394, 2754, 2932, 267, 10943, 327, 1953, 30, 315, 4766, 6647, 397, 707, 397, 3104, 315, 397, 1308, 18, 2039, 1769, 5411, 368, 309, 1846, 848, 15507, 434, 279, 1898, 14382, 4031, 2353, 333, 531, 12, 82, 66, 22, 13, 1623, 16, 5411, 368, 2348, 518, 5, 5411, 509, 963, 21, 273, 4798, 18, 1467, 5621, 5411, 509, 963, 22, 273, 1308, 18, 11855, 18, 1467, 5621, 1377, 1250, 8526, 923, 21, 273, 394, 1250, 63, 1467, 21, 15533, 1377, 1250, 8526, 923, 22, 273, 394, 1250, 63, 1467, 22, 15533, 5411, 4498, 11176, 273, 4798, 18, 9838, 5621, 5411, 509, 949, 273, 963, 21, 31, 1377, 1323, 261, 413, 917, 1545, 374, 13, 3639, 288, 7734, 1659, 276, 21, 273, 261, 797, 13, 11176, 18, 4285, 5621, 7734, 4498, 11176, 22, 273, 1308, 18, 11855, 18, 9838, 5621, 7734, 509, 949, 22, 273, 963, 22, 31, 1850, 1323, 261, 413, 917, 22, 1545, 374, 13, 5411, 288, 10792, 1659, 276, 22, 273, 261, 797, 13, 11176, 22, 18, 4285, 5621, 2868, 309, 261, 71, 22, 18, 291, 7961, 1265, 12, 71, 21, 3719, 7734, 923, 21, 63, 917, 65, 273, 638, 31, 2868, 309, 261, 71, 21, 18, 291, 7961, 1265, 12, 71, 22, 3719, 7734, 923, 22, 63, 917, 22, 65, 273, 638, 31, 7734, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 866, 21633, 12, 3886, 5374, 1308, 13, 565, 288, 5411, 309, 261, 2039, 18, 588, 9102, 1435, 480, 1308, 18, 2039, 18, 588, 9102, 10756, 3639, 604, 394, 2754, 2932, 267, 10943, 327, 1953, 30, 315, 4766, 6647, 397, 707, 397, 3104, 315, 397, 1308, 18, 2039, 1769, 5411, 368, 309, 1846, 848, 15507, 434, 279, 1898, 14382, 4031, 2353, 333, 531, 12, 82, 66, 22, 13, 1623, 16, 5411, 368, 2348, 518, 5, 5411, 509, 963, 21, 273, 4798, 18, 1467, 5621, 5411, 509, 963, 22, 273, 1308, 18, 11855, 18, 1467, 5621, 1377, 1250, 8526, 923, 21, 273, 394, 1250, 63, 1467, 21, 15533, 1377, 1250, 8526, 923, 22, 273, 394, 1250, 63, 1467, 22, 2 ]
document = doc; if (document == null) { setRootNode(null, null);
if (doc == null) { document = doc; setRootNode(null, null, null);
public void setSVGDocument(final SVGDocument doc) { if (document != null) { // fire the unload event Event evt = document.createEvent("SVGEvents"); evt.initEvent("SVGUnload", false, false); ((EventTarget)(document.getRootElement())).dispatchEvent(evt); } document = doc; if (document == null) { setRootNode(null, null); } else { setCursor(WAIT_CURSOR); Thread t = new Thread() { public void run() { GraphicsNode root; BridgeContext bridgeContext = createBridgeContext(doc); bridgeContext.setViewCSS((ViewCSS)((SVGOMDocument)doc).getDefaultView()); bridgeContext.setGVTBuilder(builder); long t1 = System.currentTimeMillis(); root = builder.build(bridgeContext, document); bridgeContext.getDocumentLoader().dispose(); long t2 = System.currentTimeMillis(); System.out.println("---- GVT tree construction ---- " + (t2 - t1) + " ms"); EventQueue.invokeLater (new RootNodeChangedRunnable(root, bridgeContext)); } }; t.setPriority(Thread.MIN_PRIORITY); t.start(); } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/df784326903ecb51cad84a4ce9753cb58a8febd9/JSVGCanvas.java/buggy/sources/org/apache/batik/refimpl/util/JSVGCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13928, 9266, 2519, 12, 6385, 11281, 2519, 997, 13, 288, 3639, 309, 261, 5457, 480, 446, 13, 288, 5411, 368, 4452, 326, 27060, 871, 5411, 2587, 6324, 273, 1668, 18, 2640, 1133, 2932, 26531, 3783, 8863, 5411, 6324, 18, 2738, 1133, 2932, 26531, 984, 945, 3113, 629, 16, 629, 1769, 5411, 14015, 1133, 2326, 21433, 5457, 18, 588, 2375, 1046, 10756, 2934, 10739, 1133, 12, 73, 11734, 1769, 3639, 289, 3639, 1668, 273, 997, 31, 3639, 309, 261, 5457, 422, 446, 13, 288, 5411, 444, 29658, 12, 2011, 16, 446, 1769, 3639, 289, 469, 288, 5411, 444, 6688, 12, 19046, 67, 7509, 55, 916, 1769, 5411, 4884, 268, 273, 394, 4884, 1435, 288, 7734, 1071, 918, 1086, 1435, 288, 10792, 16830, 907, 1365, 31, 10792, 24219, 1042, 10105, 1042, 273, 752, 13691, 1042, 12, 2434, 1769, 10792, 10105, 1042, 18, 542, 1767, 10276, 12443, 1767, 10276, 13, 12443, 26531, 1872, 2519, 13, 2434, 2934, 588, 1868, 1767, 10663, 10792, 10105, 1042, 18, 542, 25269, 56, 1263, 12, 9574, 1769, 10792, 1525, 268, 21, 273, 2332, 18, 2972, 28512, 5621, 10792, 1365, 273, 2089, 18, 3510, 12, 18337, 1042, 16, 1668, 1769, 10792, 10105, 1042, 18, 588, 2519, 2886, 7675, 2251, 4150, 5621, 10792, 1525, 268, 22, 273, 2332, 18, 2972, 28512, 5621, 10792, 2332, 18, 659, 18, 8222, 2932, 553, 611, 58, 56, 2151, 16171, 27927, 315, 397, 4766, 4202, 261, 88, 22, 300, 268, 21, 13, 397, 315, 4086, 8863, 10792, 2587, 3183, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13928, 9266, 2519, 12, 6385, 11281, 2519, 997, 13, 288, 3639, 309, 261, 5457, 480, 446, 13, 288, 5411, 368, 4452, 326, 27060, 871, 5411, 2587, 6324, 273, 1668, 18, 2640, 1133, 2932, 26531, 3783, 8863, 5411, 6324, 18, 2738, 1133, 2932, 26531, 984, 945, 3113, 629, 16, 629, 1769, 5411, 14015, 1133, 2326, 21433, 5457, 18, 588, 2375, 1046, 10756, 2934, 10739, 1133, 12, 73, 11734, 1769, 3639, 289, 3639, 1668, 273, 997, 31, 3639, 309, 261, 5457, 422, 446, 13, 288, 5411, 444, 29658, 12, 2011, 16, 446, 1769, 3639, 289, 469, 288, 5411, 444, 6688, 12, 19046, 67, 7509, 55, 916, 1769, 5411, 4884, 268, 273, 394, 4884, 1435, 288, 7734, 1071, 918, 2 ]
String[] m_sqlFragments = l_origSqlFragments; Object[] m_binds = l_origBinds; String[] m_bindTypes = l_origBindTypes;
m_sqlFragments = l_origSqlFragments; m_binds = l_origBinds; m_bindTypes = l_origBindTypes;
public int[] executeBatch() throws SQLException { if (batch == null) batch = new Vector(); int size = batch.size(); int[] result = new int[size]; int i = 0; try { //copy current state of statement String[] l_origSqlFragments = m_sqlFragments; Object[] l_origBinds = m_binds; String[] l_origBindTypes = m_bindTypes; for (i = 0;i < size;i++) { //set state from batch Object[] l_statement = (Object[])batch.elementAt(i); this.m_sqlFragments = (String[])l_statement[0]; this.m_binds = (Object[])l_statement[1]; this.m_bindTypes = (String[])l_statement[2]; result[i] = this.executeUpdate(); } //restore state of statement String[] m_sqlFragments = l_origSqlFragments; Object[] m_binds = l_origBinds; String[] m_bindTypes = l_origBindTypes; } catch (SQLException e) { int[] resultSucceeded = new int[i]; System.arraycopy(result, 0, resultSucceeded, 0, i); PBatchUpdateException updex = new PBatchUpdateException("postgresql.stat.batch.error", new Integer(i), batch.elementAt(i), resultSucceeded); updex.setNextException(e); throw updex; } finally { batch.removeAllElements(); } return result; }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/1b80e0122f09051cc9f9d60687cf70eee87a97d8/AbstractJdbc2Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 8526, 1836, 4497, 1435, 1216, 6483, 202, 95, 202, 202, 430, 261, 5303, 422, 446, 13, 1082, 202, 5303, 273, 394, 5589, 5621, 202, 202, 474, 963, 273, 2581, 18, 1467, 5621, 202, 202, 474, 8526, 563, 273, 394, 509, 63, 1467, 15533, 202, 202, 474, 277, 273, 374, 31, 202, 202, 698, 202, 202, 95, 5411, 368, 3530, 783, 919, 434, 3021, 1082, 202, 780, 8526, 328, 67, 4949, 5101, 27588, 273, 312, 67, 4669, 27588, 31, 1082, 202, 921, 8526, 328, 67, 4949, 17856, 273, 312, 67, 4376, 87, 31, 1082, 202, 780, 8526, 328, 67, 4949, 3357, 2016, 273, 312, 67, 4376, 2016, 31, 1082, 202, 1884, 261, 77, 273, 374, 31, 77, 411, 963, 31, 77, 27245, 288, 7734, 368, 542, 919, 628, 2581, 7734, 1033, 8526, 328, 67, 11516, 273, 261, 921, 63, 5717, 5303, 18, 2956, 861, 12, 77, 1769, 9506, 202, 2211, 18, 81, 67, 4669, 27588, 273, 261, 780, 63, 5717, 80, 67, 11516, 63, 20, 15533, 9506, 202, 2211, 18, 81, 67, 4376, 87, 273, 261, 921, 63, 5717, 80, 67, 11516, 63, 21, 15533, 9506, 202, 2211, 18, 81, 67, 4376, 2016, 273, 261, 780, 63, 5717, 80, 67, 11516, 63, 22, 15533, 9506, 202, 2088, 63, 77, 65, 273, 333, 18, 8837, 1891, 5621, 1082, 202, 97, 5411, 368, 13991, 919, 434, 3021, 5411, 514, 8526, 312, 67, 4669, 27588, 273, 328, 67, 4949, 5101, 27588, 31, 1082, 202, 921, 8526, 312, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 8526, 1836, 4497, 1435, 1216, 6483, 202, 95, 202, 202, 430, 261, 5303, 422, 446, 13, 1082, 202, 5303, 273, 394, 5589, 5621, 202, 202, 474, 963, 273, 2581, 18, 1467, 5621, 202, 202, 474, 8526, 563, 273, 394, 509, 63, 1467, 15533, 202, 202, 474, 277, 273, 374, 31, 202, 202, 698, 202, 202, 95, 5411, 368, 3530, 783, 919, 434, 3021, 1082, 202, 780, 8526, 328, 67, 4949, 5101, 27588, 273, 312, 67, 4669, 27588, 31, 1082, 202, 921, 8526, 328, 67, 4949, 17856, 273, 312, 67, 4376, 87, 31, 1082, 202, 780, 8526, 328, 67, 4949, 3357, 2016, 273, 312, 67, 4376, 2016, 31, 1082, 202, 1884, 261, 77, 273, 374, 31, 2 ]
if (elementToUse != null)
if (elementToUse != null) {
public void run() { // get the help UI extension from the registry IExtensionPoint point = Platform.getExtensionRegistry() .getExtensionPoint(HELP_SYSTEM_EXTENSION_ID); if (point == null) { // our extension point is missing (!) - act like there was // no help UI return; } IExtension[] extensions = point.getExtensions(); if (extensions.length == 0) { // no help UI present return; } IConfigurationElement elementToUse = null; if (desiredHelpSystemId == null) { elementToUse = getFirstElement(extensions); } else { elementToUse = findElement(desiredHelpSystemId, extensions); } if (elementToUse != null) ret[0] = initializePluggableHelpUI(elementToUse); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchHelpSystem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/help/WorkbenchHelpSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 336, 326, 2809, 6484, 2710, 628, 326, 4023, 9506, 202, 45, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 1435, 25083, 202, 18, 588, 3625, 2148, 12, 27396, 67, 14318, 67, 12796, 67, 734, 1769, 9506, 202, 430, 261, 1153, 422, 446, 13, 288, 6862, 202, 759, 3134, 2710, 1634, 353, 3315, 16051, 13, 300, 1328, 3007, 1915, 1703, 6862, 202, 759, 1158, 2809, 6484, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 45, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 9506, 202, 430, 261, 9489, 18, 2469, 422, 374, 13, 288, 6862, 202, 759, 1158, 2809, 6484, 3430, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 45, 1750, 1046, 930, 18762, 273, 446, 31, 9506, 202, 430, 261, 30458, 6696, 3163, 548, 422, 446, 13, 288, 6862, 202, 2956, 18762, 273, 7521, 1046, 12, 9489, 1769, 9506, 202, 97, 469, 288, 6862, 202, 2956, 18762, 273, 1104, 1046, 12, 30458, 6696, 3163, 548, 16, 4418, 1769, 9506, 202, 97, 9506, 202, 430, 261, 2956, 18762, 480, 446, 13, 6862, 202, 1349, 63, 20, 65, 273, 4046, 1749, 30382, 6696, 5370, 12, 2956, 18762, 1769, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 336, 326, 2809, 6484, 2710, 628, 326, 4023, 9506, 202, 45, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 1435, 25083, 202, 18, 588, 3625, 2148, 12, 27396, 67, 14318, 67, 12796, 67, 734, 1769, 9506, 202, 430, 261, 1153, 422, 446, 13, 288, 6862, 202, 759, 3134, 2710, 1634, 353, 3315, 16051, 13, 300, 1328, 3007, 1915, 1703, 6862, 202, 759, 1158, 2809, 6484, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 45, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 9506, 202, 430, 261, 9489, 18, 2469, 422, 374, 13, 288, 6862, 202, 759, 1158, 2809, 6484, 3430, 6862, 202, 2463, 31, 9506, 202, 2 ]
if (logger.isDebugEnabled()) { logger.debug("Exploring message received with #" + uuid); }
logger.debug("Exploring message received with #" + uuid);
public void exploring(int ttl, UniversalUniqueID uuid, P2PService remoteService) { if (uuid != null) { if (logger.isDebugEnabled()) { logger.debug("Exploring message received with #" + uuid); } ttl--; } boolean broadcast; try { broadcast = broadcaster(ttl, uuid, remoteService); } catch (P2POldMessageException e) { return; } if (broadcast) { // Forwarding the message if (uuid == null) { if (logger.isDebugEnabled()) { logger.debug("Generating uuid for exploring message"); } uuid = generateUuid(); } this.acquaintances.exploring(ttl, uuid, remoteService); if (logger.isDebugEnabled()) { logger.debug("Broadcast exploring message with #" + uuid); } } // Method code --------------------------------------------------------- // This should be register if (this.shouldBeAcquaintance(remoteService)) { this.register(remoteService); remoteService.register((P2PService) ProActive.getStubOnThis()); } }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/1279458d52679339839158611daec34b4baf800a/P2PService.java/buggy/src/org/objectweb/proactive/p2p/service/P2PService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22991, 6053, 12, 474, 6337, 16, 27705, 31118, 3822, 16, 3639, 453, 22, 52, 1179, 2632, 1179, 13, 288, 3639, 309, 261, 7080, 480, 446, 13, 288, 5411, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 7734, 1194, 18, 4148, 2932, 424, 412, 6053, 883, 5079, 598, 31526, 397, 3822, 1769, 5411, 289, 5411, 6337, 413, 31, 3639, 289, 3639, 1250, 8959, 31, 3639, 775, 288, 5411, 8959, 273, 324, 26674, 12, 12546, 16, 3822, 16, 2632, 1179, 1769, 3639, 289, 1044, 261, 52, 22, 2419, 1236, 31270, 425, 13, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 19805, 13, 288, 5411, 368, 17206, 310, 326, 883, 5411, 309, 261, 7080, 422, 446, 13, 288, 7734, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 10792, 1194, 18, 4148, 2932, 21755, 3822, 364, 22991, 6053, 883, 8863, 7734, 289, 7734, 3822, 273, 2103, 5897, 5621, 5411, 289, 5411, 333, 18, 1077, 372, 1598, 6872, 18, 338, 412, 6053, 12, 12546, 16, 3822, 16, 2632, 1179, 1769, 5411, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 7734, 1194, 18, 4148, 2932, 15926, 22991, 6053, 883, 598, 31526, 397, 3822, 1769, 5411, 289, 3639, 289, 3639, 368, 2985, 981, 13420, 788, 3639, 368, 1220, 1410, 506, 1744, 3639, 309, 261, 2211, 18, 13139, 1919, 9988, 372, 1598, 1359, 12, 7222, 1179, 3719, 288, 5411, 333, 18, 4861, 12, 7222, 1179, 1769, 5411, 2632, 1179, 18, 4861, 12443, 52, 22, 52, 1179, 13, 1186, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22991, 6053, 12, 474, 6337, 16, 27705, 31118, 3822, 16, 3639, 453, 22, 52, 1179, 2632, 1179, 13, 288, 3639, 309, 261, 7080, 480, 446, 13, 288, 5411, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 7734, 1194, 18, 4148, 2932, 424, 412, 6053, 883, 5079, 598, 31526, 397, 3822, 1769, 5411, 289, 5411, 6337, 413, 31, 3639, 289, 3639, 1250, 8959, 31, 3639, 775, 288, 5411, 8959, 273, 324, 26674, 12, 12546, 16, 3822, 16, 2632, 1179, 1769, 3639, 289, 1044, 261, 52, 22, 2419, 1236, 31270, 425, 13, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 19805, 13, 288, 5411, 368, 17206, 310, 326, 883, 5411, 309, 261, 7080, 422, 446, 13, 2 ]
if (params != null) { boolean first = true; for (int i=0; i < params.size(); i++) { MParameter p = (MParameter) params.elementAt(i); if (!first) s += ", "; s += generateParameter(p); first = false; }
if (params != null) { boolean first = true; for (int i=0; i < params.size(); i++) { MParameter p = (MParameter) params.elementAt (i); if (!first) s += ", "; s += generateParameter (p); first = false; }
public String generateOperation(MOperation op, boolean documented) { String s = ""; String nameStr = generateName(op.getName()); String clsName = generateName(op.getOwner().getName()); /* * Replaced 2001-09-26 STEFFEN ZSCHALER * * Was * s += DocumentationManager.getDocs(op) + "\n" + INDENT; */ if (documented) s += generateConstraintEnrichedDocComment (op) + "\n" + INDENT; s += generateVisibility(op); s += generateScope(op); // pick out return type MParameter rp = MMUtil.SINGLETON.getReturnParameter(op); if ( rp != null) { MClassifier returnType = rp.getType(); if (returnType == null && !nameStr.equals(clsName)) s += "void "; else if (returnType != null) s += generateClassifierRef(returnType) + " "; } else {// removed since it was throwing exceptions and didn't seem to do// much, Curt Arnold 15 Jan 2001//// if (nameStr.equals(clsName)) s += " "; // this is a constructor! } // name and params Vector params = new Vector(op.getParameters()); params.remove(rp); s += nameStr + "("; if (params != null) { boolean first = true; for (int i=0; i < params.size(); i++) { MParameter p = (MParameter) params.elementAt(i); if (!first) s += ", "; s += generateParameter(p); first = false; } } s += ")"; return s; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ebbe913c702586f73c81ff016e794421e6055904/GeneratorJava.java/clean/src_new/org/argouml/language/java/generator/GeneratorJava.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 2988, 12, 49, 2988, 1061, 16, 1250, 23051, 13, 288, 565, 514, 272, 273, 1408, 31, 565, 514, 508, 1585, 273, 2103, 461, 12, 556, 18, 17994, 10663, 565, 514, 2028, 461, 273, 2103, 461, 12, 556, 18, 588, 5541, 7675, 17994, 10663, 565, 1748, 377, 380, 6910, 72, 4044, 21, 17, 5908, 17, 5558, 22839, 2246, 1157, 2285, 55, 1792, 1013, 654, 377, 380, 377, 380, 28938, 377, 380, 565, 272, 1011, 20495, 1318, 18, 588, 12656, 12, 556, 13, 397, 1548, 82, 6, 397, 30009, 31, 377, 1195, 565, 309, 261, 5457, 329, 13, 3639, 272, 1011, 2103, 5806, 664, 12761, 329, 1759, 4469, 261, 556, 13, 397, 1548, 82, 6, 397, 30009, 31, 565, 272, 1011, 2103, 10135, 12, 556, 1769, 565, 272, 1011, 2103, 3876, 12, 556, 1769, 565, 368, 6002, 596, 327, 618, 565, 490, 1662, 8715, 273, 18295, 1304, 18, 20184, 56, 673, 18, 588, 990, 1662, 12, 556, 1769, 202, 430, 261, 8715, 480, 446, 13, 288, 202, 202, 49, 13860, 9424, 273, 8715, 18, 588, 559, 5621, 202, 202, 430, 261, 2463, 559, 422, 446, 597, 401, 529, 1585, 18, 14963, 12, 6429, 461, 3719, 272, 1011, 315, 6459, 13636, 202, 202, 12107, 309, 261, 2463, 559, 480, 446, 13, 272, 1011, 2103, 13860, 1957, 12, 2463, 559, 13, 397, 315, 13636, 202, 97, 469, 288, 759, 1850, 3723, 3241, 518, 1703, 19440, 4798, 471, 10242, 1404, 19264, 358, 741, 759, 1171, 9816, 16, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 2988, 12, 49, 2988, 1061, 16, 1250, 23051, 13, 288, 565, 514, 272, 273, 1408, 31, 565, 514, 508, 1585, 273, 2103, 461, 12, 556, 18, 17994, 10663, 565, 514, 2028, 461, 273, 2103, 461, 12, 556, 18, 588, 5541, 7675, 17994, 10663, 565, 1748, 377, 380, 6910, 72, 4044, 21, 17, 5908, 17, 5558, 22839, 2246, 1157, 2285, 55, 1792, 1013, 654, 377, 380, 377, 380, 28938, 377, 380, 565, 272, 1011, 20495, 1318, 18, 588, 12656, 12, 556, 13, 397, 1548, 82, 6, 397, 30009, 31, 377, 1195, 565, 309, 261, 5457, 329, 13, 3639, 272, 1011, 2103, 5806, 664, 12761, 329, 1759, 4469, 261, 556, 13, 397, 1548, 82, 6, 397, 30009, 2 ]
{ if (member == null) { pw.print("Member(null)"); return; } pw.print("Member(" + member.getUniqueName() + ")"); }
{ if (member == null) { pw.print("Member(null)"); return; } pw.print("Member(" + member.getUniqueName() + ")"); }
private void print(RolapMember member) { if (member == null) { pw.print("Member(null)"); return; } pw.print("Member(" + member.getUniqueName() + ")"); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/Test.java/clean/src/main/mondrian/rolap/Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1172, 12, 4984, 438, 4419, 3140, 13, 202, 95, 202, 202, 430, 261, 5990, 422, 446, 13, 288, 1082, 202, 14921, 18, 1188, 2932, 4419, 12, 2011, 2225, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 14921, 18, 1188, 2932, 4419, 2932, 397, 3140, 18, 588, 6303, 461, 1435, 397, 7310, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1172, 12, 4984, 438, 4419, 3140, 13, 202, 95, 202, 202, 430, 261, 5990, 422, 446, 13, 288, 1082, 202, 14921, 18, 1188, 2932, 4419, 12, 2011, 2225, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 14921, 18, 1188, 2932, 4419, 2932, 397, 3140, 18, 588, 6303, 461, 1435, 397, 7310, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertTrue(parserName+"::Expecting another result",result.hasNext());
Object next = expected.next(); assertTrue(parserName+"::Expecting another result "+next ,result.hasNext());
private static void filetest(HTMLParser p, String file, String url, String resultFile, Collection c, boolean orderMatters) //Does the order matter? throws Exception { String parserName=p.getClass().getName() .substring("org.apache.jmeter.protocol.http.parser".length()); log.debug("file "+file); File f= findTestFile(file); byte[] buffer= new byte[(int)f.length()]; int len= new FileInputStream(f).read(buffer); assertEquals(len, buffer.length); Iterator result; if (c == null) { result = p.getEmbeddedResourceURLs(buffer,new URL(url)); } else { result = p.getEmbeddedResourceURLs(buffer,new URL(url),c); } /* * TODO: * Exact ordering is only required for some tests; * change the comparison to do a set compare where * necessary. */ Iterator expected; if (orderMatters) { expected= getFile(resultFile).iterator(); } else { // Convert both to Sets expected = new TreeSet(getFile(resultFile)).iterator(); TreeSet temp = new TreeSet(new Comparator(){ public int compare(Object o1, Object o2) { return (o1.toString().compareTo(o2.toString())); }}); while (result.hasNext()){ temp.add(result.next()); } result=temp.iterator(); } while (expected.hasNext()) { assertTrue(parserName+"::Expecting another result",result.hasNext()); try { assertEquals(parserName+"("+file+")",expected.next(),((URL) result.next()).toString()); } catch (ClassCastException e) { fail(parserName+"::Expected URL, but got "+e.toString()); } } assertFalse(parserName+"::Should have reached the end of the results",result.hasNext()); }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/0c7521315de756e8eb3775fd5f0d938359246d00/HTMLParser.java/clean/src/protocol/http/org/apache/jmeter/protocol/http/parser/HTMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 760, 918, 661, 278, 395, 12, 4870, 2678, 293, 16, 1082, 1171, 9079, 514, 585, 16, 1082, 1171, 9079, 514, 880, 16, 1082, 1171, 9079, 514, 563, 812, 16, 1082, 1171, 9079, 2200, 276, 16, 1082, 1171, 9079, 1250, 1353, 15947, 5432, 13, 368, 10154, 326, 1353, 15177, 35, 202, 202, 15069, 1185, 202, 202, 95, 1082, 202, 780, 2082, 461, 33, 84, 18, 588, 797, 7675, 17994, 1435, 9506, 202, 18, 28023, 2932, 3341, 18, 19211, 18, 78, 81, 847, 18, 8373, 18, 2505, 18, 4288, 9654, 2469, 10663, 1082, 202, 1330, 18, 4148, 2932, 768, 282, 13773, 768, 1769, 1082, 202, 812, 284, 33, 1104, 4709, 812, 12, 768, 1769, 1082, 202, 7229, 8526, 1613, 33, 394, 1160, 63, 12, 474, 13, 74, 18, 2469, 1435, 15533, 1082, 202, 474, 562, 33, 394, 11907, 12, 74, 2934, 896, 12, 4106, 1769, 1082, 202, 11231, 8867, 12, 1897, 16, 1613, 18, 2469, 1769, 1082, 202, 3198, 563, 31, 1082, 202, 430, 261, 71, 422, 446, 13, 288, 9506, 202, 2088, 273, 293, 18, 588, 14980, 1420, 15749, 12, 4106, 16, 2704, 1976, 12, 718, 10019, 1082, 202, 97, 469, 288, 9506, 565, 563, 273, 293, 18, 588, 14980, 1420, 15749, 12, 4106, 16, 2704, 1976, 12, 718, 3631, 71, 1769, 1082, 202, 97, 1082, 202, 20308, 4697, 380, 2660, 30, 9506, 380, 30794, 9543, 353, 1338, 1931, 364, 2690, 7434, 31, 9506, 380, 2549, 326, 5826, 358, 741, 279, 444, 3400, 1625, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 760, 918, 661, 278, 395, 12, 4870, 2678, 293, 16, 1082, 1171, 9079, 514, 585, 16, 1082, 1171, 9079, 514, 880, 16, 1082, 1171, 9079, 514, 563, 812, 16, 1082, 1171, 9079, 2200, 276, 16, 1082, 1171, 9079, 1250, 1353, 15947, 5432, 13, 368, 10154, 326, 1353, 15177, 35, 202, 202, 15069, 1185, 202, 202, 95, 1082, 202, 780, 2082, 461, 33, 84, 18, 588, 797, 7675, 17994, 1435, 9506, 202, 18, 28023, 2932, 3341, 18, 19211, 18, 78, 81, 847, 18, 8373, 18, 2505, 18, 4288, 9654, 2469, 10663, 1082, 202, 1330, 18, 4148, 2932, 768, 282, 13773, 768, 1769, 1082, 202, 812, 284, 33, 1104, 4709, 812, 12, 768, 1769, 1082, 202, 7229, 8526, 2 ]
jjCheckNAddStates(95, 98);
jjCheckNAddStates(137, 140);
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 36; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x3ff000000000000L & l) != 0L) { if (kind > 52) kind = 52; jjCheckNAdd(23); } else if ((0x100002600L & l) != 0L) { if (kind > 26) kind = 26; jjCheckNAdd(4); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); } else if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; else if (curChar == 45) jjCheckNAdd(23); else if (curChar == 39) jjCheckNAddStates(89, 91); else if (curChar == 34) jjCheckNAddStates(92, 94); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 2; break; case 0: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 1; break; case 1: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 2: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 0; break; case 4: if ((0x100002600L & l) == 0L) break; if (kind > 26) kind = 26; jjCheckNAdd(4); break; case 5: if (curChar == 34) jjCheckNAddStates(92, 94); break; case 6: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(92, 94); break; case 7: if (curChar == 34 && kind > 27) kind = 27; break; case 9: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 10: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(95, 98); break; case 11: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 12: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 13; break; case 13: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(11); break; case 14: if (curChar == 32) jjAddStates(75, 76); break; case 15: if (curChar == 10) jjCheckNAddStates(92, 94); break; case 16: if (curChar == 39) jjCheckNAddStates(89, 91); break; case 17: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(89, 91); break; case 19: if (curChar == 32) jjAddStates(13, 14); break; case 20: if (curChar == 10) jjCheckNAddStates(89, 91); break; case 21: if (curChar == 39 && kind > 27) kind = 27; break; case 22: if (curChar == 45) jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(23); break; case 25: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 60) kind = 60; jjstateSet[jjnewStateCnt++] = 25; break; case 26: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; break; case 30: if (curChar == 36 && kind > 13) kind = 13; break; case 32: if (curChar == 36) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 33 && kind > 14) kind = 14; break; case 35: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 60) kind = 60; jjCheckNAdd(25); } else if (curChar == 92) jjCheckNAddStates(99, 102); break; case 1: if (kind > 16) kind = 16; break; case 6: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(92, 94); break; case 8: if (curChar == 92) jjAddStates(103, 107); break; case 9: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 17: jjAddStates(89, 91); break; case 18: if (curChar == 92) jjAddStates(13, 14); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 60) kind = 60; jjCheckNAdd(25); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L && kind > 61) kind = 61; break; case 28: if (curChar == 92) jjCheckNAddStates(99, 102); break; case 29: if (curChar == 92) jjCheckNAddTwoStates(29, 30); break; case 31: if (curChar == 92) jjCheckNAddTwoStates(31, 32); break; case 33: if (curChar == 92) jjAddStates(108, 109); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(92, 94); break; case 17: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(89, 91); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/5b85dc5e122a5bdf3ea90d4f89cebe71413fc26b/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6580, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 890, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 18106, 13, 13491, 3846, 273, 18106, 31, 5397, 10684, 1564, 50, 986, 12, 4366, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5558, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 10659, 13, 13491, 3846, 273, 10659, 31, 5397, 10684, 1564, 50, 986, 12, 24, 1769, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 6580, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5958, 13, 13491, 3846, 273, 5958, 31, 5397, 10684, 1564, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6580, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
return null;
return super.createElementInfo(element);
protected ElementInfo createElementInfo(Object element) throws CoreException { if (element instanceof ExternalEditorInput) { ExternalEditorInput externalInput = (ExternalEditorInput) element; IDocument d = createDocument(externalInput); IAnnotationModel m= createExternalSearchAnnotationModel(externalInput); FileInfo info= new FileInfo(d, m, null); return info; } return null; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7b13873955e67a89cfebb43624fd59c86f0b7d10/ExternalSearchDocumentProvider.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/ExternalSearchDocumentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3010, 966, 6310, 966, 12, 921, 930, 13, 1216, 30015, 288, 9506, 202, 430, 261, 2956, 1276, 11352, 6946, 1210, 13, 288, 6862, 202, 6841, 6946, 1210, 3903, 1210, 273, 261, 6841, 6946, 1210, 13, 930, 31, 25083, 202, 734, 504, 650, 302, 273, 27569, 12, 9375, 1210, 1769, 1082, 202, 45, 3257, 1488, 312, 33, 752, 6841, 2979, 3257, 1488, 12, 9375, 1210, 1769, 1082, 202, 11995, 1123, 33, 394, 14236, 12, 72, 16, 312, 16, 446, 1769, 1082, 202, 2463, 1123, 31, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3010, 966, 6310, 966, 12, 921, 930, 13, 1216, 30015, 288, 9506, 202, 430, 261, 2956, 1276, 11352, 6946, 1210, 13, 288, 6862, 202, 6841, 6946, 1210, 3903, 1210, 273, 261, 6841, 6946, 1210, 13, 930, 31, 25083, 202, 734, 504, 650, 302, 273, 27569, 12, 9375, 1210, 1769, 1082, 202, 45, 3257, 1488, 312, 33, 752, 6841, 2979, 3257, 1488, 12, 9375, 1210, 1769, 1082, 202, 11995, 1123, 33, 394, 14236, 12, 72, 16, 312, 16, 446, 1769, 1082, 202, 2463, 1123, 31, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ScriptableObject so = ScriptRuntime.getLibraryScope(scope);
ScriptableObject so = ScriptRuntime.getLibraryScopeOrNull(scope); if (so == null) { throw new IllegalStateException(); }
protected final XMLLib bindToScope(Scriptable scope) { ScriptableObject so = ScriptRuntime.getLibraryScope(scope); return (XMLLib)so.associateValue(XML_LIB_KEY, this); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/b76364b852fd03ff6c98568bd22a261df2fa371d/XMLLib.java/buggy/src/org/mozilla/javascript/xml/XMLLib.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 3167, 5664, 1993, 774, 3876, 12, 3651, 429, 2146, 13, 565, 288, 3639, 22780, 921, 1427, 273, 7739, 5576, 18, 588, 9313, 3876, 18936, 12, 4887, 1769, 309, 261, 2048, 422, 446, 13, 288, 225, 604, 394, 5477, 5621, 289, 3639, 327, 261, 4201, 5664, 13, 2048, 18, 11577, 620, 12, 4201, 67, 14484, 67, 3297, 16, 333, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 3167, 5664, 1993, 774, 3876, 12, 3651, 429, 2146, 13, 565, 288, 3639, 22780, 921, 1427, 273, 7739, 5576, 18, 588, 9313, 3876, 18936, 12, 4887, 1769, 309, 261, 2048, 422, 446, 13, 288, 225, 604, 394, 5477, 5621, 289, 3639, 327, 261, 4201, 5664, 13, 2048, 18, 11577, 620, 12, 4201, 67, 14484, 67, 3297, 16, 333, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
drawPixelsScaled(g, 0, 0, 0, x, y, width, height, false);
drawPixelsScaledFlipped (g, 0, 0, 0, flipX, flipY, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight, false);
public boolean drawImage (GdkGraphics g, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) { if (addObserver(observer)) return false; if(bgcolor != null) drawPixelsScaled(g, bgcolor.getRed (), bgcolor.getGreen (), bgcolor.getBlue (), x, y, width, height, true); else drawPixelsScaled(g, 0, 0, 0, x, y, width, height, false); return true; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/3878be593002f301580025b16c264e41f364beae/GtkImage.java/buggy/libraries/javalib/external/classpath/gnu/java/awt/peer/gtk/GtkImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 25783, 261, 43, 2883, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 16, 9506, 565, 5563, 31509, 16, 3421, 11048, 9655, 13, 225, 288, 565, 309, 261, 1289, 11048, 12, 30971, 3719, 1377, 327, 629, 31, 565, 309, 12, 12370, 3266, 480, 446, 13, 1377, 3724, 18079, 55, 12825, 12, 75, 16, 31509, 18, 588, 3715, 1832, 16, 31509, 18, 588, 21453, 1832, 16, 1875, 4202, 31509, 18, 588, 27986, 1832, 16, 619, 16, 677, 16, 1835, 16, 2072, 16, 638, 1769, 565, 469, 1377, 3724, 18079, 55, 12825, 28535, 1845, 261, 75, 16, 374, 16, 374, 16, 374, 16, 9668, 60, 16, 9668, 61, 16, 1705, 60, 16, 1705, 61, 16, 1705, 2384, 16, 1705, 2686, 16, 3046, 60, 16, 225, 3046, 61, 16, 3046, 2384, 16, 3046, 2686, 16, 629, 1769, 282, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 25783, 261, 43, 2883, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 16, 9506, 565, 5563, 31509, 16, 3421, 11048, 9655, 13, 225, 288, 565, 309, 261, 1289, 11048, 12, 30971, 3719, 1377, 327, 629, 31, 565, 309, 12, 12370, 3266, 480, 446, 13, 1377, 3724, 18079, 55, 12825, 12, 75, 16, 31509, 18, 588, 3715, 1832, 16, 31509, 18, 588, 21453, 1832, 16, 1875, 4202, 31509, 18, 588, 27986, 1832, 16, 619, 16, 677, 16, 1835, 16, 2072, 16, 638, 1769, 565, 469, 1377, 3724, 18079, 55, 12825, 28535, 1845, 261, 75, 16, 374, 16, 374, 16, 374, 16, 9668, 60, 16, 9668, 61, 16, 1705, 60, 16, 1705, 2 ]
catch(Throwable exc) {
catch (Throwable exc) {
private static IMarker[] getValidationTasks(IResource resource, int severity, int depth) { IMarker[] tempMarkers = null; int validCount = 0; try { IMarker[] allMarkers = null; try { allMarkers = resource.findMarkers(VALIDATION_MARKER, false, depth); // false means only consider PROBLEM_MARKER, not variants of PROBLEM_MARKER. Since addTask only adds PROBLEM_MARKER, we don't need to consider its subtypes. } catch (CoreException exc) {// Logger logger = ValidationPlugin.getPlugin().getMsgLogger();// if (logger.isLoggingLevel(Level.SEVERE)) {// LogEntry entry = ValidationPlugin.getLogEntry();// entry.setSourceID("TaskListUtility.getValidationTasks(IResource, int)"); //$NON-NLS-1$// entry.setTargetException(exc);// logger.write(Level.SEVERE, entry);// } return NO_MARKERS; } // Now filter in the markers, based on severity type. if (allMarkers.length != 0) { tempMarkers = new IMarker[allMarkers.length]; for (int i = 0; i < allMarkers.length; i++) { IMarker marker = allMarkers[i]; Integer filterSeverity = (Integer) marker.getAttribute(VALIDATION_MARKER_SEVERITY); if(filterSeverity == null) { // odd...marker wasn't created correctly. How could this happen? // Default to the current severity and add it to the list. try { marker.setAttribute(IMarker.SEVERITY, getSeverity(severity)); } catch (CoreException exc) {// Logger logger = ValidationPlugin.getPlugin().getMsgLogger();// if (logger.isLoggingLevel(Level.SEVERE)) {// LogEntry entry = ValidationPlugin.getLogEntry();// entry.setSourceID("TaskListUtility.getValidationTasks(int, IResource, int)"); //$NON-NLS-1$// entry.setTargetException(exc);// logger.write(Level.SEVERE, entry);// } continue; } catch(Throwable exc) {// Logger logger = ValidationPlugin.getPlugin().getMsgLogger();// if (logger.isLoggingLevel(Level.SEVERE)) {// LogEntry entry = ValidationPlugin.getLogEntry();// entry.setSourceID("TaskListUtility.getValidationTasks(int, IResource, int)"); //$NON-NLS-1$// entry.setTargetException(exc);// logger.write(Level.SEVERE, entry);// } continue; } } else if((severity & filterSeverity.intValue()) == 0) { continue; } tempMarkers[validCount++] = marker; } } } catch (CoreException exc) {// Logger logger = ValidationPlugin.getPlugin().getMsgLogger();// if (logger.isLoggingLevel(Level.SEVERE)) {// LogEntry entry = ValidationPlugin.getLogEntry();// entry.setSourceID("TaskListUtility.getValidationTasks(int, IResource, int)"); //$NON-NLS-1$// entry.setTargetException(exc);// logger.write(Level.SEVERE, entry);// } } if (validCount == 0) { return NO_MARKERS; } IMarker[] validMarkers = new IMarker[validCount]; System.arraycopy(tempMarkers, 0, validMarkers, 0, validCount); return validMarkers; }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/49d24fb1a8b74ded10aecae595977ad3dc42075c/TaskListUtility.java/clean/bundles/org.eclipse.wst.html.ui/src-html-validation/org/eclipse/wst/html/validation/TaskListUtility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 7078, 8526, 23315, 6685, 12, 45, 1420, 1058, 16, 509, 11426, 16, 509, 3598, 13, 288, 202, 202, 3445, 1313, 264, 8526, 1906, 21644, 273, 446, 31, 202, 202, 474, 923, 1380, 273, 374, 31, 202, 202, 698, 288, 1082, 202, 3445, 1313, 264, 8526, 777, 21644, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 454, 21644, 273, 1058, 18, 4720, 21644, 12, 5063, 2689, 67, 25989, 16, 629, 16, 3598, 1769, 368, 629, 4696, 1338, 5260, 4629, 38, 26817, 67, 25989, 16, 486, 12935, 434, 4629, 38, 26817, 67, 25989, 18, 7897, 527, 2174, 1338, 4831, 4629, 38, 26817, 67, 25989, 16, 732, 2727, 1404, 1608, 358, 5260, 2097, 720, 2352, 18, 1082, 202, 97, 1082, 202, 14683, 261, 25341, 3533, 13, 288, 759, 9506, 202, 3328, 1194, 273, 5684, 3773, 18, 588, 3773, 7675, 588, 3332, 3328, 5621, 759, 9506, 202, 430, 261, 4901, 18, 291, 7735, 2355, 12, 2355, 18, 1090, 2204, 41, 3719, 288, 759, 6862, 202, 25548, 1241, 273, 5684, 3773, 18, 588, 25548, 5621, 759, 6862, 202, 4099, 18, 542, 1830, 734, 2932, 2174, 682, 6497, 18, 588, 4354, 6685, 12, 45, 1420, 16, 509, 2225, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 759, 6862, 202, 4099, 18, 542, 14950, 12, 10075, 1769, 759, 6862, 202, 4901, 18, 2626, 12, 2355, 18, 1090, 2204, 41, 16, 1241, 1769, 759, 9506, 202, 97, 9506, 202, 2463, 3741, 67, 12693, 11367, 31, 1082, 202, 97, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 7078, 8526, 23315, 6685, 12, 45, 1420, 1058, 16, 509, 11426, 16, 509, 3598, 13, 288, 202, 202, 3445, 1313, 264, 8526, 1906, 21644, 273, 446, 31, 202, 202, 474, 923, 1380, 273, 374, 31, 202, 202, 698, 288, 1082, 202, 3445, 1313, 264, 8526, 777, 21644, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 454, 21644, 273, 1058, 18, 4720, 21644, 12, 5063, 2689, 67, 25989, 16, 629, 16, 3598, 1769, 368, 629, 4696, 1338, 5260, 4629, 38, 26817, 67, 25989, 16, 486, 12935, 434, 4629, 38, 26817, 67, 25989, 18, 7897, 527, 2174, 1338, 4831, 4629, 38, 26817, 67, 25989, 16, 732, 2727, 1404, 1608, 358, 5260, 2097, 720, 2352, 18, 2 ]
m_installer.updatePlPgsql(); m_installer.addStoredProcedures();
public void testTriggerSetSnmpInterfaceIdInIpInterfaceLessThanOneIfIndexWithSnmpInterface() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); m_installer.createTables(); m_installer.updatePlPgsql(); m_installer.addStoredProcedures(); executeSQL("INSERT INTO node (nodeId, nodeCreateTime) VALUES ( 1, now() )"); executeSQL("INSERT INTO snmpInterface (nodeId, ipAddr, snmpIfIndex) VALUES ( 1, '1.2.3.4', 0)"); executeSQL("INSERT INTO ipInterface (nodeId, ipAddr, ifIndex) VALUES ( 1, '1.2.3.4', 0 )"); Statement st = m_installer.m_dbconnection.createStatement(); ResultSet rs = st.executeQuery("SELECT id, snmpInterfaceID from ipInterface"); assertTrue("could not advance to read first row in ResultSet", rs.next()); assertEquals("ipInterface id", 2, rs.getInt(1)); int id = rs.getInt(2); assertTrue("ipInterface snmpInterfaceId should be null (was " + id + ")", rs.wasNull()); assertFalse("ResultSet contains more than one row", rs.next()); }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/9c0a59382d378a750edf84524762ab71e335b4b3/InstallerDBTest.java/clean/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6518, 694, 10461, 1291, 1358, 548, 382, 5273, 1358, 30899, 3335, 2047, 1016, 1190, 10461, 1291, 1358, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 3639, 312, 67, 20163, 18, 2725, 1749, 52, 30175, 5621, 7734, 312, 67, 20163, 18, 1289, 18005, 626, 23382, 5621, 7734, 1836, 3997, 2932, 11356, 12421, 756, 261, 2159, 548, 16, 756, 1684, 950, 13, 13477, 261, 404, 16, 2037, 1435, 262, 8863, 3639, 1836, 3997, 2932, 11356, 12421, 15366, 1358, 261, 2159, 548, 16, 2359, 3178, 16, 15366, 2047, 1016, 13, 13477, 261, 404, 16, 296, 21, 18, 22, 18, 23, 18, 24, 2187, 374, 2225, 1769, 3639, 1836, 3997, 2932, 11356, 12421, 2359, 1358, 261, 2159, 548, 16, 2359, 3178, 16, 309, 1016, 13, 13477, 261, 404, 16, 296, 21, 18, 22, 18, 23, 18, 24, 2187, 374, 262, 8863, 3639, 8056, 384, 273, 312, 67, 20163, 18, 81, 67, 1966, 4071, 18, 2640, 3406, 5621, 3639, 10842, 3597, 273, 384, 18, 8837, 1138, 2932, 4803, 612, 16, 15366, 1358, 734, 628, 2359, 1358, 8863, 3639, 1815, 5510, 2932, 15195, 486, 8312, 358, 855, 1122, 1027, 316, 10842, 3113, 3597, 18, 4285, 10663, 3639, 1815, 8867, 2932, 625, 1358, 612, 3113, 576, 16, 3597, 18, 588, 1702, 12, 21, 10019, 7734, 509, 612, 273, 3597, 18, 588, 1702, 12, 22, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6518, 694, 10461, 1291, 1358, 548, 382, 5273, 1358, 30899, 3335, 2047, 1016, 1190, 10461, 1291, 1358, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 3639, 312, 67, 20163, 18, 2725, 1749, 52, 30175, 5621, 7734, 312, 67, 20163, 18, 1289, 18005, 626, 23382, 5621, 7734, 1836, 3997, 2932, 11356, 12421, 756, 261, 2159, 548, 16, 756, 1684, 950, 13, 13477, 261, 404, 16, 2037, 1435, 262, 8863, 3639, 1836, 3997, 2932, 11356, 12421, 15366, 1358, 261, 2159, 548, 16, 2359, 3178, 16, 15366, 2047, 1016, 13, 13477, 261, 2 ]
registerLocation(fromExtpoint("http: registerLocation(constructDefaultFromModel()); IPath workspaceCopy = new Path("/org.eclipse.gmf.runtime.notation/model/notation.genmodel"); if (ResourcesPlugin.getWorkspace().getRoot().getFile(workspaceCopy).exists()) { registerLocation(URI.createPlatformResourceURI(workspaceCopy.toPortableString())); } registerLocation(URI.createURI("platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel"));
public RuntimeGenModelAccess() { super(NotationPackage.eINSTANCE); registerLocation(fromExtpoint()); // hack registerLocation(fromExtpoint("http://www.eclipse.org/gmf/1.5.0/Notation")); // as in plugin.xml at the moment %-) // uglier registerLocation(constructDefaultFromModel()); // the ugliest IPath workspaceCopy = new Path("/org.eclipse.gmf.runtime.notation/model/notation.genmodel"); if (ResourcesPlugin.getWorkspace().getRoot().getFile(workspaceCopy).exists()) { registerLocation(URI.createPlatformResourceURI(workspaceCopy.toPortableString())); } registerLocation(URI.createURI("platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel")); }
7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/333f834cc0b255a31d0b5a9e8c19ed477fb97796/RuntimeGenModelAccess.java/buggy/plugins/org.eclipse.gmf.bridge/src/org/eclipse/gmf/bridge/genmodel/RuntimeGenModelAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2509, 7642, 1488, 1862, 1435, 288, 202, 202, 9565, 12, 14818, 2261, 18, 73, 13341, 1769, 202, 202, 4861, 2735, 12, 2080, 2482, 1153, 10663, 202, 202, 759, 11769, 202, 202, 4861, 2735, 12, 2080, 2482, 1153, 2932, 2505, 2207, 5591, 18, 20416, 18, 3341, 19, 75, 16126, 19, 21, 18, 25, 18, 20, 19, 14818, 7923, 1769, 368, 487, 316, 1909, 18, 2902, 622, 326, 10382, 738, 17, 13, 202, 202, 759, 19645, 9800, 3196, 202, 4861, 2735, 12, 10062, 1868, 1265, 1488, 10663, 202, 202, 759, 326, 19645, 17452, 202, 202, 45, 743, 6003, 2951, 273, 394, 2666, 2932, 19, 3341, 18, 20416, 18, 75, 16126, 18, 9448, 18, 1819, 19, 2284, 19, 1819, 18, 4507, 2284, 8863, 202, 202, 430, 261, 3805, 3773, 18, 588, 8241, 7675, 588, 2375, 7675, 29925, 12, 14915, 2951, 2934, 1808, 10756, 288, 1082, 202, 4861, 2735, 12, 3098, 18, 2640, 8201, 1420, 3098, 12, 14915, 2951, 18, 869, 2617, 429, 780, 1435, 10019, 202, 202, 97, 202, 202, 4861, 2735, 12, 3098, 18, 2640, 3098, 2932, 9898, 27824, 4094, 19, 3341, 18, 20416, 18, 75, 16126, 18, 9448, 18, 1819, 19, 2284, 19, 1819, 18, 4507, 2284, 7923, 1769, 282, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2509, 7642, 1488, 1862, 1435, 288, 202, 202, 9565, 12, 14818, 2261, 18, 73, 13341, 1769, 202, 202, 4861, 2735, 12, 2080, 2482, 1153, 10663, 202, 202, 759, 11769, 202, 202, 4861, 2735, 12, 2080, 2482, 1153, 2932, 2505, 2207, 5591, 18, 20416, 18, 3341, 19, 75, 16126, 19, 21, 18, 25, 18, 20, 19, 14818, 7923, 1769, 368, 487, 316, 1909, 18, 2902, 622, 326, 10382, 738, 17, 13, 202, 202, 759, 19645, 9800, 3196, 202, 4861, 2735, 12, 10062, 1868, 1265, 1488, 10663, 202, 202, 759, 326, 19645, 17452, 202, 202, 45, 743, 6003, 2951, 273, 394, 2666, 2932, 19, 3341, 18, 20416, 18, 75, 16126, 18, 9448, 18, 1819, 19, 2284, 19, 1819, 2 ]
case 119:
public final void xpath() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST xpath_AST = null; try { // for error handling { switch ( LA(1)) { case LPAREN: case NCNAME: case XQUERY: case VERSION: case LITERAL_declare: case LITERAL_namespace: case LITERAL_default: case LITERAL_function: case LITERAL_variable: case STRING_LITERAL: case LITERAL_element: case DOLLAR: case LITERAL_as: case LITERAL_empty: case STAR: case PLUS: case LITERAL_item: case LITERAL_for: case LITERAL_let: case LITERAL_some: case LITERAL_if: case LITERAL_order: case LITERAL_by: case LITERAL_then: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LT: case MINUS: case LITERAL_div: case LITERAL_mod: case LITERAL_union: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case LITERAL_comment: case 125: case 126: case XML_PI: case LITERAL_document: case LITERAL_collection: { module(); astFactory.addASTChild(currentAST, returnAST); break; } case EOF: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } AST tmp130_AST = null; tmp130_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp130_AST); match(Token.EOF_TYPE); xpath_AST = (AST)currentAST.root; } catch (RecognitionException e) { if (inputState.guessing==0) { handleException(e); } else { throw e; } } returnAST = xpath_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 6748, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 6748, 67, 9053, 273, 446, 31, 9506, 202, 698, 288, 1377, 368, 364, 555, 5057, 1082, 202, 95, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 511, 15111, 30, 1082, 202, 3593, 423, 39, 1985, 30, 1082, 202, 3593, 1139, 10753, 30, 1082, 202, 3593, 8456, 30, 1082, 202, 3593, 511, 18454, 67, 29554, 30, 1082, 202, 3593, 511, 18454, 67, 4937, 30, 1082, 202, 3593, 511, 18454, 67, 1886, 30, 1082, 202, 3593, 511, 18454, 67, 915, 30, 1082, 202, 3593, 511, 18454, 67, 6105, 30, 1082, 202, 3593, 9469, 67, 23225, 30, 1082, 202, 3593, 511, 18454, 67, 2956, 30, 1082, 202, 3593, 463, 30922, 985, 30, 1082, 202, 3593, 511, 18454, 67, 345, 30, 1082, 202, 3593, 511, 18454, 67, 5531, 30, 1082, 202, 3593, 21807, 30, 1082, 202, 3593, 22443, 3378, 30, 1082, 202, 3593, 511, 18454, 67, 1726, 30, 1082, 202, 3593, 511, 18454, 67, 1884, 30, 1082, 202, 3593, 511, 18454, 67, 1810, 30, 1082, 202, 3593, 511, 18454, 67, 19068, 30, 1082, 202, 3593, 511, 18454, 67, 430, 30, 1082, 202, 3593, 511, 18454, 67, 1019, 30, 1082, 202, 3593, 511, 18454, 67, 1637, 30, 1082, 202, 3593, 511, 18454, 67, 15991, 30, 1082, 202, 3593, 511, 18454, 67, 12107, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 6748, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 6748, 67, 9053, 273, 446, 31, 9506, 202, 698, 288, 1377, 368, 364, 555, 5057, 1082, 202, 95, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 511, 15111, 30, 1082, 202, 3593, 423, 39, 1985, 30, 1082, 202, 3593, 1139, 10753, 30, 1082, 202, 3593, 8456, 30, 1082, 202, 3593, 511, 18454, 67, 29554, 30, 1082, 202, 3593, 511, 18454, 67, 4937, 30, 1082, 202, 3593, 511, 18454, 67, 1886, 30, 1082, 202, 3593, 511, 18454, 67, 915, 30, 1082, 2 ]
public synchronized int getJobStart(){
public int getJobStart(){
public synchronized int getJobStart(){ return jobStart; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ec85b24cb74c0931fbb930008fb30a27f7f7fd73/IndexManager.java/clean/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 13024, 1685, 1435, 95, 202, 202, 2463, 1719, 1685, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 13024, 1685, 1435, 95, 202, 202, 2463, 1719, 1685, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Element addChildElement( Node parent, String tag, String value) { Document doc = (parent.getNodeType() == Node.DOCUMENT_NODE) ? (Document) parent : parent.getOwnerDocument(); Element child = doc.createElement(tag); if (value != null) child.appendChild(doc.createTextNode(value)); parent.appendChild(child); return child; }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/Util.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3845, 1046, 1289, 1763, 1046, 12, 202, 202, 907, 2938, 16, 202, 202, 780, 2692, 16, 202, 202, 780, 1132, 15329, 202, 202, 2519, 2434, 33, 1082, 202, 12, 2938, 18, 588, 15101, 1435, 631, 907, 18, 18450, 67, 8744, 13, 9506, 202, 35, 12, 2519, 13, 2938, 9506, 202, 30, 2938, 18, 588, 5541, 2519, 5621, 202, 202, 1046, 3624, 33, 2434, 18, 2640, 1046, 12, 2692, 1769, 202, 202, 430, 12, 1132, 5, 33, 2011, 13, 1082, 202, 3624, 18, 6923, 1763, 12, 2434, 18, 2640, 17299, 12, 1132, 10019, 202, 202, 2938, 18, 6923, 1763, 12, 3624, 1769, 202, 202, 2463, 3624, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3845, 1046, 1289, 1763, 1046, 12, 202, 202, 907, 2938, 16, 202, 202, 780, 2692, 16, 202, 202, 780, 1132, 15329, 202, 202, 2519, 2434, 33, 1082, 202, 12, 2938, 18, 588, 15101, 1435, 631, 907, 18, 18450, 67, 8744, 13, 9506, 202, 35, 12, 2519, 13, 2938, 9506, 202, 30, 2938, 18, 588, 5541, 2519, 5621, 202, 202, 1046, 3624, 33, 2434, 18, 2640, 1046, 12, 2692, 1769, 202, 202, 430, 12, 1132, 5, 33, 2011, 13, 1082, 202, 3624, 18, 6923, 1763, 12, 2434, 18, 2640, 17299, 12, 1132, 10019, 202, 202, 2938, 18, 6923, 1763, 12, 3624, 1769, 202, 202, 2463, 3624, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
_displayGroup = new ERXDisplayGroup() { /** * Overridden so we see when a fetch occurs. */ public Object fetch() { if(log.isDebugEnabled()) { log.debug("Fetching: " + toString(), new RuntimeException("Dummy for Stacktrace")); } Object result; if (dataSource() instanceof EODatabaseDataSource) { EODatabaseDataSource ds = (EODatabaseDataSource) dataSource(); NSArray oldSort = ds.fetchSpecification().sortOrderings(); NSMutableArray newSort = new NSMutableArray(); for(Enumeration e = oldSort.objectEnumerator(); e.hasMoreElements();) { EOSortOrdering sortOrdering = (EOSortOrdering)e.nextElement(); if(sortOrdering.key().indexOf(".") < 0) { newSort.addObject(sortOrdering); } else { log.warn("Ommitted sorting because it contains a key path: " + sortOrdering); } } ds.fetchSpecification().setSortOrderings(newSort); result = super.fetch(); ds.fetchSpecification().setSortOrderings(oldSort); } else { result = super.fetch(); } return result; } };
_displayGroup = new ERXDisplayGroup();
protected void createDisplayGroup() { boolean useBatchingDisplayGroup = ERXValueUtilities.booleanValue(d2wContext().valueForKey("useBatchingDisplayGroup")); if(useBatchingDisplayGroup) { _displayGroup = new ERXBatchingDisplayGroup(); } else { _displayGroup = new ERXDisplayGroup() { /** * Overridden so we see when a fetch occurs. */ public Object fetch() { if(log.isDebugEnabled()) { log.debug("Fetching: " + toString(), new RuntimeException("Dummy for Stacktrace")); } Object result; // ak: this hack prevents exceptions when using the query page with an embedded list page // The exceptions occur when you have a key path as the sortable property. // the hack should work because you can't fetch on sorted key paths anyway, but who knows, // so someone please verfy this if (dataSource() instanceof EODatabaseDataSource) { EODatabaseDataSource ds = (EODatabaseDataSource) dataSource(); NSArray oldSort = ds.fetchSpecification().sortOrderings(); NSMutableArray newSort = new NSMutableArray(); for(Enumeration e = oldSort.objectEnumerator(); e.hasMoreElements();) { EOSortOrdering sortOrdering = (EOSortOrdering)e.nextElement(); if(sortOrdering.key().indexOf(".") < 0) { newSort.addObject(sortOrdering); } else { log.warn("Ommitted sorting because it contains a key path: " + sortOrdering); } } ds.fetchSpecification().setSortOrderings(newSort); result = super.fetch(); ds.fetchSpecification().setSortOrderings(oldSort); } else { result = super.fetch(); } return result; } }; } }
810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/90133648a44696a032ba72de38b38b6f56010ac6/ERD2WListPage.java/buggy/Wonder/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WListPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 4236, 1114, 1435, 288, 3639, 1250, 999, 4497, 310, 4236, 1114, 273, 4232, 60, 620, 11864, 18, 6494, 620, 12, 72, 22, 91, 1042, 7675, 1132, 19759, 2932, 1202, 4497, 310, 4236, 1114, 7923, 1769, 3639, 309, 12, 1202, 4497, 310, 4236, 1114, 13, 288, 5411, 389, 5417, 1114, 273, 394, 4232, 60, 4497, 310, 4236, 1114, 5621, 3639, 289, 469, 288, 5411, 389, 5417, 1114, 273, 394, 4232, 60, 4236, 1114, 1435, 288, 2398, 202, 26873, 2398, 202, 380, 531, 1107, 2794, 1427, 732, 2621, 1347, 279, 2158, 9938, 18, 2398, 202, 1195, 9506, 202, 482, 1033, 2158, 1435, 288, 6862, 202, 430, 12, 1330, 18, 291, 2829, 1526, 10756, 288, 25083, 202, 1330, 18, 4148, 2932, 30806, 30, 315, 397, 1762, 9334, 394, 3235, 2932, 20094, 364, 7283, 5129, 7923, 1769, 6862, 202, 97, 6862, 202, 921, 563, 31, 6862, 202, 759, 20952, 30, 333, 11769, 17793, 4798, 1347, 1450, 326, 843, 1363, 598, 392, 7488, 666, 1363, 6862, 202, 759, 1021, 4798, 3334, 1347, 1846, 1240, 279, 498, 589, 487, 326, 18092, 1272, 18, 6862, 202, 759, 326, 11769, 1410, 1440, 2724, 1846, 848, 1404, 2158, 603, 3115, 498, 2953, 13466, 16, 1496, 10354, 21739, 16, 6862, 202, 759, 1427, 18626, 9582, 1924, 74, 93, 333, 6862, 202, 430, 261, 892, 1830, 1435, 1276, 512, 1212, 2451, 8597, 13, 288, 25083, 202, 41, 1212, 2451, 8597, 3780, 273, 261, 41, 1212, 2451, 8597, 13, 10233, 5621, 25083, 202, 3156, 1076, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 4236, 1114, 1435, 288, 3639, 1250, 999, 4497, 310, 4236, 1114, 273, 4232, 60, 620, 11864, 18, 6494, 620, 12, 72, 22, 91, 1042, 7675, 1132, 19759, 2932, 1202, 4497, 310, 4236, 1114, 7923, 1769, 3639, 309, 12, 1202, 4497, 310, 4236, 1114, 13, 288, 5411, 389, 5417, 1114, 273, 394, 4232, 60, 4497, 310, 4236, 1114, 5621, 3639, 289, 469, 288, 5411, 389, 5417, 1114, 273, 394, 4232, 60, 4236, 1114, 1435, 288, 2398, 202, 26873, 2398, 202, 380, 531, 1107, 2794, 1427, 732, 2621, 1347, 279, 2158, 9938, 18, 2398, 202, 1195, 9506, 202, 482, 1033, 2158, 1435, 288, 6862, 202, 430, 12, 1330, 18, 291, 2829, 1526, 10756, 288, 25083, 202, 1330, 2 ]
throw new EXistException( "collection " + collectionName + " not found");
throw new EXistException("collection " + collectionName + " not found");
public Vector scanIndexTerms( User user, String collectionName, String start, String end, boolean inclusive) throws PermissionDeniedException, EXistException { DBBroker broker = null; try { broker = brokerPool.get(user); Collection collection = broker.getCollection(collectionName); if (collection == null) throw new EXistException( "collection " + collectionName + " not found"); Occurrences occurrences[] = broker.getTextEngine().scanIndexTerms( user, collection, start, end, inclusive); Vector result = new Vector(occurrences.length); Vector temp; for (int i = 0; i < occurrences.length; i++) { temp = new Vector(2); temp.addElement(occurrences[i].getTerm()); temp.addElement(new Integer(occurrences[i].getOccurrences())); result.addElement(temp); } return result; } finally { brokerPool.release(broker); } }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/722cca774247887cf67fef993c71f848a05e075f/RpcConnection.java/buggy/src/org/exist/xmlrpc/RpcConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5589, 4135, 1016, 11673, 12, 202, 202, 1299, 729, 16, 202, 202, 780, 17137, 16, 202, 202, 780, 787, 16, 202, 202, 780, 679, 16, 202, 202, 6494, 13562, 13, 202, 202, 15069, 8509, 15877, 16, 5675, 376, 503, 288, 202, 202, 2290, 11194, 8625, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 21722, 273, 8625, 2864, 18, 588, 12, 1355, 1769, 1082, 202, 2532, 1849, 273, 8625, 18, 588, 2532, 12, 5548, 461, 1769, 1082, 202, 430, 261, 5548, 422, 446, 13, 9506, 202, 12849, 394, 5675, 376, 503, 12, 6862, 202, 6, 5548, 315, 397, 17137, 397, 315, 486, 1392, 8863, 1082, 202, 12397, 12228, 15698, 8526, 273, 9506, 202, 21722, 18, 588, 1528, 4410, 7675, 9871, 1016, 11673, 12, 6862, 202, 1355, 16, 6862, 202, 5548, 16, 6862, 202, 1937, 16, 6862, 202, 409, 16, 6862, 202, 267, 9173, 1769, 1082, 202, 5018, 563, 273, 394, 5589, 12, 26635, 12228, 18, 2469, 1769, 1082, 202, 5018, 1906, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 15698, 18, 2469, 31, 277, 27245, 288, 9506, 202, 5814, 273, 394, 5589, 12, 22, 1769, 9506, 202, 5814, 18, 1289, 1046, 12, 26635, 12228, 63, 77, 8009, 588, 4065, 10663, 9506, 202, 5814, 18, 1289, 1046, 12, 2704, 2144, 12, 26635, 12228, 63, 77, 8009, 588, 12397, 12228, 1435, 10019, 9506, 202, 2088, 18, 1289, 1046, 12, 5814, 1769, 1082, 202, 97, 1082, 202, 2463, 563, 31, 202, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5589, 4135, 1016, 11673, 12, 202, 202, 1299, 729, 16, 202, 202, 780, 17137, 16, 202, 202, 780, 787, 16, 202, 202, 780, 679, 16, 202, 202, 6494, 13562, 13, 202, 202, 15069, 8509, 15877, 16, 5675, 376, 503, 288, 202, 202, 2290, 11194, 8625, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 21722, 273, 8625, 2864, 18, 588, 12, 1355, 1769, 1082, 202, 2532, 1849, 273, 8625, 18, 588, 2532, 12, 5548, 461, 1769, 1082, 202, 430, 261, 5548, 422, 446, 13, 9506, 202, 12849, 394, 5675, 376, 503, 12, 6862, 202, 6, 5548, 315, 397, 17137, 397, 315, 486, 1392, 8863, 1082, 202, 12397, 12228, 15698, 8526, 273, 9506, 202, 21722, 18, 588, 2 ]
return numImages / (rgb ? 3 : 1);
if (numImages == 1) return 1; return numImages / (isRGB(id) ? 3 : 1);
public int getImageCount(String id) throws FormatException, IOException { if (!id.equals(currentIdsId) && !id.equals(currentIcsId)) initFile(id); return numImages / (rgb ? 3 : 1); }
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/60468423aa07e5346071fe038c1324472c41e09e/ICSReader.java/buggy/loci/formats/in/ICSReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 10567, 1380, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 309, 16051, 350, 18, 14963, 12, 2972, 2673, 548, 13, 597, 401, 350, 18, 14963, 12, 2972, 45, 2143, 548, 3719, 1208, 812, 12, 350, 1769, 565, 309, 261, 2107, 8946, 422, 404, 13, 327, 404, 31, 327, 818, 8946, 342, 261, 291, 11343, 12, 350, 13, 692, 890, 294, 404, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 10567, 1380, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 309, 16051, 350, 18, 14963, 12, 2972, 2673, 548, 13, 597, 401, 350, 18, 14963, 12, 2972, 45, 2143, 548, 3719, 1208, 812, 12, 350, 1769, 565, 309, 261, 2107, 8946, 422, 404, 13, 327, 404, 31, 327, 818, 8946, 342, 261, 291, 11343, 12, 350, 13, 692, 890, 294, 404, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedSecurityDescLen value = new org.quickfix.field.EncodedSecurityDescLen();
public quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { quickfix.field.EncodedSecurityDescLen value = new quickfix.field.EncodedSecurityDescLen();
public org.quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedSecurityDescLen value = new org.quickfix.field.EncodedSecurityDescLen(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CrossOrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix43/CrossOrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 2891, 28799, 4368, 4217, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 2891, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 2891, 28799, 4368, 4217, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 2891, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} DBBroker broker = null; try { broker = pool.get(user); broker.saveCollection(coll); broker.flush();
public void chmod(String modeStr) throws XMLDBException { org.exist.security.SecurityManager manager = pool.getSecurityManager(); if (!collection.checkOwner(user) && !manager.hasAdminPrivileges(user)) throw new XMLDBException( ErrorCodes.PERMISSION_DENIED, "you are not the owner of this collection"); org.exist.collections.Collection coll = collection.getCollection(); try { coll.setPermissions(modeStr); } catch (SyntaxException e) { throw new XMLDBException( ErrorCodes.VENDOR_ERROR, e.getMessage(), e); } catch (LockException e) { throw new XMLDBException( ErrorCodes.VENDOR_ERROR, "Failed to acquire lock on collections.dbx", e); } DBBroker broker = null; try { broker = pool.get(user); broker.saveCollection(coll); broker.flush(); //broker.sync(); } catch (EXistException e) { throw new XMLDBException( ErrorCodes.VENDOR_ERROR, e.getMessage(), e); } catch (PermissionDeniedException e) { throw new XMLDBException( ErrorCodes.PERMISSION_DENIED, e.getMessage(), e); } finally { pool.release(broker); } }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/7f8b9e1ed7cd1231abcaa3236c78e26e77e01501/LocalUserManagementService.java/buggy/src/org/exist/xmldb/LocalUserManagementService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13413, 12, 780, 1965, 1585, 13, 1216, 26014, 503, 288, 202, 202, 3341, 18, 7398, 18, 7462, 18, 4368, 1318, 3301, 273, 2845, 18, 588, 4368, 1318, 5621, 202, 202, 430, 16051, 5548, 18, 1893, 5541, 12, 1355, 13, 597, 401, 4181, 18, 5332, 4446, 27692, 12, 1355, 3719, 1082, 202, 12849, 394, 26014, 503, 12, 9506, 202, 668, 6295, 18, 23330, 67, 13296, 29229, 16, 9506, 202, 6, 19940, 854, 486, 326, 3410, 434, 333, 1849, 8863, 202, 202, 3341, 18, 7398, 18, 19246, 18, 2532, 4508, 273, 1849, 18, 588, 2532, 5621, 202, 202, 698, 288, 1082, 202, 12910, 18, 542, 6521, 12, 3188, 1585, 1769, 202, 202, 97, 1044, 261, 14714, 425, 13, 288, 1082, 202, 12849, 394, 26014, 503, 12, 9506, 202, 668, 6295, 18, 58, 30014, 67, 3589, 16, 9506, 202, 73, 18, 24906, 9334, 9506, 202, 73, 1769, 202, 202, 97, 1044, 261, 2531, 503, 425, 13, 288, 1082, 202, 12849, 394, 26014, 503, 12, 9506, 202, 668, 6295, 18, 58, 30014, 67, 3589, 16, 9506, 202, 6, 2925, 358, 10533, 2176, 603, 6980, 18, 1966, 92, 3113, 9506, 202, 73, 1769, 202, 202, 97, 202, 202, 2290, 11194, 8625, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 21722, 273, 2845, 18, 588, 12, 1355, 1769, 1082, 202, 21722, 18, 5688, 2532, 12, 12910, 1769, 1082, 202, 21722, 18, 11330, 5621, 1082, 202, 759, 21722, 18, 8389, 5621, 202, 202, 97, 1044, 261, 2294, 376, 503, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13413, 12, 780, 1965, 1585, 13, 1216, 26014, 503, 288, 202, 202, 3341, 18, 7398, 18, 7462, 18, 4368, 1318, 3301, 273, 2845, 18, 588, 4368, 1318, 5621, 202, 202, 430, 16051, 5548, 18, 1893, 5541, 12, 1355, 13, 597, 401, 4181, 18, 5332, 4446, 27692, 12, 1355, 3719, 1082, 202, 12849, 394, 26014, 503, 12, 9506, 202, 668, 6295, 18, 23330, 67, 13296, 29229, 16, 9506, 202, 6, 19940, 854, 486, 326, 3410, 434, 333, 1849, 8863, 202, 202, 3341, 18, 7398, 18, 19246, 18, 2532, 4508, 273, 1849, 18, 588, 2532, 5621, 202, 202, 698, 288, 1082, 202, 12910, 18, 542, 6521, 12, 3188, 1585, 1769, 202, 202, 97, 1044, 261, 14714, 425, 2 ]
if (connectionStrategy != null && connection != null) {
if (recoverJmsConnections && connectionStrategy != null && connection != null) {
protected Connection createConnection() throws NamingException, JMSException, InitialisationException { Connection connection; if (connectionFactory == null) { connectionFactory = createConnectionFactory(); } if (connectionFactory != null && connectionFactory instanceof XAConnectionFactory) { if (MuleManager.getInstance().getTransactionManager() != null) { connectionFactory = new ConnectionFactoryWrapper(connectionFactory, MuleManager.getInstance().getTransactionManager()); } } if (username != null) { connection = jmsSupport.createConnection(connectionFactory, username, password); } else { connection = jmsSupport.createConnection(connectionFactory); } if (clientId != null) { connection.setClientID(getClientId()); } // Register a JMS exception listener to detect failed connections. // Existing connection strategy will be used to recover. final ConnectionStrategy connectionStrategy = getConnectionStrategy(); if (connectionStrategy != null && connection != null) { connection.setExceptionListener(new ExceptionListener() { public void onException(JMSException jmsException) { logger.debug("About to recycle myself due to remote JMS connection shutdown."); final JmsConnector jmsConnector = JmsConnector.this; try { jmsConnector.stopConnector(); jmsConnector.initialised.set(false); } catch (UMOException e) { logger.warn(e.getMessage(), e); } try { connectionStrategy.connect(jmsConnector); jmsConnector.initialise(); jmsConnector.startConnector(); } catch (FatalConnectException fcex) { logger.fatal("Failed to reconnect to JMS server. I'm giving up."); } catch (UMOException umoex) { throw new UnhandledException("Failed to recover a connector.", umoex); } } }); } return connection; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/2929964406d410abddab5bec21d93f4f72b47a7f/JmsConnector.java/clean/providers/jms/src/java/org/mule/providers/jms/JmsConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4050, 27870, 1435, 1216, 26890, 16, 20343, 16, 10188, 10742, 503, 565, 288, 3639, 4050, 1459, 31, 3639, 309, 261, 4071, 1733, 422, 446, 13, 288, 5411, 1459, 1733, 273, 752, 18749, 5621, 3639, 289, 3639, 309, 261, 4071, 1733, 480, 446, 597, 1459, 1733, 1276, 12410, 18749, 13, 288, 5411, 309, 261, 49, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 1435, 480, 446, 13, 288, 7734, 1459, 1733, 273, 394, 4050, 1733, 3611, 12, 4071, 1733, 16, 28524, 490, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 10663, 5411, 289, 3639, 289, 3639, 309, 261, 5053, 480, 446, 13, 288, 5411, 1459, 273, 23007, 6289, 18, 2640, 1952, 12, 4071, 1733, 16, 2718, 16, 2201, 1769, 3639, 289, 469, 288, 5411, 1459, 273, 23007, 6289, 18, 2640, 1952, 12, 4071, 1733, 1769, 3639, 289, 3639, 309, 261, 2625, 548, 480, 446, 13, 288, 5411, 1459, 18, 542, 1227, 734, 12, 588, 23526, 10663, 3639, 289, 3639, 368, 5433, 279, 13270, 1520, 2991, 358, 5966, 2535, 5921, 18, 3639, 368, 28257, 1459, 6252, 903, 506, 1399, 358, 5910, 18, 3639, 727, 4050, 4525, 1459, 4525, 273, 6742, 4525, 5621, 3639, 309, 261, 266, 3165, 23058, 9314, 597, 1459, 4525, 480, 446, 597, 1459, 480, 446, 13, 288, 5411, 1459, 18, 542, 503, 2223, 12, 2704, 1185, 2223, 1435, 288, 7734, 1071, 918, 603, 503, 12, 46, 3537, 503, 23007, 503, 13, 288, 10792, 1194, 18, 4148, 2932, 24813, 358, 23493, 3399, 2890, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4050, 27870, 1435, 1216, 26890, 16, 20343, 16, 10188, 10742, 503, 565, 288, 3639, 4050, 1459, 31, 3639, 309, 261, 4071, 1733, 422, 446, 13, 288, 5411, 1459, 1733, 273, 752, 18749, 5621, 3639, 289, 3639, 309, 261, 4071, 1733, 480, 446, 597, 1459, 1733, 1276, 12410, 18749, 13, 288, 5411, 309, 261, 49, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 1435, 480, 446, 13, 288, 7734, 1459, 1733, 273, 394, 4050, 1733, 3611, 12, 4071, 1733, 16, 28524, 490, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 10663, 5411, 289, 3639, 289, 3639, 309, 261, 5053, 480, 446, 13, 288, 5411, 1459, 273, 23007, 6289, 18, 2640, 1952, 12, 4071, 1733, 16, 2718, 2 ]
if(background != null)
if(background != null) {
public void applyFontsAndColors(TableItem control) { if(colorProvider == null){ if(usedDecorators){ //If there is no provider only apply set values if(background != null) control.setBackground(background); if(foreground != null) control.setForeground(foreground); } } else{ //Always set the value if there is a provider control.setBackground(background); control.setForeground(foreground); } if(fontProvider == null){ if(usedDecorators && font != null) control.setFont(font); } else//Always set the value if there is a provider control.setFont(font); clear(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/391f2606b4ea2c1fb5052d938ca90877ee7631f6/StructuredViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2230, 5711, 87, 1876, 12570, 12, 1388, 1180, 3325, 13, 288, 25083, 202, 430, 12, 3266, 2249, 422, 446, 15329, 9506, 202, 430, 12, 3668, 7859, 3062, 15329, 6862, 202, 759, 2047, 1915, 353, 1158, 2893, 1338, 2230, 444, 924, 6862, 202, 430, 12, 9342, 480, 446, 13, 25083, 202, 7098, 18, 542, 8199, 12, 9342, 1769, 6862, 6862, 202, 430, 12, 1405, 2915, 480, 446, 13, 25083, 202, 7098, 18, 542, 23206, 12, 1405, 2915, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 759, 18806, 444, 326, 460, 309, 1915, 353, 279, 2893, 9506, 202, 7098, 18, 542, 8199, 12, 9342, 1769, 9506, 202, 7098, 18, 542, 23206, 12, 1405, 2915, 1769, 1082, 202, 97, 25083, 202, 430, 12, 5776, 2249, 422, 446, 15329, 9506, 202, 430, 12, 3668, 7859, 3062, 597, 3512, 480, 446, 13, 6862, 202, 7098, 18, 542, 5711, 12, 5776, 1769, 1082, 202, 97, 1082, 202, 12107, 759, 18806, 444, 326, 460, 309, 1915, 353, 279, 2893, 9506, 202, 7098, 18, 542, 5711, 12, 5776, 1769, 25083, 202, 8507, 5621, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2230, 5711, 87, 1876, 12570, 12, 1388, 1180, 3325, 13, 288, 25083, 202, 430, 12, 3266, 2249, 422, 446, 15329, 9506, 202, 430, 12, 3668, 7859, 3062, 15329, 6862, 202, 759, 2047, 1915, 353, 1158, 2893, 1338, 2230, 444, 924, 6862, 202, 430, 12, 9342, 480, 446, 13, 25083, 202, 7098, 18, 542, 8199, 12, 9342, 1769, 6862, 6862, 202, 430, 12, 1405, 2915, 480, 446, 13, 25083, 202, 7098, 18, 542, 23206, 12, 1405, 2915, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 759, 18806, 444, 326, 460, 309, 1915, 353, 279, 2893, 9506, 202, 7098, 18, 542, 8199, 12, 9342, 1769, 9506, 202, 7098, 18, 542, 23206, 12, 2 ]
processIdentifiers(processor, identifier, searchScope, position);
processIdentifiers(processor, identifier, searchScope, searchContext);
public PsiIdentifier[] findIdentifiers(String identifier, SearchScope searchScope, int position) { LOG.assertTrue(searchScope != null); PsiElementProcessor.CollectElements<PsiIdentifier> processor = new PsiElementProcessor.CollectElements<PsiIdentifier>(); processIdentifiers(processor, identifier, searchScope, position); return processor.toArray(new PsiIdentifier[0]); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/57ac9224412cde7806fda672ad210899f7a8d81d/PsiSearchHelperImpl.java/buggy/source/com/intellij/psi/impl/search/PsiSearchHelperImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 7722, 3004, 8526, 1104, 12745, 12, 780, 2756, 16, 5167, 3876, 1623, 3876, 16, 509, 1754, 13, 288, 565, 2018, 18, 11231, 5510, 12, 3072, 3876, 480, 446, 1769, 565, 453, 7722, 1046, 5164, 18, 10808, 3471, 32, 52, 7722, 3004, 34, 6659, 273, 394, 453, 7722, 1046, 5164, 18, 10808, 3471, 32, 52, 7722, 3004, 34, 5621, 565, 1207, 12745, 12, 8700, 16, 2756, 16, 1623, 3876, 16, 1623, 1042, 1769, 565, 327, 6659, 18, 31447, 12, 2704, 453, 7722, 3004, 63, 20, 19226, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 7722, 3004, 8526, 1104, 12745, 12, 780, 2756, 16, 5167, 3876, 1623, 3876, 16, 509, 1754, 13, 288, 565, 2018, 18, 11231, 5510, 12, 3072, 3876, 480, 446, 1769, 565, 453, 7722, 1046, 5164, 18, 10808, 3471, 32, 52, 7722, 3004, 34, 6659, 273, 394, 453, 7722, 1046, 5164, 18, 10808, 3471, 32, 52, 7722, 3004, 34, 5621, 565, 1207, 12745, 12, 8700, 16, 2756, 16, 1623, 3876, 16, 1623, 1042, 1769, 565, 327, 6659, 18, 31447, 12, 2704, 453, 7722, 3004, 63, 20, 19226, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ((m_unpruned) || (!m_subtreeRaising)) {
if ((m_unpruned) && (!m_subtreeRaising)) {
public void setOptions(String[] options) throws Exception{ // Other options String minNumString = Utils.getOption('M', options); if (minNumString.length() != 0) { m_minNumObj = Integer.parseInt(minNumString); } else { m_minNumObj = 2; } m_binarySplits = Utils.getFlag('B', options); // Pruning options m_unpruned = Utils.getFlag('U', options); m_subtreeRaising = !Utils.getFlag('S', options); if ((m_unpruned) || (!m_subtreeRaising)) { throw new Exception("Subtree raising doesn't need to be unset for unpruned tree!"); } m_reducedErrorPruning = Utils.getFlag('R', options); if ((m_unpruned) && (m_reducedErrorPruning)) { throw new Exception("Unpruned tree and reduced error pruning can't be selected " + "simultaneously!"); } String confidenceString = Utils.getOption('C', options); if (confidenceString.length() != 0) { if (m_reducedErrorPruning) { throw new Exception("Setting the confidence doesn't make sense " + "for reduced error pruning."); } else if (m_unpruned) { throw new Exception("Doesn't make sense to change confidence for unpruned " +"tree!"); } else { m_CF = (new Float(confidenceString)).floatValue(); if ((m_CF <= 0) || (m_CF >= 1)) { throw new Exception("Confidence has to be greater than zero and smaller " + "than one!"); } } } else { m_CF = 0.25f; } String numFoldsString = Utils.getOption('N', options); if (numFoldsString.length() != 0) { if (!m_reducedErrorPruning) { throw new Exception("Setting the number of folds" + " doesn't make sense if" + " reduced error pruning is not selected."); } else { m_numFolds = Integer.parseInt(numFoldsString); } } else { m_numFolds = 3; } }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/f9a65696e6068935443ed5cd829ac3b6aa77a1d2/J48.java/clean/classifiers/j48/J48.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 16526, 12, 780, 8526, 702, 13, 1216, 1185, 95, 3639, 368, 4673, 702, 565, 514, 1131, 2578, 780, 273, 6091, 18, 588, 1895, 2668, 49, 2187, 702, 1769, 565, 309, 261, 1154, 2578, 780, 18, 2469, 1435, 480, 374, 13, 288, 1377, 312, 67, 1154, 2578, 2675, 273, 2144, 18, 2670, 1702, 12, 1154, 2578, 780, 1769, 565, 289, 469, 288, 1377, 312, 67, 1154, 2578, 2675, 273, 576, 31, 565, 289, 565, 312, 67, 8578, 16582, 273, 6091, 18, 588, 4678, 2668, 38, 2187, 702, 1769, 565, 368, 2301, 13036, 702, 565, 312, 67, 318, 683, 20630, 273, 6091, 18, 588, 4678, 2668, 57, 2187, 702, 1769, 565, 312, 67, 31808, 12649, 13734, 273, 401, 1989, 18, 588, 4678, 2668, 55, 2187, 702, 1769, 565, 309, 14015, 81, 67, 318, 683, 20630, 13, 597, 16051, 81, 67, 31808, 12649, 13734, 3719, 288, 1377, 604, 394, 1185, 2932, 18615, 28014, 3302, 1404, 1608, 358, 506, 2646, 364, 640, 683, 20630, 2151, 4442, 1769, 565, 289, 565, 312, 67, 1118, 26372, 668, 2050, 13036, 273, 6091, 18, 588, 4678, 2668, 54, 2187, 702, 1769, 565, 309, 14015, 81, 67, 318, 683, 20630, 13, 597, 261, 81, 67, 1118, 26372, 668, 2050, 13036, 3719, 288, 1377, 604, 394, 1185, 2932, 984, 683, 20630, 2151, 471, 13162, 555, 846, 13036, 848, 1404, 506, 3170, 315, 397, 9506, 225, 315, 9812, 25013, 715, 4442, 1769, 565, 289, 565, 514, 15588, 780, 273, 6091, 18, 588, 1895, 2668, 39, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 16526, 12, 780, 8526, 702, 13, 1216, 1185, 95, 3639, 368, 4673, 702, 565, 514, 1131, 2578, 780, 273, 6091, 18, 588, 1895, 2668, 49, 2187, 702, 1769, 565, 309, 261, 1154, 2578, 780, 18, 2469, 1435, 480, 374, 13, 288, 1377, 312, 67, 1154, 2578, 2675, 273, 2144, 18, 2670, 1702, 12, 1154, 2578, 780, 1769, 565, 289, 469, 288, 1377, 312, 67, 1154, 2578, 2675, 273, 576, 31, 565, 289, 565, 312, 67, 8578, 16582, 273, 6091, 18, 588, 4678, 2668, 38, 2187, 702, 1769, 565, 368, 2301, 13036, 702, 565, 312, 67, 318, 683, 20630, 273, 6091, 18, 588, 4678, 2668, 57, 2187, 702, 1769, 565, 312, 67, 31808, 12649, 13734, 273, 401, 2 ]