buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
private static void checkRandomData(Random random, Analyzer a, int iterations, int maxWordLength, boolean useCharFilter, boolean simple, boolean offsetsAreCorrect, RandomIndexWriter iw) throws IOException { final LineFileDocs docs = new LineFileDocs(random); Document doc = null; Field field = null, curre...
private static void checkRandomData(Random random, Analyzer a, int iterations, int maxWordLength, boolean useCharFilter, boolean simple, boolean offsetsAreCorrect, RandomIndexWriter iw) throws IOException { final LineFileDocs docs = new LineFileDocs(random); Document doc = null; Field field = null, curre...
public static void beforeClass3xPostingsFormat() { LuceneTestCase.PREFLEX_IMPERSONATION_IS_ACTIVE = true; }
public static void beforeClass3xPostingsFormat() { LuceneTestCase.OLD_FORMAT_IMPERSONATION_IS_ACTIVE = true; }
public void setUp() throws Exception { LuceneTestCase.PREFLEX_IMPERSONATION_IS_ACTIVE = true; super.setUp(); }
public void setUp() throws Exception { LuceneTestCase.OLD_FORMAT_IMPERSONATION_IS_ACTIVE = true; super.setUp(); }
public static void beforeClass() { LuceneTestCase.PREFLEX_IMPERSONATION_IS_ACTIVE = true; }
public static void beforeClass() { LuceneTestCase.OLD_FORMAT_IMPERSONATION_IS_ACTIVE = true; }
public static void beforeClass() throws Exception { // NOTE: turn off compound file, this test will open some index files directly. LuceneTestCase.PREFLEX_IMPERSONATION_IS_ACTIVE = true; IndexWriterConfig config = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random(), MockTokenizer...
public static void beforeClass() throws Exception { // NOTE: turn off compound file, this test will open some index files directly. LuceneTestCase.OLD_FORMAT_IMPERSONATION_IS_ACTIVE = true; IndexWriterConfig config = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random(), MockTokeni...
public void testSetBufferSize() throws IOException { File indexDir = new File(TEMP_DIR, "testSetBufferSize"); MockFSDirectory dir = new MockFSDirectory(indexDir, random); try { IndexWriter writer = new IndexWriter(dir, new IndexWriterConfig( TEST_VERSION_CURRENT, new WhitespaceAn...
public void testSetBufferSize() throws IOException { File indexDir = _TestUtil.getTempDir("testSetBufferSize"); MockFSDirectory dir = new MockFSDirectory(indexDir, random); try { IndexWriter writer = new IndexWriter(dir, new IndexWriterConfig( TEST_VERSION_CURRENT, new Whitespace...
public void testEmptyFSDirWithNoLock() throws Exception { // Tests that if FSDir is opened w/ a NoLockFactory (or SingleInstanceLF), // then IndexWriter ctor succeeds. Previously (LUCENE-2386) it failed // when listAll() was called in IndexFileDeleter. Directory dir = newFSDirectory(new File(TEMP_DIR...
public void testEmptyFSDirWithNoLock() throws Exception { // Tests that if FSDir is opened w/ a NoLockFactory (or SingleInstanceLF), // then IndexWriter ctor succeeds. Previously (LUCENE-2386) it failed // when listAll() was called in IndexFileDeleter. Directory dir = newFSDirectory(_TestUtil.getTemp...
public void runMe(LocalizedOutput log, LocalizedOutput out, BufferedInputStream infile) { utilMain utilInstance; LocalizedInput is; is = LocalizedResource.getInstance().getNewInput(infile); LocalizedInput [] in = { is }; out.println("--------------"+file+"-----------------"); utilInstance =...
public void runMe(LocalizedOutput log, LocalizedOutput out, BufferedInputStream infile) { utilMain utilInstance; LocalizedInput is; is = LocalizedResource.getInstance().getNewInput(infile); LocalizedInput [] in = { is }; out.println("--------------"+file+"-----------------"); utilInstance =...
* public, static, etc. * @see ClassBuilder#newMethodBuilder * @see #newConstructorBuilder */ LocalField addField(String type, String name, int modifiers); /** Fully create the bytecode and load the class using the ClassBuilder's ClassFactory. @exception StandardException Standard Cloudscape policy...
* public, static, etc. * @see ClassBuilder#newMethodBuilder * @see #newConstructorBuilder */ LocalField addField(String type, String name, int modifiers); /** Fully create the bytecode and load the class using the ClassBuilder's ClassFactory. @exception StandardException Standard Cloudscape policy...
public void tranformerList() { EntityProcessor sep = new EntityProcessorWrapper(new SqlEntityProcessor(),null); List<Map<String, Object>> rows = getRows(2); VariableResolverImpl vr = new VariableResolverImpl(); HashMap<String, String> ea = new HashMap<String, String>(); ea.put("query", "SELECT * ...
public void tranformerList() { EntityProcessor sep = new EntityProcessorWrapper(new SqlEntityProcessor(),null); List<Map<String, Object>> rows = getRows(2); VariableResolverImpl vr = new VariableResolverImpl(); HashMap<String, String> ea = new HashMap<String, String>(); ea.put("query", "SELECT * ...
private void doTest(final SpatialOperation operation) throws IOException { //first show that when there's no data, a query will result in no results { Query query = strategy.makeQuery(new SpatialArgs(operation, randomRectangle())); SearchResults searchResults = executeQuery(query, 1); assert...
private void doTest(final SpatialOperation operation) throws IOException { //first show that when there's no data, a query will result in no results { Query query = strategy.makeQuery(new SpatialArgs(operation, randomRectangle())); SearchResults searchResults = executeQuery(query, 1); assert...
public static void main(String args[]) { NetworkServerControlImpl server = null; // // The following variable lets us preserve the error printing behavior // seen before we started installing a security manager. Errors can be // raised as we figure out whether we need to ins...
public static void main(String args[]) { NetworkServerControlImpl server = null; // // The following variable lets us preserve the error printing behavior // seen before we started installing a security manager. Errors can be // raised as we figure out whether we need to ins...
protected Pattern getPattern() { if (pattern == null) { pattern = Pattern.compile("\\Q" + placeholderPrefix + "\\E(.+)\\Q" + placeholderSuffix + "\\E"); } return pattern; }
protected Pattern getPattern() { if (pattern == null) { pattern = Pattern.compile("\\Q" + placeholderPrefix + "\\E(.+?)\\Q" + placeholderSuffix + "\\E"); } return pattern; }
private SSTableReader writeSortedContents(List<DecoratedKey> sortedKeys) throws IOException { logger.info("Writing " + this); String path = cfs.getFlushPath(); SSTableWriter writer = new SSTableWriter(path, sortedKeys.size(), cfs.metadata, cfs.partitioner_); for (DecoratedKey ke...
private SSTableReader writeSortedContents(List<DecoratedKey> sortedKeys) throws IOException { logger.info("Writing " + this); String path = cfs.getFlushPath(); SSTableWriter writer = new SSTableWriter(path, sortedKeys.size(), cfs.metadata, cfs.partitioner); for (DecoratedKey key...
public static Version getBundleVersion(Bundle bundle) { Dictionary headers = bundle.getHeaders(); String version = (String)headers.get(Constants.BUNDLE_VERSION); return (version != null) ? Version.parseVersion(version) : null; }
public static Version getBundleVersion(Bundle bundle) { Dictionary headers = bundle.getHeaders(); String version = (String)headers.get(Constants.BUNDLE_VERSION); return (version != null) ? Version.parseVersion(version) : Version.emptyVersion; }
protected Object doBody(String segmentFileName) throws CorruptIndexException, IOException { SegmentInfos infos = new SegmentInfos(); infos.read(directory, segmentFileName); IndexReader reader; if (infos.size() == 1) { // index is optimized reader = SegmentReader.get...
protected Object doBody(String segmentFileName) throws CorruptIndexException, IOException { SegmentInfos infos = new SegmentInfos(); infos.read(directory, segmentFileName); IndexReader reader; if (infos.size() == 1) { // index is optimized reader = SegmentReader.get...
private void migrateKey(ClusterState clusterState, DocCollection sourceCollection, Slice sourceSlice, DocCollection targetCollection, Slice targetSlice, String splitKey, int timeout, NamedList results) throws KeeperException, InterruptedException { String tempSourceCollectionName = "split_" + sourceSlice.getName(...
private void migrateKey(ClusterState clusterState, DocCollection sourceCollection, Slice sourceSlice, DocCollection targetCollection, Slice targetSlice, String splitKey, int timeout, NamedList results) throws KeeperException, InterruptedException { String tempSourceCollectionName = "split_" + sourceSlice.getName(...
public static boolean sendEmail( TemplateContext context, ModuleEntity module, Object fromUser, List toUsers, List ccUsers, String subject, String template ) throws Exception { boolean...
public static boolean sendEmail( TemplateContext context, ModuleEntity module, Object fromUser, List toUsers, List ccUsers, String subject, String template ) throws Exception { boolean...
public void execute(WorkerStatusController worker) throws Exception { SubscribeCommandReference subscribeReference = (SubscribeCommandReference) getReference(); root = (IMAPRootFolder) subscribeReference.getFolder(); store = root.getServer(); store.unsubscribeFolder(subscribeReference.getMailbox()); }
public void execute(WorkerStatusController worker) throws Exception { SubscribeCommandReference subscribeReference = (SubscribeCommandReference) getReference(); root = (IMAPRootFolder) subscribeReference.getSourceFolder(); store = root.getServer(); store.unsubscribeFolder(subscribeReference.getMailbox()); }...
public PreferencePagesArea(FilteredPreferenceDialog preferenceDialog) { super(); dialog = preferenceDialog; } /** * Create the contents area of the composite. * @param parent * @param style */ void createContents(Composite parent, int style) { ScrolledComposite scrolled = new ScrolledComposite(parent...
public PreferencePagesArea(FilteredPreferenceDialog preferenceDialog) { super(); dialog = preferenceDialog; } /** * Create the contents area of the composite. * @param parent * @param style */ void createContents(Composite parent, int style) { ScrolledComposite scrolled = new ScrolledComposite(parent...
public ExternalToolsDialog() throws HeadlessException { super(new JFrame(), true); // TODO (@author fdietz): i18n setTitle("External Tools"); try { handler = PluginManager.getInstance() .getHandler(IExtensionHandlerKeys.ORG_COLUMBA_CORE_EXTERNALTOOLS); } catch (PluginHandlerNotFoundException e) { ...
public ExternalToolsDialog() throws HeadlessException { super(new JFrame(), true); // TODO (@author fdietz): i18n setTitle("External Tools"); try { handler = PluginManager.getInstance() .getExtensionHandler(IExtensionHandlerKeys.ORG_COLUMBA_CORE_EXTERNALTOOLS); } catch (PluginHandlerNotFoundExcepti...
protected String getMainTaskName() { return Util.bind("operation.renameResourceProgress"); //$NON-NLS-1$ }
protected String getMainTaskName() { return Util.bind("operation.renameResourceProgress"/*nonNLS*/); }
public void save() throws Exception { // if new, relate the Module to the user who created it. if ( isNew() ) { RModuleUser relation = new RModuleUser(); if ( getOwnerId() == null ) { throw new ScarabException("Can't save a project wi...
public void save() throws Exception { // if new, relate the Module to the user who created it. if ( isNew() ) { RModuleUser relation = new RModuleUser(); if ( getOwnerId() == null ) { throw new ScarabException("Can't save a project wi...
public String toStringExpression(){ char[] declaringType = this.evaluationContext.declaringTypeName; return "(" + (declaringType == null ? "<NO DECLARING TYPE>" : new String(declaringType)) + ")this"; //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-1$ }
public String toStringExpression(){ char[] declaringType = this.evaluationContext.declaringTypeName; return "("/*nonNLS*/ + (declaringType == null ? "<NO DECLARING TYPE>"/*nonNLS*/ : new String(declaringType)) + ")this"/*nonNLS*/; }
void addAction(String commandId, IHandler action); /******************************************************************************* * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public Lic...
void addAction(String commandId, IHandler action); /******************************************************************************* * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public Lic...
// abstract private methods cannot occur nor abstract static............ } if (isMethodUseDeprecated(binding, scope)) scope.problemReporter().deprecatedMethod(binding, this); return binding.returnType; }
// abstract private methods cannot occur nor abstract static............ } if (isMethodUseDeprecated(binding, scope)) scope.problemReporter().deprecatedMethod(binding, this); return this.expressionType = binding.returnType; }
public TypeBinding resolveType(BlockScope scope) { // due to syntax lhs may be only a NameReference, a FieldReference or an ArrayReference this.constant = Constant.NotAConstant; if (!(this.lhs instanceof Reference) || this.lhs.isThis()) { scope.problemReporter().expressionShouldBeAVariable(this.lhs); return null...
public TypeBinding resolveType(BlockScope scope) { // due to syntax lhs may be only a NameReference, a FieldReference or an ArrayReference this.constant = Constant.NotAConstant; if (!(this.lhs instanceof Reference) || this.lhs.isThis()) { scope.problemReporter().expressionShouldBeAVariable(this.lhs); return null...
public EntryResult[] queryIn(Index index) { // package declarations are not indexed return null; }
public PackageDeclarationPattern(char[] pkgName, int matchRule) { super(PKG_DECL_PATTERN, matchRule); this.pkgName = pkgName; } EntryResult[] queryIn(Index index) { // package declarations are not indexed return null; }
public int contextMap( Request request ) { Context ctx=request.getContext(); if( ctx==null) return 0; // XXX This interceptor will be added per/context. if( ! ctx.getReloadable() ) return 0; // We are remapping ? if( request.getAttribute("tomcat.ReloadInterceptor")!=null) return DECLINED; DependMan...
public int contextMap( Request request ) { Context ctx=request.getContext(); if( ctx==null) return 0; // XXX This interceptor will be added per/context. if( ! ctx.getReloadable() ) return 0; // We are remapping ? if( request.getAttribute("tomcat.ReloadInterceptor")!=null) return DECLINED; DependMan...
public String getMainTaskName(){ return Util.bind("operation.createImportsProgress"); //$NON-NLS-1$ }
public String getMainTaskName(){ return Util.bind("operation.createImportsProgress"/*nonNLS*/); }
private boolean hasSubtypeNamed(String simpleName) { if (this.focusType.getElementName().equals(simpleName)) { return true; } IType[] types = this.getAllSubtypes(this.focusType); for (int i = 0, length = types.length; i < length; i++) { if (types[i].getElementName().equals(simpleName)) { return true; } } ...
private boolean hasSubtypeNamed(String simpleName) { if (this.focusType != null && this.focusType.getElementName().equals(simpleName)) { return true; } IType[] types = this.getAllSubtypes(this.focusType); for (int i = 0, length = types.length; i < length; i++) { if (types[i].getElementName().equals(simpleName))...
public boolean isVisible() { return false; }
public boolean isVisible() { return true; }
public void setActionsById(Map actionsById) { actionsById = Util.safeCopy(actionsById, String.class, IHandler.class); if (!Util.equals(actionsById, this.actionsById)) { this.actionsById = actionsById; // TODO begin temporary (?) for (Iterator iterator = this.actionsById.entrySet().iterator(); iterat...
public void setActionsById(Map actionsById) { actionsById = Util.safeCopy(actionsById, String.class, IHandler.class, false, true); if (!Util.equals(actionsById, this.actionsById)) { this.actionsById = actionsById; // TODO begin temporary (?) for (Iterator iterator = this.actionsById.entrySet().iterator(...
public int getNodeType() { return FIELD_DECLARATION; } /* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone(AST target) { FieldDeclaration result = new FieldDeclaration(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc)...
public int getNodeType() { return FIELD_DECLARATION; } /* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { FieldDeclaration result = new FieldDeclaration(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc...
private void createButtons(XmlElement toolbar) { ListIterator iterator = toolbar.getElements().listIterator(); XmlElement buttonElement; while( iterator.hasNext()) { try { buttonElement = (XmlElement) iterator.next(); if( buttonElement.getName().equals("button")) addButton( ((ActionPluginHan...
private void createButtons(XmlElement toolbar) { ListIterator iterator = toolbar.getElements().listIterator(); XmlElement buttonElement; while( iterator.hasNext()) { try { buttonElement = (XmlElement) iterator.next(); if( buttonElement.getName().equals("button")) addButton( ((ActionPluginHan...
public AttachmentMenu(AttachmentController attachmentViewer) { this.attachmentViewer = attachmentViewer; initPopupMenu(); }
public AttachmentMenu(AttachmentController attachmentViewer) { this.attachmentViewer = attachmentViewer; //initPopupMenu(); }
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ MemberValuePair(AST ast) { super(ast); unsupportedIn2(); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { ...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ MemberValuePair(AST ast) { super(ast); unsupportedIn2(); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { ...
public MarshalledObject invoke(Invocation invocation) throws Exception { //log.info("in invoke, finally! invocation: " + invocation); ClassLoader oldCl = Thread.currentThread().getContextClassLoader(); try { // This is bad it should at least be using a sub set of the Registry ...
public MarshalledObject invoke(Invocation invocation) throws Exception { //log.info("in invoke, finally! invocation: " + invocation); ClassLoader oldCl = Thread.currentThread().getContextClassLoader(); try { // This is bad it should at least be using a sub set of the Registry ...
protected void executeOperation() throws JavaModelException { beginTask(Util.bind("operation.createUnitProgress"), 2); //$NON-NLS-1$ JavaElementDelta delta = newJavaElementDelta(); ICompilationUnit unit = getCompilationUnit(); IPackageFragment pkg = (IPackageFragment) getParentElement(); IContainer folder = (ICont...
protected void executeOperation() throws JavaModelException { beginTask(Util.bind("operation.createUnitProgress"/*nonNLS*/), 2); JavaElementDelta delta = newJavaElementDelta(); ICompilationUnit unit = getCompilationUnit(); IPackageFragment pkg = (IPackageFragment) getParentElement(); IContainer folder = (IContaine...
public int getNodeType() { return FIELD_DECLARATION; } /* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone(AST target) { FieldDeclaration result = new FieldDeclaration(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc)...
public int getNodeType() { return FIELD_DECLARATION; } /* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone(AST target) { FieldDeclaration result = new FieldDeclaration(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc)...
public List getAttributes() throws Exception { Criteria crit = new Criteria() .add(RAttributeAttributeGroupPeer.GROUP_ID, getAttributeGroupId()) .addJoin(RAttributeAttributeGroupPeer.ATTRIBUTE_ID, AttributePeer.ATTRIBUTE_...
public List getAttributes() throws Exception { Criteria crit = new Criteria() .add(RAttributeAttributeGroupPeer.GROUP_ID, getAttributeGroupId()) .addJoin(RAttributeAttributeGroupPeer.ATTRIBUTE_ID, AttributePeer.ATTRIBUTE_...
public String toStringExpression(int tab){ return "<SelectOnType:"/*nonNLS*/ + new String(token) + ">"/*nonNLS*/ ; }
public String toStringExpression(int tab){ return "<SelectOnType:" + new String(token) + ">" ; //$NON-NLS-2$ //$NON-NLS-1$ }
public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) { boolean nonStatic = !binding.isStatic(); flowInfo = receiver.analyseCode(currentScope, flowContext, flowInfo, nonStatic).unconditionalInits(); if (nonStatic) receiver.checkNullStatus(currentScope, flowInfo, FlowInfo.N...
public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) { boolean nonStatic = !binding.isStatic(); flowInfo = receiver.analyseCode(currentScope, flowContext, flowInfo, nonStatic).unconditionalInits(); if (nonStatic) receiver.checkNullStatus(currentScope, flowContext, flowInf...
public interface ICategoryDefinition extends Comparable { /******************************************************************************* * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Pub...
public interface ICategoryDefinition extends Comparable { /******************************************************************************* * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Pub...
public boolean equals(Object rObject) { if( this == rObject) { return true; } if(!(rObject instanceof LoggingEvent)) { return false; } LoggingEvent rEvent = (LoggingEvent) rObject; // timeStamp cannot be null if(timeStamp != rEvent.timeStamp) { retu...
public boolean equals(Object rObject) { if( this == rObject) { return true; } if(!(rObject instanceof LoggingEvent)) { return false; } LoggingEvent rEvent = (LoggingEvent) rObject; // timeStamp cannot be null if(timeStamp != rEvent.timeStamp) { retu...
public void acceptMethod(IMethod method) { try { if (!Signature.getReturnType(method.getSignature()).equals("V"/*nonNLS*/)) { super.acceptMethod(method); } } catch (JavaModelException npe) { } }
public void acceptMethod(IMethod method) { try { if (!Signature.getReturnType(method.getSignature()).equals("V")) { //$NON-NLS-1$ super.acceptMethod(method); } } catch (JavaModelException npe) { } }
private void loadFontDefinitions(IExtension ext) { ThemeRegistryReader reader = new ThemeRegistryReader(); reader.setRegistry((ThemeRegistry) WorkbenchPlugin.getDefault().getThemeRegistry()); IConfigurationElement [] elements = ext.getConfigurationElements(); for (int i = 0; i < elements.length; i++) re...
private void loadFontDefinitions(IExtension ext) { ThemeRegistryReader reader = new ThemeRegistryReader(); reader.setRegistry((ThemeRegistry) WorkbenchPlugin.getDefault().getThemeRegistry()); IConfigurationElement [] elements = ext.getConfigurationElements(); for (int i = 0; i < elements.length; i++) re...
private void buildResourceVector() throws JavaModelException { Hashtable resources = new Hashtable(); Hashtable paths = new Hashtable(); fTypes = fHierarchy.getAllTypes(); for (int i = 0; i < fTypes.length; i++) { IType type = fTypes[i]; IResource resource = type.getUnderlyingResource(); if (resource != null ...
private void buildResourceVector() throws JavaModelException { Hashtable resources = new Hashtable(); Hashtable paths = new Hashtable(); fTypes = fHierarchy.getAllTypes(); for (int i = 0; i < fTypes.length; i++) { IType type = fTypes[i]; IResource resource = type.getUnderlyingResource(); if (resource != null ...
public static String id() { return "@version@"; }
public static String id() { return "3.7"; }
public DeclarationOfReferencedTypesPattern(IJavaElement enclosingElement) { super(null, null, R_PATTERN_MATCH); this.enclosingElement = enclosingElement; this.knownTypes = new SimpleSet(); ((InternalSearchPattern)this).mustResolve = true; }
public DeclarationOfReferencedTypesPattern(IJavaElement enclosingElement) { super(null, null, R_PATTERN_MATCH); this.enclosingElement = enclosingElement; this.knownTypes = new SimpleSet(); this.mustResolve = true; }
public static final NumberKey ALL_MODULES_CURRENT_ISSUETYPES = new NumberKey("3"); }
public static final NumberKey ALL_MODULES_CURRENT_ISSUETYPE = new NumberKey("3"); }
public IFolderLayout createFolder( String folderId, int relationship, float ratio, String refId) { if (checkPartInLayout(folderId)) return new FolderLayout( this, (PartTabFolder) getRefPart(folderId), viewFactory); // Create the folder. PartTabFolder folder = new PartTabFolder(rootLayoutC...
public IFolderLayout createFolder( String folderId, int relationship, float ratio, String refId) { if (checkPartInLayout(folderId)) return new FolderLayout( this, (PartTabFolder) getRefPart(folderId), viewFactory); // Create the folder. PartTabFolder folder = new PartTabFolder(rootLayoutC...
public void shutdown () { JavaCore javaCore = JavaCore.getJavaCore(); javaCore.savePluginPreferences(); IWorkspace workspace = ResourcesPlugin.getWorkspace(); workspace.removeResourceChangeListener(this.deltaState); workspace.removeSaveParticipant(javaCore); // Stop listening to content-type changes P...
public void shutdown () { JavaCore javaCore = JavaCore.getJavaCore(); javaCore.savePluginPreferences(); IWorkspace workspace = ResourcesPlugin.getWorkspace(); workspace.removeResourceChangeListener(this.deltaState); workspace.removeSaveParticipant(javaCore); // Stop listening to content-type changes P...
public String toString(){ StringBuffer buffer = new StringBuffer(20); buffer.append("SetClasspathOperation\n"); //$NON-NLS-1$ buffer.append(" - classpath : "); //$NON-NLS-1$ if (this.newRawPath == ReuseClasspath){ buffer.append("<Reuse Existing Classpath>"); //$NON-NLS-1$ } else { buffer.append("{"); /...
public String toString(){ StringBuffer buffer = new StringBuffer(20); buffer.append("SetClasspathOperation\n"); //$NON-NLS-1$ buffer.append(" - classpath : "); //$NON-NLS-1$ if (this.newRawPath == ReuseClasspath){ buffer.append("<Reuse Existing Classpath>"); //$NON-NLS-1$ } else { buffer.append("{"); /...
@Test(timeout=1500) public void testsRunInParallel() { long start= System.currentTimeMillis(); Result result= JUnitCore.runClasses(ParallelExecutioner.classes(), Example1.class, Example2.class); assertTrue(result.wasSuccessful());
@Test(timeout=1500) public void testsRunInParallel() { long start= System.currentTimeMillis(); Result result= JUnitCore.runClasses(ParallelComputer.classes(), Example1.class, Example2.class); assertTrue(result.wasSuccessful());
public static ICodeFormatter createDefaultCodeFormatter(Map options){ final String NEW_CODE_FORMATTER_ACTIVATION = JavaCore.PLUGIN_ID + ".newformatter.activation"; Object newFormatterActivation = JavaCore.getOption(NEW_CODE_FORMATTER_ACTIVATION); ICodeFormatter codeFormatter; if (JavaCore.ENABLED.equals(n...
public static ICodeFormatter createDefaultCodeFormatter(Map options){ final String NEW_CODE_FORMATTER_ACTIVATION = JavaCore.PLUGIN_ID + ".newformatter.activation"; //$NON-NLS-1$ Object newFormatterActivation = JavaCore.getOption(NEW_CODE_FORMATTER_ACTIVATION); ICodeFormatter codeFormatter; if (JavaCore.EN...
public static String id() { return "4.0"; }
public static String id() { return "4.1"; }
public String toString(int tab){ /* slow code */ String s = tabString(tab); s = s + "default : " ; //$NON-NLS-1$ return s;}
public String toString(int tab){ /* slow code */ String s = tabString(tab); s = s + "default : "/*nonNLS*/ ; return s;}
private IPath[] computeProjectsAndJars(IType type) throws JavaModelException { HashSet set = new HashSet(); IPackageFragmentRoot root = (IPackageFragmentRoot)type.getPackageFragment().getParent(); if (root.isArchive()) { // add the root set.add(root.getPath()); // add all projects that reference this ar...
private IPath[] computeProjectsAndJars(IType type) throws JavaModelException { HashSet set = new HashSet(); IPackageFragmentRoot root = (IPackageFragmentRoot)type.getPackageFragment().getParent(); if (root.isArchive()) { // add the root set.add(root.getPath()); // add all projects that reference this ar...
public int getNextToken() throws InvalidInputException { this.wasAcr = false; if (diet) { jumpOverMethodBody(); diet = false; return currentPosition > source.length ? TokenNameEOF : TokenNameRBRACE; } try { while (true) { //loop for jumping over comments withoutUnicodePtr = 0; //start with a new toke...
public int getNextToken() throws InvalidInputException { this.wasAcr = false; if (diet) { jumpOverMethodBody(); diet = false; return currentPosition > source.length ? TokenNameEOF : TokenNameRBRACE; } try { while (true) { //loop for jumping over comments withoutUnicodePtr = 0; //start with a new toke...
public NS_CNAME_PTRRecord(Name _name, short _type, short _dclass, int _ttl, int length, CountedDataInputStream in, Compression c) throws IOException
public NS_CNAME_PTRRecord(Name _name, short _type, short _dclass, int _ttl, int length, DataByteInputStream in, Compression c) throws IOException
private static Criteria addSortOrder(Criteria crit, String sortColumn, String sortPolarity) { if (sortPolarity.equals("desc")) { crit.addDescendingOrderByColumn(sortColumn); } else { crit.addAscendingOrderByColumn(sortColumn); ...
private static Criteria addSortOrder(Criteria crit, String sortColumn, String sortPolarity) { if (sortPolarity != null && sortPolarity.equals("desc")) { crit.addDescendingOrderByColumn(sortColumn); } else { crit.addAscendingOrd...
public TypeBinding resolveType(BlockScope scope) { // field and/or local are done before type lookups // the only available value for the restrictiveFlag BEFORE // the TC is Flag_Type Flag_LocalField and Flag_TypeLocalField this.actualReceiverType = scope.enclosingReceiverType(); this.constant = Constant.NotAConst...
public TypeBinding resolveType(BlockScope scope) { // field and/or local are done before type lookups // the only available value for the restrictiveFlag BEFORE // the TC is Flag_Type Flag_LocalField and Flag_TypeLocalField this.actualReceiverType = scope.enclosingReceiverType(); this.constant = Constant.NotAConst...
public void record(IProblem problem, CompilationResult unitResult, ReferenceContext referenceContext) { unitResult.record(problem, referenceContext); SelectionEngine.this.requestor.acceptError(problem); } }; this.parser = new SelectionParser(problemReporter, this.compilerOptions.assertMode); this.lo...
public void record(IProblem problem, CompilationResult unitResult, ReferenceContext referenceContext) { unitResult.record(problem, referenceContext); SelectionEngine.this.requestor.acceptError(problem); } }; this.parser = new SelectionParser(problemReporter, this.compilerOptions.sourceLevel >= Compile...
public static IMethod[] findMethods(IMethod method, IMethod[] methods) { String elementName = method.getElementName(); String[] parameters = method.getParameterTypes(); int paramLength = parameters.length; String[] simpleNames = new String[paramLength]; for (int i = 0; i < paramLength; i++) { String erasure = Si...
public static IMethod[] findMethods(IMethod method, IMethod[] methods) { String elementName = method.getElementName(); String[] parameters = method.getParameterTypes(); int paramLength = parameters.length; String[] simpleNames = new String[paramLength]; for (int i = 0; i < paramLength; i++) { String erasure = Si...
public String toString(int tab) { return tabString(tab) + "Recovered import: " + importReference.toString(); //$NON-NLS-1$ }
public String toString(int tab) { return tabString(tab) + "Recovered import: "/*nonNLS*/ + importReference.toString(); }
public void actionPerformed(ActionEvent ae) { ProjectBrowser pb = ProjectBrowser.TheInstance; NavigatorPane nav = pb.getNavigatorPane(); NavigatorConfigDialog ncd = new NavigatorConfigDialog(pb); ncd.setVisible(true); }
public void actionPerformed(ActionEvent ae) { ProjectBrowser pb = ProjectBrowser.TheInstance; NavigatorPane nav = pb.getNavigatorPane(); NavigatorConfigDialog ncd = new NavigatorConfigDialog(pb,nav); ncd.setVisible(true); }
public void recordBreakFrom(FlowInfo flowInfo) { if (initsOnBreak == FlowInfo.DEAD_END) { initsOnBreak = flowInfo.copy().unconditionalInits(); } else { initsOnBreak.mergedWith(flowInfo.unconditionalInits()); }; }
public void recordBreakFrom(FlowInfo flowInfo) { if (initsOnBreak == FlowInfo.DEAD_END) { initsOnBreak = flowInfo.copy().unconditionalInits(); } else { initsOnBreak = initsOnBreak.mergedWith(flowInfo.unconditionalInits()); }; }
public String toString() { return "NewBuilderType(" + fNewTSEntry.getType().getName() + ")"; //$NON-NLS-1$ //$NON-NLS-2$ }
public String toString() { return "NewBuilderType("/*nonNLS*/ + fNewTSEntry.getType().getName() + ")"/*nonNLS*/; }
protected int matchReference(Reference node, MatchingNodeSet nodeSet, boolean writeOnlyAccess) { if (node instanceof NameReference) { if (this.pattern.name == null) { return nodeSet.addMatch(node, ((InternalSearchPattern)this.pattern).mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); } else if (node instanceof Si...
protected int matchReference(Reference node, MatchingNodeSet nodeSet, boolean writeOnlyAccess) { if (node instanceof NameReference) { if (this.pattern.name == null) { return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); } else if (node instanceof SingleNameReference) { i...
public void printStackTrace() { if (fThrowable != null) { System.err.println(this); System.err.println("Stack trace of embedded throwable:"); //$NON-NLS-1$ fThrowable.printStackTrace(); } else { super.printStackTrace(); } }
public void printStackTrace() { if (fThrowable != null) { System.err.println(this); System.err.println("Stack trace of embedded throwable:"/*nonNLS*/); fThrowable.printStackTrace(); } else { super.printStackTrace(); } }
public void locateMatches( String[] filePaths, IWorkspace workspace, IWorkingCopy[] workingCopies) throws JavaModelException { if (SearchEngine.VERBOSE) { System.out.println("Locating matches in files ["); //$NON-NLS-1$ for (int i = 0, length = filePaths.length; i < length; i++) { String path ...
public void locateMatches( String[] filePaths, IWorkspace workspace, IWorkingCopy[] workingCopies) throws JavaModelException { if (SearchEngine.VERBOSE) { System.out.println("Locating matches in files ["); //$NON-NLS-1$ for (int i = 0, length = filePaths.length; i < length; i++) { String path ...
public String toString() { return "ZipNode("/*nonNLS*/ + fZipFile + ")"/*nonNLS*/; }
public String toString() { return "ZipNode(" + fZipFile + ")"; //$NON-NLS-1$ //$NON-NLS-2$ }
public void activateOptions() { if (triggeringPolicy == null) { logger.warn("Please set a TriggeringPolicy for "); return; } if (rollingPolicy != null) { rollingPolicy.activateOptions(); System.out.println("Actibe log file name"+rollingPolicy.getActiveLogFileName()); setFil...
public void activateOptions() { if (triggeringPolicy == null) { logger.warn("Please set a TriggeringPolicy for "); return; } if (rollingPolicy != null) { rollingPolicy.activateOptions(); //System.out.println("Actibe log file name"+rollingPolicy.getActiveLogFileName()); setF...
private String findSecurestMechanism() throws SMTPException { List serverSupported = null; for (int i = 0; i < capas.length; i++) { if (capas[i].startsWith("AUTH")) { serverSupported = parseAuthCapas(capas[i]); } } if (serverSupported == null...
private String findSecurestMechanism() throws SMTPException { List serverSupported = null; for (int i = 0; i < capas.length; i++) { if (capas[i].startsWith("AUTH")) { serverSupported = parseAuthCapas(capas[i]); } } if (serverSupported == null...
public void addPages() { super.addPages(); mainPage = new WizardNewFolderMainPage(ResourceMessages.getString("NewFolder.text"), getSelection()); //$NON-NLS-1$ addPage(mainPage); linkPage = new WizardNewLinkPage("newLinkPage", IResource.FOLDER); //$NON-NLS-1$ linkPage.setTitle(ResourceMessages.getString("NewLink.p...
public void addPages() { super.addPages(); mainPage = new WizardNewFolderMainPage(ResourceMessages.getString("NewFolder.text"), getSelection()); //$NON-NLS-1$ addPage(mainPage); linkPage = new WizardNewLinkPage("newLinkPage", IResource.FOLDER); //$NON-NLS-1$ linkPage.setTitle(ResourceMessages.getString("NewLink.p...
public Resolver(String hostname) throws UnknownHostException { if (hostname == null) { hostname = FindResolver.find1(); if (hostname == null) hostname = defaultResolver; }
public Resolver(String hostname) throws UnknownHostException { if (hostname == null) { hostname = FindServer.find1(); if (hostname == null) hostname = defaultResolver; }
public int sessionState( Request req, ServerSession sess, int newState) { if( newState==ServerSession.STATE_SUSPEND || newState==ServerSession.STATE_EXPIRED ) { // generate "unbould" events when the session is suspended or // expired HttpSession httpSess=(HttpSession)sess.getFacade(...
public int sessionState( Request req, ServerSession sess, int newState) { if( newState==ServerSession.STATE_SUSPEND || newState==ServerSession.STATE_EXPIRED ) { // generate "unbould" events when the session is suspended or // expired HttpSession httpSess=(HttpSession)sess.getFacade(...
public String toString() { return "JCUNode("/*nonNLS*/ + fUnit.getFileName() + ")"/*nonNLS*/; }
public String toString() { return "JCUNode(" + fUnit.getFileName() + ")"; //$NON-NLS-1$ //$NON-NLS-2$ }
public boolean search(IIndex index) { if (progressMonitor != null && progressMonitor.isCanceled()) throw new OperationCanceledException(); if (index == null) return COMPLETE; ReadWriteMonitor monitor = indexManager.getMonitorFor(index); if (monitor == null) return COMPLETE; // index got deleted since acquired ...
public boolean search(IIndex index) { if (progressMonitor != null && progressMonitor.isCanceled()) throw new OperationCanceledException(); if (index == null) return COMPLETE; ReadWriteMonitor monitor = indexManager.getMonitorFor(index); if (monitor == null) return COMPLETE; // index got deleted since acquired ...
protected void acceptBinaryMethod(IType type, char[] selector, char[][] parameterPackageNames, char[][] parameterTypeNames) { String[] parameterTypes= null; if (parameterTypeNames != null) { parameterTypes= new String[parameterTypeNames.length]; for (int i= 0, max = parameterTypeNames.length; i < max; i++) { S...
protected void acceptBinaryMethod(IType type, char[] selector, char[][] parameterPackageNames, char[][] parameterTypeNames) { String[] parameterTypes= null; if (parameterTypeNames != null) { parameterTypes= new String[parameterTypeNames.length]; for (int i= 0, max = parameterTypeNames.length; i < max; i++) { S...
public void selectType(ISourceType sourceType, char[] typeName) { try{ acceptedAnswer = false; // find the outer most type ISourceType outerType = sourceType; ISourceType parent = sourceType.getEnclosingType(); while (parent != null) { outerType = parent; parent = parent.getEnclosingType(); } // ...
public void selectType(ISourceType sourceType, char[] typeName) { try{ acceptedAnswer = false; // find the outer most type ISourceType outerType = sourceType; ISourceType parent = sourceType.getEnclosingType(); while (parent != null) { outerType = parent; parent = parent.getEnclosingType(); } // ...
protected void sendBuffer() { // Note: this code already owns the monitor for this // appender. This frees us from needing to synchronize on 'cb'. try { MimeBodyPart part = new MimeBodyPart(); StringBuffer sbuf = new StringBuffer(); String t = layout.getHeader(); if (t != null) {...
protected void sendBuffer() { // Note: this code already owns the monitor for this // appender. This frees us from needing to synchronize on 'cb'. try { MimeBodyPart part = new MimeBodyPart(); StringBuffer sbuf = new StringBuffer(); String t = layout.getHeader(); if (t != null) {...
public CloseDialog(View view) { super(view,jEdit.getProperty("close.title"),true); this.view = view; JPanel content = new JPanel(new BorderLayout(12,12)); content.setBorder(new EmptyBorder(12,12,12,12)); setContentPane(content); Box iconBox = new Box(BoxLayout.Y_AXIS); iconBox.add(new JLabel(UIManage...
public CloseDialog(View view) { super(view,jEdit.getProperty("close.title"),true); this.view = view; JPanel content = new JPanel(new BorderLayout(12,12)); content.setBorder(new EmptyBorder(12,12,12,12)); setContentPane(content); Box iconBox = new Box(BoxLayout.Y_AXIS); iconBox.add(new JLabel(UIManage...
public void visit(FigureVisitor visitor) { // remember original listener as listeners might be changed by a visitor // (e.g. by calling addToContainer() or removeFromContainer()) FigureChangeListener originalListener = listener(); FigureEnumeration fe = getDependendFigures(); visitor.visitFigure(this); F...
public void visit(FigureVisitor visitor) { // remember original listener as listeners might be changed by a visitor // (e.g. by calling addToContainer() or removeFromContainer()) //FigureChangeListener originalListener = listener(); FigureEnumeration fe = getDependendFigures(); visitor.visitFigure(this); ...
protected Openable[] createElements(IResource resource) { if (resource == null) return null; String extension = resource.getFileExtension(); extension = extension == null ? null : extension.toLowerCase(); if ("jar"/*nonNLS*/.equals(extension) || "zip"/*nonNLS*/.equals(extension)) { IJavaProject[] projects = null;...
protected Openable[] createElements(IResource resource) { if (resource == null) return null; String extension = resource.getFileExtension(); extension = extension == null ? null : extension.toLowerCase(); if ("jar".equals(extension) || "zip".equals(extension)) { //$NON-NLS-2$ //$NON-NLS-1$ IJavaProject[] projects...
protected final IWorkbenchAdapter2 getAdapter2(Object o) { if (!(o instanceof IAdaptable)) { return null; } return (IWorkbenchAdapter2) ((IAdaptable) o).getAdapter( IWorkbenchAdapter.class); }
protected final IWorkbenchAdapter2 getAdapter2(Object o) { if (!(o instanceof IAdaptable)) { return null; } return (IWorkbenchAdapter2) ((IAdaptable) o).getAdapter( IWorkbenchAdapter2.class); }
public void actionPerformed(ActionEvent evt) { ComposerController composerController = ((ComposerController)getFrameController()); composerController.getAttachmentController().addFileAttachment(); }
public void actionPerformed(ActionEvent evt) { ComposerController composerController = ((ComposerController)getFrameMediator()); composerController.getAttachmentController().addFileAttachment(); }
public void showPartList() { PaneFolder tabFolder = getTabFolder(); Shell shell = tabFolder.getControl().getShell(); // get the last visible item int numItems = tabFolder.getItemCount(); CTabItem item = null, tempItem = null; for (int i = 0; i < numItems; i++) { tempItem = ...
public void showPartList() { PaneFolder tabFolder = getTabFolder(); Shell shell = tabFolder.getControl().getShell(); // get the last visible item int numItems = tabFolder.getItemCount(); CTabItem item = null, tempItem = null; for (int i = 0; i < numItems; i++) { tempItem = ...
public void initialize(JavaProject project, PotentialMatch[] potentialMatches) throws JavaModelException { // create name environment if (this.nameEnvironment != null) { // cleanup this.nameEnvironment.cleanup(); } if (potentialMatches.length == 1) { // if only one potential match, a file name environmen...
public void initialize(JavaProject project, PotentialMatch[] potentialMatches) throws JavaModelException { // create name environment if (this.nameEnvironment != null) { // cleanup this.nameEnvironment.cleanup(); } if (potentialMatches.length == 1) { // if only one potential match, a file name environmen...
private void internalResolve(Scope scope, boolean staticContext) { // detect variable/type name collisions if (this.binding != null) { Binding existingType = scope.parent.getBinding(this.name, Binding.TYPE, this, false); if (existingType != null && this.binding != existingType && existingType....
private void internalResolve(Scope scope, boolean staticContext) { // detect variable/type name collisions if (this.binding != null) { Binding existingType = scope.parent.getBinding(this.name, Binding.TYPE, this, false/*do not resolve hidden field*/); if (existingType != null && this.binding != exis...
private static final void readState( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] stateElements = configurationElement .getChildren(ELEMENT_STATE); if ((stateElements == null) || (stateElements.length == 0)) { return...
private static final void readState( final IConfigurationElement configurationElement, final List warningsToLog, final Command command) { final IConfigurationElement[] stateElements = configurationElement .getChildren(ELEMENT_STATE); if ((stateElements == null) || (stateElements.length == 0)) { return...
public HeaderList getHeaderList() throws Exception { headerList.clear(); getMessageFolderInfo().clear(); applySearch(); return headerList; }
public HeaderList getHeaderList() throws Exception { headerList.clear(); getMessageFolderInfo().reset(); applySearch(); return headerList; }
private ClusterRegistry reg; FlatCtx(Hashtable environment) throws NamingException { if (environment != null) { myEnv = (Hashtable) (environment.clone()); provider = (String) myEnv.get("java.naming.provider.url"); } if (provider == null) { provider = ...
private ClusterRegistry reg; FlatCtx(Hashtable environment) throws NamingException { if (environment != null) { myEnv = (Hashtable) (environment.clone()); provider = (String) myEnv.get(Context.PROVIDER_URL); } if (provider == null) { provider = "cmi:"...
public void generateSyntheticBodyForEnumValueOf(SyntheticMethodBinding methodBinding) { initializeMaxLocals(methodBinding); final ReferenceBinding declaringClass = methodBinding.declaringClass; this.ldc(declaringClass); aload_0(); invokeJavaLangEnumvalueOf(declaringClass); this.checkcast(declaringClass); areturn...
public void generateSyntheticBodyForEnumValueOf(SyntheticMethodBinding methodBinding) { initializeMaxLocals(methodBinding); final ReferenceBinding declaringClass = methodBinding.declaringClass; generateClassLiteralAccessForType(declaringClass, null); aload_0(); invokeJavaLangEnumvalueOf(declaringClass); this.chec...
public static void createDefaultHandler() { if (!userHasDefinedLogging()) { //Since Columba is doing its own logging handlers, we should not //use handlers in the parent logger. LOG.setUseParentHandlers(false); LOG.setLevel(Level.ALL); //TODO on...
public static void createDefaultHandler() { if (!userHasDefinedLogging()) { //Since Columba is doing its own logging handlers, we should not //use handlers in the parent logger. LOG.setUseParentHandlers(false); LOG.setLevel(Level.ALL); //TODO on...
public String getMessage() { Throwable exception = getException(); if (exception == null) { switch (getCode()) { case CORE_EXCEPTION : return Util.bind("status.coreException"); //$NON-NLS-1$ case BUILDER_INITIALIZATION_ERROR: return Util.bind("build.initializationError"); //$NON-NLS-1$ c...
public String getMessage() { Throwable exception = getException(); if (exception == null) { switch (getCode()) { case CORE_EXCEPTION : return Util.bind("status.coreException"); //$NON-NLS-1$ case BUILDER_INITIALIZATION_ERROR: return Util.bind("build.initializationError"); //$NON-NLS-1$ c...
protected void verify(IJavaElement element) throws JavaModelException { if (element == null || !element.exists()) error(IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST, element); if (element.isReadOnly() && (isRename() || isMove())) error(IJavaModelStatusConstants.READ_ONLY, element); IResource resou...
protected void verify(IJavaElement element) throws JavaModelException { if (element == null || !element.exists()) error(IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST, element); if (element.isReadOnly() && (isRename() || isMove())) error(IJavaModelStatusConstants.READ_ONLY, element); IResource resou...
public DeclarationOfReferencedMethodsPattern(IJavaElement enclosingElement) { super(false, true, null, null, null, null, null, null, null, null, R_PATTERN_MATCH); this.enclosingElement = enclosingElement; this.knownMethods = new SimpleSet(); this.mustResolve = true; }
public DeclarationOfReferencedMethodsPattern(IJavaElement enclosingElement) { super(false, true, null, null, null, null, null, null, null, null, R_PATTERN_MATCH); this.enclosingElement = enclosingElement; this.knownMethods = new SimpleSet(); ((InternalSearchPattern)this).mustResolve = true; }
private void computeExpandedClasspath( JavaProject initialProject, boolean ignoreUnresolvedVariable, boolean generateMarkerOnError, HashSet visitedProjects, ObjectVector accumulatedEntries) throws JavaModelException { if (visitedProjects.contains(this)){ return; // break cycles if any } visited...
private void computeExpandedClasspath( JavaProject initialProject, boolean ignoreUnresolvedVariable, boolean generateMarkerOnError, HashSet visitedProjects, ObjectVector accumulatedEntries) throws JavaModelException { if (visitedProjects.contains(this)){ return; // break cycles if any } visited...