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 |
|---|---|---|---|---|---|---|
public ProblemTreeViewer(Composite parent, int style) { super(parent, style); | public ProblemTreeViewer(Composite parent) { super(parent); | public ProblemTreeViewer(Composite parent, int style) { super(parent, style); initMapper(); } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/6f0081c16d3f914240dcdc6bbf9fdd334ecd34ef/ProblemTreeViewer.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
21685,
2471,
18415,
12,
9400,
982,
16,
509,
2154,
13,
288,
202,
202,
9565,
12,
2938,
16,
2154,
1769,
202,
202,
2738,
4597,
5621,
202,
97,
2,
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,
0,
0,
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,
21685,
2471,
18415,
12,
9400,
982,
16,
509,
2154,
13,
288,
202,
202,
9565,
12,
2938,
16,
2154,
1769,
202,
202,
2738,
4597,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100... |
componentManager.createInstanceByContractID(NS_ARRAY_CONTRACTID, null, nsIMutableArray.NS_IMUTABLEARRAY_IID); | componentManager.createInstanceByContractID(NS_ARRAY_CONTRACTID, null, nsIMutableArray.NS_IMUTABLEARRAY_IID); | public static void main(String [] args) { System.loadLibrary("javaxpcom"); String mozillaPath = System.getProperty("MOZILLA_FIVE_HOME"); if (mozillaPath == null) { throw new RuntimeException("MOZILLA_FIVE_HOME system property not set."); } File localFile = new File(mozillaPath); XPCOM.initXPCOM... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/a9cbf29a395115fcba00539603945b0d38471036/TestArray.java/clean/extensions/java/xpcom/tests/TestArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
5378,
833,
13,
288,
565,
2332,
18,
945,
9313,
2932,
28384,
84,
832,
8863,
565,
514,
27513,
743,
273,
2332,
18,
588,
1396,
2932,
5980,
62,
2627,
2534,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
2774,
12,
780,
5378,
833,
13,
288,
565,
2332,
18,
945,
9313,
2932,
28384,
84,
832,
8863,
565,
514,
27513,
743,
273,
2332,
18,
588,
1396,
2932,
5980,
62,
2627,
2534,
67,
... |
Runnable postRunnable = myPostRefreshRunnables.pop(); | public void run() { ApplicationManager.getApplication().assertIsDispatchThread(); Runnable postRunnable = myPostRefreshRunnables.pop(); ApplicationManager.getApplication().runWriteAction( new Runnable() { public void run() { //noinspection ForLoopReplaceableBy... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/bb900c16c0b3c1c0f710b9ab4eedeb639d65937c/VirtualFileManagerImpl.java/clean/source/com/intellij/openapi/vfs/impl/VirtualFileManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
4257,
1318,
18,
588,
3208,
7675,
11231,
2520,
5325,
3830,
5621,
9079,
4257,
1318,
18,
588,
3208,
7675,
2681,
3067,
1803,
12,
1850,
394,
10254,
1435,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4202,
1071,
918,
1086,
1435,
288,
3639,
4257,
1318,
18,
588,
3208,
7675,
11231,
2520,
5325,
3830,
5621,
9079,
4257,
1318,
18,
588,
3208,
7675,
2681,
3067,
1803,
12,
1850,
394,
10254,
1435,
288,
... | |
_checkboxLabel = new JLabel(text); _panel = new JPanel(); _panel.setLayout(new BorderLayout()); _panel.add(_jcb, BorderLayout.WEST); _panel.add(_checkboxLabel, BorderLayout.CENTER); | _jcb.setText(text); | public BooleanOptionComponent (BooleanOption opt, String text, Frame parent) { super(opt, "", parent); _jcb = new JCheckBox(); _checkboxLabel = new JLabel(text); _panel = new JPanel(); _panel.setLayout(new BorderLayout()); _panel.add(_jcb, BorderLayout.WEST); _panel.add(_checkboxLabel, Border... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e782d4da2d7bff038017015047af677bda357a17/BooleanOptionComponent.java/buggy/drjava/src/edu/rice/cs/drjava/ui/config/BooleanOptionComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3411,
1895,
1841,
261,
5507,
1895,
2153,
16,
514,
977,
16,
8058,
982,
13,
288,
565,
2240,
12,
3838,
16,
23453,
982,
1769,
565,
389,
78,
7358,
273,
394,
804,
19174,
5621,
565,
389,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3411,
1895,
1841,
261,
5507,
1895,
2153,
16,
514,
977,
16,
8058,
982,
13,
288,
565,
2240,
12,
3838,
16,
23453,
982,
1769,
565,
389,
78,
7358,
273,
394,
804,
19174,
5621,
565,
389,... |
log.error("File not found.\n" + notFound); | System.err.println("File not found.\n" + notFound); | public static void main(String[] args) { String config="config.txt"; BufferedReader fileReader; String line; boolean sender=false; int num_msgs=1000; int msg_size=500; int grpMembers=4; int num_senders=1; String props=null; long log_interval=10... | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/5ad015d9a78e1da3350d9b398b46b2f5d4508564/Test.java/clean/tests/other/org/jgroups/tests/adapt/Test.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
514,
642,
1546,
1425,
18,
5830,
14432,
3639,
10633,
585,
2514,
31,
3639,
514,
980,
31,
3639,
1250,
5793,
33,
5743,
31,
3639,
509... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
514,
642,
1546,
1425,
18,
5830,
14432,
3639,
10633,
585,
2514,
31,
3639,
514,
980,
31,
3639,
1250,
5793,
33,
5743,
31,
3639,
509... |
public void storA(File saveFile, String fileName, boolean append) { | public void storA(File saveFile, String fileName, boolean append) throws IOException { | public void storA(File saveFile, String fileName, boolean append) { BufferedReader incomingData = null; PrintWriter diskFile = null; String line = null; Socket listSocket = getDataConnection(); output("150 Opening ASCII mode data connection to receive " + fileName); try { ... | 46419 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46419/a457f8cb2a16bdeabc16fbe1278f38ef45783f6e/FtpConnection.java/buggy/src/org/carion/s3ftp/FtpConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19705,
37,
12,
812,
1923,
812,
16,
514,
3968,
16,
1250,
714,
13,
1216,
1860,
288,
3639,
10633,
6935,
751,
273,
446,
31,
3639,
14071,
4234,
812,
273,
446,
31,
3639,
514,
980,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19705,
37,
12,
812,
1923,
812,
16,
514,
3968,
16,
1250,
714,
13,
1216,
1860,
288,
3639,
10633,
6935,
751,
273,
446,
31,
3639,
14071,
4234,
812,
273,
446,
31,
3639,
514,
980,
... |
entries.save(false); | private void destroyDirectory(SVNDirectory parent, SVNDirectory dir, boolean deleteWorkingFiles) throws SVNException { SVNEntries entries = dir.getEntries(); entries.getEntry("").setIncomplete(true); entries.save(false); // iterate over dir's entries, delete files and recurse int... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/bb0adb374aa09214768fb75a12d1f1833b57fbef/SVNDirectory.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/ws/log/SVNDirectory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5546,
2853,
12,
23927,
50,
2853,
982,
16,
29537,
50,
2853,
1577,
16,
1250,
1430,
14836,
2697,
13,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5400,
3222,
273,
1577,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5546,
2853,
12,
23927,
50,
2853,
982,
16,
29537,
50,
2853,
1577,
16,
1250,
1430,
14836,
2697,
13,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5400,
3222,
273,
1577,
18,
588,
... | |
if (containingFile instanceof PsiJavaFile) { | if (containingFile instanceof PsiJavaFile && !(containingFile instanceof JspFile)) { | public UsageGroup groupUsage(Usage usage) { if (usage instanceof PsiElementUsage) { final PsiElement psiElement = ((PsiElementUsage)usage).getElement(); final PsiFile containingFile = psiElement.getContainingFile(); if (containingFile instanceof PsiJavaFile) { PsiElement containingClass = psi... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/ac4a091ffa5937058398b4dc3c9df222142ed4fe/ClassGroupingRule.java/clean/UsageView/src/com/intellij/usages/impl/rules/ClassGroupingRule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10858,
1114,
1041,
5357,
12,
5357,
4084,
13,
288,
565,
309,
261,
9167,
1276,
453,
7722,
1046,
5357,
13,
288,
1377,
727,
453,
7722,
1046,
23921,
1046,
273,
14015,
52,
7722,
1046,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10858,
1114,
1041,
5357,
12,
5357,
4084,
13,
288,
565,
309,
261,
9167,
1276,
453,
7722,
1046,
5357,
13,
288,
1377,
727,
453,
7722,
1046,
23921,
1046,
273,
14015,
52,
7722,
1046,
535... |
if (propError > 0){ | if (propError > 0) { | public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { // the template to be displayed String template = null; // get the document to display CmsXmlWpTemplateFile xmlTemplateDocument... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2bcae41c30327ec6c96f485307a4af0b50e8483a/CmsNewResourceFolder.java/buggy/src/com/opencms/workplace/CmsNewResourceFolder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
5411,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
368,
326,
1542,
358,
506,
10453,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
5411,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
368,
326,
1542,
358,
506,
10453,
3639,... |
isDigit(char ch) { return '0' <= ch && ch <= '9'; } | private static boolean isDigit(char ch) { return '0' <= ch && ch <= '9'; } | isDigit(char ch) { return '0' <= ch && ch <= '9'; } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/adc94596e6496781a4e0763b29a52be3daab1a7a/DebuggerThread.java/clean/rvm/src/vm/scheduler/DebuggerThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
29610,
12,
3001,
462,
13,
1377,
288,
1377,
327,
296,
20,
11,
1648,
462,
597,
462,
1648,
296,
29,
13506,
1377,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
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,
565,
29610,
12,
3001,
462,
13,
1377,
288,
1377,
327,
296,
20,
11,
1648,
462,
597,
462,
1648,
296,
29,
13506,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
return _creatingSet.contains(object); | return _creatingMap.containsKey(object); | public boolean isCreating(final Object o) { Object object = supportCGLibObject(o); return _creatingSet.contains(object); } | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/4f5a790ea3693abee242ba926c20e6e2f5c6b173/ObjectTracker.java/clean/trunk/castor/src/main/org/castor/persist/ObjectTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
11092,
12,
6385,
1033,
320,
13,
288,
3639,
1033,
733,
273,
2865,
20585,
5664,
921,
12,
83,
1769,
3639,
327,
389,
23799,
863,
18,
12298,
653,
12,
1612,
1769,
565,
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,
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,
353,
11092,
12,
6385,
1033,
320,
13,
288,
3639,
1033,
733,
273,
2865,
20585,
5664,
921,
12,
83,
1769,
3639,
327,
389,
23799,
863,
18,
12298,
653,
12,
1612,
1769,
565,
289,
2... |
protected String getKey() { return makeKey(host,port,transport); | protected String getKey() { return makeKey(host,port,transport); | protected String getKey() { return makeKey(host,port,transport); } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/7655f6d0a726211fb4e514efe5e3a74736895633/ListeningPointImpl.java/buggy/trunk/src/gov/nist/javax/sip/ListeningPointImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
3579,
1435,
288,
3639,
327,
1221,
653,
12,
2564,
16,
655,
16,
13049,
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... | [
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
3579,
1435,
288,
3639,
327,
1221,
653,
12,
2564,
16,
655,
16,
13049,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
CallableStatement s = con.prepareCall("exec #Bug457955 ?"); s.setString(1, param); s.executeQuery(); | CallableStatement cstmt = con.prepareCall("exec #Bug457955 ?"); cstmt.setString(1, param); cstmt.executeQuery(); cstmt.close(); | public void testBug457955() throws Exception { Statement stmt = con.createStatement(); dropProcedure("#Bug457955"); stmt.executeUpdate(" create procedure #Bug457955 (@par1 VARCHAR(10)) as select @par1"); String param = "123456789"; CallableStatement s = con.prepareCall("exec #Bug... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/0a7ebc6de64e4f3e83cd11c83fd69cd327106d66/AsTest.java/clean/src/test/net/sourceforge/jtds/test/AsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19865,
7950,
7235,
2539,
1435,
1216,
1185,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3640,
17213,
2932,
7,
19865,
7950,
7235,
2539,
8863,
3639,
3480,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19865,
7950,
7235,
2539,
1435,
1216,
1185,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3640,
17213,
2932,
7,
19865,
7950,
7235,
2539,
8863,
3639,
3480,
18,... |
return jjStopAtPos(0, 34); case 58: return jjStopAtPos(0, 5); | return jjStopAtPos(0, 31); case 60: jjmatchedKind = 35; return jjMoveStringLiteralDfa1_0(0x1000000000L); | private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 35: jjmatchedKind = 18; return jjMoveStringLiteralDfa1_0(0x28000L); case 37: return jjStopAtPos(0, 35); case 40: return jjStopAtPos(0, 8); case 42: return jjStopAtPos(0, 33); case 4... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/89173502837b4d67a69cd30d0b93cf47ed84c8cc/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,
28565,
40,
507,
20,
67,
20,
1435,
95,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
10684,
11073,
5677,
273,
6549,
31,
540,
327,
10684,
760... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28565,
40,
507,
20,
67,
20,
1435,
95,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
10684,
11073,
5677,
273,
6549,
31,
540,
327,
10684,
760... |
if ( (fFacetsDefined & DatatypeValidator.FACET_PATTERN ) != 0 ) { if ( fRegex == null || fRegex.matches( content) == false ) throw new InvalidDatatypeValueException("Value '"+content+ "' does not match regular expression facet '" + fPattern + "'." ); } | private void checkContent( String content, Object state )throws InvalidDatatypeValueException { if ( this.fBaseValidator != null ) {//validate against parent type if any this.fBaseValidator.validate( content, state ); } if ( (fFacetsDefined & DatatypeValidator.FACET_MAXLENGTH) != ... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/d4d6cb515d1e4da913b4d8d417b56672e59b79da/StringDatatypeValidator.java/clean/src/org/apache/xerces/validators/datatype/StringDatatypeValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
1350,
12,
514,
913,
16,
1033,
919,
262,
15069,
1962,
20228,
9738,
565,
288,
3639,
309,
261,
333,
18,
74,
2171,
5126,
480,
446,
262,
288,
759,
5662,
5314,
982,
618,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
1350,
12,
514,
913,
16,
1033,
919,
262,
15069,
1962,
20228,
9738,
565,
288,
3639,
309,
261,
333,
18,
74,
2171,
5126,
480,
446,
262,
288,
759,
5662,
5314,
982,
618,
309,
... | |
tr.width = fm.stringWidth(text); tr.height = fm.getHeight(); | switch (verticalTextPosition) { case TOP: textR.y = 0; iconR.y = textR.height + textIconGap; break; case BOTTOM: iconR.y = 0; textR.y = iconR.height + textIconGap; break; case CENTER: int centerLine = Math.max(textR.height, iconR.height) / 2; textR.y = centerLine - textR.height/2; iconR.y = centerLine - iconR.height/2;... | public static String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, in... | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/a969e4b30bfe4dfbec01c97d2652768b3b2da81f/SwingUtilities.java/buggy/libjava/javax/swing/SwingUtilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
3511,
16835,
2224,
12,
46,
1841,
276,
16,
4766,
5411,
10063,
5653,
10940,
16,
4766,
6647,
514,
977,
16,
4766,
6647,
16011,
277,
16,
4766,
6647,
509,
3173,
67,
69,
16,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
514,
3511,
16835,
2224,
12,
46,
1841,
276,
16,
4766,
5411,
10063,
5653,
10940,
16,
4766,
6647,
514,
977,
16,
4766,
6647,
16011,
277,
16,
4766,
6647,
509,
3173,
67,
69,
16,
47... |
return getTotalAbilityPool(aCategory).subtract(getAbilityPoolSpent(aCategory)); | return getTotalAbilityPool(aCategory).subtract( getAbilityPoolSpent(aCategory)); | public BigDecimal getAvailableAbilityPool( final AbilityCategory aCategory ) { if ( aCategory == AbilityCategory.FEAT ) { return BigDecimal.valueOf(getFeats()); } return getTotalAbilityPool(aCategory).subtract(getAbilityPoolSpent(aCategory)); } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8150,
15796,
5895,
1889,
2864,
12,
727,
9771,
1889,
4457,
279,
4457,
262,
202,
95,
202,
202,
430,
261,
279,
4457,
422,
9771,
1889,
4457,
18,
8090,
789,
262,
202,
202,
95,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8150,
15796,
5895,
1889,
2864,
12,
727,
9771,
1889,
4457,
279,
4457,
262,
202,
95,
202,
202,
430,
261,
279,
4457,
422,
9771,
1889,
4457,
18,
8090,
789,
262,
202,
202,
95,
1082... |
org.intermine.web.LogMe.log("i", " entry: " + primaryKeyEntry); | protected void createAttributeIndexes(ClassDescriptor cld) throws SQLException, MetaDataException { org.intermine.web.LogMe.log("i", "examining: " + cld); org.intermine.web.LogMe.log("i", "examining: " + cld.getName()); Map primaryKeys = DataLoaderHelper.getPrimaryKeys(cld); ... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/7e5efefe9647289db6f4a068611497d3224a031f/CreateIndexesTask.java/clean/intermine/src/java/org/intermine/task/CreateIndexesTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
752,
1499,
8639,
12,
797,
3187,
23451,
13,
3639,
1216,
6483,
16,
6565,
22480,
288,
3639,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
338,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
8639,
12,
797,
3187,
23451,
13,
3639,
1216,
6483,
16,
6565,
22480,
288,
3639,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
338,
3... | |
setMySecurityCommunity((Set)communities); | log.debug("setMySecurityCommunity called from setSecurityCommunity"); setMySecurityCommunity(communities); | private synchronized void setSecurityCommunity() { log.debug("Setting Security Communities"); CommunityResponseListener listener = new GetCommunities(); Collection communities = _communityService.searchCommunity( null, "(CommunityType=" + CommunityServiceUtil.SECURITY_COMMUNITY_TYPE + ")", true, Communi... | 12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/dc1ac351739c6091b1437e4a2ea4986d34cd47f1/CRLCache.java/clean/securityservices/src/org/cougaar/core/security/crypto/CRLCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
3852,
918,
444,
4368,
12136,
13352,
1435,
288,
565,
613,
18,
4148,
2932,
5568,
6036,
16854,
318,
1961,
8863,
565,
16854,
13352,
1064,
2223,
2991,
273,
394,
968,
12136,
318,
1961,
5621... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
444,
4368,
12136,
13352,
1435,
288,
565,
613,
18,
4148,
2932,
5568,
6036,
16854,
318,
1961,
8863,
565,
16854,
13352,
1064,
2223,
2991,
273,
394,
968,
12136,
318,
1961,
5621... |
return (AncestorListener[]) getListeners (AncestorListener.class); | return (AncestorListener[]) getListeners(AncestorListener.class); | public AncestorListener[] getAncestorListeners() { return (AncestorListener[]) getListeners (AncestorListener.class); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1922,
7248,
2223,
8526,
336,
15637,
5583,
1435,
225,
288,
565,
327,
261,
15637,
2223,
63,
5717,
336,
5583,
12,
15637,
2223,
18,
1106,
1769,
225,
289,
2,
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,
0,
0,
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,
1922,
7248,
2223,
8526,
336,
15637,
5583,
1435,
225,
288,
565,
327,
261,
15637,
2223,
63,
5717,
336,
5583,
12,
15637,
2223,
18,
1106,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100... |
String cwd = System.getProperty("user.dir"); | String cwd = getRuntime().getCurrentDirectory(); | public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/8838b6db642848a5579f254ed085d453d4ccbd74/FileMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/FileMetaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
4542,
67,
803,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
10788,
1380,
12,
1968,
16,
404,
16,
576,
1769,
3639,
514,
12820,
273,
19817,
780,
18,
1080,
620,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
4542,
67,
803,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
10788,
1380,
12,
1968,
16,
404,
16,
576,
1769,
3639,
514,
12820,
273,
19817,
780,
18,
1080,
620,
... |
public void test_write$B() { try { byte[] buf = new byte[10]; oos.write("HelloWorld".getBytes()); oos.close(); ois = new ObjectInputStream(new ByteArrayInputStream(bao .toByteArray())); ois.read(buf, 0, 10); ois.close(); assertEquals("Read incorrect bytes", "HelloWorld", new String(buf, 0, 10) ); } catch (IOException ... | public void test_write$B() throws Exception { byte[] buf = new byte[10]; oos.write("HelloWorld".getBytes()); oos.close(); ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); ois.read(buf, 0, 10); ois.close(); assertEquals("Read incorrect bytes", "HelloWorld", new String(buf, 0, 10)); } | public void test_write$B() { // Test for method void java.io.ObjectOutputStream.write(byte []) try { byte[] buf = new byte[10]; oos.write("HelloWorld".getBytes()); oos.close(); ois = new ObjectInputStream(new ByteArrayInputStream(bao .toByteArray())); ois.read(buf, 0, 10); ois.close(); assertEquals... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/07fbc63b1fd66f9fb6397b6076298c49b0f7935e/ObjectOutputStreamTest.java/buggy/modules/luni/src/test/java/tests/api/java/io/ObjectOutputStreamTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
2626,
8,
38,
1435,
288,
202,
202,
759,
7766,
364,
707,
918,
2252,
18,
1594,
18,
921,
4632,
18,
2626,
12,
7229,
5378,
13,
202,
202,
698,
288,
1082,
202,
7229,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
67,
2626,
8,
38,
1435,
288,
202,
202,
759,
7766,
364,
707,
918,
2252,
18,
1594,
18,
921,
4632,
18,
2626,
12,
7229,
5378,
13,
202,
202,
698,
288,
1082,
202,
7229,
... |
_t = __t1672; | _t = __t1678; | public final void casestate(AST _t) throws RecognitionException { AST casestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1669 = _t; AST tmp1814_AST_in = (AST)_t; match(_t,CASE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; block_colon(_t); _t = _retTree; AST __t1670 = _t; AST tmp1815... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
8697,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
8697,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8697,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
8697,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
... |
if (jj_scan_token(LT)) return true; | if (jj_scan_token(THROWS)) return true; if (jj_3R_305()) return true; | final private boolean jj_3R_292() { if (jj_scan_token(LT)) return true; return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/b068fe5a79db07a544f081402e946a51a0f553c2/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
5540,
22,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
2455,
28402,
3719,
327,
638,
31,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
5540,
22,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
2455,
28402,
3719,
327,
638,
31,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
... |
new String[] { "cvs", "-d", "cvsroot", "-q", "log", "-d>" + CVS.formatCVSDate(lastBuildTime), "-b" }; | new String[]{ "cvs", "-d", "cvsroot", "-q", "log", "-d>" + CVS.formatCVSDate(lastBuildTime), "-b"}; | public void testHistoryCommandNullLocal() throws CruiseControlException { Date lastBuildTime = new Date(); CVS element = new CVS(); element.setCvsRoot("cvsroot"); element.setLocalWorkingCopy(null); String[] expectedCommand = new String[] { "cvs", ... | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/599a25c752c207d474c5c29b51f0343702a45763/CVSTest.java/clean/main/test/net/sourceforge/cruisecontrol/sourcecontrols/CVSTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5623,
2189,
2041,
2042,
1435,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
2167,
1142,
3116,
950,
273,
394,
2167,
5621,
3639,
385,
14640,
930,
273,
394,
385,
14640,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5623,
2189,
2041,
2042,
1435,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
2167,
1142,
3116,
950,
273,
394,
2167,
5621,
3639,
385,
14640,
930,
273,
394,
385,
14640,
5621,
... |
super(forwardAction); } | super(forwardAction, SwingConstants.EAST); } | ForwardAction() { super(forwardAction); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/6c6378820ef3d5291895049f82f29d237a8e885a/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
17206,
1803,
1435,
565,
288,
1377,
2240,
12,
11565,
1803,
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,
... | [
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
17206,
1803,
1435,
565,
288,
1377,
2240,
12,
11565,
1803,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
int firstTrigramEntry, int trigramEntries) { | int firstTrigramEntry) { | public BigramProbability(int which, int wordID, int probabilityID, int backoffID, int firstTrigramEntry, int trigramEntries) { this.which = which; this.wordID = wordID; this.probabilityID = probabilityID; this.backoffID = backoffID; this.firstTrigramEn... | 7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/d754a9bb6e202e429c57eaa27930271909b50ee9/BigramProbability.java/clean/edu/cmu/sphinx/knowledge/language/large/BigramProbability.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4454,
1940,
25598,
12,
474,
1492,
16,
509,
2076,
734,
16,
4697,
377,
509,
11331,
734,
16,
509,
12260,
734,
16,
11794,
509,
1122,
1070,
360,
1940,
1622,
13,
288,
3639,
333,
18,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4454,
1940,
25598,
12,
474,
1492,
16,
509,
2076,
734,
16,
4697,
377,
509,
11331,
734,
16,
509,
12260,
734,
16,
11794,
509,
1122,
1070,
360,
1940,
1622,
13,
288,
3639,
333,
18,
127... |
public void processMenuDragMouseEvent(MenuDragMouseEvent event) { } | public void processMenuDragMouseEvent(MenuDragMouseEvent event) { } | public void processMenuDragMouseEvent(MenuDragMouseEvent event) { // TODO } // processMenuDragMouseEvent() | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JMenuItem.java/clean/libjava/javax/swing/JMenuItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
4599,
11728,
9186,
1133,
12,
4599,
11728,
9186,
1133,
871,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
1207,
4599,
11728,
9186,
1133,
1435,
2,
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,
0,
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,
1207,
4599,
11728,
9186,
1133,
12,
4599,
11728,
9186,
1133,
871,
13,
288,
202,
202,
759,
2660,
202,
97,
368,
1207,
4599,
11728,
9186,
1133,
1435,
2,
-100,
-100,
-100,
-100,... |
final Fill flBackground = are.getBackground( ); | final Fill flBackground = validateMultipleFill( are.getBackground( ) ); | public void fillArea( AreaRenderEvent are ) throws ChartException { final Fill flBackground = are.getBackground( ); if ( isFullTransparent( flBackground ) ) { return; } // SETUP SWING DATA STRUCTURES final GeneralPath gp = new GeneralPath( ); PrimitiveRenderEvent pre; for ( int i = 0; i < are.getElementCount... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/20bb7679d106e8105100c095c900612d5a37a46d/SwingRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
5484,
12,
16668,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
6385,
14192,
1183,
8199,
273,
854,
18,
588,
8199,
12,
11272,
202,
202,
430,
261,
29232,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3636,
5484,
12,
16668,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
6385,
14192,
1183,
8199,
273,
854,
18,
588,
8199,
12,
11272,
202,
202,
430,
261,
29232,
... |
if (topPercent.booleanValue()) { return new FunCall("TopPercent", new Exp[] {exp, Literal.create(top)}); | if (topPercent) { return new FunCall("TopPercent", new Exp[] {exp, Literal.create(new Integer(top))}); | Exp _convert(Exp exp) throws OLAPException { if (type == RankingTypeEnum.BOTTOM) { if (bottomPercent.booleanValue()) { return new FunCall("BottomPercent", new Exp[] {exp, Literal.create(bottom)}); } else { return new FunCall("Bottom", new Exp[] {exp, Literal.create(bottom)}); } } else if (type == Ranking... | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/7d6a0c3d02156aab207b5017ce3ba65883fef640/MondrianRankingMemberFilter.java/buggy/src/main/mondrian/jolap/MondrianRankingMemberFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
2966,
389,
6283,
12,
2966,
1329,
13,
1216,
531,
48,
2203,
503,
288,
202,
202,
430,
261,
723,
422,
534,
2304,
310,
10549,
18,
28891,
13,
288,
1082,
202,
430,
261,
9176,
8410,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2966,
389,
6283,
12,
2966,
1329,
13,
1216,
531,
48,
2203,
503,
288,
202,
202,
430,
261,
723,
422,
534,
2304,
310,
10549,
18,
28891,
13,
288,
1082,
202,
430,
261,
9176,
8410,
18,
... |
public void testEchoXMLASync() throws Exception { OMElement payload = TestingUtils.createDummyOMElement();// Call call = new Call(// Constants.TESTING_PATH + "commons-http-enabledRepository"); Options options = new Options();// call.setClientOptions(options); option... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/58e671e83c78afcd82328f15305439b795c8509a/CommonsHTTPEchoRawXMLTest.java/clean/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
19704,
4201,
3033,
1209,
1435,
1216,
1185,
288,
51,
12310,
2385,
273,
7766,
310,
1989,
18,
2640,
20094,
51,
12310,
5621,
759,
1477,
745,
273,
394,
3049,
12,
759,
2918,
18,
169... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1842,
19704,
4201,
3033,
1209,
1435,
1216,
1185,
288,
51,
12310,
2385,
273,
7766,
310,
1989,
18,
2640,
20094,
51,
12310,
5621,
759,
1477,
745,
273,
394,
3049,
12,
759,
2918,
18,
169... | ||
entry = getMethodBody(name, ex); | entry = getMethodBody(name); | public boolean isMethodBound(String name, int ex) { CacheEntry entry = ruby.getMethodCache().getEntry(this, name); if (entry == null) { entry = getMethodBody(name, ex); } if (entry != null) { if (ex != 0 && (entry.getNoex() & Constants.NOEX_PRIVATE) != 0) { ... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
27969,
3499,
12,
780,
508,
16,
509,
431,
13,
288,
3639,
27657,
1241,
273,
22155,
18,
588,
1305,
1649,
7675,
588,
1622,
12,
2211,
16,
508,
1769,
3639,
309,
261,
4099,
422,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
27969,
3499,
12,
780,
508,
16,
509,
431,
13,
288,
3639,
27657,
1241,
273,
22155,
18,
588,
1305,
1649,
7675,
588,
1622,
12,
2211,
16,
508,
1769,
3639,
309,
261,
4099,
422,
44... |
iVisited.accept(_Payload); | _Payload.visitRestArgsNode(iVisited); | public void visitRestArgsNode(RestArgsNode iVisited) { iVisited.accept(_Payload); } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/buggy/org/jruby/nodes/visitor/DefaultIteratorVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
5188,
2615,
907,
12,
5188,
2615,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
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,
0,
0,
0,
0,
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,
3757,
5188,
2615,
907,
12,
5188,
2615,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
return "Quantity requested: " + quantity + " Quantity available: " + fixedAsset.getString("productionCapacity"); | Map messageMap = UtilMisc.toMap("quantityReq", (new Double(quantity)).toString(), "quantityAvail", fixedAsset.getString("productionCapacity")); String msg = UtilProperties.getMessage(resource, "item.availableQnt", messageMap , cart.getLocale()); return msg; | public static String checkAvailability(String productId, double quantity, Timestamp reservStart, double reservLength, ShoppingCart cart) { GenericDelegator delegator = cart.getDelegator(); // find related fixedAsset List selFixedAssetProduct = null; GenericValue fixedAssetProduct = null;... | 55411 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55411/e5db7a7d9b2c182b82952694b839a8b0fcf4bffd/ShoppingCartItem.java/clean/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
866,
10427,
12,
780,
23820,
16,
1645,
10457,
16,
8159,
400,
264,
90,
1685,
16,
1645,
400,
264,
90,
1782,
16,
17568,
1382,
13006,
7035,
13,
288,
3639,
7928,
15608,
639,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
866,
10427,
12,
780,
23820,
16,
1645,
10457,
16,
8159,
400,
264,
90,
1685,
16,
1645,
400,
264,
90,
1782,
16,
17568,
1382,
13006,
7035,
13,
288,
3639,
7928,
15608,
639,
1... |
else { | } else { | protected ILightweightLabelDecorator internalGetDecorator() throws CoreException { if (labelProviderCreationFailed) return null; final CoreException[] exceptions = new CoreException[1]; if (decorator == null) { if (isDeclarative()) decorator = new DeclarativeDecorator(definingElement, getIconLocation(... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/LightweightDecoratorDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/LightweightDecoratorDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
12128,
4865,
2224,
10361,
2713,
967,
10361,
1435,
1082,
202,
15069,
30015,
288,
202,
202,
430,
261,
1925,
2249,
9906,
2925,
13,
1082,
202,
2463,
446,
31,
202,
202,
6385,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
12128,
4865,
2224,
10361,
2713,
967,
10361,
1435,
1082,
202,
15069,
30015,
288,
202,
202,
430,
261,
1925,
2249,
9906,
2925,
13,
1082,
202,
2463,
446,
31,
202,
202,
6385,
3... |
catch (IOException e) { LOG.warn(reduceTask.getTaskId() + " failed to copy " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); throw e; } | LOG.info(reduceTask.getTaskId() + " done copying " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); return bytes; | private long copyOutput(MapOutputLocation loc, Progressable pingee) throws IOException { String reduceId = reduceTask.getTaskId(); LOG.info(reduceId + " Copying " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); try { // this copies th... | 50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/68bc787be3d35fb0628d5185b88a6cc2f0576a87/ReduceTaskRunner.java/clean/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1525,
1610,
1447,
12,
863,
1447,
2735,
1515,
16,
11794,
10980,
429,
10087,
1340,
13,
565,
1216,
1860,
288,
1377,
514,
5459,
548,
273,
5459,
2174,
18,
588,
30182,
5621,
1377,
2018,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1525,
1610,
1447,
12,
863,
1447,
2735,
1515,
16,
11794,
10980,
429,
10087,
1340,
13,
565,
1216,
1860,
288,
1377,
514,
5459,
548,
273,
5459,
2174,
18,
588,
30182,
5621,
1377,
2018,
1... |
throw new PSQLException ("postgresql.call.malformed", | throw new PSQLException ("postgresql.call.malformed",PSQLState.STATEMENT_NOT_ALLOWED_IN_FUNCTION_CALL, | private String modifyJdbcCall(String p_sql) throws SQLException { //Check that this is actually a call which should start with a { //if not do nothing and treat this as a standard prepared sql if (!p_sql.trim().startsWith("{")) { return p_sql; } // syntax checking is not complete only a few basics :( ori... | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/509a9cd3f922c38c19d35e81bb1427d663ba4aba/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
5612,
25316,
1477,
12,
780,
293,
67,
4669,
13,
1216,
6483,
202,
95,
202,
202,
759,
1564,
716,
333,
353,
6013,
279,
745,
1492,
1410,
787,
598,
279,
288,
3639,
368,
430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
5612,
25316,
1477,
12,
780,
293,
67,
4669,
13,
1216,
6483,
202,
95,
202,
202,
759,
1564,
716,
333,
353,
6013,
279,
745,
1492,
1410,
787,
598,
279,
288,
3639,
368,
430,
... |
for ( Equipment eq : getEquipmentOfType("Shield", 1) ) | for (Equipment eq : getEquipmentOfType("Shield", 1)) | public int modFromArmorOnWeaponRolls() { int bonus = 0; /* * Equipped some armor that we're not proficient in? * acCheck penalty to attack rolls */ for ( Equipment eq : getEquipmentOfType("Armor", 1) ) { if ((eq != null) && (!isProficientWith(eq))) { bonus += eq.acCheck(this).intValue(); } } /* ... | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
681,
1265,
25583,
280,
1398,
3218,
28629,
4984,
3251,
1435,
202,
95,
202,
202,
474,
324,
22889,
273,
374,
31,
202,
202,
20308,
1082,
380,
19008,
625,
1845,
2690,
23563,
280... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
681,
1265,
25583,
280,
1398,
3218,
28629,
4984,
3251,
1435,
202,
95,
202,
202,
474,
324,
22889,
273,
374,
31,
202,
202,
20308,
1082,
380,
19008,
625,
1845,
2690,
23563,
280... |
throw getRuntime().newTypeError(name + " is not a module."); } | throw getRuntime().newTypeError(name + " is not a module."); } | public RubyModule defineModuleUnder(String name) { IRubyObject type = getConstantAt(name); if (type == null) { return (RubyModule) setConstant(name, getRuntime().defineModuleUnder(name, cref)); } if (!(type instanceof RubyModule)) { throw getRunt... | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/buggy/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
13,
288,
3639,
15908,
10340,
921,
618,
273,
24337,
861,
12,
529,
1769,
7734,
309,
261,
723,
422,
446,
13,
288,
5411,
327,
261,
54,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
13,
288,
3639,
15908,
10340,
921,
618,
273,
24337,
861,
12,
529,
1769,
7734,
309,
261,
723,
422,
446,
13,
288,
5411,
327,
261,
54,
10... |
src=msg.getSrc(); if(loopback && multicast && src != null && local_addr.equals(src)) { continue; } thread_pool.execute(new IncomingMessage(msg)); | submitToThreadPool(msg, multicast); | public void run() { short version; boolean is_message_list, multicast; byte flags; ExposedByteArrayInputStream in_stream=null; ExposedBufferedInputStream buf_in_stream=null; DataInputStream ... | 3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/9e2f7adc7d8258594deee0b114a2fba6814fc0aa/TP.java/clean/src/org/jgroups/protocols/TP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
3025,
5375,
1177,
31,
5411,
1250,
7734,
353,
67,
2150,
67,
1098,
16,
24470,
31,
5411,
1160,
10402,
2943,
31,
5411,
1312,
7423,
8826,
4348,
225,
316,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
1086,
1435,
288,
5411,
3025,
5375,
1177,
31,
5411,
1250,
7734,
353,
67,
2150,
67,
1098,
16,
24470,
31,
5411,
1160,
10402,
2943,
31,
5411,
1312,
7423,
8826,
4348,
225,
316,
67,
... |
Reader input; if (url == null) { return new Mib(file, loader, log); } else { | if (input != null) { return new Mib(input, null, loader, log); } else if (url != null) { | public Mib createMib(MibLoader loader, MibLoaderLog log) throws FileNotFoundException, MibLoaderException { Reader input; if (url == null) { return new Mib(file, loader, log); } else { try { input = new InputStreamRead... | 48557 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48557/93d255819c5c52d9279c75fa1aaa28a88c1e8aae/MibLoader.java/buggy/src/java/net/percederberg/mibble/MibLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
490,
495,
752,
49,
495,
12,
49,
495,
2886,
4088,
16,
490,
495,
2886,
1343,
613,
13,
5411,
1216,
13707,
16,
490,
495,
2886,
503,
288,
5411,
5393,
225,
810,
31,
5411,
309,
261,
71... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
490,
495,
752,
49,
495,
12,
49,
495,
2886,
4088,
16,
490,
495,
2886,
1343,
613,
13,
5411,
1216,
13707,
16,
490,
495,
2886,
503,
288,
5411,
5393,
225,
810,
31,
5411,
309,
261,
71... |
if (result==null || ERXUtilities.booleanValue(result)) { | if (result==null || ERXValueUtilities.booleanValue(result)) { | public void switchSubmitTab() { Object result = null; if (submitActionName() != null && !submitActionName().equals("")) { //FIXME: This should be more robust. result = parent() != null ? parent().valueForKey(submitActionName()) : null; } if (result==null || ERXUtilities.booleanVa... | 17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/030cb3f23617518601f8abfb46f84c89445f1881/ERXTabPanel.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXTabPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1620,
11620,
5661,
1435,
288,
3639,
1033,
563,
273,
446,
31,
3639,
309,
261,
9297,
31149,
1435,
480,
446,
597,
401,
9297,
31149,
7675,
14963,
2932,
6,
3719,
288,
202,
565,
368,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1620,
11620,
5661,
1435,
288,
3639,
1033,
563,
273,
446,
31,
3639,
309,
261,
9297,
31149,
1435,
480,
446,
597,
401,
9297,
31149,
7675,
14963,
2932,
6,
3719,
288,
202,
565,
368,... |
model.stop(); | if (model != null) { model.stop(); } | public synchronized void stop() throws UMOException { started.set(false); fireSystemEvent(new ManagerEvent(this, ManagerEvent.MANAGER_STOPPING)); logger.debug("Stopping connectors..."); stopConnectors(); stopAgents(); queueManager.stop(); logger.debug("Stopping mo... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/059c7325b9ae8d8438f413ab8f7bf1a53025e944/MuleManager.java/clean/mule/src/java/org/mule/MuleManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
2132,
1435,
1216,
587,
5980,
503,
565,
288,
3639,
5746,
18,
542,
12,
5743,
1769,
3639,
4452,
3163,
1133,
12,
2704,
8558,
1133,
12,
2211,
16,
8558,
1133,
18,
19402,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
2132,
1435,
1216,
587,
5980,
503,
565,
288,
3639,
5746,
18,
542,
12,
5743,
1769,
3639,
4452,
3163,
1133,
12,
2704,
8558,
1133,
12,
2211,
16,
8558,
1133,
18,
19402,
67,
... |
public static IStatus validateClassName(String name) { if (name == null) { return new Status(IStatus.ERROR, CCorePlugin.PLUGIN_ID, -1, Util.bind("convention.class.nullName"), null); //$NON-NLS-1$ } String trimmed = name.trim(); if ((!name.equals(trimmed)) || (name.indexOf(" ") != -1) ){ //$NON-NLS-1$ return ne... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3c4355b78d850284f3995401d54b190f81afb344/CConventions.java/buggy/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CConventions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
1482,
1954,
3834,
12,
780,
508,
13,
288,
202,
202,
430,
261,
529,
422,
446,
13,
288,
1082,
202,
2463,
394,
2685,
12,
45,
1482,
18,
3589,
16,
385,
4670,
3773,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
467,
1482,
1954,
3834,
12,
780,
508,
13,
288,
202,
202,
430,
261,
529,
422,
446,
13,
288,
1082,
202,
2463,
394,
2685,
12,
45,
1482,
18,
3589,
16,
385,
4670,
3773,
18,
... | ||
_chunkLength = _chunkLength * 16 + (10 + ch - 'A'); | _chunkLength=_chunkLength * 16 + (10 + ch - 'A'); | public boolean parseNext() throws IOException { if (_buffer==null) { _header = _buffers.getBuffer(_headerBufferSize); _buffer = _header; _tok0 = new View(_header); _tok1 = new View(_header); _tok0.setPutIndex(_tok0.getIndex()); _tok1... | 13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/ca67d639c4b4cf51ddb7b16c09566ea524f43a6f/HttpParser.java/buggy/trunk/modules/jetty/src/main/java/org/mortbay/jetty/HttpParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1109,
2134,
1435,
1216,
1860,
565,
288,
3639,
309,
261,
67,
4106,
631,
2011,
13,
3639,
288,
5411,
389,
3374,
273,
389,
28101,
18,
588,
1892,
24899,
3374,
15384,
1769,
5411,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1109,
2134,
1435,
1216,
1860,
565,
288,
3639,
309,
261,
67,
4106,
631,
2011,
13,
3639,
288,
5411,
389,
3374,
273,
389,
28101,
18,
588,
1892,
24899,
3374,
15384,
1769,
5411,
38... |
new ServletUtil.ParamVisitor() { public void setParam(String name, String value) { if(name.equalsIgnoreCase("format")) format = value; if(name.equals("community")) { action = "community"; } if(name.equals("showcommunity")) { action = "showCommunity"; } if(name.equals("node")) nodeId = SimpleMessageAddress.getSimpleMess... | new ServletUtil.ParamVisitor() { public void setParam(String name, String value) { if (name.equalsIgnoreCase("format")) format = value; if (name.equals("community")) { action = "community"; } if (name.equals("showcommunity")) { action = "showCommunity"; } if (name.equals("node")) nodeId = SimpleMessageAddress.getSimple... | private void parseParams() throws IOException { //remember all parameters for last operation, in case this is just a refresh call. if(!operation.equals("")) { lastop = operation; lastma = mobileAgent; laston = origNode; lastdn = destNode; //lastfs = forceRestart; ... | 11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/fc454a04a353f4b9b56995598206d042e28c4d1d/ARServlet.java/buggy/mgmt_agent/src/org/cougaar/tools/robustness/ma/ui/ARServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
1370,
1435,
1216,
1860,
565,
288,
1377,
368,
28155,
777,
1472,
364,
1142,
1674,
16,
316,
648,
333,
353,
2537,
279,
4460,
745,
18,
1377,
309,
12,
5,
7624,
18,
14963,
293... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1109,
1370,
1435,
1216,
1860,
565,
288,
1377,
368,
28155,
777,
1472,
364,
1142,
1674,
16,
316,
648,
333,
353,
2537,
279,
4460,
745,
18,
1377,
309,
12,
5,
7624,
18,
14963,
293... |
IViewDescriptor desc = viewReg.find(viewID); if(desc == null) throw new PartInitException(WorkbenchMessages.format("ViewFactory.couldNotCreate", new Object[] {viewID})); if (DEBUG) System.out.println("Create " + desc.getLabel()); | view = desc.createView(); ((ViewReference)ref).setPart(view); } catch (CoreException e) { result[0] = new Status( IStatus.ERROR,PlatformUI.PLUGIN_ID,0, WorkbenchMessages.format("ViewFactory.initException", new Object[] {desc.getID()}), e); return; } | private void restoreView(final IViewReference ref) throws PartInitException { if(ref.getPart(false) != null) return; final String viewID = ref.getId(); final IMemento stateMem = (IMemento)mementoTable.get(viewID); mementoTable.remove(viewID); final PartInitException ex[] = new PartInitException[1]; Platform.run(new S... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/49a9dbfbab938deb979d8dde7bb398e791ff2406/ViewFactory.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ViewFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
5217,
1767,
12,
6385,
467,
1767,
2404,
1278,
13,
1216,
6393,
2570,
503,
288,
202,
430,
12,
1734,
18,
588,
1988,
12,
5743,
13,
480,
446,
13,
202,
202,
2463,
31,
202,
6385,
514,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
5217,
1767,
12,
6385,
467,
1767,
2404,
1278,
13,
1216,
6393,
2570,
503,
288,
202,
430,
12,
1734,
18,
588,
1988,
12,
5743,
13,
480,
446,
13,
202,
202,
2463,
31,
202,
6385,
514,
1... |
Vector contents = getContents(); int size = contents.size(); int portNumber = getPortNumber(contents); | Vector contents = getContents(); int size = contents.size(); int portNumber = getPortNumber(contents); | public void dispose() { super.dispose(); FigSeqObject sourceObj = (FigSeqObject) getSourceFigNode(); FigSeqObject destObj = (FigSeqObject) getDestFigNode(); FigDynPort sourceFig = (FigDynPort) getSourcePortFig(); FigDynPort destFig = (FigDynPort) getDestPortFig(); /* Vector ... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigSeqLink.java/clean/src_new/org/argouml/uml/diagram/sequence/ui/FigSeqLink.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15825,
1435,
288,
3639,
2240,
18,
2251,
4150,
5621,
3639,
478,
360,
6926,
921,
1084,
2675,
273,
261,
42,
360,
6926,
921,
13,
7889,
42,
360,
907,
5621,
3639,
478,
360,
6926,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15825,
1435,
288,
3639,
2240,
18,
2251,
4150,
5621,
3639,
478,
360,
6926,
921,
1084,
2675,
273,
261,
42,
360,
6926,
921,
13,
7889,
42,
360,
907,
5621,
3639,
478,
360,
6926,
9... |
messageArea.setBackground(bg); | messageArea.setBackground(background); | private Composite createTitleArea(Composite parent) { // Create the title area which will contain // a title, message, and image. titleArea = new Composite(parent, SWT.NONE); titleArea.setLayout(new TitleAreaLayout()); titleArea.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // add a dispose listener titleArea.... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d9e53d405d102e67c4c5d467d554a378e07f112d/TitleAreaDialog.java/buggy/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/dialogs/TitleAreaDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
14728,
752,
4247,
5484,
12,
9400,
982,
13,
288,
202,
759,
1788,
326,
2077,
5091,
1492,
903,
912,
202,
759,
279,
2077,
16,
883,
16,
471,
1316,
18,
202,
2649,
5484,
273,
394,
14728,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14728,
752,
4247,
5484,
12,
9400,
982,
13,
288,
202,
759,
1788,
326,
2077,
5091,
1492,
903,
912,
202,
759,
279,
2077,
16,
883,
16,
471,
1316,
18,
202,
2649,
5484,
273,
394,
14728,
12,
... |
public RubyArray push(RubyObject value) { | public RubyArray push(RubyObject[] items) { int length = items.length; if (length == 0) { throw new ArgumentError(getRuby(), "wrong # of arguments(at least 1)"); } | public RubyArray push(RubyObject value) { modify(); list.add(value); infectObject(value); return this; } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0335f0acaf11ca0feb41907f65e7274f8ed49fc3/RubyArray.java/buggy/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
1076,
1817,
12,
54,
10340,
921,
460,
13,
288,
202,
202,
17042,
5621,
202,
202,
1098,
18,
1289,
12,
1132,
1769,
202,
202,
10625,
386,
921,
12,
1132,
1769,
202,
202,
2463... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
1076,
1817,
12,
54,
10340,
921,
460,
13,
288,
202,
202,
17042,
5621,
202,
202,
1098,
18,
1289,
12,
1132,
1769,
202,
202,
10625,
386,
921,
12,
1132,
1769,
202,
202,
2463... |
setVolumeSlider(0); | public void createToolBar() { trackGroup = new Composite(topPanel, SWT.BORDER); skinManager.addControl(trackGroup, "panel.track"); trackGroup.setEnabled(false); GridData gridData = new GridData(); gridData.horizontalAlignment = GridData.FILL; gridData.grabExcessHorizontalSpace = true; gridData.ho... | 11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/cc68fef5b390c1834457caaa767f5c1c32cc5df5/Client.java/buggy/trunk/irate/irate/swt/Client.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
752,
6364,
5190,
1435,
288,
565,
3298,
1114,
273,
394,
14728,
12,
3669,
5537,
16,
348,
8588,
18,
38,
7954,
1769,
565,
18705,
1318,
18,
1289,
3367,
12,
4101,
1114,
16,
315,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
6364,
5190,
1435,
288,
565,
3298,
1114,
273,
394,
14728,
12,
3669,
5537,
16,
348,
8588,
18,
38,
7954,
1769,
565,
18705,
1318,
18,
1289,
3367,
12,
4101,
1114,
16,
315,
13... | |
return running && senderThread != null; | return is_it_running && senderThread != null; | boolean isRunning() { return running && senderThread != null; } | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/820cff78bb2b2f435c6dccaa33a34c8147be04f6/BasicConnectionTable.java/buggy/src/org/jgroups/blocks/BasicConnectionTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5411,
1250,
19858,
1435,
288,
9079,
327,
353,
67,
305,
67,
8704,
597,
5793,
3830,
480,
446,
31,
6647,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5411,
1250,
19858,
1435,
288,
9079,
327,
353,
67,
305,
67,
8704,
597,
5793,
3830,
480,
446,
31,
6647,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
tempPoint.x = flarePoint.x / 3f; tempPoint.y = flarePoint.y / 3f; | tempPoint.x = flarePoint.x / 3f + midPoint.x; tempPoint.y = flarePoint.y / 3f + midPoint.y; | public void updateWorldData(float time) { // Update flare: super.updateWorldData(time); // Locate light src on screen x,y flarePoint = DisplaySystem.getDisplaySystem().getScreenCoordinates( worldTranslation, flarePoint).subtractLocal(midPoint.x, midPoint.y, 0); if (flarePoint.z >= 1.0f) { // if ... | 19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/19c400f0aa1863d4b4c4057feb8d5d261809d9b3/LensFlare.java/buggy/src/com/jme/effects/LensFlare.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
18071,
751,
12,
5659,
813,
13,
288,
565,
368,
2315,
1183,
834,
30,
565,
2240,
18,
2725,
18071,
751,
12,
957,
1769,
565,
368,
2851,
340,
9052,
1705,
603,
5518,
619,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
18071,
751,
12,
5659,
813,
13,
288,
565,
368,
2315,
1183,
834,
30,
565,
2240,
18,
2725,
18071,
751,
12,
957,
1769,
565,
368,
2851,
340,
9052,
1705,
603,
5518,
619,
16,
... |
public Dimension getMinimumSize () | public Dimension getMinimumSize() | public Dimension getMinimumSize () { if (peer == null) return new Dimension(width, height); else return peer.getMinimumSize(); } | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/42de8277e53eabea04a48598c12ed6d488412a7b/Component.java/buggy/libjava/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
30665,
1225,
1435,
225,
288,
565,
309,
261,
12210,
422,
446,
13,
1377,
327,
394,
13037,
12,
2819,
16,
2072,
1769,
565,
469,
1377,
327,
4261,
18,
588,
13042,
1225,
5621,
225,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
30665,
1225,
1435,
225,
288,
565,
309,
261,
12210,
422,
446,
13,
1377,
327,
394,
13037,
12,
2819,
16,
2072,
1769,
565,
469,
1377,
327,
4261,
18,
588,
13042,
1225,
5621,
225,
... |
private static Declaration LookupInContained( LookupData data, Declaration lookIn ) throws ParserSymbolTableException{ HashSet found = null; Declaration temp = null; Object obj = null; if( data.associated != null ){ //we are looking in lookIn, remove it from the associated scopes list data.associated.remove(... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/09948618e89210b4fe0d381f7cf31dc3500e2b32/ParserSymbolTable.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserSymbolTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
16110,
4302,
8834,
382,
660,
8707,
12,
8834,
751,
501,
16,
16110,
4302,
2324,
382,
262,
1216,
6783,
5335,
1388,
503,
95,
202,
202,
13482,
1392,
273,
446,
31,
202,
202,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16110,
4302,
8834,
382,
660,
8707,
12,
8834,
751,
501,
16,
16110,
4302,
2324,
382,
262,
1216,
6783,
5335,
1388,
503,
95,
202,
202,
13482,
1392,
273,
446,
31,
202,
202,
6... | ||
if (isIteratorNext(element, iteratorName)) { | if(isIteratorNext(element, iteratorName)){ | private void replaceIteratorNext(PsiElement element, String contentVariableName, String iteratorName, PsiElement childToSkip, StringBuffer out) { if (isIteratorNext(element, iteratorName)) { out.append(contentVariableName); } else { ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1453,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
514,
913,
21519,
16,
514,
2775,
461,
16,
29159,
453,
7722,
1046,
1151,
774,
6368,
16,
6674,
596,
13,
288,
5411,
309,
12,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
3238,
918,
1453,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
514,
913,
21519,
16,
514,
2775,
461,
16,
29159,
453,
7722,
1046,
1151,
774,
6368,
16,
6674,
596,
13,
288,
5411,
309,
12,
291,
... |
Item item = scrollIfNeeded(event.x, event.y); Object target = item == null ? determineTarget(event) : item.getData(); | Object target = determineTarget(event); | public void dragOver(DropTargetEvent event) { try { //use newly revealed item as target if scrolling occurs Item item = scrollIfNeeded(event.x, event.y); Object target = item == null ? determineTarget(event) : item.getData(); //set the location feedback int oldLocation = currentLocation; currentLocation = determi... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/286f93ba004d70d7750b6de006969331a9e654d1/ViewerDropAdapter.java/buggy/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/viewers/ViewerDropAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
8823,
4851,
12,
7544,
2326,
1133,
871,
13,
288,
202,
698,
288,
202,
202,
759,
1202,
10894,
283,
537,
18931,
761,
487,
1018,
309,
22504,
9938,
202,
202,
1180,
761,
273,
5532,
18299,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
8823,
4851,
12,
7544,
2326,
1133,
871,
13,
288,
202,
698,
288,
202,
202,
759,
1202,
10894,
283,
537,
18931,
761,
487,
1018,
309,
22504,
9938,
202,
202,
1180,
761,
273,
5532,
18299,
... |
File fout = new File(XmlFile.prefsDir()+LocoFile.fileLocation+mToEntry.getFileName()); | File fout = new File(LocoFile.getFileLocation()+mToEntry.getFileName()); | boolean doTransfer() { // read the from file, change the ID, and write it out // ensure preferences will be found XmlFile.ensurePrefsPresent(XmlFile.prefsDir()); XmlFile.ensurePrefsPresent(XmlFile.prefsDir()+LocoFile.fileLocation); // locate the file File f = new File(mFull... | 2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/2ce666c09cb5eb0a805ee5c8f311f418219a5b68/CopyRosterItemAction.java/buggy/jmri/jmrit/roster/CopyRosterItemAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
741,
5912,
1435,
288,
3639,
368,
855,
326,
628,
585,
16,
2549,
326,
1599,
16,
471,
1045,
518,
596,
3639,
368,
3387,
12750,
903,
506,
1392,
3639,
5714,
812,
18,
15735,
1386,
2556,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
741,
5912,
1435,
288,
3639,
368,
855,
326,
628,
585,
16,
2549,
326,
1599,
16,
471,
1045,
518,
596,
3639,
368,
3387,
12750,
903,
506,
1392,
3639,
5714,
812,
18,
15735,
1386,
2556,
... |
this.infoServer = new StatusHttpServer("datanode", infoPort, false); | this.infoServer = new StatusHttpServer("datanode", infoPort, true); | public DataNode(Configuration conf, String datadir) throws IOException { this(InetAddress.getLocalHost().getHostName(), new File(datadir), createSocketAddr(conf.get("fs.default.name", "local")), conf); // register datanode register(); infoPort = conf.getInt("dfs.... | 50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/edd3762a0f9bd8f1d03c3d98a25579a03887c699/DataNode.java/clean/src/java/org/apache/hadoop/dfs/DataNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1910,
907,
12,
1750,
2195,
16,
514,
22034,
481,
13,
1216,
1860,
288,
3639,
333,
12,
382,
278,
1887,
18,
588,
2042,
2594,
7675,
588,
20946,
9334,
2868,
394,
1387,
12,
3404,
361,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1910,
907,
12,
1750,
2195,
16,
514,
22034,
481,
13,
1216,
1860,
288,
3639,
333,
12,
382,
278,
1887,
18,
588,
2042,
2594,
7675,
588,
20946,
9334,
2868,
394,
1387,
12,
3404,
361,
48... |
Assert.notNull(P); | if (P == null) throw new Died(); | public int peekChar() { Assert.notNull(P); //@ nowarn Pre // precondition try { int next = from.read(); if (next != -1) from.unread(next); return next; } catch (IOException e) { handleReadError(e); return -1; // dummy return } } | 46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/01111fe5c23f351af699a861b9f27241a755d460/SubProcess.java/buggy/src/escjava/trunk/ESCTools/Escjava/java/escjava/prover/SubProcess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
8032,
2156,
1435,
288,
202,
309,
261,
52,
422,
446,
13,
604,
394,
463,
2092,
5621,
377,
23834,
2037,
1303,
2962,
368,
24148,
202,
698,
288,
202,
565,
509,
1024,
273,
628,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
8032,
2156,
1435,
288,
202,
309,
261,
52,
422,
446,
13,
604,
394,
463,
2092,
5621,
377,
23834,
2037,
1303,
2962,
368,
24148,
202,
698,
288,
202,
565,
509,
1024,
273,
628,
18,... |
return Global.getInstance(scope).getOut(); | return Global.getInstance(global).getOut(); | public static PrintStream getOut() { return Global.getInstance(scope).getOut(); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8d348ad77ead316774c893fbf3cadb3ad8c1050a/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
21677,
23141,
1435,
288,
3639,
327,
8510,
18,
588,
1442,
12,
6347,
2934,
588,
1182,
5621,
565,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
21677,
23141,
1435,
288,
3639,
327,
8510,
18,
588,
1442,
12,
6347,
2934,
588,
1182,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
case R_REGEXP_MATCH : | case RULE_REGEXP_MATCH : | public boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name != null) { boolean isCaseSensitive = (this.matchRule & R_CASE_SENSITIVE) != 0; boolean isCamelCase = (this.matchRule & R_CAMELCASE_MATCH) != 0; int matchMode = this.matchRule & MODE_... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e33c1f7b0c1f9dbe66a73370c1b98e653087c2df/SearchPattern.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/SearchPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1885,
461,
12,
3001,
8526,
1936,
16,
1149,
8526,
508,
13,
288,
202,
202,
430,
261,
4951,
422,
446,
13,
327,
638,
31,
368,
446,
353,
487,
309,
518,
1703,
10971,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1885,
461,
12,
3001,
8526,
1936,
16,
1149,
8526,
508,
13,
288,
202,
202,
430,
261,
4951,
422,
446,
13,
327,
638,
31,
368,
446,
353,
487,
309,
518,
1703,
10971,
202,
20... |
assertEquals(1, f0.textList.size()); | assertEquals(2, f0.textList.size()); assertEquals("hello", f0.textList.get(0)); assertEquals("world", f0.textList.get(1)); | public void test() throws Exception { try { HashMap<Pattern, Action> rulesMap = new HashMap<Pattern, Action>(); rulesMap.put(new Pattern("/context/"), new FruitContextAction()); SimpleConfigurator simpleConfigurator = new SimpleConfigurator(rulesMap); simpleConfigurator.setContext(fruitContex... | 47666 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47666/cd5686d976f1993d6cc606a0b2d7b9f8ae6f1a31/SimplePropertyIATest.java/clean/logback-core/src/test/java/ch/qos/logback/core/joran/ia/SimplePropertyIATest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
1435,
1216,
1185,
288,
1377,
775,
288,
1377,
4317,
32,
3234,
16,
4382,
34,
2931,
863,
273,
394,
4317,
32,
3234,
16,
4382,
34,
5621,
1377,
2931,
863,
18,
458,
12,
2704,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
1435,
1216,
1185,
288,
1377,
775,
288,
1377,
4317,
32,
3234,
16,
4382,
34,
2931,
863,
273,
394,
4317,
32,
3234,
16,
4382,
34,
5621,
1377,
2931,
863,
18,
458,
12,
2704,
... |
if(view instanceof WorkbenchPart) { style = ((WorkbenchPart) view).getOrientation(); | if(view instanceof IWorkbenchPartOrientation) { style = ((IWorkbenchPartOrientation) view).getOrientation(); | public IStatus busyRestoreViewHelper(ViewReference ref) { IStatus partStatus = Status.OK_STATUS; // If there was a previous failed attempt to restore the part, exit if (partStatus.getSeverity() != IStatus.OK) { return partStatus; } String key = g... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/16bef452cd08b248578b46a293d6176799e52fb2/ViewFactory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
1482,
21697,
10874,
1767,
2276,
12,
1767,
2404,
1278,
13,
288,
7734,
467,
1482,
1087,
1482,
273,
2685,
18,
3141,
67,
8608,
31,
7734,
368,
971,
1915,
1703,
279,
2416,
2535,
4395... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
1482,
21697,
10874,
1767,
2276,
12,
1767,
2404,
1278,
13,
288,
7734,
467,
1482,
1087,
1482,
273,
2685,
18,
3141,
67,
8608,
31,
7734,
368,
971,
1915,
1703,
279,
2416,
2535,
4395... |
Integer[] args = { new Integer(reverse ? 1 : 0) }; | Integer[] args = { new Integer(_reverse ? 1 : 0) }; | public static boolean find(View view) { boolean repeat = false; String path = fileset.getNextFile(view,null); if(path == null) { GUIUtilities.error(view,"empty-fileset",null); return false; } try { SearchMatcher matcher = getSearchMatcher(); if(matcher == null) { view.getToolkit().beep(); return... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/2c69fcf4c8f09b6db12396008f6df5007f7142bb/SearchAndReplace.java/clean/org/gjt/sp/jedit/search/SearchAndReplace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1104,
12,
1767,
1476,
13,
202,
95,
202,
202,
6494,
7666,
273,
629,
31,
202,
202,
780,
589,
273,
1390,
278,
18,
588,
2134,
812,
12,
1945,
16,
2011,
1769,
202,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1250,
1104,
12,
1767,
1476,
13,
202,
95,
202,
202,
6494,
7666,
273,
629,
31,
202,
202,
780,
589,
273,
1390,
278,
18,
588,
2134,
812,
12,
1945,
16,
2011,
1769,
202,
202,... |
this.resources = resources; | files = new ArrayList(); Iterator it = resources.iterator(); while (it.hasNext()) { Resource res = (Resource) it.next(); try { files.add(res.getFile()); } catch (IOException e) { } } | public void setResources(List resources) { this.resources = resources; } | 48209 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48209/47538513b0a247044bee31e22cfbd68e8029a092/BeanConfigurationWatcher.java/buggy/common/src/org/riotfamily/common/xml/BeanConfigurationWatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3805,
12,
682,
2703,
13,
288,
202,
202,
2211,
18,
4683,
273,
2703,
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,
... | [
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3805,
12,
682,
2703,
13,
288,
202,
202,
2211,
18,
4683,
273,
2703,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
System.err.println(ioe.toString()); | err.println(ioe.toString()); | public static void processSource(Context cx, String filename) { SourceTextManager stm = cx.getSourceTextManager(); if (filename == null || filename.equals("-")) { BufferedReader in = new BufferedReader (new InputStreamReader(System.in)); if(null != stm) ... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/de8bedf312b2fad23c19d3781ea5e0b40c31a314/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
1830,
12,
1042,
9494,
16,
514,
1544,
13,
288,
3639,
4998,
1528,
1318,
28358,
273,
9494,
18,
588,
1830,
1528,
1318,
5621,
3639,
309,
261,
3459,
422,
446,
747,
1544,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1207,
1830,
12,
1042,
9494,
16,
514,
1544,
13,
288,
3639,
4998,
1528,
1318,
28358,
273,
9494,
18,
588,
1830,
1528,
1318,
5621,
3639,
309,
261,
3459,
422,
446,
747,
1544,
... |
key + " doesn't map to an existing object"); | '\'' + key + "' doesn't map to an existing object"); | public long getLong(String key) { Long l = getLong(key, null); if (l != null) { return l.longValue(); } else { throw new NoSuchElementException( key + " doesn't map to an existing object"); } } | 55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/2a491590568140349f776b2a63bcb4ce74d147ce/ExtendedProperties.java/buggy/src/java/org/apache/commons/collections/ExtendedProperties.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
11105,
12,
780,
498,
13,
565,
288,
3639,
3407,
328,
273,
11105,
12,
856,
16,
446,
1769,
3639,
309,
261,
80,
480,
446,
13,
3639,
288,
5411,
327,
328,
18,
5748,
620,
5621,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1525,
11105,
12,
780,
498,
13,
565,
288,
3639,
3407,
328,
273,
11105,
12,
856,
16,
446,
1769,
3639,
309,
261,
80,
480,
446,
13,
3639,
288,
5411,
327,
328,
18,
5748,
620,
5621,
3... |
if (end.getY() == start.getY()) { return 0.0; } | if (end.getY() == start.getY()) { return 0.0; } | public static double rotateAngleX(Point start, Point end) { if (end.getY() == start.getY()) { return 0.0; } double dx = end.getX() - start.getX(); double dy = end.getY() - start.getY(); return Math.toDegrees(Math.atan(1 / (dy / dx))); } | 4096 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4096/441cbcf95ce0b247d1739ffaf35bea6e7f6d13c6/DXFUtils.java/buggy/src/java/org/kabeja/dxf/helpers/DXFUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1645,
8534,
8467,
60,
12,
2148,
787,
16,
4686,
679,
13,
288,
3639,
309,
261,
409,
18,
588,
61,
1435,
422,
787,
18,
588,
61,
10756,
288,
5411,
327,
374,
18,
20,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
8534,
8467,
60,
12,
2148,
787,
16,
4686,
679,
13,
288,
3639,
309,
261,
409,
18,
588,
61,
1435,
422,
787,
18,
588,
61,
10756,
288,
5411,
327,
374,
18,
20,
31,
3639,
... |
MessageDialog.openError(null, "Attach Context", "No context exists for selected task."); | MessageDialog.openInformation(null, "Attach Context", "No context exists for selected task."); | public void run(IAction action) { ITask task = TaskListView.getDefault().getSelectedTask(); if (task instanceof AbstractRepositoryTask) { try { if (!MylarPlugin.getContextManager().hasContext(task.getHandleIdentifier())) { MessageDialog.openError(null, "Attach Context", "No context exists for selected task.... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/261b581313c36765e296ed0d0f32386846114922/ContextAttachAction.java/buggy/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/ui/actions/ContextAttachAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
1285,
835,
1562,
273,
3837,
682,
1767,
18,
588,
1868,
7675,
588,
7416,
2174,
5621,
202,
202,
430,
261,
4146,
1276,
4115,
3305... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
1285,
835,
1562,
273,
3837,
682,
1767,
18,
588,
1868,
7675,
588,
7416,
2174,
5621,
202,
202,
430,
261,
4146,
1276,
4115,
3305... |
return pullFile(node, srcFile, dstFile); | return FileTransferService.pullFile(node, srcFile, dstFile); | public static File pullFile(Node node, File srcFile, File dstFile) throws IOException, ProActiveException{ return pullFile(node, srcFile, dstFile); } | 50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/7de898b249c98c3fae1b181f27e9a5fa39249fda/FileTransfer.java/clean/src/org/objectweb/proactive/tools/FileTransfer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1387,
6892,
812,
12,
907,
756,
16,
1387,
24672,
16,
1387,
3046,
812,
13,
1216,
1860,
16,
1186,
3896,
503,
95,
9506,
202,
2463,
6892,
812,
12,
2159,
16,
24672,
16,
3046,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1387,
6892,
812,
12,
907,
756,
16,
1387,
24672,
16,
1387,
3046,
812,
13,
1216,
1860,
16,
1186,
3896,
503,
95,
9506,
202,
2463,
6892,
812,
12,
2159,
16,
24672,
16,
3046,
... |
DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE); AlgorithmParameterGenerator gen = AlgorithmParameterGenerator .getInstance("DSA"); gen.init(spec); | DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE); AlgorithmParameterGenerator gen = AlgorithmParameterGenerator .getInstance("DSA"); try { gen.init(spec); fail("No expected InvalidAlgorithmParameterException"); } catch (InvalidAlgorithmParameterException e) { } | public void test_initLjava_security_spec_AlgorithmParameterSpec() throws Exception { // Test for method void // java.security.AlgorithmParameterGenerator.init(java.security.spec.AlgorithmParameterSpec) // checks that no exception is thrown DSAParameterSpec spec = new DSAParameterSpec(Bi... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/0eff98847201a0c9c9182b2e46693d2e50456f2c/AlgorithmParameterGeneratorTest.java/clean/modules/security/src/test/java/common/tests/api/java/security/AlgorithmParameterGeneratorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
2738,
21159,
67,
7462,
67,
2793,
67,
6801,
1662,
1990,
1435,
1216,
1185,
288,
540,
202,
759,
7766,
364,
707,
918,
540,
202,
759,
2252,
18,
7462,
18,
6801,
1662,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
67,
2738,
21159,
67,
7462,
67,
2793,
67,
6801,
1662,
1990,
1435,
1216,
1185,
288,
540,
202,
759,
7766,
364,
707,
918,
540,
202,
759,
2252,
18,
7462,
18,
6801,
1662,... |
ViewerSorter sorter = getSorter (); TreePath parentPath = internalGetSorterParentPath(widget, sorter); | ViewerComparator comparator = getComparator(); TreePath parentPath = internalGetSorterParentPath(widget, comparator); | private void createAddedElements(Widget widget, Object[] elements) { if(elements.length == 1){ if (equals(elements[0], widget.getData())) { return; } } ViewerSorter sorter = getSorter (); TreePath parentPath = internalGetSorterParentPath(widget, sorter); Item[] items = getChildren(widget); //As the... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d65c8bc5c0d3aafead5b1e576e57c11cb279f2ca/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
8602,
3471,
12,
4609,
3604,
16,
1033,
8526,
2186,
13,
288,
202,
202,
430,
12,
6274,
18,
2469,
422,
404,
15329,
1082,
202,
430,
261,
14963,
12,
6274,
63,
20,
6487,
3604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
8602,
3471,
12,
4609,
3604,
16,
1033,
8526,
2186,
13,
288,
202,
202,
430,
12,
6274,
18,
2469,
422,
404,
15329,
1082,
202,
430,
261,
14963,
12,
6274,
63,
20,
6487,
3604,
... |
String tmp = null; switch (type) { case TYPE_STANDALONE: tmp = stUrlString; break; case TYPE_POSTNUKE: tmp = pnGalleryUrlString; break; case TYPE_PHPNUKE: tmp = phpnGalleryUrlString; break; default: throw new RuntimeException("Unknown type: " + type); } if (tmp == null) { tmp = "http: } if (tmp.length() > TOSTRIN... | return toString(true); | public String toString() { String tmp = null; switch (type) { case TYPE_STANDALONE: tmp = stUrlString; break; case TYPE_POSTNUKE: tmp = pnGalleryUrlString; break; case TYPE_PHPNUKE: tmp = phpnGalleryUrlString; break; default: throw new RuntimeException("Unknown type: " + type); } if (t... | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/700171830bb8c1d134d4009e695cc31fcf158307/Gallery.java/clean/gallery_remote/com/gallery/GalleryRemote/model/Gallery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1853,
273,
446,
31,
202,
202,
9610,
261,
723,
13,
288,
1082,
202,
3593,
3463,
67,
882,
4307,
1013,
5998,
30,
9506,
202,
5645,
273,
384,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1762,
1435,
288,
202,
202,
780,
1853,
273,
446,
31,
202,
202,
9610,
261,
723,
13,
288,
1082,
202,
3593,
3463,
67,
882,
4307,
1013,
5998,
30,
9506,
202,
5645,
273,
384,
... |
protected void setNewAssignmentParameters(RunData data, boolean validify) { // read the form inputs SessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid()); ParameterParser params = data.getParameters(); // put the input value into the state attributes String ti... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/de2edc8422242229d4f2bfea313015d606a3672f/AssignmentAction.java/clean/assignment/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
19469,
7729,
2402,
12,
1997,
751,
501,
16,
1250,
923,
1164,
13,
202,
95,
202,
202,
759,
855,
326,
646,
4540,
202,
202,
2157,
1119,
919,
273,
14015,
46,
2413,
5868,
1997,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
19469,
7729,
2402,
12,
1997,
751,
501,
16,
1250,
923,
1164,
13,
202,
95,
202,
202,
759,
855,
326,
646,
4540,
202,
202,
2157,
1119,
919,
273,
14015,
46,
2413,
5868,
1997,... | ||
doLink(resource, link); | try { FileUtils fu = FileUtils.newFileUtils(); File test = new File(link); File testRes = new File(resource); if (!fu.isSymbolicLink(test.getParentFile(), test.getName())) { doLink(resource, link); } else { if (!test.getCanonicalPath(). equals(testRes.getCanonicalPath())) { Symlink.deleteSymlink(link); doLink(resourc... | public void execute() throws BuildException { try { if (action.equals("single")) { doLink(resource, link); } else if (action.equals("delete")) { try { log("Removing symlink: " + link); Symlink.deleteSymlink(link); ... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c012d33f03aa6d0fa3d52fdac1e4b42851e927ee/Symlink.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
1216,
18463,
288,
3639,
775,
288,
5411,
309,
261,
1128,
18,
14963,
2932,
7526,
6,
3719,
288,
5375,
775,
288,
13779,
284,
89,
273,
13779,
18,
2704,
812,
1989,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
1435,
1216,
18463,
288,
3639,
775,
288,
5411,
309,
261,
1128,
18,
14963,
2932,
7526,
6,
3719,
288,
5375,
775,
288,
13779,
284,
89,
273,
13779,
18,
2704,
812,
1989,
5621,
... |
VM.sysExit(VM.exitStatusBogusCommandLineArg); | VM.sysExit(VM.EXIT_STATUS_BOGUS_COMMAND_LINE_ARG); | public static float primitiveParseFloat(String arg) { int len = arg.length(); byte[] b = new byte[len+1]; for (int i = 0; i < len; i++) { char c = arg.charAt(i); if (c > 127) { VM.sysWriteln("vm: Invalid floating point argument ",arg); VM.sysExit(VM.exitStatusBogusCommandLineArg); ... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/03b35a94a05496f90a3f50e27e94eb82a306a76f/VM_CommandLineArgs.java/buggy/rvm/src/vm/utility/VM_CommandLineArgs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1431,
8225,
3201,
4723,
12,
780,
1501,
13,
288,
565,
509,
562,
273,
1501,
18,
2469,
5621,
565,
1160,
8526,
324,
273,
394,
1160,
63,
1897,
15,
21,
15533,
565,
364,
261,
474,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1431,
8225,
3201,
4723,
12,
780,
1501,
13,
288,
565,
509,
562,
273,
1501,
18,
2469,
5621,
565,
1160,
8526,
324,
273,
394,
1160,
63,
1897,
15,
21,
15533,
565,
364,
261,
474,
... |
System.err.println("Using file "+filename); | Logging.getLogger(Node.class).info("Set node filename to "+filename); | private static void setSystemProperties(String[] args) { List revisedArgs = new ArrayList(); // separate the args into "-D" properties and normal arguments for (int i = 0; i < args.length; i++) { String argi = args[i]; if (argi.startsWith("-D")) { // transfer a "late" system property ... | 7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/64d02ac1e482f187e8ca97588ab7c995adf81607/Node.java/clean/core/src/org/cougaar/core/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
444,
3163,
2297,
12,
780,
8526,
833,
13,
288,
565,
987,
283,
26779,
2615,
273,
394,
2407,
5621,
565,
368,
9004,
326,
833,
1368,
3701,
40,
6,
1790,
471,
2212,
1775,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
444,
3163,
2297,
12,
780,
8526,
833,
13,
288,
565,
987,
283,
26779,
2615,
273,
394,
2407,
5621,
565,
368,
9004,
326,
833,
1368,
3701,
40,
6,
1790,
471,
2212,
1775,
565,
... |
if (monitor != null && monitor.isCanceled()) return; | if (monitor != null && monitor.isCanceled()) { return; } | private void findAllSelectedListElements(Object treeElement, String parentLabel, boolean addAll, IElementFilter filter, IProgressMonitor monitor) throws InterruptedException { String fullLabel = null; if (monitor != null && monitor.isCanceled()) return; if (moni... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ResourceTreeAndListGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceTreeAndListGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
11135,
7416,
682,
3471,
12,
921,
2151,
1046,
16,
5411,
514,
982,
2224,
16,
1250,
5428,
16,
467,
1046,
1586,
1034,
16,
5411,
467,
5491,
7187,
6438,
13,
1216,
7558,
288,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11135,
7416,
682,
3471,
12,
921,
2151,
1046,
16,
5411,
514,
982,
2224,
16,
1250,
5428,
16,
467,
1046,
1586,
1034,
16,
5411,
467,
5491,
7187,
6438,
13,
1216,
7558,
288,
3639,
... |
public Date getVfsDate(String resourceName){ Date lastSyncDate = null; | public long getVfsDate(String resourceName){ long lastSyncDate = 0; | public Date getVfsDate(String resourceName){ Date lastSyncDate = null; Hashtable dateOfFile = (Hashtable)m_synchronizeList.get(resourceName); if (dateOfFile != null){ lastSyncDate = (Date)dateOfFile.get(C_VFS_DATE); } return lastSyncDate; } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/e15b90a9c2c96d7882c429052aca6c143ec62109/CmsSynchronizeList.java/buggy/src/com/opencms/file/CmsSynchronizeList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2167,
11031,
2556,
1626,
12,
780,
9546,
15329,
202,
202,
1626,
1142,
4047,
1626,
273,
446,
31,
202,
202,
5582,
14544,
1509,
951,
812,
273,
261,
5582,
14544,
13,
81,
67,
87,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2167,
11031,
2556,
1626,
12,
780,
9546,
15329,
202,
202,
1626,
1142,
4047,
1626,
273,
446,
31,
202,
202,
5582,
14544,
1509,
951,
812,
273,
261,
5582,
14544,
13,
81,
67,
87,
26... |
if(observer != null) { if(observer.passUp(evt) == false) { return; } } | if (observer != null) { if (observer.passUp(evt) == false) { return; } } | public void passUp(Event evt) { if(observer != null) { // call debugger hook (if installed) if(observer.passUp(evt) == false) { // false means don't pass up (=discard) event return; } } if(up_prot != null) { up_prot.receiveUpEve... | 51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/cc88a4a6b162f10af320cb7c96196119710527e8/Protocol.java/clean/src/org/jgroups/stack/Protocol.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1342,
1211,
12,
1133,
6324,
13,
288,
3639,
309,
12,
30971,
480,
446,
13,
288,
10402,
368,
745,
19977,
3953,
261,
430,
5876,
13,
5411,
309,
12,
30971,
18,
5466,
1211,
12,
73,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1342,
1211,
12,
1133,
6324,
13,
288,
3639,
309,
12,
30971,
480,
446,
13,
288,
10402,
368,
745,
19977,
3953,
261,
430,
5876,
13,
5411,
309,
12,
30971,
18,
5466,
1211,
12,
73,
... |
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); Caret c = t.getCaret(); try { int offs1 = Utilities.getRowStart(t, c.getDot()); int offs2 = Utilities.getRowEnd(t, c.getDot()); c.setDot(offs2); c.moveDot(offs1);... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba862f89183b5347853381927a04e1e399fae5db/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
1128,
13889,
12,
1803,
1133,
2575,
15329,
46,
1528,
1841,
88,
33,
588,
1528,
1841,
12,
2575,
1769,
39,
834,
5111,
33,
88,
18,
588,
39,
20731,
5621,
698,
95,
474,
26600,
21,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
1128,
13889,
12,
1803,
1133,
2575,
15329,
46,
1528,
1841,
88,
33,
588,
1528,
1841,
12,
2575,
1769,
39,
834,
5111,
33,
88,
18,
588,
39,
20731,
5621,
698,
95,
474,
26600,
21,
33,
... | ||
db = DatabaseFactory.getDatabase(dbAlias); | database = DatabaseFactory.getDatabase(dbAlias); | public static ObjectStoreInterMineImpl getInstance(Properties props, Model model) throws ObjectStoreException { String dbAlias = props.getProperty("db"); if (dbAlias == null) { throw new ObjectStoreException("No 'db' property specified for InterMine" ... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/ca277c62d4614d8e9f5486e3abb7e4dffa688a63/ObjectStoreInterMineImpl.java/clean/intermine/src/java/org/intermine/objectstore/intermine/ObjectStoreInterMineImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
2257,
2465,
49,
558,
2828,
3694,
12,
2297,
3458,
16,
3164,
938,
13,
3639,
1216,
1033,
21151,
288,
3639,
514,
1319,
2936,
273,
3458,
18,
588,
1396,
2932,
1966,
8863,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
2257,
2465,
49,
558,
2828,
3694,
12,
2297,
3458,
16,
3164,
938,
13,
3639,
1216,
1033,
21151,
288,
3639,
514,
1319,
2936,
273,
3458,
18,
588,
1396,
2932,
1966,
8863,
3639,... |
vetdata = survprops.getProperty("CLDR_VET_DATA", cldrHome+"/vetdata"); if(!new File(vetdata).isDirectory()) { busted("CLDR_VET_DATA isn't a directory: " + vetdata); return; } if(false && (loggingHandler == null)) { try { loggingHandler = new java.util.logging.FileHandler(vetdata + "/"+LOGFILE,0,1,true); loggingHandler.... | vap = survprops.getProperty("CLDR_VAP"); if((vap==null)||(vap.length()==0)) { /*throw new UnavailableException*/ busted("No vetting password set. (CLDR_VAP in cldr.properties)"); | public synchronized void doStartup() throws ServletException { if(isSetup == true) { return; } // set up CheckCLDR //CheckCLDR.SHOW_TIMES=true; survprops = new java.util.Properties(); if(cldrHome == null) { cldrHome = System.getProperty("catalina.home"); if(cldrHome == nu... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/942be8f7a893f48ec32b3b81c60bde3de5b5f434/SurveyMain.java/clean/tools/java/org/unicode/cldr/web/SurveyMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3852,
918,
741,
22178,
1435,
1216,
16517,
288,
565,
309,
12,
291,
7365,
422,
638,
13,
288,
3639,
327,
31,
565,
289,
3639,
368,
444,
731,
2073,
5017,
6331,
565,
368,
1564,
5017,
6331,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
741,
22178,
1435,
1216,
16517,
288,
565,
309,
12,
291,
7365,
422,
638,
13,
288,
3639,
327,
31,
565,
289,
3639,
368,
444,
731,
2073,
5017,
6331,
565,
368,
1564,
5017,
6331,
1... |
invalidate(); | Style focusedStyle = (Style) style.getObjectProperty("focused-style"); if (focusedStyle != null) { } | public void setStyle( Style style ) { this.iconItem.setStyle( style ); invalidate(); //#if polish.usePolishGui //# this.isStyleInitialised = true; //#endif } | 9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/cdae3bd5211b5efc91f068ff8e391bbe54a821b5/IconCustomItem.java/buggy/enough-polish-j2me/source/src/de/enough/polish/ui/IconCustomItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
18995,
12,
9767,
2154,
262,
288,
202,
202,
2211,
18,
3950,
1180,
18,
542,
2885,
12,
2154,
11272,
202,
202,
5387,
340,
5621,
202,
202,
759,
7,
430,
2952,
1468,
18,
1202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18995,
12,
9767,
2154,
262,
288,
202,
202,
2211,
18,
3950,
1180,
18,
542,
2885,
12,
2154,
11272,
202,
202,
5387,
340,
5621,
202,
202,
759,
7,
430,
2952,
1468,
18,
1202,
... |
form.reflow(true); } | form.reflow(true); } | public void expansionStateChanged(ExpansionEvent e) { form.reflow(true); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/a20435cff00062146f40222c86d27f5e0c761f37/AbstractRepositoryTaskEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/editors/AbstractRepositoryTaskEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
17965,
1119,
5033,
12,
2966,
12162,
1133,
425,
13,
288,
9506,
202,
687,
18,
1734,
821,
12,
3767,
1769,
1082,
202,
97,
2,
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,
0,
0,
0,
0,
0,
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,
17965,
1119,
5033,
12,
2966,
12162,
1133,
425,
13,
288,
9506,
202,
687,
18,
1734,
821,
12,
3767,
1769,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if(thisParent == null) { | if (thisParent == null) { | void check(Component comp) { Component thisParent = finalThis.getParent(); if(thisParent == null) { return; } Component parent = finalT1.getParent(); boolean leftDocked = true; ... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
918,
866,
12,
1841,
1161,
13,
288,
10792,
5435,
333,
3054,
273,
727,
2503,
18,
588,
3054,
5621,
10792,
309,
261,
2211,
3054,
422,
446,
13,
288,
13491,
327,
31,
10792,
289,
10792,
5435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1171,
918,
866,
12,
1841,
1161,
13,
288,
10792,
5435,
333,
3054,
273,
727,
2503,
18,
588,
3054,
5621,
10792,
309,
261,
2211,
3054,
422,
446,
13,
288,
13491,
327,
31,
10792,
289,
10792,
5435,
... |
String reportParamString = DesignObjectSerializer .toExternalForm( reportParamDefn ); String matchedParamString = DesignObjectSerializer .toExternalForm( matchedParam ); | InputParameterAttributes paramAttrs = odaParam.getInputAttributes( ); InputParameterAttributes tmpParamDefn = (InputParameterAttributes) EcoreUtil .copy( paramAttrs ); | public static boolean isUpdatedReportParameter( ScalarParameterHandle reportParam, OdaDataSetParameterHandle param, DataSetDesign dataSetDesign ) { if ( reportParam == null || param == null || dataSetDesign == null ) return true; ParameterDefinition matchedParam = getValidParameterDefinition( param, dataSet... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/80ad7215abca9a4ed1bb4e51ac7f1fa0e918b933/ReportParameterAdapter.java/buggy/model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/ReportParameterAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
353,
7381,
4820,
1662,
12,
1082,
202,
13639,
1662,
3259,
2605,
786,
16,
531,
2414,
13676,
1662,
3259,
579,
16,
1082,
202,
13676,
15478,
14837,
15478,
262,
202,
95,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1250,
353,
7381,
4820,
1662,
12,
1082,
202,
13639,
1662,
3259,
2605,
786,
16,
531,
2414,
13676,
1662,
3259,
579,
16,
1082,
202,
13676,
15478,
14837,
15478,
262,
202,
95,
20... |
public int getNumIdle() throws UnsupportedOperationException { | public int getNumIdle(Object key) throws UnsupportedOperationException { | public int getNumIdle() throws UnsupportedOperationException { return -1; } | 50977 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50977/1313111fc820c43662b3b98672f70316d84ee80c/BaseKeyedObjectPool.java/buggy/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11187,
13834,
12,
921,
498,
13,
1216,
13172,
288,
3639,
327,
300,
21,
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,... | [
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
11187,
13834,
12,
921,
498,
13,
1216,
13172,
288,
3639,
327,
300,
21,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
out.writeLong(localSeqID); out.writeLong(seqID); | out.writeLong(localSequenceID); out.writeLong(sequenceID); | public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(type); out.writeLong(localSeqID); out.writeLong(seqID); } | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/3b9246c3f8342f832ec4ec90358c7a8110b920c0/TOTAL.java/buggy/src/org/jgroups/protocols/TOTAL.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1045,
6841,
12,
921,
1447,
596,
13,
1216,
1860,
288,
202,
202,
659,
18,
2626,
1702,
12,
723,
1769,
202,
202,
659,
18,
2626,
3708,
12,
3729,
6926,
734,
1769,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1045,
6841,
12,
921,
1447,
596,
13,
1216,
1860,
288,
202,
202,
659,
18,
2626,
1702,
12,
723,
1769,
202,
202,
659,
18,
2626,
3708,
12,
3729,
6926,
734,
1769,
202,
202,
... |
EditPart part = (EditPart)object; if (part instanceof DummyEditpart) | EditPart part = (EditPart) object; if ( part instanceof DummyEditpart ) | public List convertSelectionToModelLisr( List list ) { List retValue = new ArrayList(); int size = list.size(); boolean isDummy = false; for (int i=0; i<size; i++) { Object object = list.get(i); if (! (object instanceof EditPart)) { continue; } EditPart part = (EditPart)object; if (pa... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/879c6e2a73c9076aeeed74591c18318a1397dcd3/DeferredGraphicalViewer.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/parts/DeferredGraphicalViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
987,
1765,
6233,
774,
1488,
48,
291,
86,
12,
987,
666,
262,
202,
202,
95,
1082,
202,
682,
21236,
273,
394,
2407,
5621,
1082,
202,
474,
963,
273,
666,
18,
1467,
5621,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
482,
987,
1765,
6233,
774,
1488,
48,
291,
86,
12,
987,
666,
262,
202,
202,
95,
1082,
202,
682,
21236,
273,
394,
2407,
5621,
1082,
202,
474,
963,
273,
666,
18,
1467,
5621,
1082,
... |
ArchiverStub.ArchiverFile file = (ArchiverStub.ArchiverFile) archiverFiles.get( key ); | JarArchiverStub.ArchiverFile file = (JarArchiverStub.ArchiverFile) archiverFiles.get( key ); | public void testFileSet() throws Exception { generateTestFileSets( "\r\n" ); AssemblyMojo mojo = executeMojo( "fileSet-plugin-config.xml" ); Map archiverFiles = ArchiverManagerStub.archiverStub.getFiles(); assertEquals( "Test archive adds", archiverFiles.size(), 1 ); Fil... | 7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/48c7b948a87dd88a4fa822a246fc1caa00432529/AssemblyMojoTest.java/clean/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/AssemblyMojoTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
812,
694,
1435,
3639,
1216,
1185,
565,
288,
3639,
2103,
4709,
812,
2785,
12,
1548,
86,
64,
82,
6,
11272,
3639,
2970,
11534,
49,
10007,
312,
10007,
273,
1836,
49,
10007,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
694,
1435,
3639,
1216,
1185,
565,
288,
3639,
2103,
4709,
812,
2785,
12,
1548,
86,
64,
82,
6,
11272,
3639,
2970,
11534,
49,
10007,
312,
10007,
273,
1836,
49,
10007,
... |
dup.setSingleton(isSingleton()); | dup.setSingleton(isSingleton()); | public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
26427,
1435,
288,
202,
202,
54,
10340,
3120,
9417,
273,
261,
54,
10340,
3120,
13,
312,
67,
14056,
5621,
202,
202,
26427,
18,
8401,
921,
12,
588,
54,
10340... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
921,
312,
67,
26427,
1435,
288,
202,
202,
54,
10340,
3120,
9417,
273,
261,
54,
10340,
3120,
13,
312,
67,
14056,
5621,
202,
202,
26427,
18,
8401,
921,
12,
588,
54,
10340... |
return new PropertyKeyHyperlink[] {new PropertyKeyHyperlink(new Region(partition.getOffset() + delta, realKey.length()), unicodeKey, fTextEditor)}; | return new PropertyKeyHyperlink[] {new PropertyKeyHyperlink(new Region(partition.getOffset() + delta, realKey.length()), realKey, fTextEditor)}; | public IHyperlink[] detectHyperlinks(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks) { if (region == null || fTextEditor == null || canShowMultipleHyperlinks) return null; IEditorSite site= fTextEditor.getEditorSite(); if (site == null) return null; if (!checkEnabled(region)) retur... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/70398b41d402a3134646c7f05bf02a47078fa099/PropertyKeyHyperlinkDetector.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertyKeyHyperlinkDetector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
15996,
1232,
8526,
5966,
15996,
7135,
12,
1285,
408,
18415,
977,
18415,
16,
467,
5165,
3020,
16,
1250,
848,
5706,
8438,
15996,
7135,
13,
288,
202,
202,
430,
261,
6858,
422,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
15996,
1232,
8526,
5966,
15996,
7135,
12,
1285,
408,
18415,
977,
18415,
16,
467,
5165,
3020,
16,
1250,
848,
5706,
8438,
15996,
7135,
13,
288,
202,
202,
430,
261,
6858,
422,... |
if (isDisabled()) { return; } | if (isDisabled()) return; | public void initComponent() { if (isDisabled()) { //System.out.println("localvcs is disabled"); return; } //System.out.println("localvcs is initialized"); myVcs = new LocalVcs(new Storage(null) { @Override public ChangeList loadChangeList() { return new ChangeList(); } ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/41bbb98aea15f2dec26e77580e3200ec838f6d2d/LocalVcsComponent.java/buggy/LocalVcs/src/com/intellij/localvcs/integration/LocalVcsComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1208,
1841,
1435,
288,
565,
309,
261,
291,
8853,
10756,
288,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
3729,
18982,
353,
5673,
8863,
1377,
327,
31,
565,
289,
565,
368,
3163,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
1841,
1435,
288,
565,
309,
261,
291,
8853,
10756,
288,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
3729,
18982,
353,
5673,
8863,
1377,
327,
31,
565,
289,
565,
368,
3163,
... |
if(cw != null) { while(!allTransfersCompleted) { try { wait(10*1000); } catch (InterruptedException e) { } | } if(cw != null) { while(!allTransfersCompleted) { try { synchronized (this) { wait(10*1000); } } catch (InterruptedException e) { | private void finish(int code, PeerNode next) { Logger.minor(this, "Finished: "+code+" on "+this, new Exception("debug")); synchronized(this) { if(status != NOT_FINISHED) throw new IllegalStateException("finish() called with "+code+" when was already "+status); ... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/8cd7a146e9bcdf8fcb9e22e02ee147e5bb867e76/CHKInsertSender.java/buggy/src/freenet/node/CHKInsertSender.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4076,
12,
474,
981,
16,
10669,
907,
1024,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
10577,
30,
13773,
710,
9078,
603,
13773,
2211,
16,
394,
1185,
2932,
4148,
7923,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4076,
12,
474,
981,
16,
10669,
907,
1024,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
10577,
30,
13773,
710,
9078,
603,
13773,
2211,
16,
394,
1185,
2932,
4148,
7923,
1... |
this.dirpath = dir.getCanonicalPath(); | diskUsage = new DF( dir.getCanonicalPath(), conf); | public FSDataset(File dir, Configuration conf) throws IOException { this.dirpath = dir.getCanonicalPath(); this.data = new File(dir, "data"); if (! data.exists()) { data.mkdirs(); } this.tmp = new File(dir, "tmp"); if (tmp.exists()) { FileUtil.fullyDel... | 50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/fa8ed1c0ee625b2f259787749309594d6792971c/FSDataset.java/buggy/src/java/org/apache/hadoop/dfs/FSDataset.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9247,
10656,
12,
812,
1577,
16,
4659,
2195,
13,
1216,
1860,
288,
3639,
4234,
5357,
273,
394,
463,
42,
12,
1577,
18,
588,
15512,
743,
9334,
2195,
1769,
3639,
333,
18,
892,
273,
394... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9247,
10656,
12,
812,
1577,
16,
4659,
2195,
13,
1216,
1860,
288,
3639,
4234,
5357,
273,
394,
463,
42,
12,
1577,
18,
588,
15512,
743,
9334,
2195,
1769,
3639,
333,
18,
892,
273,
394... |
doc.insertString(doc.getLength(), msg, m_resAttrs); | doc.insertString(doc.getLength(), msg, resAttrs); | public void response(final String msg) { Runnable runnable = new Runnable() { public void run() { Document doc = m_logTxt.getDocument(); try { doc.insertString(doc.getLength(), msg, m_resAttrs); } catch(BadLocationExce... | 48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/SpyPanel.java/clean/src/java/org/apache/ftpserver/gui/SpyPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
766,
12,
6385,
514,
1234,
13,
288,
3639,
10254,
14685,
273,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
1171,
4319,
997,
273,
312,
67,
1330,
21811,
18,
588,
2519,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
766,
12,
6385,
514,
1234,
13,
288,
3639,
10254,
14685,
273,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
1171,
4319,
997,
273,
312,
67,
1330,
21811,
18,
588,
2519,
... |
System.out.println("Copyright (c) 2001 World Wide Web Consortium,"); | System.out.println("Copyright (c) 2001-2004 World Wide Web Consortium,"); | private static void printPrologue() { System.out.println("DOM Test Adapter for JUnit\n"); System.out.println("Copyright (c) 2001 World Wide Web Consortium,"); System.out.println("Massachusetts Institute of Technology, Institut National de"); System.out.println("Recherche en Informatique et en Automatique,... | 55441 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55441/cb58c6139b07694b5caac6cf8138b88868ef4408/JUnitRunner.java/buggy/java/junit/org/w3c/domts/JUnitRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
1172,
626,
1330,
344,
1435,
288,
565,
2332,
18,
659,
18,
8222,
2932,
8168,
7766,
14238,
364,
804,
2802,
64,
82,
8863,
565,
2332,
18,
659,
18,
8222,
2932,
2951,
4083,
261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1172,
626,
1330,
344,
1435,
288,
565,
2332,
18,
659,
18,
8222,
2932,
8168,
7766,
14238,
364,
804,
2802,
64,
82,
8863,
565,
2332,
18,
659,
18,
8222,
2932,
2951,
4083,
261... |
Logger.minor(this, "Completed block ("+dontNotify+")"); | Logger.minor(this, "Completed block ("+dontNotify+ ')'); | public void completedBlock(boolean dontNotify) { if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "Completed block ("+dontNotify+")"); synchronized(this) { successfulBlocks++; if(dontNotify) return; } notifyClients(); } | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/ClientRequester.java/buggy/src/freenet/client/async/ClientRequester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5951,
1768,
12,
6494,
14046,
9168,
13,
288,
202,
202,
430,
12,
3328,
18,
13139,
1343,
12,
3328,
18,
6236,
916,
16,
333,
3719,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5951,
1768,
12,
6494,
14046,
9168,
13,
288,
202,
202,
430,
12,
3328,
18,
13139,
1343,
12,
3328,
18,
6236,
916,
16,
333,
3719,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.