rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
case 54:
case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 36) kind = 36; break; case 59:
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53:
jjCheckNAddStates(19, 21); break; case 58:
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjCheckNAddStates(0, 2);
jjCheckNAddStates(19, 21);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjCheckNAddStates(18, 20);
jjCheckNAddStates(22, 24);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjCheckNAddStates(21, 24); break; case 42:
jjCheckNAddStates(25, 28); break; case 47:
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjAddStates(44, 45);
jjAddStates(51, 52);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt)))
if ((i = jjnewStateCnt) == (startsAt = 58 - (jjnewStateCnt = startsAt)))
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjMoveStringLiteralDfa1_0(0x40000000L);
return jjMoveStringLiteralDfa1_0(0x100000000L);
private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 42: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_0(0x40000000L); case 45: return jjMoveStringLiteralDfa1_0(0x100000L); case 60: return jjStopAtPos(0, 14); case 62: return jjStopAtP...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjMoveStringLiteralDfa1_0(0x100000L);
return jjMoveStringLiteralDfa1_0(0x200000L);
private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 42: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_0(0x40000000L); case 45: return jjMoveStringLiteralDfa1_0(0x100000L); case 60: return jjStopAtPos(0, 14); case 62: return jjStopAtP...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjMoveStringLiteralDfa1_0(0x200000000L);
return jjMoveStringLiteralDfa1_0(0x800000000L);
private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 42: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_0(0x40000000L); case 45: return jjMoveStringLiteralDfa1_0(0x100000L); case 60: return jjStopAtPos(0, 14); case 62: return jjStopAtP...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 19; return jjMoveStringLiteralDfa1_0(0x100000000L);
jjmatchedKind = 20; return jjMoveStringLiteralDfa1_0(0x400000000L);
private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 42: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_0(0x40000000L); case 45: return jjMoveStringLiteralDfa1_0(0x100000L); case 60: return jjStopAtPos(0, 14); case 62: return jjStopAtP...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
case 126: return jjStopAtPos(0, 13);
private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 42: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_0(0x40000000L); case 45: return jjMoveStringLiteralDfa1_0(0x100000L); case 60: return jjStopAtPos(0, 14); case 62: return jjStopAtP...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x40000000L) != 0L) return jjStopAtPos(1, 30); break; case 45: return jjMoveStringLiteralDfa2_0(active0, 0x100000L); case 91: return jjMoveStringLiteralDfa2_0(active0, 0x200000000L); case 94:
private final int jjMoveStringLiteralDfa1_0(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 42: if ((active0 & 0x40000000L) != 0L) return jjStopAtPos(1, 30); ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjStartNfaWithStates_0(1, 31, 14);
return jjStopAtPos(1, 31);
private final int jjMoveStringLiteralDfa1_0(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 42: if ((active0 & 0x40000000L) != 0L) return jjStopAtPos(1, 30); ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjMoveStringLiteralDfa3_0(active0, 0x100000L);
return jjMoveStringLiteralDfa3_0(active0, 0x200000L);
private final int jjMoveStringLiteralDfa2_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0); return 2; } switch(curChar) { case 45: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjMoveStringLiteralDfa3_0(active0, 0x200000000L);
return jjMoveStringLiteralDfa3_0(active0, 0x800000000L);
private final int jjMoveStringLiteralDfa2_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0); return 2; } switch(curChar) { case 45: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return jjMoveStringLiteralDfa4_0(active0, 0x100000L);
return jjMoveStringLiteralDfa4_0(active0, 0x200000L);
private final int jjMoveStringLiteralDfa3_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(2, active0); return 3; } switch(curChar) { case 45: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(3, 33, 54);
if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(3, 35, 59);
private final int jjMoveStringLiteralDfa3_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(2, active0); return 3; } switch(curChar) { case 45: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_0(4, 20, 14);
if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_0(4, 21, 14);
private final int jjMoveStringLiteralDfa4_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 45: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x200000000L) != 0L)
if ((active0 & 0x800000000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 34;
jjmatchedKind = 36;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x100000L) != 0L)
if ((active0 & 0x400100000L) != 0L) return 10; if ((active0 & 0x200000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 34;
jjmatchedKind = 36;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x100080000L) != 0L) return 10; if ((active0 & 0x80001000L) != 0L)
if ((active0 & 0x200001000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x100000L) != 0L)
if ((active0 & 0x800000000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 34;
jjmatchedKind = 36; jjmatchedPos = 0; } return 58; } if ((active0 & 0x200000L) != 0L) { if (jjmatchedPos == 0) { jjmatchedKind = 36;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 34;
jjmatchedKind = 36;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
return 53;
return 59;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x80000000L) != 0L) return 14; return -1; case 2: if ((active0 & 0x200000000L) != 0L)
if ((active0 & 0x200000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 34; jjmatchedPos = 0; } return 54; } if ((active0 & 0x100000L) != 0L) { if (jjmatchedPos == 0) { jjmatchedKind = 34;
jjmatchedKind = 36;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x100000L) != 0L)
if ((active0 & 0x800000000L) != 0L) return 59; if ((active0 & 0x200000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
jjmatchedKind = 34;
jjmatchedKind = 36;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
if ((active0 & 0x200000000L) != 0L) return 54;
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 34; return 0; } if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 34; return 14; ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/63e182a593c47d9b882560d480b0bab109616dc8/WikiParserTokenManager.java/clean/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java
manager.stop();
public void close() { setVisible(false); dispose(); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/0a711d50cfe02a185f8d314b378ca4c49e92ab2f/Player.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/movie/Player.java
Process aProcess = Runtime.getRuntime().exec(new String[] { System.getProperty("jruby.shell"), "-c", aString.toString()});
String lShellProp = System.getProperty("jruby.shell"); Process aProcess; if (lShellProp != null) aProcess = Runtime.getRuntime().exec(new String[] { System.getProperty("jruby.shell"), "-c", aString.toString()}); else aProcess = Runtime.getRuntime().exec(aString.toString());
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { Process aProcess = Runtime.getRuntime().exec(new String[] { System.getProperty("jruby.shell"), "-c", aString.toString()}); final BufferedInputStream bin = new Buffe...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/660b7879d081027cb03812f6959ce8a44648c316/RubyGlobal.java/clean/org/jruby/RubyGlobal.java
final BufferedInputStream bin = new BufferedInputStream(aProcess.getInputStream());
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { Process aProcess = Runtime.getRuntime().exec(new String[] { System.getProperty("jruby.shell"), "-c", aString.toString()}); final BufferedInputStream bin = new Buffe...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/660b7879d081027cb03812f6959ce8a44648c316/RubyGlobal.java/clean/org/jruby/RubyGlobal.java
final BufferedInputStream bin = new BufferedInputStream(aProcess.getInputStream());
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { Process aProcess = Runtime.getRuntime().exec(new String[] { System.getProperty("jruby.shell"), "-c", aString.toString()}); final BufferedInputStream bin = new Buffe...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/660b7879d081027cb03812f6959ce8a44648c316/RubyGlobal.java/clean/org/jruby/RubyGlobal.java
case M_HASH: return hash();
public RubyObject callIndexed(int index, RubyObject[] args) { switch (index) { case M_INSPECT: return inspect(); case M_TO_S: return to_s(); case M_FROZEN: return frozen(); case M_EQUAL: return equal(args[0]); case M_EQL: ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7f0907240b4b4a4379424377e971ed0ca23f1dcb/RubyArray.java/buggy/org/jruby/RubyArray.java
arrayClass.defineMethod("hash", IndexedCallback.create(M_HASH, 0));
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getRubyModule("Enumerable")); arrayClass.defineSingletonMethod("new", CallbackFactory.getOptSingletonMethod(RubyArray.class, "newInstance")); arr...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7f0907240b4b4a4379424377e971ed0ca23f1dcb/RubyArray.java/buggy/org/jruby/RubyArray.java
} else if (file.isDirectory()) {
} else if (file.isFile()) {
public RubyString ftype() { if (!file.exists()) { throw getRuntime().newErrnoENOENTError("No such file or directory: " + file.toString()); } else if (file.isDirectory()) { return getRuntime().newString("directory"); } else if (file.isDirectory()) { return getRun...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/dc86a8e5cbe5f0c454cf0bf0fd230f6f14ad1e27/RubyFileStat.java/clean/src/org/jruby/RubyFileStat.java
bignumClass.defineMethod("[]", CallbackFactory.getMethod(RubyBignum.class, "aref", RubyInteger.class));
public static RubyClass createBignumClass(Ruby ruby) { RubyClass bignumClass = ruby.defineClass("Bignum", ruby.getClasses().getIntegerClass()); //rb_define_method(rb_cBignum, "-@", rb_big_uminus, 0); //rb_define_method(rb_cBignum, "divmod", rb_big_divmod, 1); //rb_define_method(rb_cBignu...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/dc83cf778f725a9020cad5e79608a2fe37d5ea5d/RubyBignum.java/buggy/org/jruby/RubyBignum.java
public Map findAnnotations( Class rootNodeType, Set rootNodeIds, Set annotatorIds, Map options) {
public <T extends IObject> Map<Long, Set<? extends IObject>> findAnnotations( Class<T> rootNodeType, Set<Long> rootNodeIds, Set<Long> annotatorIds, Map options) {
public Map findAnnotations( Class rootNodeType, Set rootNodeIds, Set annotatorIds, Map options) { if (rootNodeIds.size()==0) return new HashMap(); PojoOptions po = new PojoOptions(options); Query<List<IObject>> q = getQueryFactory().lookup( ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc049d0769f78d30527024bfadfcc7adcbdc82cb/PojosImpl.java/buggy/components/server/src/ome/logic/PojosImpl.java
} else if (me.getClickCount() == 2) {
} else if (me.getClickCount() == 2 && released) {
private void onClick(MouseEvent me, boolean released) { Point p = me.getPoint(); int row = treeDisplay.getRowForLocation(p.x, p.y); if (row != -1) { //treeDisplay.setSelectionRow(row); model.setClickPoint(p); if (me.getClickCount() == 1) { if (...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/825a134e9202523cfddb0eda4cc2bf69f7aef3a0/BrowserUI.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/browser/BrowserUI.java
c.addWantedField("datasets.images.default_pixels", "ImageServerID"); c.addWantedField("datasets.images.default_pixels", "Repository"); c.addWantedField("datasets.images.default_pixels.Repository", "ImageServerURL");
PixelsMapper.fieldsForPixels(c, "datasets.images.default_pixels");
public static Criteria buildProjectsTreeCriteria(List projectIDs) { Criteria c = buildBasicCriteria(); //Specify which fields we want for the datasets. c.addWantedField("datasets", "images"); //Specify which fields we want for the images. c.addWantedField("datasets.images", "na...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/73d218b1f03225366903abf43d50c4be713e767b/ProjectMapper.java/clean/SRC/org/openmicroscopy/shoola/env/data/map/ProjectMapper.java
List projectIDs)
List projectIDs, List dsAnnotations, List isAnnotations)
public static void fillProjectsTree(List projects, List results, List projectIDs) { Iterator i = projects.iterator(), j, k; Map datasetsMap = new HashMap(), imagesMap = new HashMap(); Project p; List datasets, images; ProjectSummary ps; Datase...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/73d218b1f03225366903abf43d50c4be713e767b/ProjectMapper.java/clean/SRC/org/openmicroscopy/shoola/env/data/map/ProjectMapper.java
is = DatasetMapper.fillImageSummary(img);
is = ImageMapper.buildImageSummary(img, null); is.setAnnotation( AnnotationMapper.fillImageAnnotation( (ImageAnnotation) imgAnnotated.get(idImg)));
public static void fillProjectsTree(List projects, List results, List projectIDs) { Iterator i = projects.iterator(), j, k; Map datasetsMap = new HashMap(), imagesMap = new HashMap(); Project p; List datasets, images; ProjectSummary ps; Datase...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/73d218b1f03225366903abf43d50c4be713e767b/ProjectMapper.java/clean/SRC/org/openmicroscopy/shoola/env/data/map/ProjectMapper.java
is.setDate(Timestamp.valueOf(img.getCreated()));
is.setDate(PrimitiveTypesMapper.getTimestamp(img.getCreated()));
static ImageSummary buildImageSummary(Image img, ImageSummary is) { Pixels px; px = img.getDefaultPixels(); is.setID(img.getID()); is.setName(img.getName()); is.setPixelsIDs(fillListPixelsID(px)); is.setDate(Timestamp.valueOf(img.getCreated())); //is.setImageServe...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5dbbc3e7786c9d237cda00632eddf9d6b5a29870/ImageMapper.java/buggy/SRC/org/openmicroscopy/shoola/env/data/map/ImageMapper.java
JMenu menu = view.getWindowsMenu();
JMenu menu = HiViewerFactory.getWindowsMenu();
private void attachListeners() { JMenu menu = view.getWindowsMenu(); menu.addMenuListener(new MenuListener() { public void menuSelected(MenuEvent e) { createWindowsMenuItems(); } /** * Required by I/F but not actually needed in our case, *...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c339ee7ede327002893658553251772acc5aba8e/HiViewerControl.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/HiViewerControl.java
JMenu menu = view.getWindowsMenu();
JMenu menu = HiViewerFactory.getWindowsMenu();
private void createWindowsMenuItems() { Set viewers = HiViewerFactory.getViewers(); Iterator i = viewers.iterator(); JMenu menu = view.getWindowsMenu(); menu.removeAll(); HiViewer viewer; while (i.hasNext()) { viewer = (HiViewer) i.next(); //if (!(v...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c339ee7ede327002893658553251772acc5aba8e/HiViewerControl.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/HiViewerControl.java
if (object == null || !(object instanceof Note[])) return;
if (object == null) return; if (!(object instanceof List)) return; if (((List) object).isEmpty()) return; if (!(((List) object).get(0) instanceof Note)) return;
public void javaToNative(Object object, TransferData transferData) { // If null Object or unsupported TransferData, return. if (object == null || !(object instanceof Note[])) return; if (!isSupportedType(transferData)) return; // Write data to a byte[]. List<Note> notes = (List<Note>) object; org.jdom.Docume...
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/e0c97f70a1e721064c26c047854271c43a5e5356/NoteTransfer.java/clean/trunk/src/de/berlios/koalanotes/data/NoteTransfer.java
if (group != null && !usedGroups.containsKey(new Integer(group.getID()))) { groupID = new Integer(group.getID()); groupData = (CategoryGroupData) groupsMap.get(groupID); if (groupData == null) { groupData = createCategoryGroupData(group); groupsMap.put(groupID, groupData); } catData = createCategoryData(category, cate...
if (group != null) { if (!usedGroups.containsKey(new Integer(group.getID()))) { groupID = new Integer(group.getID()); groupData = (CategoryGroupData) groupsMap.get(groupID); if (groupData == null) { groupData = createCategoryGroupData(group); groupsMap.put(groupID, groupData); } catData = createCategoryData(category, ...
public static List fillICGHierarchyAvailable(List categories, int imgID, int userID) { ArrayList results = new ArrayList(), finalResults = new ArrayList(); Iterator i = categories.iterator(), j; Category category; CategoryGroup group; ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/59f74816fa77a67f314a1ab6fd2bff7092c3761e/HierarchyMapper.java/buggy/SRC/org/openmicroscopy/shoola/env/data/map/HierarchyMapper.java
logger.debug("Moving " + sourceFile.getAbsolutePath() + " to " + destinationFile.getAbsolutePath());
public static void moveFile(File sourceFile, File destinationFile) throws IOException { logger.debug("Moving " + sourceFile.getAbsolutePath() + " to " + destinationFile.getAbsolutePath()); if (destinationFile.exists()) { destinationFile.delete(); } // Move file using File method if possible boolean succes...
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/ea44d50de680cfb1f234670ee0209ccd6aa03416/IOUtil.java/buggy/cobertura/src/net/sourceforge/cobertura/util/IOUtil.java
logger.debug("Using copy and delete method");
public static void moveFile(File sourceFile, File destinationFile) throws IOException { logger.debug("Moving " + sourceFile.getAbsolutePath() + " to " + destinationFile.getAbsolutePath()); if (destinationFile.exists()) { destinationFile.delete(); } // Move file using File method if possible boolean succes...
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/ea44d50de680cfb1f234670ee0209ccd6aa03416/IOUtil.java/buggy/cobertura/src/net/sourceforge/cobertura/util/IOUtil.java
if (in != null) { try { in.close(); } catch (IOException e) { } } if (out != null) { try { out.close(); } catch (IOException e) { } }
in = closeInputStream(in); out = closeOutputStream(out);
public static void moveFile(File sourceFile, File destinationFile) throws IOException { logger.debug("Moving " + sourceFile.getAbsolutePath() + " to " + destinationFile.getAbsolutePath()); if (destinationFile.exists()) { destinationFile.delete(); } // Move file using File method if possible boolean succes...
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/ea44d50de680cfb1f234670ee0209ccd6aa03416/IOUtil.java/buggy/cobertura/src/net/sourceforge/cobertura/util/IOUtil.java
RenderingDef rd = renderer.getRenderingDef(); rd.setModel(model);
renderer.setModel(model);
public void setModel(int model) { RenderingDef rd = renderer.getRenderingDef(); rd.setModel(model); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1af109c95da3a7c178aa582fbdc0a6c825b00e8c/RenderingControlImpl.java/buggy/SRC/org/openmicroscopy/shoola/env/rnd/RenderingControlImpl.java
yaccValue = "/";
yaccValue = new Token("/", getPositionMinusOne());
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/8572b390aa5b34714eb70b1bd714809afa75250f/RubyYaccLexer.java/buggy/src/org/jruby/lexer/yacc/RubyYaccLexer.java
if (target instanceof RubySymbol) { target = ((RubySymbol) target).to_s();
if (target instanceof RubySymbol || target instanceof RubyHash || target instanceof RubyArray) { return getRuntime().getFalse();
public IRubyObject match(IRubyObject target) { if (target.isNil()) { return getRuntime().getFalse(); } // FIXME: I think all String expecting functions has this magic via RSTRING if (target instanceof RubySymbol) { target = ((RubySymbol) target).to_s(); } int res...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/acaedb438064c34d587644e2a0b795719112f4b7/RubyRegexp.java/clean/src/org/jruby/RubyRegexp.java
public static void main(String args[]) throws IOException { int n = Integer.parseInt(args[0]); Toggle toggle1 = new Toggle(true); for (int i=0; i<5; i++) { System.out.println((toggle1.activate().value()) ? "true" : "false"); } for (int i=0; i<n; i++) { Toggle toggle = new Toggle(true); } System.out.println(...
53330 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53330/eb6c850277407b38bcaefb81155941da0f27b849/objinst.java/buggy/tests/shootout/java-start/objinst.java
String folder = folderInput.getValue().toString();
public UIComponent getEditContainer() { WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErr...
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/85abe1a1d8224eab228f69b0414a9ed716f19f48/EditArticleBlock.java/clean/src/java/com/idega/block/article/component/EditArticleBlock.java
initCopy(newObj);
newObj.setTaint(isTaint()); newObj.initCopy(this); newObj.setFrozen(isFrozen());
public IRubyObject rbClone() { RubyRegexp newObj = new RubyRegexp(getRuntime()); newObj.pattern = pattern; newObj.code = code; initCopy(newObj); return newObj; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/49aa6e52e2393f8c17a3c126aed59b8fd08b68aa/RubyRegexp.java/buggy/src/org/jruby/RubyRegexp.java
ObjectNameBuilder objectNameBuilder = new ObjectNameBuilder(metadataManager, "domain", "server", "application");
ObjectNameBuilder objectNameBuilder = new ObjectNameBuilder(metadataManager, "domain", "server", "module");
public void testObjectNameCreation() { String beanName = "foobar"; assertTrue(factory.containsBeanDefinition(beanName)); BeanDefinition beanDefinition = factory.getBeanDefinition(beanName); assertNotNull(beanDefinition); assertFalse(beanDefinition.getPropertyValues().contains("gbe...
52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/6a661ce4fbc3261ed4b3a744b1e1919df53cbbf7/ObjectNameBuilderTest.java/buggy/kernel/src/test/org/gbean/spring/ObjectNameBuilderTest.java
ObjectName objectName = ServiceName.createName("domain:J2EEServer=server,J2EEApplication=application,name=" + beanName);
ObjectName objectName = ServiceName.createName("domain:J2EEServer=server,J2EEApplication=null,J2EEModule=module,name=" + beanName);
public void testObjectNameCreation() { String beanName = "foobar"; assertTrue(factory.containsBeanDefinition(beanName)); BeanDefinition beanDefinition = factory.getBeanDefinition(beanName); assertNotNull(beanDefinition); assertFalse(beanDefinition.getPropertyValues().contains("gbe...
52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/6a661ce4fbc3261ed4b3a744b1e1919df53cbbf7/ObjectNameBuilderTest.java/buggy/kernel/src/test/org/gbean/spring/ObjectNameBuilderTest.java
"WEB-INF/security.xml",
protected String[] getConfigLocations() { return new String[] { "WEB-INF/services.xml", "WEB-INF/dao.xml", "WEB-INF/data.xml", "WEB-INF/test/config-test.xml", "WEB-INF/test/test.xml"}; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/00ef5f18481d04aa649d8ea20819b4b7bb9c2f28/LeftOuterJoinTest.java/clean/components/server/test/org/openmicroscopy/omero/server/itests/LeftOuterJoinTest.java
iter = prev.iter; prev = prev.prev;
if (count > 0) { count --; } else { iter = prev.iter; prev = prev.prev; }
public void pop() { iter = prev.iter; prev = prev.prev; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/RubyIter.java/buggy/org/jruby/runtime/RubyIter.java
prev = new RubyIter(iter, prev); iter = newIter;
if (newIter == iter) { count ++; } else { prev = new RubyIter(iter, prev); iter = newIter; }
public void push(int newIter) { prev = new RubyIter(iter, prev); iter = newIter; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/RubyIter.java/buggy/org/jruby/runtime/RubyIter.java
public void setIter(int iter) { this.iter = iter;
public void setIter(int newIter) { if (count > 0) { prev = new RubyIter(iter, prev); prev.count --; count = 0; } iter = newIter;
public void setIter(int iter) { this.iter = iter; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/RubyIter.java/buggy/org/jruby/runtime/RubyIter.java
public static void main(String args[]) { int n = Integer.parseInt(args[0]); int m1[][] = mkmatrix(SIZE, SIZE); int m2[][] = mkmatrix(SIZE, SIZE); int mm[][] = new int[SIZE][SIZE]; for (int i=0; i<n; i++) { mmult(SIZE, SIZE, m1, m2, mm); } System.out.print(mm[0][0]); System.out.print(" "); System.out.print(mm[2]...
53330 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53330/eb6c850277407b38bcaefb81155941da0f27b849/matrix.java/buggy/tests/shootout/java-start/matrix.java
public void setLeaves(Set leaves);
public void setLeaves(Set leaves, TreeImageSet parent);
public void setLeaves(Set leaves);
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/f55df2b5b71c0122a31a16e32e593ee35703ee52/Browser.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/browser/Browser.java
ignoreRegex = new Ignore();
Ignore ignoreRegex = new Ignore(); ignoreRegexs.add(ignoreRegex);
public Ignore createIgnore() { ignoreRegex = new Ignore(); return ignoreRegex; }
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/98a1c5393bec425291a2a3140327df05e58b1582/InstrumentTask.java/buggy/cobertura/src/net/sourceforge/cobertura/ant/InstrumentTask.java
if (ignoreRegex != null)
for (int i = 0; i < ignoreRegexs.size(); i++) { Ignore ignoreRegex = (Ignore)ignoreRegexs.get(i);
public void execute() throws BuildException { CommandLineBuilder builder = null; try { builder = new CommandLineBuilder(); if (dataFile != null) builder.addArg("--datafile", dataFile); if (toDir != null) builder.addArg("--destination", toDir.getAbsolutePath()); // ignoreRegex.setRegex() is never called...
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/98a1c5393bec425291a2a3140327df05e58b1582/InstrumentTask.java/buggy/cobertura/src/net/sourceforge/cobertura/ant/InstrumentTask.java
}
public void execute() throws BuildException { CommandLineBuilder builder = null; try { builder = new CommandLineBuilder(); if (dataFile != null) builder.addArg("--datafile", dataFile); if (toDir != null) builder.addArg("--destination", toDir.getAbsolutePath()); // ignoreRegex.setRegex() is never called...
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/98a1c5393bec425291a2a3140327df05e58b1582/InstrumentTask.java/buggy/cobertura/src/net/sourceforge/cobertura/ant/InstrumentTask.java
private UIComponent getMetadataPanel() { String path = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getFolderLocation"); String fileName = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getHeadline");// System.out.println("path = "+path+"/"+fileName+".xml"); WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fi...
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/e75e5a35d9b917c44d8a58d117a43ccf5ad660b4/ArticleDetailView.java/clean/src/java/com/idega/block/article/component/ArticleDetailView.java
WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fileName+".xml");
WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fileName+ArticleItemBean.ARTICLE_SUFFIX);
private UIComponent getMetadataPanel() { String path = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getFolderLocation"); String fileName = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getHeadline");// System.out.println("path = "+path+"/"+fileName+".xml"); WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fi...
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/e75e5a35d9b917c44d8a58d117a43ccf5ad660b4/ArticleDetailView.java/clean/src/java/com/idega/block/article/component/ArticleDetailView.java
public RubyArray(final Ruby ruby, final ArrayList list) {
private RubyArray(final Ruby ruby, final ArrayList list) {
public RubyArray(final Ruby ruby, final ArrayList list) { super(ruby, ruby.getClasses().getArrayClass()); this.list = list; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/62333c275b1a643f18c9a79af5bbb2f0027f4392/RubyArray.java/clean/org/jruby/RubyArray.java
public boolean load(String file) {
public void load(String file) {
public boolean load(String file) { Library library = null; for (int i = 0; i < suffixes.length; i++) { library = findLibrary(file + suffixes[i]); if (library != null) { break; } } if (library == null) { throw new LoadError(runtim...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ee934b89304925fd623a76285f84cfb31cb3695f/LoadService.java/clean/src/org/jruby/internal/runtime/load/LoadService.java
return true;
public boolean load(String file) { Library library = null; for (int i = 0; i < suffixes.length; i++) { library = findLibrary(file + suffixes[i]); if (library != null) { break; } } if (library == null) { throw new LoadError(runtim...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ee934b89304925fd623a76285f84cfb31cb3695f/LoadService.java/clean/src/org/jruby/internal/runtime/load/LoadService.java
if (load(file)) { return true;
try { load(file); return true; } catch (RuntimeException e) { loadedFeatures.remove(name); throw e;
public boolean require(String file) { RubyString name = runtime.newString(file); if (loadedFeatures.contains(name)) { return false; } loadedFeatures.add(name); if (load(file)) { return true; } loadedFeatures.remove(name); return false; ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ee934b89304925fd623a76285f84cfb31cb3695f/LoadService.java/clean/src/org/jruby/internal/runtime/load/LoadService.java
loadedFeatures.remove(name); return false;
public boolean require(String file) { RubyString name = runtime.newString(file); if (loadedFeatures.contains(name)) { return false; } loadedFeatures.add(name); if (load(file)) { return true; } loadedFeatures.remove(name); return false; ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ee934b89304925fd623a76285f84cfb31cb3695f/LoadService.java/clean/src/org/jruby/internal/runtime/load/LoadService.java
activated = false; repaint();
public void cancelPan() { if(timer != null && activeTask != null) { activeTask.cancel(); timer.cancel(); activated = false; } }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
if((-deltaX+cWest < wOffset) ||
if(((-deltaX+cWest < wOffset) ||
protected void makeBoundedCameraMotion(PCamera c, double deltaX, double deltaY) { PBounds pBounds = c.getViewBounds(); Rectangle2D rBounds = pBounds.getBounds2D(); double wOffset = activeRegion.getX(); double nOffse...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
fdX = 0;
if(-deltaX+cWest < wOffset) { fdX = -wOffset; } else if(-deltaX+cEast > eOffset) { fdX = -(eOffset-cEast); }
protected void makeBoundedCameraMotion(PCamera c, double deltaX, double deltaY) { PBounds pBounds = c.getViewBounds(); Rectangle2D rBounds = pBounds.getBounds2D(); double wOffset = activeRegion.getX(); double nOffse...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
if((-deltaY+cNorth < nOffset) ||
if(((-deltaY+cNorth < nOffset) ||
protected void makeBoundedCameraMotion(PCamera c, double deltaX, double deltaY) { PBounds pBounds = c.getViewBounds(); Rectangle2D rBounds = pBounds.getBounds2D(); double wOffset = activeRegion.getX(); double nOffse...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
fdY = 0;
if(-deltaY+cNorth < nOffset) { fdY = nOffset; } else if(-deltaY+cSouth > sOffset) { if(nOffset > 0) { fdY = -(sOffset-cSouth); } }
protected void makeBoundedCameraMotion(PCamera c, double deltaX, double deltaY) { PBounds pBounds = c.getViewBounds(); Rectangle2D rBounds = pBounds.getBounds2D(); double wOffset = activeRegion.getX(); double nOffse...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
c.translateView(fdX,fdY); c.repaint();
if(fdX != 0 || fdY != 0) { c.translateView(fdX,fdY); c.repaint(); }
protected void makeBoundedCameraMotion(PCamera c, double deltaX, double deltaY) { PBounds pBounds = c.getViewBounds(); Rectangle2D rBounds = pBounds.getBounds2D(); double wOffset = activeRegion.getX(); double nOffse...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
double netAmount = camera.localToView(new Point2D.Double(panSpeed,0)).getX();
double netAmount = panSpeed/camera.getViewScale(); System.err.println("net movement="+netAmount);
protected void recalculatePanNodes() { for(Iterator iter = panNodeList.iterator(); iter.hasNext();) { camera.removeChild((PanCameraNode)iter.next()); } panNodeList.clear(); double netAmount = camera.localToView(new Point2D.Double(panSpeed,0)).getX(); ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2ebbcadad041defe8ddeaf2234f791a2934648d2/BrowserCamera.java/buggy/SRC/org/openmicroscopy/shoola/agents/browser/BrowserCamera.java
case '@' : encode.setPosition(occurrences); break;
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby ruby = formatString.getRuntime(); RubyArray result = RubyArray.newArray(ruby); PtrList format = new PtrList(ruby, formatString.getValue()); PtrList encode = new PtrList(ruby, encodedString); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4e8afef0dba3b66a390c9ba70b997174b975fc0e/Pack.java/buggy/src/org/jruby/util/Pack.java
bodyDoc = builder.parse(new ByteArrayInputStream(theArticle.getMethodDataAsString().getBytes()));
bodyDoc = builder.parse(new ByteArrayInputStream(theArticle.getMethodDataAsString().getBytes("UTF-8")));
public boolean load(WebdavExtendedResource webdavResource) throws IOException { XMLParser builder = new XMLParser(); XMLDocument bodyDoc = null; try { WebdavResource theArticle = null; if(webdavResource.isCollection()){ IWContext iwc = IWContext.getInstance(); WebdavResources resources = webdavResourc...
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/bde3978cdac99a3b033366e1667514875de6a6c2/ArticleItemBean.java/buggy/src/java/com/idega/block/article/bean/ArticleItemBean.java
if(rootResource.putMethod(filePath,article)){
if(rootResource.putMethod(filePath,utf8stream)){
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; }// if (getBody().trim().equals("")) {// addErrorKey(KEY_ERROR_BODY_EMPTY);// storeOk = false;// } // if (getRequestedSt...
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/bde3978cdac99a3b033366e1667514875de6a6c2/ArticleItemBean.java/buggy/src/java/com/idega/block/article/bean/ArticleItemBean.java
rootResource.putMethod(fixedURL,article);
rootResource.putMethod(fixedURL,utf8stream);
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; }// if (getBody().trim().equals("")) {// addErrorKey(KEY_ERROR_BODY_EMPTY);// storeOk = false;// } // if (getRequestedSt...
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/bde3978cdac99a3b033366e1667514875de6a6c2/ArticleItemBean.java/buggy/src/java/com/idega/block/article/bean/ArticleItemBean.java
return null;
FlowGraphNode result = (FlowGraphNode)identToAbslocMap.get(ident); if (result == null) { identToAbslocMap.put(ident, result = new AbslocNode(ident.toString(), type)); } return result;
public FlowGraphNode makeAbslocNode(Object ident, Type typ, SootMethod enclosingMethod) { return null; }
53330 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53330/0d4ee953a1e7f98cde5831da1aed0d2c700c5a26/FlowGraph.java/buggy/banshee/java/conflux/flowgraph/FlowGraph.java
SootMethod method) { return null;
SootMethod enclosingMethod) { return base.getField(field);
public FlowGraphNode makeFieldRefNode(FlowGraphNode base, SootField field, SootMethod method) { return null; }
53330 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53330/0d4ee953a1e7f98cde5831da1aed0d2c700c5a26/FlowGraph.java/buggy/banshee/java/conflux/flowgraph/FlowGraph.java
throw new IllegalArgumentException("Could not load property editor: "+propertyEditor, e);
throw (IllegalArgumentException)new IllegalArgumentException("Could not load property editor: "+propertyEditor).initCause(e);
protected PropertyEditor createPropertyEditor(String propertyEditor) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); if( cl==null ) { cl = XBeanXmlBeanDefinitionParser.class.getClassLoader(); } try { return (PropertyEditor)cl.loadClass(propertyEditor).newInstan...
52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/354c41d6c2c4265c5e2ce703503def790f084e2e/XBeanXmlBeanDefinitionParser.java/clean/xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java
private Ruby() { init();
private Ruby(InputStream in, PrintStream out, PrintStream err) { this.in = in; this.out = out; this.err = err; init();
private Ruby() { init(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b4a189a27604d62c317938f16a124fb9dab1e94a/Ruby.java/buggy/src/org/jruby/Ruby.java
return new Ruby();
return new Ruby(System.in, System.out, System.err);
public static IRuby getDefaultInstance() { return new Ruby(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b4a189a27604d62c317938f16a124fb9dab1e94a/Ruby.java/buggy/src/org/jruby/Ruby.java
public Object getObject() { return object;; }
public Object getObject() { return object; }
public Object getObject() { return object;; }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/fe9bd274e8011ec87dc540fa0ad925d5bac41b1a/SMapCacheManager.java/buggy/webmacro/src/org/webmacro/resource/SMapCacheManager.java
NoteTreeNode parentTreeNode = dd.getTree().getSelectedNode(); Note parentNote = parentTreeNode.getDisplayedNote().getNote();
DisplayedNote parentDisplayed = dd.getTree().getSelectedNote(); Note parentNote = parentDisplayed.getNote();
public void addNote(Event e) { NoteTreeNode parentTreeNode = dd.getTree().getSelectedNode(); Note parentNote = parentTreeNode.getDisplayedNote().getNote(); Note newNote = new Note("new", parentNote, ""); parentTreeNode.addChild(newNote); }
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/a21e67d29e81a4038ecb2d55530f57396df4085c/TreeContextMenuController.java/buggy/trunk/src/de/berlios/koalanotes/controllers/TreeContextMenuController.java
parentTreeNode.addChild(newNote);
new DisplayedNote(parentDisplayed, newNote);
public void addNote(Event e) { NoteTreeNode parentTreeNode = dd.getTree().getSelectedNode(); Note parentNote = parentTreeNode.getDisplayedNote().getNote(); Note newNote = new Note("new", parentNote, ""); parentTreeNode.addChild(newNote); }
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/a21e67d29e81a4038ecb2d55530f57396df4085c/TreeContextMenuController.java/buggy/trunk/src/de/berlios/koalanotes/controllers/TreeContextMenuController.java
for (NoteTreeNode node : dd.getTree().getSelectedNodes()) { node.dispose();
for (DisplayedNote removeMe : dd.getTree().getSelectedNotes()) { removeMe.disposeDisplayedWidgets(); removeMe.getNote().removeFromParent();
public void removeNotes(Event e) { for (NoteTreeNode node : dd.getTree().getSelectedNodes()) { node.dispose(); } }
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/a21e67d29e81a4038ecb2d55530f57396df4085c/TreeContextMenuController.java/buggy/trunk/src/de/berlios/koalanotes/controllers/TreeContextMenuController.java
c.addWantedField("granularity");
private static Criteria buildBasicTypeCriteria() { Criteria c = new Criteria(); c.addWantedField("id"); c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("semantic_elements"); c.addWantedField("semantic_elements", "id"); c.addWantedField("semantic_elements", "name"); ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/f5113c7a4ff99bcbee06e1b48554259a952e1a44/STSMapper.java/buggy/SRC/org/openmicroscopy/shoola/env/data/map/STSMapper.java
c.addWantedField("semantic_type","name"); c.addWantedField("semantic_type","granularity");
public static Criteria buildDefaultRetrieveCriteria(String granularity, int targetID) { Criteria c = new Criteria(); // all non-references; has-ones with just ID's; no has-manys c.addWantedField(":all:"); c.addWantedField("semantic_type"); c.addWantedField("semantic_type", "semanti...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/f5113c7a4ff99bcbee06e1b48554259a952e1a44/STSMapper.java/buggy/SRC/org/openmicroscopy/shoola/env/data/map/STSMapper.java