buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
public SortMessagesMenu(FrameMediator controller) { super(controller, MailResourceLoader.getString("menu", "mainframe", "menu_view_sort")); setIcon(ImageLoader.getSmallImageIcon("stock_sort-ascending-16.png")); ((MailFrameMediator) controller).registerTreeSelectionListener(this); // register as Observer...
public SortMessagesMenu(FrameMediator controller) { super(controller, MailResourceLoader.getString("menu", "mainframe", "menu_view_sort"),"menu_view_sort"); setIcon(ImageLoader.getSmallImageIcon("stock_sort-ascending-16.png")); ((MailFrameMediator) controller).registerTreeSelectionListener(this); // reg...
package org.eclipse.ui.commands; /******************************************************************************* * 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 License v1.0 * which...
package org.eclipse.ui.commands; /******************************************************************************* * 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 License v1.0 * which...
private int initializeBuilder(int kind, boolean forBuild) throws CoreException { // some calls just need the nameEnvironment initialized so skip the rest this.javaProject = (JavaProject) JavaCore.create(currentProject); this.workspaceRoot = currentProject.getWorkspace().getRoot(); if (forBuild) { // cache the kn...
private int initializeBuilder(int kind, boolean forBuild) throws CoreException { // some calls just need the nameEnvironment initialized so skip the rest this.javaProject = (JavaProject) JavaCore.create(currentProject); this.workspaceRoot = currentProject.getWorkspace().getRoot(); if (forBuild) { // cache the kn...
private IExtensionPoint getPerspectiveExtensionPoint() { return Platform.getExtensionRegistry().getExtensionPoint(PlatformUI.PLUGIN_ID, IWorkbenchConstants.PL_PERSPECTIVE_EXTENSIONS); }
private IExtensionPoint getPerspectiveExtensionPoint() { return Platform.getExtensionRegistry().getExtensionPoint(PlatformUI.PLUGIN_ID, IWorkbenchRegistryConstants.PL_PERSPECTIVE_EXTENSIONS); }
protected ISchedulingRule getSchedulingRule() { // returns the folder corresponding to the package of the cu to create return getParentElement().getResource(); }
protected ISchedulingRule getSchedulingRule() { // returns the folder corresponding to the package of the cu to create return getParentElement().getSchedulingRule(); }
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ WildcardType(AST ast) { super(ast); unsupportedIn2(); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { ret...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ WildcardType(AST ast) { super(ast); unsupportedIn2(); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { ret...
protected int determineKind(IResource underlyingResource) throws JavaModelException { IClasspathEntry[] entries= ((JavaProject)getJavaProject()).getExpandedClasspath(true); for (int i= 0; i < entries.length; i++) { IClasspathEntry entry= entries[i]; if (entry.getPath().equals(underlyingResource.getFullPath())) { ...
protected int determineKind(IResource underlyingResource) throws JavaModelException { IClasspathEntry[] entries= ((JavaProject)getJavaProject()).getResolvedClasspath(true); for (int i= 0; i < entries.length; i++) { IClasspathEntry entry= entries[i]; if (entry.getPath().equals(underlyingResource.getFullPath())) { ...
public String[] getSuperInterfaceTypeSignatures() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); char[] genericSignature = info.getGenericSignature(); if (genericSignature != null) { ArrayList interfaces = new ArrayList(); int signatureLength = genericSignature.length; // skip t...
public String[] getSuperInterfaceTypeSignatures() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); char[] genericSignature = info.getGenericSignature(); if (genericSignature != null) { ArrayList interfaces = new ArrayList(); int signatureLength = genericSignature.length; // skip t...
public StringBuffer printExpression(int indent, StringBuffer output) { output.append("NAryStringLiteral{"); //$NON-NLS-1$ for (int i = 0, max = this.counter; i < max; i++) { this.literals[i].printExpression(indent, output); output.append("+\n");//$NON-NLS-1$ } return output.append('}'); }
public StringBuffer printExpression(int indent, StringBuffer output) { output.append("StringLiteralConcatenation{"); //$NON-NLS-1$ for (int i = 0, max = this.counter; i < max; i++) { this.literals[i].printExpression(indent, output); output.append("+\n");//$NON-NLS-1$ } return output.append('}'); }
IBM Corporation - initial API and implementation /********************************************************************** Copyright (c) 2002 IBM Corp. and others. All rights reserved.   This program and the accompanying materials are made available under the terms of the Common Public License v0.5 which accompanies thi...
IBM Corporation - initial API and implementation /********************************************************************** Copyright (c) 2002 IBM Corp. and others. All rights reserved.   This program and the accompanying materials are made available under the terms of the Common Public License v0.5 which accompanies thi...
public void removed(MElementEvent e){ UmlModelEventPump.getPump().removeModelEventListener(this,_namespace, UmlModelEventPump.REMOVE); ProjectManager.getManager().getCurrentProject().moveToTrash(this); Object newTarget = ProjectManager.getManager().getCurrentProject().getDiagrams...
public void removed(MElementEvent e){ UmlModelEventPump.getPump().removeModelEventListener(this,_namespace, UmlModelEventPump.REMOVE); ProjectManager.getManager().getCurrentProject().moveToTrash(this); Object newTarget = ProjectManager.getManager().getCurrentProject().getDiagrams...
private IAccessRule[] combine(IAccessRule[] referringRules, IAccessRule[] rules, boolean combine) { if (!combine) return rules; if (rules == null) return referringRules; // concat access rules int referringRulesLength = referringRules.length; int accessRulesLength = rules.length; int rulesLength = refer...
private IAccessRule[] combine(IAccessRule[] referringRules, IAccessRule[] rules, boolean combine) { if (!combine) return rules; if (rules == null || rules.length == 0) return referringRules; // concat access rules int referringRulesLength = referringRules.length; int accessRulesLength = rules.length; in...
public void run(IProgressMonitor pm) throws InvocationTargetException { try { runCommand(pm); } catch (ExecutionException e) { if (pruning) { flush(); } throw new InvocationTargetException(e); } } }; try { boolean runInBackground = false; if (getOperation() ins...
public void run(IProgressMonitor pm) throws InvocationTargetException { try { runCommand(pm); } catch (ExecutionException e) { if (pruning) { flush(); } throw new InvocationTargetException(e); } } }; try { boolean runInBackground = false; if (getOperation() ins...
public static void updatePerspective(IConfigurationElement configElement) { // Do not change perspective if the configuration element is // not specified. if (configElement == null) return; AbstractUIPlugin uiPlugin = (AbstractUIPlugin) Platform.getPlugin(PlatformUI.PLUGIN_ID); // Retrieve the new proje...
public static void updatePerspective(IConfigurationElement configElement) { // Do not change perspective if the configuration element is // not specified. if (configElement == null) return; AbstractUIPlugin uiPlugin = (AbstractUIPlugin) Platform.getPlugin(PlatformUI.PLUGIN_ID); // Retrieve the new proje...
protected void generateClasspathChangeDeltas( IClasspathEntry[] oldResolvedPath, IClasspathEntry[] newResolvedPath, JavaModelManager manager, JavaProject project) { boolean needToUpdateDependents = false; JavaElementDelta delta = new JavaElementDelta(getJavaModel()); boolean hasDelta = false; int o...
protected void generateClasspathChangeDeltas( IClasspathEntry[] oldResolvedPath, IClasspathEntry[] newResolvedPath, JavaModelManager manager, JavaProject project) { boolean needToUpdateDependents = false; JavaElementDelta delta = new JavaElementDelta(getJavaModel()); boolean hasDelta = false; int o...
List getContextDefinitions(); /******************************************************************************* * 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 License v1.0 * which ac...
List getContextDefinitions(); /******************************************************************************* * 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 License v1.0 * which ac...
public void addEvent(EventDetails aDetail); }
void addEvent(EventDetails aDetail); /* * ============================================================================ * The Apache Software License, Version 1.1 * ============================================================================ * * Copyright (C) 1999 The Apache Software Foundatio...
private TypeDeclaration convert(SourceTypeElementInfo typeInfo, CompilationResult compilationResult) { /* create type declaration - can be member type */ TypeDeclaration type = new TypeDeclaration(compilationResult); if (typeInfo.getEnclosingType() == null) { IType typeHandle = typeInfo.getHandle(); try { ...
private TypeDeclaration convert(SourceTypeElementInfo typeInfo, CompilationResult compilationResult) { /* create type declaration - can be member type */ TypeDeclaration type = new TypeDeclaration(compilationResult); if (typeInfo.getEnclosingType() == null) { IType typeHandle = typeInfo.getHandle(); try { ...
public static String id() { return "4.5-SNAPSHOT-20070831-1702"; }
public static String id() { return "4.5-SNAPSHOT-20070904-1400"; }
public void createScript(Install installer, String installDir, String binDir, String name) throws IOException { // create app start script String script = binDir + File.separatorChar + name.toLowerCase(); // Delete existing copy new File(script).delete(); // Write simple script FileWri...
public void createScript(Install installer, String installDir, String binDir, String name) throws IOException { // create app start script String script = binDir + File.separatorChar + name.toLowerCase(); // Delete existing copy new File(script).delete(); // Write simple script FileWri...
public void actionPerformed(ActionEvent ae) { Editor ce = Globals.curEditor(); GraphModel gm = ce.getGraphModel(); if (!(gm instanceof MutableGraphModel)) return; String instructions = null; if(_object != null) { instructions = Localizer.localize ("Tree", "Click on diagram to add ") + _object.toString()...
public void actionPerformed(ActionEvent ae) { Editor ce = Globals.curEditor(); GraphModel gm = ce.getGraphModel(); if (!(gm instanceof MutableGraphModel)) return; String instructions = null; if(_object != null) { instructions = Localizer.localize ("Tree", "misc.message.click-on-diagram-to-add") + _objec...
public int getModifiers() { return -1; }
public int getModifiers() { return Modifier.NONE; }
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...
protected void executeOperation() throws JavaModelException { try { beginTask(Util.bind("workingCopy.commit"), 2); //$NON-NLS-1$ WorkingCopy copy = (WorkingCopy)getCompilationUnit(); ICompilationUnit original = (ICompilationUnit) copy.getOriginalElement(); // creates the delta builder (this rememb...
protected void executeOperation() throws JavaModelException { try { beginTask(Util.bind("workingCopy.commit"), 2); //$NON-NLS-1$ CompilationUnit copy = (CompilationUnit)getCompilationUnit(); ICompilationUnit original = (ICompilationUnit) copy.getOriginalElement(); // creates the delta builder (thi...
public String getMimeType( String ext ) { if ( ext == null ) return "application/octet-stream"; if( extTable.containsKey( ext ) ) return (String) extTable.get( ext ); else return new String( "application/octet-stream" ); }
public String getMimeType( String ext ) { if ( ext == null ) return "application/octet-stream"; if( extTable.containsKey( ext ) ) return (String) extTable.get( ext ); else return "application/octet-stream"; }
private String getTimeString() { Date date = FinishedJobs.getInstance().getFinishDate(info); if (date != null) { return DateFormat.getTimeInstance(DateFormat.SHORT).format(date); } return null; } /** * Refresh the contents of the receiver. * */ void refresh() { if (isDisposed()) { return; ...
private String getTimeString() { Date date = FinishedJobs.getInstance().getFinishDate(info); if (date != null) { return DateFormat.getTimeInstance(DateFormat.SHORT).format(date); } return null; } /** * Refresh the contents of the receiver. * */ void refresh() { if (isDisposed()) { return; ...
private void updateMappedPositions(int startPosition) { if (positionsToMap == null) { return; } char[] source = scanner.source; int sourceLength = source.length; while (indexToMap < positionsToMap.length && positionsToMap[indexToMap] <= startPosition) { int posToMap = positionsToMap[indexToMap]; ...
private void updateMappedPositions(int startPosition) { if (positionsToMap == null) { return; } char[] source = scanner.source; int sourceLength = source.length; while (indexToMap < positionsToMap.length && positionsToMap[indexToMap] <= startPosition) { int posToMap = positionsToMap[indexToMap]; ...
private IWindowTrim getStatusLineTrim() { if (statusLineTrim == null) { statusLineTrim = new WindowTrimProxy( getStatusLineManager().getControl(), "org.eclipse.jface.action.StatusLineManager", //$NON-NLS-1$ WorkbenchMessages.TrimCommon_StatusLine_TrimName, SWT.BOTTOM, true); } return statu...
private IWindowTrim getStatusLineTrim() { if (statusLineTrim == null) { statusLineTrim = new WindowTrimProxy( getStatusLineManager().getControl(), "org.eclipse.jface.action.StatusLineManager", //$NON-NLS-1$ WorkbenchMessages.TrimCommon_StatusLine_TrimName, SWT.NONE, true); } return statusL...
protected Image getImage() { return JFaceResources.getImageRegistry().get(Dialog.DLG_IMG_INFO); }
protected Image getImage() { return getShell().getDisplay().getSystemImage(SWT.ICON_INFORMATION); }
public void logProblemsSummary(int globalProblemsCount, int globalErrorsCount, int globalWarningsCount) { if (this.isXml) { // generate xml parameters.clear(); parameters.put(NUMBER_OF_PROBLEMS, new Integer(globalProblemsCount)); parameters.put(NUMBER_OF_ERRORS, new Integer(globalErrorsCount)); ...
public void logProblemsSummary(int globalProblemsCount, int globalErrorsCount, int globalWarningsCount) { if (this.isXml) { // generate xml parameters.clear(); parameters.put(NUMBER_OF_PROBLEMS, new Integer(globalProblemsCount)); parameters.put(NUMBER_OF_ERRORS, new Integer(globalErrorsCount)); ...
public void run() { while (isRunning()) { try { // does a client trying to connect to server ? Socket client = serverSocket.accept(); if (client == null) { continue; } // only accept client from...
public void run() { while (isRunning()) { try { // does a client trying to connect to server ? Socket client = serverSocket.accept(); if (client == null) { continue; } // only accept client from...
public PartTabFolder() { super("PartTabFolder");//$NON-NLS-1$ setID(this.toString()); // Each folder has a unique ID so relative positioning is unambiguous. // Get the location of the tabs from the preferences if (tabLocation == -1) tabLocation = getPreferenceStore().getInt( IPreferenceConstants.VIEW_TAB_POSI...
public PartTabFolder() { super("PartTabFolder");//$NON-NLS-1$ setID(this.toString()); // Each folder has a unique ID so relative positioning is unambiguous. // Get the location of the tabs from the preferences if (tabLocation == -1) tabLocation = WorkbenchPlugin.getDefault().getPreferenceStore().getInt( IPref...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ SwitchStatement(AST ast) { super(ast); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescript...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ SwitchStatement(AST ast) { super(ast); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescript...
public CompilationResult compilationResult() { return compilationResult; }
public CompilationResult compilationResult() { return this.compilationResult; }
public void endElement( final String namespaceURI, final String localName, final String qName) { if ( (namespaceURI == null) || (namespaceURI.length() == 0) || namespaceURI.equals(LOG4J_NS)) { events.add(new EndElementEvent(localName, location)); } }
public void endElement( final String namespaceURI, final String localName, final String qName) { if ( (namespaceURI == null) || (namespaceURI.length() == 0) || namespaceURI.equals(LOG4J_NS) || namespaceURI.equals(LS_NS)) { events.add(new EndElementEvent(localName, location)); } }
public void read(StorableInput dr) throws IOException { String fillColorId = dr.readString(); // read color only if one has been written if (fillColorId.equals(FigureAttributeConstant.FRAME_COLOR.getName())) { setFillColor(FigureAttributes.readColor(dr)); } String borderColorId = dr.readString(); // rea...
public void read(StorableInput dr) throws IOException { String fillColorId = dr.readString(); // read color only if one has been written if (fillColorId.equals(FigureAttributeConstant.FILL_COLOR.getName())) { setFillColor(FigureAttributes.readColor(dr)); } String borderColorId = dr.readString(); // read...
public void actionPerformed(ActionEvent ae) { Project p = ProjectBrowser.TheInstance.getProject(); try { // Object target = ProjectBrowser.TheInstance.getTarget(); Object target = ProjectBrowser.TheInstance.getDetailsTarget(); MCollaboration c = null; MNamespace ns = p.getCurrentNamespace(); // check fo...
public void actionPerformed(ActionEvent ae) { Project p = ProjectBrowser.TheInstance.getProject(); try { // Object target = ProjectBrowser.TheInstance.getTarget(); Object target = ProjectBrowser.TheInstance.getDetailsTarget(); MCollaboration c = null; MNamespace ns = p.getCurrentNamespace(); // check fo...
static public void main(String[] args) { if(args.length == 0) { // Note that the appender is added to root but that the log // request is made to an instance of MyCategory. The output still // goes to System.out. Category root = Category.getRoot(); Layout layout = new PatternLay...
static public void main(String[] args) { if(args.length == 0) { // Note that the appender is added to root but that the log // request is made to an instance of MyCategory. The output still // goes to System.out. Category root = Category.getRoot(); Layout layout = new PatternLay...
public SetResponse addMessage(Message in) { boolean isAuth = in.getHeader().getFlag(Flags.AA); Record question = in.getQuestion(); Name qname; Name curname; int qtype; int qclass; byte cred; short rcode = in.getHeader().getRcode(); boolean haveAnswer = false; boolean completed = false; RRset [] answers, auth...
public SetResponse addMessage(Message in) { boolean isAuth = in.getHeader().getFlag(Flags.AA); Record question = in.getQuestion(); Name qname; Name curname; int qtype; int qclass; byte cred; short rcode = in.getHeader().getRcode(); boolean haveAnswer = false; boolean completed = false; RRset [] answers, auth...
public static void main(String[] args) throws Exception { Logger j = Logger.getLogger("org.apache.log4j.joran"); j.setAdditivity(false); j.setLevel(Level.WARN); ConsoleAppender a = new ConsoleAppender(); a.setLayout(new PatternLayout("%d %level %c - %m%n")); a.setName("console"); a.activat...
public static void main(String[] args) throws Exception { Logger j = Logger.getLogger("org.apache.log4j.joran"); j.setAdditivity(false); j.setLevel(Level.WARN); ConsoleAppender a = new ConsoleAppender(); a.setLayout(new PatternLayout("%d %level %c - %m%n")); a.setName("console"); a.activat...
public void actionPerformed(ActionEvent evt) { jEdit.openFile(view,evt.getActionCommand()); } }; //}}} // for filtering out backups String backupPrefix = jEdit.getProperty("backup.prefix"); String backupSuffix = jEdit.getProperty("backup.suffix"); String[] list = dir.list(); if(list...
public void actionPerformed(ActionEvent evt) { jEdit.openFile(view,evt.getActionCommand()); } }; //}}} // for filtering out backups String backupPrefix = jEdit.getProperty("backup.prefix"); String backupSuffix = jEdit.getProperty("backup.suffix"); String[] list = dir.list(); if(list...
public String toString() { return Character.toString(character); }
public String toString() { return "" + character; // TODO 1.4 Character.toString(character); }
protected static String byteArrayToString(byte [] array, boolean quote) { StringBuffer sb = new StringBuffer(); if (quote) sb.append('"'); for (int i = 0; i < array.length; i++) { short b = (short)(array[i] & 0xFF); if (b < 0x20 || b >= 0x7f) { sb.append('\\'); sb.append(byteFormat.format(b)); } else i...
protected static String byteArrayToString(byte [] array, boolean quote) { StringBuffer sb = new StringBuffer(); if (quote) sb.append('"'); for (int i = 0; i < array.length; i++) { int b = array[i] & 0xFF; if (b < 0x20 || b >= 0x7f) { sb.append('\\'); sb.append(byteFormat.format(b)); } else if (b == '"'...
public void checkBounds(Scope scope) { if (this.resolvedType == null) return; checkBounds( (ReferenceBinding) (this.resolvedType.isArrayType() ? this.resolvedType.leafComponentType() : this.resolvedType), scope, this.typeArguments.length - 1); }
public void checkBounds(Scope scope) { if (this.resolvedType == null) return; checkBounds( (ReferenceBinding) this.resolvedType.leafComponentType(), scope, this.typeArguments.length - 1); }
public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo, boolean isReadAccess) { if (this.delegateThis == null) { super.manageSyntheticAccessIfNecessary(currentScope, flowInfo, isReadAccess); return; } if (!flowInfo.isReachable()) return; //If inlinable field, forget the access...
public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo, boolean isReadAccess) { if (this.delegateThis == null) { super.manageSyntheticAccessIfNecessary(currentScope, flowInfo, isReadAccess); return; } if (!flowInfo.isReachable()) return; //If inlinable field, forget the access...
this.binding = privateBinding; } } else { if (this.binding.declaringClass == null) { this.binding.declaringClass = allocatedType; } scope.problemReporter().invalidConstructor(this, this.binding); return this.resolvedType; } } if (isMethodUseDeprecated(this.binding, scope)) { scope.pro...
this.binding = privateBinding; } } else { if (this.binding.declaringClass == null) { this.binding.declaringClass = allocatedType; } scope.problemReporter().invalidConstructor(this, this.binding); return this.resolvedType; } } if (isMethodUseDeprecated(this.binding, scope)) { scope.pro...
private void verbose_batching_containers_initialization(IJavaProject javaProjectToInit, IPath containerToInit) { Util.verbose( "CPContainer INIT - batching containers initialization\n" + //$NON-NLS-1$ " project to init: " + (javaProjectToInit == null ? "null" : javaProjectToInit.getElementName()) + '\n' + //$N...
private void verbose_batching_containers_initialization(IJavaProject javaProjectToInit, IPath containerToInit) { Util.verbose( "CPContainer INIT - batching containers initialization\n" + //$NON-NLS-1$ " project to init: " + (javaProjectToInit == null ? "null" : javaProjectToInit.getElementName()) + '\n' + //$N...
public static void createProblemType( TypeDeclaration typeDeclaration, CompilationResult unitResult) { SourceTypeBinding typeBinding = typeDeclaration.binding; ClassFile classFile = new ClassFile(typeBinding, null, true); // inner attributes if (typeBinding.isMemberType()) classFile.recordEnclosingType...
public static void createProblemType( TypeDeclaration typeDeclaration, CompilationResult unitResult) { SourceTypeBinding typeBinding = typeDeclaration.binding; ClassFile classFile = new ClassFile(typeBinding, null, true); // inner attributes if (typeBinding.isMemberType()) classFile.recordEnclosingType...
private void update() { Command command = null; ISelection selection = treeViewerCommands.getSelection(); if (selection instanceof IStructuredSelection && !selection.isEmpty()) { Object object = ((IStructuredSelection) selection).getFirstElement(); if (object instanceof Command) command = (Co...
private void update() { Command command = null; ISelection selection = treeViewerCommands.getSelection(); if (selection instanceof IStructuredSelection && !selection.isEmpty()) { Object object = ((IStructuredSelection) selection).getFirstElement(); if (object instanceof Command) command = (Co...
public CompilationUnitDeclaration resolve( CompilationUnitDeclaration unit, org.eclipse.jdt.internal.compiler.env.ICompilationUnit sourceUnit, boolean verifyMethods, boolean analyzeCode, boolean generateCode) { try { if (unit == null) { // build and record parsed units parseThreshold...
public CompilationUnitDeclaration resolve( CompilationUnitDeclaration unit, org.eclipse.jdt.internal.compiler.env.ICompilationUnit sourceUnit, boolean verifyMethods, boolean analyzeCode, boolean generateCode) { try { if (unit == null) { // build and record parsed units parseThreshold...
public SSHFPRecord(Name name, int dclass, long ttl, int alg, int digestType, byte [] fingetprint) {
public SSHFPRecord(Name name, int dclass, long ttl, int alg, int digestType, byte [] fingerprint) {
private boolean isEncodeable(String location) { // Are we in a valid session that is not using cookies? Request request = response.getRequest(); HttpServletRequestFacade reqF=(HttpServletRequestFacade)request. getFacade(); if (!reqF.isRequestedSessionIdValid() ) return (false); if ( reqF.isRequest...
private boolean isEncodeable(String location) { // Are we in a valid session that is not using cookies? Request request = response.getRequest(); HttpServletRequestFacade reqF=(HttpServletRequestFacade)request. getFacade(); if (!reqF.isRequestedSessionIdValid() ) return (false); if ( reqF.isRequest...
protected char[] getClassName() { return CharOperation.concat(this.context.GLOBAL_VARS_CLASS_NAME_PREFIX, Integer.toString(this.context.VAR_CLASS_COUNTER + 1).toCharArray()); }
protected char[] getClassName() { return CharOperation.concat(EvaluationContext.GLOBAL_VARS_CLASS_NAME_PREFIX, Integer.toString(EvaluationContext.VAR_CLASS_COUNTER + 1).toCharArray()); }
public MinimizePartAction(IWorkbenchWindow window) { super(WorkbenchMessages.getString("MinimizePartAction.text"), window); //$NON-NLS-1$ setToolTipText(WorkbenchMessages .getString("MinimizePartAction.toolTip")); //$NON-NLS-1$ // @issue missing action id updateState(...
public MinimizePartAction(IWorkbenchWindow window) { super(WorkbenchMessages.getString("MinimizePartAction.text"), window); //$NON-NLS-1$ setToolTipText(WorkbenchMessages .getString("MinimizePartAction.toolTip")); //$NON-NLS-1$ // @issue missing action id updateState(...
public String toString(){ return "removing from index "+resourceName; }
public String toString(){ return "removing from index "/*nonNLS*/ + resourceName; }
public void checkBounds(ReferenceBinding type, Scope scope, int index) { // recurse on enclosing type if any, and assuming explictly part of the reference (index>0) if (index > 0 && type.enclosingType() != null) { checkBounds(type.enclosingType(), scope, index - 1); } if (type.isParameterizedType()) { ...
public void checkBounds(ReferenceBinding type, Scope scope, int index) { // recurse on enclosing type if any, and assuming explictly part of the reference (index>0) if (index > 0 && type.enclosingType() != null) { checkBounds(type.enclosingType(), scope, index - 1); } if (type.isParameterizedType()) { ...
public void run() { Designer dsgr = Designer.theDesigner(); org.argouml.uml.cognitive.critics.Init.init(); org.argouml.uml.cognitive.checklist.Init.init(Locale.getDefault()); ProjectBrowser pb = ProjectBrowser.TheInstance; Project p = pb.getProject(); dsgr.spawnCritiq...
public void run() { Designer dsgr = Designer.theDesigner(); org.argouml.uml.cognitive.critics.Init.init(); org.argouml.uml.cognitive.checklist.Init.init(Locale.getDefault()); ProjectBrowser pb = ProjectBrowser.TheInstance; Project p = pb.getProject(); dsgr.spawnCritiq...
public void createMessage( ColumbaMessage message, ComposerModel model, int operation) throws IOException { ColumbaHeader header = (ColumbaHeader) message.getHeaderInterface(); MimePart bodyPart = message.getBodyPart(); if (bodyPart != null) { String charset = bodyPart.getHeader().getContentPar...
public void createMessage( ColumbaMessage message, ComposerModel model, int operation) throws IOException { ColumbaHeader header = (ColumbaHeader) message.getHeaderInterface(); MimePart bodyPart = message.getBodyPart(); if (bodyPart != null) { String charset = bodyPart.getHeader().getContentPar...
private void initializePackageNames(IPackageFragmentRoot root, HashSetOfArray fragmentsCache) { IJavaElement[] frags = null; try { if (!root.isOpen()) { PackageFragmentRootInfo info = root.isArchive() ? new JarPackageFragmentRootInfo() : new PackageFragmentRootInfo(); ((PackageFragmentRoot) root).comput...
private void initializePackageNames(IPackageFragmentRoot root, HashSetOfArray fragmentsCache) { IJavaElement[] frags = null; try { if (!root.isOpen()) { PackageFragmentRootInfo info = root.isArchive() ? new JarPackageFragmentRootInfo() : new PackageFragmentRootInfo(); ((PackageFragmentRoot) root).comput...
private void setDefaults( Context ctx ) throws TomcatException { addServlet( ctx, "default", "org.apache.tomcat.servlets.DefaultServlet"); // addServlet( ctx, "invoker", "org.apache.tomcat.servlets.InvokerServlet"); ServletWrapper sw=addServlet( ctx, "jsp", "org.apache.jasper.runtime.JspServlet"); // sw.ad...
private void setDefaults( Context ctx ) throws TomcatException { // addServlet( ctx, "default", "org.apache.tomcat.servlets.DefaultServlet"); // addServlet( ctx, "invoker", "org.apache.tomcat.servlets.InvokerServlet"); ServletWrapper sw=addServlet( ctx, "jsp", "org.apache.jasper.runtime.JspServlet"); // sw...
public void checkPermission(Permission perm) { // TODO: // Don't allow write access to <code>sun.awt.exception.handler</code> if (perm.getClass().equals(java.util.PropertyPermission.class)) { if ("sun.awt.exception.handler".equals(perm.getName())) { PropertyPermission pp = (PropertyPermiss...
public void checkPermission(Permission perm) { // TODO: // Don't allow write access to <code>sun.awt.exception.handler</code> if (perm.getClass().equals(java.util.PropertyPermission.class)) { if ("sun.awt.exception.handler".equals(perm.getName())) { PropertyPermission pp = (PropertyPermiss...
public boolean handle(final StatusHandlingState handlingState) { if ((handlingState.getHandlingHint() & StatusManager.SHOW) == StatusManager.SHOW) { StatusNotificationManager.getInstance().addError( handlingState.getStatus(), null); } if ((handlingState.getHandlingHint() & StatusManager.LOG) == StatusMa...
public boolean handle(final StatusHandlingState handlingState) { if ((handlingState.getHandlingHint() & StatusManager.SHOW) == StatusManager.SHOW) { StatusNotificationManager.getInstance().addError( handlingState.getStatus(), null); } if ((handlingState.getHandlingHint() & StatusManager.LOG) == StatusMa...
public String toString(int tab){ /* slow code */ String s = tabString(tab) ; s = s + "return "; if (expression != null ) s = s + expression.toStringExpression() ; return s; }
public String toString(int tab){ /* slow code */ String s = tabString(tab) ; s = s + "return "/*nonNLS*/; if (expression != null ) s = s + expression.toStringExpression() ; return s; }
public final Binding getTypeOrPackage(char[][] compoundName) { int nameLength = compoundName.length; if (nameLength == 1) { TypeBinding binding = getBaseType(compoundName[0]); if (binding != null) return binding; } Binding binding = getTypeOrPackage(compoundName[0], TYPE | PACKAGE); if (!binding.isVali...
public final Binding getTypeOrPackage(char[][] compoundName) { int nameLength = compoundName.length; if (nameLength == 1) { TypeBinding binding = getBaseType(compoundName[0]); if (binding != null) return binding; } Binding binding = getTypeOrPackage(compoundName[0], TYPE | PACKAGE); if (!binding.isVali...
protected ActionLoadModelFromDB() { super("Load model from DB", NO_ICON); }
protected ActionLoadModelFromDB() { super("Load Model from DB", NO_ICON); }
public int open() { if (getShell() == null) create(); Rectangle bounds = getShell().getBounds(); getShell().open(); if (!bounds.equals(getShell().getBounds())) { getShell().setBounds(bounds); } return Window.OK; }
public int open() { if (getShell() == null) create(); Rectangle bounds = getShell().getBounds(); getShell().setVisible(true); if (!bounds.equals(getShell().getBounds())) { getShell().setBounds(bounds); } return Window.OK; }
public void buttonAddParameter() { ProjectBrowser.TheInstance.setTarget(CoreFactory.getFactory().buildParameter(getTarget())); }
public void buttonAddParameter() { ProjectBrowser.getInstance().setTarget(CoreFactory.getFactory().buildParameter(getTarget())); }
public RecoveredElement add(AbstractMethodDeclaration methodDeclaration, int bracketBalance) { /* do not consider a method starting passed the type end (if set) it must be belonging to an enclosing type */ if (typeDeclaration.declarationSourceEnd != 0 && methodDeclaration.declarationSourceStart > typeDeclaratio...
public RecoveredElement add(AbstractMethodDeclaration methodDeclaration, int bracketBalance) { /* do not consider a method starting passed the type end (if set) it must be belonging to an enclosing type */ if (typeDeclaration.declarationSourceEnd != 0 && methodDeclaration.declarationSourceStart > typeDeclaratio...
public CheckableTree() { super(); setCellRenderer(new CheckRenderer()); }
public CheckableTree() { super(new CheckableItemImpl("root")); setCellRenderer(new CheckRenderer()); }
public boolean forgotPassword(RunData data, TemplateContext context) throws Exception { IntakeTool intake = getIntakeTool(context); Group password = intake.get("ForgotPassword", IntakeTool.DEFAULT_KEY); String username = password.get("Username").toString(); ...
public boolean forgotPassword(RunData data, TemplateContext context) throws Exception { IntakeTool intake = getIntakeTool(context); Group password = intake.get("ForgotPassword", IntakeTool.DEFAULT_KEY); String username = password.get("Username").toString(); ...
public WizardPreferencesExportPage1() { this(PREFERENCESEXPORTPAGE1);//$NON-NLS-1$ }
public WizardPreferencesExportPage1() { this(PREFERENCESEXPORTPAGE1); }
extends org.tigris.scarab.om.BaseAttributePeer package org.tigris.scarab.om; // JDK classes import java.util.*; // Village classes import com.workingdogs.village.*; // Turbine classes import org.apache.turbine.om.peer.*; import org.apache.turbine.util.*; import org.apache.turbine.util.db.*; import org.apache.turbin...
extends org.tigris.scarab.om.BaseAttributePeer package org.tigris.scarab.om; // JDK classes import java.util.*; // Village classes import com.workingdogs.village.*; // Turbine classes import org.apache.turbine.om.peer.*; import org.apache.turbine.util.*; import org.apache.turbine.util.db.*; import org.apache.turbin...
public int getNodeType() { return NULL_LITERAL; } /* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone(AST target) { NullLiteral result = new NullLiteral(target); result.setSourceRange(this.getStartPosition(), this.getLength()); return result; }
public int getNodeType() { return NULL_LITERAL; } /* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { NullLiteral result = new NullLiteral(target); result.setSourceRange(this.getStartPosition(), this.getLength()); return result; }
public void resolveStatements() { // ========= abort on fatal error ============= if (this.returnType != null && this.binding != null) { this.returnType.resolvedType = this.binding.returnType; // record the return type binding } // check if method with constructor name if (CharOperation.equals(scope.e...
public void resolveStatements() { // ========= abort on fatal error ============= if (this.returnType != null && this.binding != null) { this.returnType.resolvedType = this.binding.returnType; // record the return type binding } // check if method with constructor name if (CharOperation.equals(scope.e...
public void setRawClasspath( IClasspathEntry[] newEntries, IPath newOutputLocation, IProgressMonitor monitor, boolean canChangeResource, IClasspathEntry[] oldResolvedPath, boolean needValidation, boolean needSave) throws JavaModelException { JavaModelManager manager = (JavaModelManager) JavaModel...
public void setRawClasspath( IClasspathEntry[] newEntries, IPath newOutputLocation, IProgressMonitor monitor, boolean canChangeResource, IClasspathEntry[] oldResolvedPath, boolean needValidation, boolean needSave) throws JavaModelException { JavaModelManager manager = (JavaModelManager) JavaModel...
private SpamController() { try { IExtensionHandler handler = PluginManager .getInstance().getHandler(IExtensionHandlerKeys.ORG_COLUMBA_MAIL_SPAM); IExtension extension = handler.getExtension("SpamAssassin"); spamPlugin = (ISpamPlugin) extension.instanciateExtension(null); } catch (PluginHandlerN...
private SpamController() { try { IExtensionHandler handler = PluginManager .getInstance().getExtensionHandler(IExtensionHandlerKeys.ORG_COLUMBA_MAIL_SPAM); IExtension extension = handler.getExtension("SpamAssassin"); spamPlugin = (ISpamPlugin) extension.instanciateExtension(null); } catch (Plugi...
private void readRegistry() { Collection activityDefinitions = new ArrayList(); activityDefinitions.addAll(extensionActivityRegistry.getActivityDefinitions()); Map activityDefinitionsById = new HashMap(ActivityDefinition.activityDefinitionsById(activityDefinitions, false)); for (Iterator iterator = activi...
private void readRegistry() { Collection activityDefinitions = new ArrayList(); activityDefinitions.addAll(extensionActivityRegistry.getActivityDefinitions()); Map activityDefinitionsById = new HashMap(ActivityDefinition.activityDefinitionsById(activityDefinitions, false)); for (Iterator iterator = activi...
public FlowInfo analyseAssignment( BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo, Assignment assignment, boolean isCompound) { if (assignment.expression != null) { flowInfo = assignment .expression .analyseCode(currentScope, flowContext, flowInfo) .unconditional...
public FlowInfo analyseAssignment( BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo, Assignment assignment, boolean isCompound) { if (assignment.expression != null) { flowInfo = assignment .expression .analyseCode(currentScope, flowContext, flowInfo) .unconditional...
private boolean hasOutputLocationChanged() { return !outputFolder.getLocation().toString().equals(lastState.outputLocationString); }
private boolean hasOutputLocationChanged() { return !outputFolder.getLocation().toString().equalsIgnoreCase(lastState.outputLocationString); }
public void logout() throws IOException, POP3Exception { if( protocol.getState() != POP3Protocol.CONNECTION_CLOSED ) { protocol.quit(); } uidMap = null; sizeList = null; messageCount = -1; }
public void logout() throws IOException, POP3Exception { if( protocol.getState() != POP3Protocol.NOT_CONNECTED ) { protocol.quit(); } uidMap = null; sizeList = null; messageCount = -1; }
public PropertyDescriptor[] getPropertyDescriptors() { try { return new PropertyDescriptor[] { new PropertyDescriptor("fileName", LogFilePatternReceiver.class), new PropertyDescriptor("timestampFormat", LogFilePatternReceiver.class), new Property...
public PropertyDescriptor[] getPropertyDescriptors() { try { return new PropertyDescriptor[] { new PropertyDescriptor("fileURL", LogFilePatternReceiver.class), new PropertyDescriptor("timestampFormat", LogFilePatternReceiver.class), new PropertyD...
public void checkName() { //look if the name of the method is correct //and proceed with the resolution of the special constructor statement if (!CharOperation.equals(scope.enclosingSourceType().sourceName, selector)) scope.problemReporter().missingReturnType(this); // if null ==> an error has occurs at parsin...
public void checkName() { //look if the name of the method is correct //and proceed with the resolution of the special constructor statement if (!CharOperation.equals(scope.enclosingSourceType().sourceName, selector)) scope.problemReporter().missingReturnType(this); // if null ==> an error has occurs at parsin...
protected String getCommandString() { return WorkbenchMessages.getString("Workbench.undo"); //$NON-NLS-1$ }
protected String getCommandString() { return WorkbenchMessages.Workbench_undo; }
protected void openHierarchy() throws JavaModelException { Openable openableParent = (Openable)getOpenableParent(); if (openableParent != null) { JavaElementInfo openableParentInfo = (JavaElementInfo) fgJavaModelManager.getInfo((IJavaElement) openableParent); if (openableParentInfo == null) { openableParent.op...
protected void openHierarchy() throws JavaModelException { Openable openableParent = (Openable)getOpenableParent(); if (openableParent != null) { JavaElementInfo openableParentInfo = (JavaElementInfo) fgJavaModelManager.getInfo((IJavaElement) openableParent); if (openableParentInfo == null) { openableParent.op...
private final void initializeDefaultServices() { /* * Phase 1 of the initialization of commands. When this phase completes, * all the services and managers will exist, and be accessible via the * getService(Object) method. */ Command.DEBUG_COMMAND_EXECUTION = Policy.DEBUG_COMMANDS; commandManager = n...
private final void initializeDefaultServices() { /* * Phase 1 of the initialization of commands. When this phase completes, * all the services and managers will exist, and be accessible via the * getService(Object) method. */ Command.DEBUG_COMMAND_EXECUTION = Policy.DEBUG_COMMANDS; commandManager = n...
public void objectSelected(Object sel) { ProjectBrowser pb = ProjectBrowser.TheInstance; // pb.setDetailsTarget(sel); pb.setTarget(sel); }
public void objectSelected(Object sel) { ProjectBrowser pb = ProjectBrowser.getInstance(); // pb.setDetailsTarget(sel); pb.setTarget(sel); }
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 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 CacheResponse lookupRecords(Name name, short type, byte minCred) { CacheElement element = (CacheElement) findSet(name, type); if (element == null) return new CacheResponse(CacheResponse.UNKNOWN); if (element.expiredTTL()) { removeSet(name, type); return new CacheResponse(CacheResponse.UNKNOWN); }
public CacheResponse lookupRecords(Name name, short type, byte minCred) { CacheElement element = (CacheElement) findSet(name, type); if (element == null) return new CacheResponse(CacheResponse.UNKNOWN); if (element.expiredTTL()) { removeSet(name, type, element); return new CacheResponse(CacheResponse.UNKNOWN);...
public String getJspFilePath() { // lazy evaluation of full path if( jspFilePath == null ) jspFilePath=FileUtil.safePath( docBase, jspFile); return jspFilePath; }
public String getJspFilePath() { // lazy evaluation of full path if( jspFilePath == null ) jspFilePath=FileUtil.safePath( docBase, jspFile, false); return jspFilePath; }
protected Control createContents(Composite parent) { Composite composite = createComposite(parent); createEditorHistoryGroup(composite); createSpace(composite); createShowMultipleEditorTabsPref(composite); createUseIPersistablePref(composite); createPromptWhenStillOpen...
protected Control createContents(Composite parent) { Composite composite = createComposite(parent); createEditorHistoryGroup(composite); createSpace(composite); createShowMultipleEditorTabsPref(composite); createUseIPersistablePref(composite); createPromptWhenStillOpen...
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == sourceButton) { JFileChooser fc = new JFileChooser(); fc.setMultiSelectionEnabled(true); fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); fc.setFileH...
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == sourceButton) { JFileChooser fc = new JFileChooser(); fc.setMultiSelectionEnabled(true); fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); fc.setFileH...
private void recordElementInfo(IJavaElement element, JavaModel model, int depth) { if (depth >= this.maxDepth) { return; } JavaElementInfo info = (JavaElementInfo)model.fgJavaModelManager.getInfo(element); if (info == null) // no longer in the java model.
private void recordElementInfo(IJavaElement element, JavaModel model, int depth) { if (depth >= this.maxDepth) { return; } JavaElementInfo info = (JavaElementInfo)JavaModelManager.getJavaModelManager().getInfo(element); if (info == null) // no longer in the java model.
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 void doChangepassword(RunData data, TemplateContext context) throws Exception { ScarabRequestTool scarabR = getScarabRequestTool(context); ScarabLocalizationTool l10n = getLocalizationTool(context); String template = getCurrentTemplate(data, null); IntakeTool intak...
public void doChangepassword(RunData data, TemplateContext context) throws Exception { ScarabRequestTool scarabR = getScarabRequestTool(context); ScarabLocalizationTool l10n = getLocalizationTool(context); String template = getCurrentTemplate(data, null); IntakeTool intak...
public char[] computeUniqueKey(boolean isLeaf) { // declaring key char[] declaringKey = this.declaringClass == null /*case of length field for an array*/ ? CharOperation.NO_CHAR : this.declaringClass.computeUniqueKey(false/*not a leaf*/); int declaringLength = declaringKey.length; // name int nameLeng...
public char[] computeUniqueKey(boolean isLeaf) { // declaring key char[] declaringKey = this.declaringClass == null /*case of length field for an array*/ ? CharOperation.NO_CHAR : this.declaringClass.computeUniqueKey(false/*not a leaf*/); int declaringLength = declaringKey.length; // name int nameLeng...
private void checkAgainstInheritedMethods(MethodBinding currentMethod, MethodBinding[] methods, int length) { currentMethod.modifiers |= CompilerModifiers.AccOverriding; nextMethod : for (int i = length; --i >= 0;) { MethodBinding inheritedMethod = methods[i]; if (!currentMethod.isAbstract() && inheritedMethod.is...
private void checkAgainstInheritedMethods(MethodBinding currentMethod, MethodBinding[] methods, int length) { currentMethod.modifiers |= CompilerModifiers.AccOverriding; nextMethod : for (int i = length; --i >= 0;) { MethodBinding inheritedMethod = methods[i]; if (!currentMethod.isAbstract() && inheritedMethod.is...
public ConcurrentSubstatesExample() { try { model = new Model("ConcurrentSubstatesExample"); courseClass = new MMClass("Course"); sm = new StateMachine("States", courseClass); taking = new CompositeState("Taking Class"); taking.addSubstate(incomplete = new CompositeStat...
public ConcurrentSubstatesExample() { try { model = new Model("ConcurrentSubstatesExample"); courseClass = new MMClass("Course"); sm = new StateMachine("States", courseClass); taking = new CompositeState("Taking Class"); taking.addSubstate(incomplete = new CompositeStat...
protected Object createEvent() { return StateMachinesFactory.getFactory().createTimeEvent(); }
protected Object createEvent() { return StateMachinesFactory.getFactory().buildTimeEvent(); }
List getContextBindings(); /******************************************************************************* * 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 License v1.0 * which accom...
List getContextBindings(); /******************************************************************************* * 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 License v1.0 * which accom...
public String toString() { return Localizer.localize ("Tree", "Class->Operation"); }
public String toString() { return Localizer.localize ("Tree", "misc.class.operation"); }