Dataset Viewer
Auto-converted to Parquet Duplicate
issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.codemanipulation; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IWorkspaceRunnable; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMon...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
private IField[] fFields; private List fCreatedAccessors; private IRequestQuery fSkipExistingQuery; private IRequestQuery fSkipFinalSettersQuery; private boolean fSkipAllFinalSetters;
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
private boolean fSkipAllExisting; /** * Creates the operation. * @param fields The fields to create setter/getters for. * @param skipFinalSettersQuery Callback to ask if the setter can be skipped for a final field. * Argument of the query is the final field. * @param skipExistingQuery Callback to ...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
return fieldname.substring(1); } if (firstLetter == '_') { return String.valueOf(Character.toUpperCase(secondLetter)) + fieldname.substring(2); } } return String.valueOf(Character.toUpperCase(firstLetter)) + fieldname.substring(1); } } return fieldname; } /** * Creates the name...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
if (monitor == null) { monitor= new NullProgressMonitor(); } try { int nFields= fFields.length; monitor.beginTask(CodeManipulationMessages.getString("AddGetterSetterOperation.description"), nFields); for (int i= 0; i < nFields; i++) { generateStubs(fFields[i], new SubProgressMonitor(monit...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
} private boolean querySkipExistingMethods(IMethod method) throws OperationCanceledException { if (!fSkipAllExisting) { switch (fSkipExistingQuery.doQuery(method)) { case IRequestQuery.CANCEL: throw new OperationCanceledException(); case IRequestQuery.NO: return false; case IRequestQuery.Y...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
boolean isStatic= Flags.isStatic(field.getFlags()); String typeName= Signature.toString(field.getTypeSignature()); IType parentType= field.getDeclaringType(); String lineDelim= StubUtility.getLineDelimiterUsed(parentType); int indent= StubUtility.getIndentUsed(parentType) + 1; String gett...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
} String formattedContent= StubUtility.codeFormat(buf.toString(), indent, lineDelim) + lineDelim; fCreatedAccessors.add(parentType.createMethod(formattedContent, sibling, true, null)); } monitor.worked(1); String setterName= "set" + accessorName; String[] args= new String[] {...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
buf.append(parentType.getElementName()); buf.append('.'); } else { buf.append("this."); } } buf.append(fieldName); buf.append("= "); buf.append(argname); buf.append(";\n}\n"); IJavaElement sibling= null; if (existing != null) { sibling= StubUtility.findSibling(existing)...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.codemanipulation; import java.util.ArrayList; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.runt...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
import org.eclipse.jdt.core.Flags; import org.eclipse.jdt.core.IBuffer; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.IParent; import ...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
* @param method A method template (method belongs to different type than the parent) * @param imports Imports required by the sub are added to the imports structure * @throws JavaModelException */ public static String genStub(IType parenttype, IMethod method, IImportsStructure imports) throws JavaModelException ...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
genJavaDocSeeTag(declaringtype.getElementName(), method.getElementName(), paramTypes, buf); } else { String desc= "Method " + method.getElementName(); genJavaDocStub(desc, paramNames, retTypeSig, excTypes, buf); } } else { String desc= "Constructor for " + parenttype.getElementName(); genJa...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
if (!method.isConstructor()) { String retTypeFrm= Signature.toString(retTypeSig); if (!isBuiltInType(retTypeSig)) { resolveAndAdd(retTypeSig, declaringtype, imports); } buf.append(Signature.getSimpleName(retTypeFrm)); buf.append(' '); buf.append(method.getElementName()); } else { buf.append(p...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
buf.append(" throws "); for (int i= 0; i <= lastExc; i++) { String excTypeSig= excTypes[i]; String excTypeFrm= Signature.toString(excTypeSig); resolveAndAdd(excTypeSig, declaringtype, imports); buf.append(Signature.getSimpleName(excTypeFrm)); if (i < lastExc) { buf.append(", "); } }...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
buf.append("return "); } buf.append("super."); buf.append(method.getElementName()); } else { buf.append("super"); } buf.append('('); for (int i= 0; i <= lastParam; i++) { buf.append(paramNames[i]); if (i < lastParam) { buf.append(", "); } } buf.app...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
/** * Generates a default JavaDoc comment stub for a method. */ public static void genJavaDocStub(String descr, String[] paramNames, String retTypeSig, String[] excTypeSigs, StringBuffer buf) { buf.append("/**\n"); buf.append(" * "); buf.append(descr); buf.append(".\n"); for (int i= 0; i < paramNames.lengt...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
buf.append(methodName); buf.append('('); for (int i= 0; i < paramTypes.length; i++) { if (i > 0) { buf.append(", "); } buf.append(Signature.getSimpleName(Signature.toString(paramTypes[i]))); } buf.append(")\n"); buf.append(" */\n"); } /** * Finds a method in a list of methods. * @return...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
* @param supertype The type's super type * @param newMethods The resulting source for the created constructors (List of String) * @param imports Type names for input declarations required (for example 'java.util.Vector') */ public static void evalConstructors(IType type, IType supertype, List newMethods, IImport...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
IMethod[] methods= superTypes[i].getMethods(); for (int k= 0; k < methods.length; k++) { IMethod curr= methods[k]; if (!curr.isConstructor() && !Flags.isStatic(curr.getFlags())) { if (findMethod(curr, allMethods) == null) { allMethods.add(curr); } } } } for (int i= allMethods.size(...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
String newStub= genStub(type, curr, false, true, imports); newMethods.add(newStub); allMethods.add(curr); } } } } } /** * Examines a string and returns the first line delimiter found. */ public static String getLineDelimiterUsed(IJavaElement elem) throws JavaModelException { ICompilat...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
return System.getProperty("line.separator", "\n"); } /** * Embodies the policy which line delimiter to use when inserting into * a document. */ public static String getLineDelimiterFor(IDocument doc) { String lineDelim= null; try { lineDelim= doc.getLineDelimiter(0); } catch (BadLocationException...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
*/ public static int getIndentUsed(IJavaElement elem) throws JavaModelException { if (elem instanceof ISourceReference) { int tabWidth= CodeFormatterPreferencePage.getTabSize(); ICompilationUnit cu= (ICompilationUnit)JavaModelUtil.findElementOfKind(elem, IJavaElement.COMPILATION_UNIT); if (cu != null) { ...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/StubUtility.java
} return 0; } public static String codeFormat(String sourceString, int initialIndentationLevel, String lineDelim) { CodeFormatter formatter= new CodeFormatter(JavaCore.getOptions()); formatter.options.setLineSeparator(lineDelim); formatter.setInitialIndentationLevel(initialIndentationLevel); return ...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaFormattingStrategy.java
package org.eclipse.jdt.internal.ui.text.java; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.formatter.IFormattingStrategy; import org.eclipse.jface.text.source.ISourceViewer; import org.eclipse.jdt.core.JavaCore; import or...
4,086
Bug 4086 Format problem in single element mode (1GKPJI8)
EG (27.09.2001 12:32:36) from WSAD newsgoup If you select Format (from the popup menu when you right click on .java file) while in "View selected element only" mode (ie - looking at only one method) the auot format adds a large amount of whitespace to the begining of each line. Repeated "Formats" just add more space. Y...
verified fixed
44b869a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T11:58:37
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaFormattingStrategy.java
fViewer = viewer; } /** * @see IFormattingStrategy#formatterStarts(String) */ public void formatterStarts(String initialIndentation) { fInitialIndentation= initialIndentation; } /** * @see IFormattingStrategy#formatterStops() */ public void formatterStops() { } /** * @see IFormattingStrategy#f...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.packageview; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IR...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jdt.core.IJavaModel; import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt.core.IType; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.j...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jdt.internal.ui.viewsupport.StatusBarUpdater; import org.eclipse.jdt.internal.ui.wizards.NewGroup; import org.eclipse.jdt.ui.IContextMenuConstants; import org.eclipse.jdt.ui.IPackagesViewPart; import org.eclipse.jdt.ui.JavaElementContentProvider; import org.eclipse.jdt.ui.JavaElementLabelProvider; im...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.swt.SWT; import org.eclipse.swt.dnd.DND; import org.eclipse.swt.dnd.DragSource; import org.eclipse.swt.dnd.FileTransfer; import org.eclipse.swt.dnd.Transfer; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse....
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse.ui.part.ISetSelectionTarget; import org.eclipse.ui.part.ViewPart; import org.eclipse.ui.views.internal.framelist.BackAction; import org.eclipse.ui.views.internal.framelist.ForwardAction; import org.eclipse.ui.views.internal.framelist.FrameList; import org.ecl...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private LibraryFilter fLibraryFilter= new LibraryFilter(); private BinaryProjectFilter fBinaryFilter= new BinaryProjectFilter(); private ProblemTreeViewer fViewer; private PackagesFrameSource fFrameSource; private FrameList fFrameList; private ContextMenuGroup[] fStandardGroups; private Menu fContextMenu; pri...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} public void partBroughtToTop(IWorkbenchPart part) { } public void partClosed(IWorkbenchPart part) { } public void partDeactivated(IWorkbenchPart part) { } public void partOpened(IWorkbenchPart part) { } }; private ITreeViewerListener fExpansionListener= new ITreeViewerListener() { public void tr...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} /** * Initializes the default preferences */ public static void initDefaults(IPreferenceStore store) { store.setDefault(TAG_SHOWLIBRARIES, true); store.setDefault(TAG_SHOWBINARIES, true); } /** * Returns the package explorer part of the active perspective. If * there isn't any package explorer par...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } public void dispose() { if (fViewer != null) JavaPlugin.getDefault().getProblemMarkerManager().removeListener(fViewer); if (fContextMenu != null && !fContextMenu.isDisposed()) fContextMenu.dispose(); getSite().getPage().removePartListener(fPartListener); JavaPlugin.getDefault().getPreferenceSt...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fViewer.setLabelProvider(new DecoratingLabelProvider(labelProvider, null)); fViewer.setSorter(new PackageViewerSorter()); fViewer.addFilter(new EmptyInnerPackageFilter()); fViewer.setUseHashlookup(true); fViewer.addFilter(fPatternFilter); fViewer.addFilter(fLibraryFilter); fViewer.addFilter(fBinaryFilter); ...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public void selectionChanged(SelectionChangedEvent event) { handleSelectionChanged(event); } }); fViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { handleDoubleClick(event); } }); fViewer.getControl().addKeyListener(new KeyAdapter() { ...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
IActionBars actionBars= getViewSite().getActionBars(); IToolBarManager toolBar= actionBars.getToolBarManager(); toolBar.add(fBackAction); toolBar.add(fForwardAction); toolBar.add(fUpAction); actionBars.updateActionBars(); IMenuManager menu = actionBars.getMenuManager(); menu.add(fFilterAction); menu.a...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (key.equals(ISelectionProvider.class)) return fViewer; return super.getAdapter(key); } /** * Returns the tool tip text for the given element. */ String getToolTipText(Object element) { if (!(element instanceof IResource)) return ((ILabelProvider) getViewer().getLabelProvider()).getText(element); ...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private Shell getShell() { return fViewer.getTree().getShell(); } /** * Returns the selection provider. */ private ISelectionProvider getSelectionProvider() { return fViewer; } /** * Returns the current selection. */ private ISelection getSelection() { return fViewer.getSelection(); } /*...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
menu.appendToGroup(IContextMenuConstants.GROUP_GOTO, fZoomInAction); addGotoMenu(menu); fOpenCUAction.update(); if (fOpenCUAction.isEnabled()) menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpenCUAction); addOpenWithMenu(menu, selection); addOpenToMenu(menu, selection); addRefactoring(menu)...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
gotoMenu.add(fBackAction); gotoMenu.add(fForwardAction); gotoMenu.add(fUpAction); gotoMenu.add(fGotoTypeAction); gotoMenu.add(fGotoPackageAction); } private void makeActions() { ISelectionProvider provider= getSelectionProvider(); fOpenCUAction= new OpenResourceAction(provider); fPropertyDialogAction= n...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fUpAction= new UpAction(fFrameList); fGotoTypeAction= new GotoTypeAction(this); fGotoPackageAction= new GotoPackageAction(this); IActionBars actionService= getViewSite().getActionBars(); actionService.setGlobalActionHandler(IWorkbenchActionConstants.DELETE, fDeleteAction); } private void addRefactoring(IMen...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (selection.size() != 1) return; IAdaptable element= (IAdaptable)selection.getFirstElement(); Object resource= element.getAdapter(IResource.class); if (!(resource instanceof IFile)) return; MenuManager submenu= new MenuManager(PackagesMessages.getString("PackageExplorer.openWith")); submenu.add(n...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return false; } } return true; } private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE; final LocalSelectionTransfer lt= LocalSelectionTransfer.getInstance(); Transfer[] transfers= new Transfer[] {lt, FileTransfer.getInstance()}; TransferDropTargetListener[] dropListeners...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/** * Handles key events in viewer. */ void handleKeyPressed(KeyEvent event) { if (event.character == SWT.DEL && event.stateMask == 0 && fDeleteAction.isEnabled()) fDeleteAction.run(); } /** * Handles double clicks in viewer. * Opens editor if file double-clicked. */ private void handleDoubleClic...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/** * Handles selection changed in viewer. * Updates global actions. * Links to editor (if option enabled) */ private void handleSelectionChanged(SelectionChangedEvent event) { IStructuredSelection sel= (IStructuredSelection) event.getSelection(); fZoomInAction.update(); linkToEditor(sel); } public ...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } return new StructuredSelection(converted.toArray()); } public void selectAndReveal(Object element) { selectReveal(new StructuredSelection(element)); } /** * Returns whether the preference to link selection to active editor is enabled. */ boolean isLinkingEnabled() { return JavaBasePreferencePag...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} else if (obj instanceof IFile) element= obj; if (element == null) return; IWorkbenchPage page= getSite().getPage(); IEditorPart editorArray[]= page.getEditors(); for (int i= 0; i < editorArray.length; ++i) { IEditorPart editor= editorArray[i]; Object input= getElementOfInput(editor...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} return (IResource)element; } public void saveState(IMemento memento) { if (fViewer == null) { if (fMemento != null) memento.putMemento(fMemento); return; } saveExpansionState(memento); saveSelectionState(memento); saveScrollState(memento, fViewer.getTree()); savePatternFilterState(mem...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} protected void savePatternFilterState(IMemento memento) { String filters[] = getPatternFilter().getPatterns(); if(filters.length > 0) { IMemento filtersMem = memento.createChild(TAG_FILTERS); for (int i = 0; i < filters.length; i++){ IMemento child = filtersMem.createChild(TAG_FILTER); child.putStr...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } } protected void saveExpansionState(IMemento memento) { Object expandedElements[]= fViewer.getExpandedElements(); if (expandedElements.length > 0) { IMemento expandedMem= memento.createChild(TAG_EXPANDED); for (int i= 0; i < expandedElements.length; i++) { IMemento elementMem= expandedMem.createCh...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } bar= tree.getHorizontalBar(); if (bar != null) { try { String posStr= memento.getString(TAG_HORIZONTAL_POSITION); int position; position= new Integer(posStr).intValue(); bar.setSelection(position); } catch (NumberFormatException e) { } } } protected void restoreSelectionState...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (childMem != null) { ArrayList elements= new ArrayList(); IMemento[] elementMem= childMem.getChildren(TAG_ELEMENT); for (int i= 0; i < elementMem.length; i++) { Object element= JavaCore.create(elementMem[i].getString(TAG_PATH)); elements.add(element); } fViewer.setExpandedElements(elements.toA...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fFrameSource.connectTo(fFrameList); } /** * An editor has been activated. Set the selection in this Packages Viewer * to be the editor's input, if linking is enabled. */ void editorActivated(IEditorPart editor) { if (!isLinkingEnabled()) return; Object input= getElementOfInput(editor.getEditorInput()...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } ISelection newSelection= new StructuredSelection(element); if (!fViewer.getSelection().equals(newSelection)) { fViewer.setSelection(newSelection); } } } /** * A compilation unit or class was expanded, expand * the main type. */ void expandMainType(Object element) { try { IType t...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
ctrl.getDisplay().asyncExec(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) fViewer.expandToLevel(type2, 1); } }); } } } catch(JavaModelException e) { } } /** * Returns the element contained in...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
TreeViewer getViewer() { return fViewer; } /** * Returns the pattern filter for this view. * @return the pattern filter */ JavaElementPatternFilter getPatternFilter() { return fPatternFilter; } /** * Returns the library filter for this view. * @return the library filter */ LibraryFilter ...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
String filters[]= new String[children.length]; for (int i = 0; i < children.length; i++) { filters[i]= children[i].getString(TAG_ELEMENT); } getPatternFilter().setPatterns(filters); } else { getPatternFilter().setPatterns(new String[0]); } String show= fMemento.getString(TAG_SHOWLIBRARIES); i...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
getLibraryFilter().setShowLibraries(show); } void initBinaryFilterFromPreferences() { JavaPlugin plugin= JavaPlugin.getDefault(); boolean showbin= plugin.getPreferenceStore().getBoolean(TAG_SHOWBINARIES); getBinaryFilter().setShowBinaries(showbin); } /** * Updates the title text and title tool tip. * Call...
4,373
Bug 4373 Packages View - double clich doesn't expand two hiearchy levels
- enable: Show CU children in packages view - double click on CU observe: only one level gets expanded - now expand a node by clicking on the + observe: two levels get expanded
resolved fixed
d00ad36
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:29
2001-10-11T14:20:00
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* @param decorator a label decorator or <code>null</code> for no decorations. */ public void setLabelDecorator(ILabelDecorator decorator) { int labelFlags= JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelProvider.SHOW_OVERLAY_ICONS | JavaElementLabelProvider.SHOW_SMALL_ICONS | JavaElementLabelProvider....
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.codemanipulation; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IWorkspaceRunnable; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMon...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
private IField[] fFields; private List fCreatedAccessors; private IRequestQuery fSkipExistingQuery; private IRequestQuery fSkipFinalSettersQuery; private boolean fSkipAllFinalSetters;
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
private boolean fSkipAllExisting; /** * Creates the operation. * @param fields The fields to create setter/getters for. * @param skipFinalSettersQuery Callback to ask if the setter can be skipped for a final field. * Argument of the query is the final field. * @param skipExistingQuery Callback to ...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
return fieldname.substring(1); } if (firstLetter == '_') { return String.valueOf(Character.toUpperCase(secondLetter)) + fieldname.substring(2); } } return String.valueOf(Character.toUpperCase(firstLetter)) + fieldname.substring(1); } } return fieldname; } /** * Creates the name...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
if (monitor == null) { monitor= new NullProgressMonitor(); } try { int nFields= fFields.length; monitor.beginTask(CodeManipulationMessages.getString("AddGetterSetterOperation.description"), nFields); for (int i= 0; i < nFields; i++) { generateStubs(fFields[i], new SubProgressMonitor(monit...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
} private boolean querySkipExistingMethods(IMethod method) throws OperationCanceledException { if (!fSkipAllExisting) { switch (fSkipExistingQuery.doQuery(method)) { case IRequestQuery.CANCEL: throw new OperationCanceledException(); case IRequestQuery.NO: return false; case IRequestQuery.Y...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
boolean isStatic= Flags.isStatic(field.getFlags()); String typeName= Signature.toString(field.getTypeSignature()); IType parentType= field.getDeclaringType(); String lineDelim= StubUtility.getLineDelimiterUsed(parentType); int indent= StubUtility.getIndentUsed(field); String getterName= "...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
} String formattedContent= StubUtility.codeFormat(buf.toString(), indent, lineDelim) + lineDelim; fCreatedAccessors.add(parentType.createMethod(formattedContent, sibling, true, null)); } monitor.worked(1); String setterName= "set" + accessorName; String[] args= new String[] {...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/AddGetterSetterOperation.java
buf.append(parentType.getElementName()); buf.append('.'); } else { buf.append("this."); } } buf.append(fieldName); buf.append("= "); buf.append(argname); buf.append(";\n}\n"); IJavaElement sibling= null; if (existing != null) { sibling= StubUtility.findSibling(existing)...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.codemanipulation; import java.util.ArrayList; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.text.BadLocationException; import org.eclipse....
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
private ICompilationUnit fCompilationUnit; private ArrayList fPackageEntries; private int fImportOnDemandThreshold; private boolean fReplaceExistingImports; /** * Creates an ImportsStructure for a compilation unit with existing * imports. New imports are added next to the existing import that * has the ...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
fImportOnDemandThreshold= Integer.MAX_VALUE; fReplaceExistingImports= false; } /** * Creates an ImportsStructure for a compilation unit where exiting imports should be * completly ignored. Create will replace all existing imports * @param preferenceOrder Defines the prefered order of imports. * @param impo...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
char newChar= getCharAt(newName, matchLen); char currChar= getCharAt(currName, matchLen); char bestChar= getCharAt(bestName, matchLen); if (newChar < currChar) { if (bestChar < newChar) { return (currChar - newChar) < (newChar - bestChar); } else { return currName.compareTo...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
PackageEntry curr= (PackageEntry) fPackageEntries.get(i); String currName= curr.getName(); int currMatchLen= getMatchLen(currName, newName); if (currMatchLen > bestMatchLen) { isBetterMatch= true; } else if (currMatchLen == bestMatchLen) { if (currMatchLen == newName.length() && currMatchLen =...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
* @param qualifiedTypeName The fully qualified name of the type to import */ public void addImport(String qualifiedTypeName) { String packName= Signature.getQualifier(qualifiedTypeName); String typeName= Signature.getSimpleName(qualifiedTypeName); addImport(packName, typeName); } /** * Adds a new impo...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
PackageEntry packEntry= new PackageEntry(packageName, bestMatch.getCategory()); packEntry.add(decl); int index= fPackageEntries.indexOf(bestMatch); if (cmp < 0) { fPackageEntries.add(index, packEntry); } else { fPackageEntries.add(index + 1, packEntry); } } } } /** * Adds a ...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
} return len; } private static char getCharAt(String str, int index) { if (str.length() > index) { return str.charAt(index); } return 0; } /** * Creates all new elements in the import structure. * Returns all created IImportDeclaration. Does not return null */ public IImportDeclaration[] cre...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
* Returns all created IImportDeclaration. Does not return null */ public IImportDeclaration[] create(IDocument doc, IProgressMonitor monitor) throws CoreException { ArrayList created= new ArrayList(); try { performCreate(created, doc); } finally { if (monitor != null) { monitor.done(); } } re...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
int lastPos; StringBuffer buf= new StringBuffer(); IImportContainer container= fCompilationUnit.getImportContainer(); if (container.exists()) { ISourceRange importSourceRange= container.getSourceRange(); importsStart= importSourceRange.getOffset(); importsLen= importSourceRange.getLength(); if (!fRepl...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
if (pack.getCategory() != lastCategory) { if (lastCategory != -1) { buf.insert(lastPos, lineDelim); } lastCategory= pack.getCategory(); } if (nImports >= fImportOnDemandThreshold) { String starimport= packName + ".*"; lastPos= insertImport(buf, lastPos, stari...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
buf.append(lineDelim); if (importsStart > 0) { buf.insert(0, lineDelim); buf.insert(0, lineDelim); } else { buf.append(lineDelim); } } String newContent= buf.toString(); if (hasChanged(doc, importsStart, importsLen, newContent)) { doc.replace(importsStart, importsLen, newCont...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
private boolean isImportNeeded(String packName, IType[] cuTypes) { if (packName.length() == 0 || "java.lang".equals(packName)) { return false; } if (cuTypes.length > 0) { if (packName.equals(cuTypes[0].getPackageFragment().getElementName())) { return false; } for (int i= 0; i < cuTypes.length; i+...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
return pos; } /* * Internal element for the import structure: A container for imports * of all types from the same package */ private static class PackageEntry { private String fName; private ArrayList fImportEntries; private int fCategory; public PackageEntry(String name, int category) {...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
} public void sortIn(IImportDeclaration imp) { String fullImportName= imp.getElementName(); int insertPosition= -1; int nInports= fImportEntries.size(); for (int i= 0; i < nInports; i++) { int cmp= fullImportName.compareTo(getImportAt(i).getElementName()); if (cmp == 0) { return; } ...
3,811
Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
verified fixed
2c52566
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T14:57:53
2001-10-11T03:13:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
IImportDeclaration curr= getImportAt(i); if (!curr.isOnDemand()) { if (fullName.equals(curr.getElementName())) { return curr; } } } } return null; }*/ public final IImportDeclaration getImportAt(int index) { return (IImportDeclaration)fImportEntries.get(index); } ...
4,365
Bug 4365 Deadlock on save
D:\devel\sdk203>.\jre\bin\java -verify -cp startup.jar org.eclipse.core.launcher .UIMain -application org.eclipse.ui.workbench -ws win32 -platform d:\workspaces\ eclipse-sh1\plugins Full thread dump Classic VM (J2RE 1.3.0 IBM build cn130-20010502, native threads ): "org.eclipse.jface.text.reconciler.MonoReconciler" (TI...
resolved fixed
07b70de
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T15:26:49
2001-10-11T11:33:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementContentProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.ui; import org.eclipse.core.resources.*; import org.eclipse.jdt.core.*; import org.eclipse.jdt.internal.ui.*; import org.eclipse.jdt.internal.ui.viewsupport.*; import org.eclipse.jface.viewers.*; import org.eclipse.swt.widgets...
4,365
Bug 4365 Deadlock on save
D:\devel\sdk203>.\jre\bin\java -verify -cp startup.jar org.eclipse.core.launcher .UIMain -application org.eclipse.ui.workbench -ws win32 -platform d:\workspaces\ eclipse-sh1\plugins Full thread dump Classic VM (J2RE 1.3.0 IBM build cn130-20010502, native threads ): "org.eclipse.jface.text.reconciler.MonoReconciler" (TI...
resolved fixed
07b70de
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T15:26:49
2001-10-11T11:33:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementContentProvider.java
* Java project and the package fragments is automatically filtered out. * </p> * <p> * This class may be instantiated; it is not intended to be subclassed. * </p> */ public class JavaElementContentProvider extends BaseJavaElementContentProvider implements ITreeContentProvider, IElementChangedListener { protecte...
4,365
Bug 4365 Deadlock on save
D:\devel\sdk203>.\jre\bin\java -verify -cp startup.jar org.eclipse.core.launcher .UIMain -application org.eclipse.ui.workbench -ws win32 -platform d:\workspaces\ eclipse-sh1\plugins Full thread dump Classic VM (J2RE 1.3.0 IBM build cn130-20010502, native threads ): "org.eclipse.jface.text.reconciler.MonoReconciler" (TI...
resolved fixed
07b70de
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-10-11T15:26:49
2001-10-11T11:33:20
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementContentProvider.java
} /** * Creates a new content provider for Java elements. */ public JavaElementContentProvider() { } /** * Creates a new content provider for Java elements. */ public JavaElementContentProvider(boolean provideMembers) { super(provideMembers); } /* (non-Javadoc) * Method declared on IElementChangedL...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4