buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
public void doOk() {
ProjectBrowser pb = ProjectBrowser.TheInstance;
NavigatorPane np = pb.getNavPane();
np.setPerspectives(NavPerspective.getRegisteredPerspectives());
np.updateTree();
setVisible(false);
dispose();
}
| public void doOk() {
ProjectBrowser pb = ProjectBrowser.TheInstance;
NavigatorPane np = ProjectBrowser.TheInstance.getNavigatorPane();
np.setPerspectives(NavPerspective.getRegisteredPerspectives());
np.updateTree();
setVisible(false);
dispose();
}
|
protected String taskName;
JobInfo jobInfo;
/**
* Create a new instance of the receiver.
* @param parentJob
* @param name
*/
SubTaskInfo(JobInfo parentJob, String name) {
taskName = name;
jobInfo = parentJob;
}
/* (non-Javadoc)
* @see org.eclipse.ui.in... | protected String taskName;
JobInfo jobInfo;
/**
* Create a new instance of the receiver.
* @param parentJob
* @param name
*/
SubTaskInfo(JobInfo parentJob, String name) {
taskName = name;
jobInfo = parentJob;
}
/* (non-Javadoc)
* @see org.eclipse.ui.in... |
public TreeView(AddressbookFrameController frameController) {
this.frameController = frameController;
model = AddressbookInterface.addressbookTreeModel;
setModel(model);
setShowsRootHandles(true);
setRootVisible(false);
expandRow(0);
getSelectionMo... | public TreeView(AddressbookFrameController frameController) {
this.frameController = frameController;
model = AddressbookTreeModel.getInstance();
setModel(model);
setShowsRootHandles(true);
setRootVisible(false);
expandRow(0);
getSelectionModel().s... |
public
Message() {
this(-1);
}
| public
Message() {
this(Header.randomID());
}
|
public void engineInit(ContextManager cm) throws TomcatException {
String home=cm.getHome();
File webappD=new File(home + "/webapps");
if (! webappD.exists() || ! webappD.isDirectory()) {
System.out.println("No webapps/ directory " + webappD );
return ; // nothing to set up
}
String[] list = webapp... | public void engineInit(ContextManager cm) throws TomcatException {
String home=cm.getHome();
File webappD=new File(home + "/webapps");
if (! webappD.exists() || ! webappD.isDirectory()) {
System.out.println("No webapps/ directory " + webappD );
return ; // nothing to set up
}
String[] list = webapp... |
private CompilationUnitScope scope;
/**
* The working copy owner that defines the context in which this resolver is creating the bindings.
*/
WorkingCopyOwner workingCopyOwner;
/**
* Constructor for DefaultBindingResolver.
*/
DefaultBindingResolver() {
this.newAstToOldAst = new HashMap();
this.astN... | private CompilationUnitScope scope;
/**
* The working copy owner that defines the context in which this resolver is creating the bindings.
*/
WorkingCopyOwner workingCopyOwner;
/**
* Constructor for DefaultBindingResolver.
*/
DefaultBindingResolver() {
this.newAstToOldAst = new HashMap();
this.astN... |
public HtmlToolbar(ComposerController controller) {
super();
this.controller = controller;
setRollover(true);
setFloatable(false);
try {
handler = PluginManager.getInstance()
.getHandler(IExtensionHandlerKeys.ORG_COLUMBA_CORE_ACTION);
} catch (PluginHandlerNotFoundException e) {
e.printStack... | public HtmlToolbar(ComposerController controller) {
super();
this.controller = controller;
setRollover(true);
setFloatable(false);
try {
handler = PluginManager.getInstance()
.getExtensionHandler(IExtensionHandlerKeys.ORG_COLUMBA_CORE_ACTION);
} catch (PluginHandlerNotFoundException e) {
e.p... |
public MailConfig() {
File configDirectory = createConfigDir(MODULE_NAME);
accountFile = new File(configDirectory, "account.xml");
registerPlugin(
accountFile.getName(),
new AccountXmlConfig(accountFile));
accountTemplateFile = new File("account_template.xml");
registerTemplatePlugin(
accountTemp... | public MailConfig() {
File configDirectory = createConfigDir(MODULE_NAME);
accountFile = new File(configDirectory, "account.xml");
registerPlugin(
accountFile.getName(),
new AccountXmlConfig(accountFile));
accountTemplateFile = new File("account_template.xml");
registerTemplatePlugin(
accountTemp... |
public ErrorNotificationDialog(Shell parentShell) {
super(parentShell == null ? ProgressManagerUtil.getDefaultParent()
: parentShell);
setBlockOnOpen(false);
setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE
| SWT.RESIZE);
}
| public ErrorNotificationDialog(Shell parentShell) {
super(parentShell == null ? ProgressManagerUtil.getDefaultParent()
: parentShell);
setBlockOnOpen(false);
setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE
| SWT.RESIZE | getDefaultOrientation()... |
public StringBuffer printStatement(int tab, StringBuffer output) {
printIndent(tab, output).append("for ("); //$NON-NLS-1$
//inits
if (initializations != null) {
for (int i = 0; i < initializations.length; i++) {
//nice only with expressions
if (i > 0) output.append(", "); //$NON-NLS-1$
initializ... | public StringBuffer printStatement(int tab, StringBuffer output) {
printIndent(tab, output).append("for ("); //$NON-NLS-1$
//inits
if (initializations != null) {
for (int i = 0; i < initializations.length; i++) {
//nice only with expressions
if (i > 0) output.append(", "); //$NON-NLS-1$
initializ... |
public boolean acceptIndexMatch(String documentPath, SearchPattern indexRecord, SearchParticipant participant) {
TypeDeclarationPattern record = (TypeDeclarationPattern)indexRecord;
if (record.enclosingTypeNames != IIndexConstants.ONE_ZERO_CHAR) { // filter out local and anonymous classes
pathCollector.acc... | public boolean acceptIndexMatch(String documentPath, SearchPattern indexRecord, SearchParticipant participant) {
TypeDeclarationPattern record = (TypeDeclarationPattern)indexRecord;
if (record.enclosingTypeNames != IIndexConstants.ONE_ZERO_CHAR) { // filter out local and anonymous classes
pathCollector.acc... |
public void actionPerformed(ActionEvent e) {
if (!(frameMediator instanceof TableViewOwner)) {
return;
}
JCheckBoxMenuItem item = (JCheckBoxMenuItem) e.getSource();
FolderCommandReference[] r = (FolderCommandReference[]) ((MailFrameMediator) frameMediator).getTreeSelect... | public void actionPerformed(ActionEvent e) {
if (!(frameMediator instanceof TableViewOwner)) {
return;
}
JCheckBoxMenuItem item = (JCheckBoxMenuItem) e.getSource();
FolderCommandReference[] r = (FolderCommandReference[]) ((MailFrameMediator) frameMediator).getTreeSelect... |
public void init() {
super.init();
Container contentPane;
contentPane = getContentPane();
ComposerController controller = (ComposerController) frameController;
if ( isAccountInfoPanelVisible() )
toolbarPane.add(controller.getIdentityInfoPanel());
rightSplitPane = new JSplitPane(JSplitPa... | public void init() {
super.init();
Container contentPane;
contentPane = getContentPane();
ComposerController controller = (ComposerController) frameController;
if ( isAccountInfoPanelVisible() )
toolbarPane.add(controller.getIdentityInfoPanel());
rightSplitPane = new JSplitPane(JSplitPa... |
public void begin(ExecutionContext ec, String name, Attributes attributes) {
// Let us forget about previous errors (in this object)
inError = false;
LoggerRepository repository = (LoggerRepository) ec.getObject(0);
// Create a new org.apache.log4j.Category object from the <category> element.
St... | public void begin(ExecutionContext ec, String name, Attributes attributes) {
// Let us forget about previous errors (in this object)
inError = false;
LoggerRepository repository = (LoggerRepository) ec.getObject(0);
// Create a new org.apache.log4j.Category object from the <category> element.
St... |
private Object[] computeNonJavaResources(JavaProject project) {
// determine if src == project and/or if bin == project
IPath projectPath = project.getProject().getFullPath();
boolean srcIsProject = false;
boolean binIsProject = false;
char[][] exclusionPatterns = null;
IClasspathEntry[] classpath = nul... | private Object[] computeNonJavaResources(JavaProject project) {
// determine if src == project and/or if bin == project
IPath projectPath = project.getProject().getFullPath();
boolean srcIsProject = false;
boolean binIsProject = false;
char[][] exclusionPatterns = null;
IClasspathEntry[] classpath = nul... |
public static void
main(String argv[]) throws IOException {
String server;
int arg;
Message query, response;
Record rec;
Record opt = null;
Resolver res = null;
boolean printQuery = false;
if (argv.length < 1) {
usage();
}
try {
arg = 0;
if (argv[arg].startsWith("@")) {
server = argv[arg++].substri... | public static void
main(String argv[]) throws IOException {
String server;
int arg;
Message query, response;
Record rec;
Record opt = null;
Resolver res = null;
boolean printQuery = false;
if (argv.length < 1) {
usage();
}
try {
arg = 0;
if (argv[arg].startsWith("@")) {
server = argv[arg++].substri... |
public interface IKeyConfigurationDefinition 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 Co... | public interface IKeyConfigurationDefinition 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 Co... |
public
OPTRecord(Name _name, short _dclass, int _ttl,
int length, CountedDataInputStream in, Compression c)
throws IOException
| public
OPTRecord(Name _name, short _dclass, int _ttl,
int length, DataByteInputStream in, Compression c)
throws IOException
|
private Object getMemberValue(MemberValuePair memberValuePair, Object binaryValue) {
if (binaryValue instanceof Constant) {
return Util.getAnnotationMemberValue(memberValuePair, (Constant) binaryValue);
} else if (binaryValue instanceof IBinaryAnnotation) {
memberValuePair.valueKind = IMemberValuePair.K_ANNOTATIO... | private Object getMemberValue(MemberValuePair memberValuePair, Object binaryValue) {
if (binaryValue instanceof Constant) {
return Util.getAnnotationMemberValue(memberValuePair, (Constant) binaryValue);
} else if (binaryValue instanceof IBinaryAnnotation) {
memberValuePair.valueKind = IMemberValuePair.K_ANNOTATIO... |
public void setUID(Object o) {
if (o != null) {
columbaHeader.set("columba.uid", o);
} else {
columbaHeader.set("columba.uid", new String(""));
}
//uid = o;
}
| public void setUID(Object o) {
if (o != null) {
columbaHeader.set("columba.uid", o);
} else {
columbaHeader.set("columba.uid", "");
}
//uid = o;
}
|
public boolean isPrimitive() {
return binding.isBaseType();
}
| public boolean isPrimitive() {
return !isNullType() && binding.isBaseType();
}
|
public static String id() {
return "4.1";
}
| public static String id() {
return "4.2";
}
|
public String toString(int tab) {
return tabString(tab) + "Recovered local variable:\n" + localDeclaration.toString(tab + 1);
}
| public String toString(int tab) {
return tabString(tab) + "Recovered local variable:\n"/*nonNLS*/ + localDeclaration.toString(tab + 1);
}
|
public StringBuffer print(int indent, StringBuffer output) {
super.print(indent, output);
if (this.selectedNode != null) {
String selectedString = null;
if (this.selectedNode instanceof JavadocFieldReference) {
JavadocFieldReference fieldRef = (JavadocFieldReference) this.selectedNode;
if (fieldRef.m... | public StringBuffer print(int indent, StringBuffer output) {
super.print(indent, output);
if (this.selectedNode != null) {
String selectedString = null;
if (this.selectedNode instanceof JavadocFieldReference) {
JavadocFieldReference fieldRef = (JavadocFieldReference) this.selectedNode;
if (fieldRef.m... |
public void recordUsingNullReference(Scope scope, LocalVariableBinding local,
Expression reference, int checkType, FlowInfo flowInfo) {
if ((flowInfo.tagBits & FlowInfo.UNREACHABLE) == 0) {
if (deferNullDiagnostic) { // within an enclosing loop, be conservative
switch (checkType) {
case CAN_ONLY_NULL_NO... | public void recordUsingNullReference(Scope scope, LocalVariableBinding local,
Expression reference, int checkType, FlowInfo flowInfo) {
if ((flowInfo.tagBits & FlowInfo.UNREACHABLE) == 0 && !flowInfo.isDefinitelyUnknown(local)) {
if (deferNullDiagnostic) { // within an enclosing loop, be conservative
switch... |
public J2EEManagedObject( String pType, String pName, ObjectName pParent )
throws
MalformedObjectNameException,
InvalidParentException
{
try {
Hashtable lProperties = pParent.getKeyPropertyList();
System.out.println( "J2EEManagedObject(), parent properties: " + lPropertie... | public J2EEManagedObject( String pType, String pName, ObjectName pParent )
throws
MalformedObjectNameException,
InvalidParentException
{
try {
Hashtable lProperties = (Hashtable) pParent.getKeyPropertyList().clone();
System.out.println( "J2EEManagedObject(), parent proper... |
public
int decide(LoggingEvent event) {
if(this.levelToMatch == null) {
return Filter.NEUTRAL;
}
boolean matchOccured = false;
if(this.levelToMatch == event.level) {
matchOccured = true;
}
if(matchOccured) {
if(this.acceptOnMatch)
return Filter.ACCEPT;
else
... | public
int decide(LoggingEvent event) {
if(this.levelToMatch == null) {
return Filter.NEUTRAL;
}
boolean matchOccured = false;
if(this.levelToMatch.equals(event.level)) {
matchOccured = true;
}
if(matchOccured) {
if(this.acceptOnMatch)
return Filter.ACCEPT;
... |
private void checkVariableComparison(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, FlowInfo initsWhenTrue, FlowInfo initsWhenFalse, LocalVariableBinding local, int nullStatus, Expression reference) {
switch (nullStatus) {
case FlowInfo.NULL :
if (((this.bits & OperatorMASK) >> OperatorSHIFT) =... | private void checkVariableComparison(BlockScope scope, FlowContext flowContext, FlowInfo flowInfo, FlowInfo initsWhenTrue, FlowInfo initsWhenFalse, LocalVariableBinding local, int nullStatus, Expression reference) {
switch (nullStatus) {
case FlowInfo.NULL :
if (((this.bits & OperatorMASK) >> OperatorSHIFT) =... |
public String getMainTaskName(){
return Util.bind("operation.createFieldProgress"/*nonNLS*/);
}
| public String getMainTaskName(){
return Util.bind("operation.createFieldProgress"); //$NON-NLS-1$
}
|
public void computeConstant() {
constant = BooleanConstant.fromValue(false);
}
| public void computeConstant() {
this.constant = BooleanConstant.fromValue(false);
}
|
private List<PotentialAssignment> potentialValues(Method method)
throws Exception {
return Assignments.allUnassigned(method, HasDateMethod.class)
.potentialsForNextUnassigned();
| private List<PotentialAssignment> potentialValues(Method method)
throws Exception {
return Assignments.allUnassigned(method, HasDateMethod.class, true)
.potentialsForNextUnassigned();
|
public ParameterizedGenericMethodBinding(MethodBinding originalMethod, RawTypeBinding rawType, LookupEnvironment environment) {
TypeVariableBinding[] originalVariables = originalMethod.typeVariables;
int length = originalVariables.length;
TypeBinding[] rawArguments = new TypeBinding[length];
for (int i = 0; i... | public ParameterizedGenericMethodBinding(MethodBinding originalMethod, RawTypeBinding rawType, LookupEnvironment environment) {
TypeVariableBinding[] originalVariables = originalMethod.typeVariables;
int length = originalVariables.length;
TypeBinding[] rawArguments = new TypeBinding[length];
for (int i = 0; i... |
public void save(DBConnection dbcon)
throws TorqueException
{
if ( isModified())
{
try
{
checkTransaction("Cannot save a value outside a Transaction");
}
catch (Exception e)
{
throw new TorqueExce... | public void save(DBConnection dbcon)
throws TorqueException
{
if ( isModified() && !getDeleted())
{
try
{
checkTransaction("Cannot save a value outside a Transaction");
}
catch (Exception e)
{
thr... |
public static final String PLUGIN_SCOPE = "org.eclipse.core.components.plugin"; //$NON-NLS-1$
} | public static final String PLUGIN_SCOPE = "org.eclipse.ui.components.plugin"; //$NON-NLS-1$
} |
public static final String OBJECT_NAME = "jboss:type=example,name=schedulable";
| public void hit( Notification lNotification, Date lDate, long lRepetitions, ObjectName lName, String lTest );
} |
private void
readFlags(DNSInput in) throws IOException {
int flagsval = in.readU16();
for (int i = 0; i < 16; i++) {
flags[i] = ((flagsval & (1 << (15 - i))) != 0);
}
opcode = (byte) ((flagsval >> 3) & 0xF);
rcode = (byte) (flagsval & 0xF);
}
| private void
readFlags(DNSInput in) throws IOException {
int flagsval = in.readU16();
for (int i = 0; i < 16; i++) {
flags[i] = ((flagsval & (1 << (15 - i))) != 0);
}
opcode = (byte) ((flagsval >> 11) & 0xF);
rcode = (byte) (flagsval & 0xF);
}
|
public static CompilationUnitDeclaration parse(char[] source, Map settings) {
if (source == null) {
throw new IllegalArgumentException();
}
CompilerOptions compilerOptions = new CompilerOptions(settings);
Parser parser =
new Parser(
new ProblemReporter(
DefaultErrorHandlingPolicies.proceedWithAl... | public static CompilationUnitDeclaration parse(char[] source, Map settings) {
if (source == null) {
throw new IllegalArgumentException();
}
CompilerOptions compilerOptions = new CompilerOptions(settings);
Parser parser =
new Parser(
new ProblemReporter(
DefaultErrorHandlingPolicies.proceedWithAl... |
public void run() {
MainInterface.popServerCollection.saveAll();
}
} | public void shutdown() {
MainInterface.popServerCollection.saveAll();
}
} |
public ICommand getCommand(String commandId) {
if (commandId == null)
throw new NullPointerException();
Command command = (Command) commandsById.get(commandId);
if (command == null) {
command = new Command(this, commandId);
updateCommand(command);
commandsById.put(commandId, command);
}
... | public ICommand getCommand(String commandId) {
if (commandId == null)
throw new NullPointerException();
Command command = (Command) commandsById.get(commandId);
if (command == null) {
command = new Command(commandsWithListeners, commandId);
updateCommand(command);
commandsById.put(commandId, c... |
public static final int TRIM_DEFAULT_HEIGHT;
static {
Shell s = new Shell(Display.getCurrent(), SWT.NONE);
s.setLayout(new GridLayout());
ToolBar t = new ToolBar(s, SWT.NONE);
t.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
ToolItem ti = new ToolItem(t, SWT.PUSH);
ti... | public static final int TRIM_DEFAULT_HEIGHT;
static {
Shell s = new Shell(Display.getCurrent(), SWT.NONE);
s.setLayout(new GridLayout());
ToolBar t = new ToolBar(s, SWT.NONE);
t.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
ToolItem ti = new ToolItem(t, SWT.PUSH);
ti... |
private String extractJavadoc(IType declaringType, String contents) throws JavaModelException {
if (contents == null) throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this));
String typeQualifiedName = declaringType.getTypeQualifiedName('.');
typeQualified... | private String extractJavadoc(IType declaringType, String contents) throws JavaModelException {
if (contents == null) return null;
String typeQualifiedName = declaringType.getTypeQualifiedName('.');
typeQualifiedName = typeQualifiedName.replace('$', '.');
String methodName = this.getElementName();
if (this.isCons... |
public boolean visit(FieldDeclaration enumConstant, MethodScope scope) {
/*
* Print comments to get proper line number
*/
this.scribe.printComment();
final int line = this.scribe.line;
this.scribe.printModifiers(enumConstant.annotations, this);
this.scribe.... | public boolean visit(FieldDeclaration enumConstant, MethodScope scope) {
/*
* Print comments to get proper line number
*/
this.scribe.printComment();
final int line = this.scribe.line;
this.scribe.printModifiers(enumConstant.annotations, this);
this.scribe.... |
public CompilationResult compilationResult(){
return scope.referenceCompilationUnit().compilationResult;
}
/**
* Bytecode generation for a method
*/
public void generateCode(ClassScope classScope, ClassFile classFile) {
int problemResetPC = 0;
classFile.codeStream.wideMode = false; // reset wideMode to false
if (... | public CompilationResult compilationResult(){
return scope.referenceCompilationUnit().compilationResult;
}
/**
* Bytecode generation for a method
*/
public void generateCode(ClassScope classScope, ClassFile classFile) {
int problemResetPC = 0;
classFile.codeStream.wideMode = false; // reset wideMode to false
if (... |
protected boolean isValidElement(MBase element) {
return CollaborationsHelper.getHelper().getAllPossibleBases((MAssociationRole)getTarget()).contains(element);
}
} | protected boolean isValidElement(Object element) {
return CollaborationsHelper.getHelper().getAllPossibleBases((MAssociationRole)getTarget()).contains(element);
}
} |
public String toString() {
return "UnmodifiedBuilderType(" + fNewTSEntry.getType().getName() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
}
| public String toString() {
return "UnmodifiedBuilderType("/*nonNLS*/ + fNewTSEntry.getType().getName() + ")"/*nonNLS*/;
}
|
public SimpleName getName() {
if (this.typeVariableName == null) {
// lazy init must be thread-safe for readers
synchronized (this.ast) {
if (this.typeVariableName == null) {
preLazyInit();
this.typeVariableName = new SimpleName(this.ast);
postLazyInit(this.typeVariableName, NAME_PROPERTY);
... | public SimpleName getName() {
if (this.typeVariableName == null) {
// lazy init must be thread-safe for readers
synchronized (this) {
if (this.typeVariableName == null) {
preLazyInit();
this.typeVariableName = new SimpleName(this.ast);
postLazyInit(this.typeVariableName, NAME_PROPERTY);
... |
private void handleErrorOrWarningToken(String token, boolean isEnabling, int severity) {
if (token.length() == 0) return;
switch(token.charAt(0)) {
case 'a' :
if (token.equals("allDeprecation")) { //$NON-NLS-1$
setSeverity(CompilerOptions.OPTION_ReportDeprecation, severity, isEnabling);
this.options.put(... | private void handleErrorOrWarningToken(String token, boolean isEnabling, int severity) {
if (token.length() == 0) return;
switch(token.charAt(0)) {
case 'a' :
if (token.equals("allDeprecation")) { //$NON-NLS-1$
setSeverity(CompilerOptions.OPTION_ReportDeprecation, severity, isEnabling);
this.options.put(... |
private File makeDisplayCopy(File file) {
IPath path = WorkbenchPlugin.getDefault().getDataLocation();
if(path == null)
return null;
path = path.append(ERROR_LOG_COPY_FILENAME);
File copy = path.toFile();
FileReader in = null;
FileWriter out = null;
t... | private File makeDisplayCopy(File file) {
IPath path = WorkbenchPlugin.getDefault().getDataLocation();
if(path == null)
return null;
path = path.append(ERROR_LOG_COPY_FILENAME);
File copy = path.toFile();
FileReader in = null;
FileWriter out = null;
t... |
public CutAction(AbstractFrameController controller) {
super(
controller,
GlobalResourceLoader.getString(
null, null, "menu_edit_cut"));
// tooltip text
setTooltipText(
GlobalResourceLoader.getString(
null, null, "menu_edit_cut"));
// action command
setActionCommand("CUT");
... | public CutAction(AbstractFrameController controller) {
super(
controller,
GlobalResourceLoader.getString(
null, null, "menu_edit_cut"));
// tooltip text
setTooltipText(
GlobalResourceLoader.getString(
null, null, "menu_edit_cut_tooltip"));
// action command
setActionCommand("CU... |
public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) {
// check captured variables are initialized in current context (26134)
checkCapturedLocalInitializationIfNecessary((ReferenceBinding)this.binding.declaringClass.erasure(), currentScope, flowInfo);
// process arguments... | public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) {
// check captured variables are initialized in current context (26134)
checkCapturedLocalInitializationIfNecessary((ReferenceBinding)this.binding.declaringClass.erasure(), currentScope, flowInfo);
// process arguments... |
public FlowInfo analyseCode(
BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo) {
breakLabel = new Label();
continueLabel = new Label();
// process the initializations
if (initializations != null) {
int count = initializations.length, i = 0;
while (i < count) {
flowInfo =... | public FlowInfo analyseCode(
BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo) {
breakLabel = new Label();
continueLabel = new Label();
// process the initializations
if (initializations != null) {
int count = initializations.length, i = 0;
while (i < count) {
flowInfo =... |
public Object getComparisonID(IPath containerPath, IJavaProject project) {
return containerPath.segment(0);
}
| public Object getComparisonID(IPath containerPath, IJavaProject project) {
return containerPath;
}
|
public FlowInfo analyseCode(
BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo) {
// analyse the enclosing instance
if (enclosingInstance != null) {
flowInfo = enclosingInstance.analyseCode(currentScope, flowContext, flowInfo);
}
// check captured variables are initialized in cur... | public FlowInfo analyseCode(
BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo) {
// analyse the enclosing instance
if (enclosingInstance != null) {
flowInfo = enclosingInstance.analyseCode(currentScope, flowContext, flowInfo);
}
// check captured variables are initialized in cur... |
public void setFocus() {
if (activeRec == null)
book.setFocus();
else
activeRec.page.getControl().setFocus();
}
| public void setFocus() {
if (activeRec == null)
book.setFocus();
else
activeRec.page.setFocus();
}
|
public void generateCode(BlockScope currentScope, CodeStream codeStream) {
int[] sortedIndexes = new int[caseCount];
int[] localKeysCopy;
if ((bits & IsReachableMASK) == 0) {
return;
}
int pc = codeStream.position;
// prepare the labels and constants
breakLabel.codeStream = codeStream;
CaseLabel[] caseLabels... | public void generateCode(BlockScope currentScope, CodeStream codeStream) {
int[] sortedIndexes = new int[caseCount];
int[] localKeysCopy;
if ((bits & IsReachableMASK) == 0) {
return;
}
int pc = codeStream.position;
// prepare the labels and constants
breakLabel.codeStream = codeStream;
CaseLabel[] caseLabels... |
public
SRVRecord(Name _name, short _dclass, int _ttl, int _priority,
int _weight, int _port, Name _target)
{
super(_name, Type.SRV, _dclass, _ttl);
priority = (short) _priority;
weight = (short) _weight;
port = (short) _port;
target = _target;
}
SRVRecord(Name _name, short _dclass, int _ttl,
int length, Dat... | public
SRVRecord(Name _name, short _dclass, int _ttl, int _priority,
int _weight, int _port, Name _target)
{
super(_name, Type.SRV, _dclass, _ttl);
priority = (short) _priority;
weight = (short) _weight;
port = (short) _port;
target = _target;
}
SRVRecord(Name _name, short _dclass, int _ttl,
int length, Dat... |
int R_METHOD_OVERIDE = 3;
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accomp... | int R_METHOD_OVERIDE = 3;
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accomp... |
public boolean implementsMethod(MethodBinding method) {
return this.type.implementsMethod(method); // erasure
}
void initialize(ReferenceBinding someType, TypeBinding[] someArguments) {
this.type = someType;
this.sourceName = someType.sourceName;
this.compoundName = someType.compoundName;
this.fPackage = ... | public boolean implementsMethod(MethodBinding method) {
return this.type.implementsMethod(method); // erasure
}
void initialize(ReferenceBinding someType, TypeBinding[] someArguments) {
this.type = someType;
this.sourceName = someType.sourceName;
this.compoundName = someType.compoundName;
this.fPackage = ... |
public void sendEmail( TemplateContext context, Issue issue,
String subject, String template )
throws Exception
{
TemplateEmail te = new TemplateEmail();
if ( context == null )
{
context = new DefaultTemplateContext();
}
... | public void sendEmail( TemplateContext context, Issue issue,
String subject, String template )
throws Exception
{
TemplateEmail te = new TemplateEmail();
if ( context == null )
{
context = new DefaultTemplateContext();
}
... |
public void setReferencedElement(Vector x) throws PropertyVetoException {
if (_referencedElement == null) _referencedElement = new Vector();
fireVetoableChange("referencedElement", _referencedElement, x);
_referencedElement = x;
}
| public void setReferencedElement(Vector x) throws PropertyVetoException {
if (_referencedElement == null) _referencedElement = new Vector();
fireVetoableChangeNoCompare("referencedElement", _referencedElement, x);
_referencedElement = x;
}
|
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))... | private boolean hasSubtypeNamed(String simpleName) {
if (this.focusType != null && this.focusType.getElementName().equals(simpleName)) {
return true;
}
IType[] types = this.focusType == null ? getAllTypes() : getAllSubtypes(this.focusType);
for (int i = 0, length = types.length; i < length; i++) {
if (types[i].... |
public int computeWrappedTrim(int majorHint) {
int totalMinor = 0;
// Remove any previous tiling information
lines.clear();
boolean isHorizontal = !isVertical();
TrimLine curLine = new TrimLine(majorHint);
lines.add(curLine);
TrimCommonUIHandle dragHandle = null;
// Initialize the tilePos to... | public int computeWrappedTrim(int majorHint) {
int totalMinor = 0;
// Remove any previous tiling information
lines.clear();
boolean isHorizontal = !isVertical();
TrimLine curLine = new TrimLine(majorHint);
lines.add(curLine);
TrimCommonUIHandle dragHandle = null;
// Initialize the tilePos to... |
public static IJavaModelStatus validateClasspath(IJavaProject javaProject, IClasspathEntry[] rawClasspath, IPath projectOutputLocation) {
IProject project = javaProject.getProject();
IPath projectPath= project.getFullPath();
/* validate output location */
if (projectOutputLocation == null) {
return new ... | public static IJavaModelStatus validateClasspath(IJavaProject javaProject, IClasspathEntry[] rawClasspath, IPath projectOutputLocation) {
IProject project = javaProject.getProject();
IPath projectPath= project.getFullPath();
/* validate output location */
if (projectOutputLocation == null) {
return new ... |
public String toString() {
return "FlowInfo<true: " + initsWhenTrue.toString() + ", false: " + initsWhenFalse.toString() + ">"; //$NON-NLS-1$ //$NON-NLS-3$ //$NON-NLS-2$
}
| public String toString() {
return "FlowInfo<true: "/*nonNLS*/ + initsWhenTrue.toString() + ", false: "/*nonNLS*/ + initsWhenFalse.toString() + ">"/*nonNLS*/;
}
|
private final void internalService( Request req, Response res ) {
try {
/* assert req/res are set up
corectly - have cm, and one-one relation
*/
// wrong request - parsing error
int status=res.getStatus();
if( status >= 400 ) {
if( debug > 0)
log( "Error reading request " ... | private final void internalService( Request req, Response res ) {
try {
/* assert req/res are set up
corectly - have cm, and one-one relation
*/
// wrong request - parsing error
int status=res.getStatus();
if( status >= 400 ) {
if( debug > 0)
log( "Error reading request " ... |
public void widgetDisposed(DisposeEvent e) {
dimmedForeground.dispose();
}
});
treeViewer.setLabelProvider(new ViewLabelProvider(window, dimmedForeground));
treeViewer.setContentProvider(new ViewContentProvider());
treeViewer.setSorter(new ViewSorter((ViewRegistry) viewReg));
treeViewer.setInput(... | public void widgetDisposed(DisposeEvent e) {
dimmedForeground.dispose();
}
});
treeViewer.setLabelProvider(new ViewLabelProvider(window, dimmedForeground));
treeViewer.setContentProvider(new ViewContentProvider());
treeViewer.setComparator(new ViewSorter((ViewRegistry) viewReg));
treeViewer.setIn... |
public String format() {
return format(FormatManager.NATIVE);
}
| public String format() {
return format(FormatManager.XEMACS);
}
|
public void run() {
WorkbenchPage page = (WorkbenchPage)window.getActivePage();
if (page != null)
page.closeAllPerspectives(true);
}
| public void run() {
WorkbenchPage page = (WorkbenchPage)window.getActivePage();
if (page != null)
page.close();
}
|
public CycleEditorAction(IWorkbenchWindow window, boolean forward) {
super(window, forward); //$NON-NLS-1$
updateState();
}
| public CycleEditorAction(IWorkbenchWindow window, boolean forward) {
super(window, forward);
updateState();
}
|
protected void matchReportReference(ArrayTypeReference arrayRef, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
char[][] tokens = this.simpleName == null ? NO_CHAR_CHAR : new char[][] {this.simpleName};
locator.reportAccurateReference(arrayRef.sourceStart, arrayRef.sourceEnd, tokens,... | protected void matchReportReference(ArrayTypeReference arrayRef, IJavaElement element, int accuracy, MatchLocator locator) throws CoreException {
char[][] tokens = this.simpleName == null ? CharOperation.NO_CHAR_CHAR : new char[][] {this.simpleName};
locator.reportAccurateReference(arrayRef.sourceStart, arrayRef.sour... |
protected void modelChanged() {
super.modelChanged();
//change the name
MAssociationRole ar = (MAssociationRole) getOwner();
if (ar == null) return;
String asNameStr = Notation.generate(this, ar);
_name.setText(asNameStr);
}
| protected void modelChanged() {
super.modelChanged();
//change the name
MAssociationRole ar = (MAssociationRole) getOwner();
if (ar == null) return;
String asNameStr = ((ar.getName() == null) && (ar.getBase() == null)) ? "" : Notation.generate(this, ar);
_name.setText... |
public ClassNamePatternConverter() {
super();
}
String getFullyQualifiedName(LoggingEvent event) {
return event.getLocationInformation().getClassName();
}
| public ClassNamePatternConverter() {
super();
}
String getFullyQualifiedName(LoggingEvent event) {
return event.getLocationInformation()!=null?event.getLocationInformation().getClassName():"";
}
|
public Type getType() {
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this.ast) {
if (this.type == null) {
preLazyInit();
this.type = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;... | public Type getType() {
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this) {
if (this.type == null) {
preLazyInit();
this.type = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;
}
|
private void buildFields() {
if (referenceContext.fields == null) {
referenceContext.binding.fields = NoFields;
return;
}
// count the number of fields vs. initializers
FieldDeclaration[] fields = referenceContext.fields;
int size = fields.length;
int count = 0;
for (int i = 0; i < size; i++)
if... | private void buildFields() {
if (referenceContext.fields == null) {
referenceContext.binding.fields = NoFields;
return;
}
// count the number of fields vs. initializers
FieldDeclaration[] fields = referenceContext.fields;
int size = fields.length;
int count = 0;
for (int i = 0; i < size; i++)
if... |
protected boolean isValidElement(MBase element) {
return element instanceof MUseCase && ((MUseCase)element).getNamespace() == ((MInclude)getTarget()).getNamespace();
}
} | protected boolean isValidElement(Object element) {
return element instanceof MUseCase && ((MUseCase)element).getNamespace() == ((MInclude)getTarget()).getNamespace();
}
} |
public void recordBreakFrom(FlowInfo flowInfo) {
if (initsOnBreak == FlowInfo.DEAD_END) {
initsOnBreak = flowInfo.copy().unconditionalInits();
} else {
initsOnBreak = 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 IJavaElement getPrimaryElement(boolean checkOwner) {
CompilationUnit cu = (CompilationUnit)fParent.getParent();
if (checkOwner && cu.owner == DefaultWorkingCopyOwner.PRIMARY) return this;
return cu.getImport(fName);
}
| public IJavaElement getPrimaryElement(boolean checkOwner) {
CompilationUnit cu = (CompilationUnit)fParent.getParent();
if (checkOwner && cu.isPrimary()) return this;
return cu.getImport(fName);
}
|
public void initializeScanner() {
this.scanner = new Scanner(
false /*comment*/,
false /*whitespace*/,
this.options.getSeverity(CompilerOptions.NonExternalizedString) != ProblemSeverities.Ignore /*nls*/,
this.options.sourceLevel /*sourceLevel*/,
this.options.taskTags/*taskTags*/,
this.options... | public void initializeScanner() {
this.scanner = new Scanner(
false /*comment*/,
false /*whitespace*/,
this.options.getSeverity(CompilerOptions.NonExternalizedString) != ProblemSeverities.Ignore /*nls*/,
this.options.sourceLevel /*sourceLevel*/,
this.options.taskTags/*taskTags*/,
this.options... |
public void encode( InputStream in, OutputStream out ) throws IOException {
byte[] buffer = new byte[1024];
int read;
read = in.read(buffer);
while ( read == 1024 ) {
out.write(buffer);
read = in.read(buffer);
}
out.write( buffer, 0, read );
... | public void encode( InputStream in, OutputStream out, int workerStatusController ) throws IOException {
byte[] buffer = new byte[1024];
int read;
read = in.read(buffer);
while ( read == 1024 ) {
out.write(buffer);
read = in.read(buffer);
}
out.write(... |
public String toString() {
// don't use + with char[]
return new StringBuffer("TypeIndictment(").append(fName).append(")").toString();
}
| public String toString() {
// don't use + with char[]
return new StringBuffer("TypeIndictment("/*nonNLS*/).append(fName).append(")"/*nonNLS*/).toString();
}
|
public LoggerRepository getLoggerRepository() {
String loggingContextName = null;
Context ctx = null;
try {
ctx = JNDIUtil.getInitialContext();
loggingContextName = (String) JNDIUtil.lookup(ctx, Constants.JNDI_CONTEXT_NAME);
} catch (NamingException ne) {
// we can't log here
}
... | public LoggerRepository getLoggerRepository() {
String loggingContextName = null;
Context ctx = null;
try {
ctx = JNDIUtil.getInitialContext();
loggingContextName = (String) JNDIUtil.lookup(ctx, Constants.JNDI_CONTEXT_NAME);
} catch (NamingException ne) {
// we can't log here
}
... |
private boolean isAffectedByJavaProject(IJavaElementDelta delta, IJavaElement element) {
switch (delta.getKind()) {
case IJavaElementDelta.ADDED :
try {
// if the added project is on the classpath, then the hierarchy has changed
IClasspathEntry[] classpath = ((JavaProject)this.javaProject()).getExpandedCl... | private boolean isAffectedByJavaProject(IJavaElementDelta delta, IJavaElement element) {
switch (delta.getKind()) {
case IJavaElementDelta.ADDED :
try {
// if the added project is on the classpath, then the hierarchy has changed
IClasspathEntry[] classpath = ((JavaProject)this.javaProject()).getExpandedCl... |
* N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
ParenthesizedExpression(AST ast) {
super(ast);
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return property... | * N.B. This constructor is package-private.
* </p>
*
* @param ast the AST that is to own this node
*/
ParenthesizedExpression(AST ast) {
super(ast);
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
final List internalStructuralPropertiesForType(int apiLevel) {
return property... |
public int hashCode() {
int hash = super.hashCode();
for (int i = 0, length = fParameterTypes.length; i < length; i++) {
hash = Util.combineHashCodes(fParameterTypes[i].hashCode(), hash);
}
return hash;
}
| public int hashCode() {
int hash = super.hashCode();
for (int i = 0, length = fParameterTypes.length; i < length; i++) {
hash = Util.combineHashCodes(hash, fParameterTypes[i].hashCode());
}
return hash;
}
|
public static final String JAVADOC_STAR = "*"; //$NON-NLS-1$
/*
* Tags IDs
*/
static final int JAVADOC_TAGS_INDEX_MASK = 0x00FF;
static final int JAVADOC_TAGS_ID_MASK = 0xFF00;
| public static final String JAVADOC_STAR = "*"; //$NON-NLS-1$
/*
* Tags IDs
*/
static final int JAVADOC_TAGS_INDEX_MASK = 0xFFFF;
static final int JAVADOC_TAGS_ID_MASK = 0xFF00;
|
public String toString(int tab) {
/* slow code */
String s = tabString(tab);
s += new String(label) + ": "/*nonNLS*/ + statement.toString(0);
return s;
}
| public String toString(int tab) {
/* slow code */
String s = tabString(tab);
s += new String(label) + ": " + statement.toString(0); //$NON-NLS-1$
return s;
}
|
public static Hashtable readFormData( Request request ) {
String contentType=request.getContentType();
if (contentType != null) {
if (contentType.indexOf(";")>0)
contentType=contentType.substring(0,contentType.indexOf(";")-1);
contentType = contentType.toLowerCase()... | public static Hashtable readFormData( Request request ) {
String contentType=request.getContentType();
if (contentType != null) {
if (contentType.indexOf(";")>0)
contentType=contentType.substring(0,contentType.indexOf(";")-1);
contentType = contentType.toLowerCase()... |
public AccountController(ComposerController controller) {
this.controller = controller;
view = new AccountView(this);
AccountList config = MailConfig.getInstance().getAccountList();
for (int i = 0; i < config.count(); i++) {
AccountItem accountItem = config.get(i);
view.addItem(accountItem);
if (i... | public AccountController(ComposerController controller) {
this.controller = controller;
view = new AccountView(this);
AccountList config = MailConfig.getInstance().getAccountList();
for (int i = 0; i < config.count(); i++) {
AccountItem accountItem = config.get(i);
view.addItem(accountItem);
if ( ... |
public void execute(Worker worker) throws Exception {
Folder folder = (Folder) ( (FolderCommandReference) getReferences()[0] ).getFolder();
Object[] uids = ( (FolderCommandReference) getReferences()[0] ).getUids();
Message message = new Message();
ColumbaHeader header = (ColumbaHeader) folder.getMessageHeade... | public void execute(Worker worker) throws Exception {
Folder folder = (Folder) ( (FolderCommandReference) getReferences()[0] ).getFolder();
Object[] uids = ( (FolderCommandReference) getReferences()[0] ).getUids();
Message message = new Message();
ColumbaHeader header = (ColumbaHeader) folder.getMessageHeade... |
public StringBuffer printStatement(int tab, StringBuffer output) {
printIndent(tab, output).append("for ("); //$NON-NLS-1$
//inits
if (initializations != null) {
for (int i = 0; i < initializations.length; i++) {
//nice only with expressions
if (i > 0) output.append(", "); //$NON-NLS-1$
initializ... | public StringBuffer printStatement(int tab, StringBuffer output) {
printIndent(tab, output).append("for ("); //$NON-NLS-1$
//inits
if (initializations != null) {
for (int i = 0; i < initializations.length; i++) {
//nice only with expressions
if (i > 0) output.append(", "); //$NON-NLS-1$
initializ... |
public TypeBinding resolveType(BlockScope scope) {
// due to syntax lhs may be only a NameReference, a FieldReference or an ArrayReference
constant = NotAConstant;
this.resolvedType = lhs.resolveType(scope); // expressionType contains the assignment type (lhs Type)
TypeBinding rhsType = expression.resolveType... | public TypeBinding resolveType(BlockScope scope) {
// due to syntax lhs may be only a NameReference, a FieldReference or an ArrayReference
constant = NotAConstant;
this.resolvedType = lhs.resolveType(scope); // expressionType contains the assignment type (lhs Type)
TypeBinding rhsType = expression.resolveType... |
private void makeActions() {
// The actions in jface do not have menu vs. enable, vs. disable vs. color
// There are actions in here being passed the workbench - problem
// Get services for notification.
IPartService partService = window.getPartService();
WWinKeyBindingService keyBindingService = window.g... | private void makeActions() {
// The actions in jface do not have menu vs. enable, vs. disable vs. color
// There are actions in here being passed the workbench - problem
// Get services for notification.
IPartService partService = window.getPartService();
WWinKeyBindingService keyBindingService = window.g... |
public String getType() {
int lastDot= file.getPath().lastIndexOf('.');
if (lastDot == -1)
return ""; //$NON-NLS-1$
return file.getPath().substring(lastDot + 1);
}
| public String getType() {
int lastDot= file.getPath().lastIndexOf('.');
if (lastDot == -1)
return ""/*nonNLS*/;
return file.getPath().substring(lastDot + 1);
}
|
public void bind(MethodScope scope, TypeBinding typeBinding, boolean used) {
if (this.type != null) this.type.binding = typeBinding; // record the resolved type into the type reference
int modifierFlag = this.modifiers;
if ((this.binding = scope.duplicateName(this.name)) != null) {
//the name already exist....may ... | public void bind(MethodScope scope, TypeBinding typeBinding, boolean used) {
if (this.type != null) this.type.binding = typeBinding; // record the resolved type into the type reference
int modifierFlag = this.modifiers;
if ((this.binding = scope.duplicateName(this.name)) != null) {
//the name already exist....may ... |
public ToolBar(
XmlElement rootElement,
AbstractFrameController controller) {
super();
this.frameController = controller;
this.rootElement = rootElement;
createButtons();
setRollover(true);
//setFloatable(false);
}
| public ToolBar(
XmlElement rootElement,
AbstractFrameController controller) {
super();
this.frameController = controller;
this.rootElement = rootElement;
createButtons();
setRollover(true);
setFloatable(false);
}
|
public void createPage() {
IWorkbenchPreferencePage page;
try {
page = (IWorkbenchPreferencePage) WorkbenchPlugin.createExtension(
getConfigurationElement(), IWorkbenchRegistryConstants.ATT_CLASS);
} catch (CoreException e) {
// Just inform the user about the error. The details are
// written to th... | public void createPage() {
IWorkbenchPreferencePage page;
try {
page = (IWorkbenchPreferencePage) WorkbenchPlugin.createExtension(
getConfigurationElement(), IWorkbenchRegistryConstants.ATT_CLASS);
} catch (CoreException e) {
// Just inform the user about the error. The details are
// written to th... |
public void checkComment() {
super.checkComment();
if (this.reportReferenceInfo && this.javadocParser.checkJavadoc && this.javadoc != null) {
// Report reference info in javadoc comment @throws/@exception tags
TypeReference[] thrownExceptions = this.javadoc.thrownExceptions;
int throwsTagsNbre = thrownException... | public void checkComment() {
super.checkComment();
if (this.reportReferenceInfo && this.javadocParser.checkDocComment && this.javadoc != null) {
// Report reference info in javadoc comment @throws/@exception tags
TypeReference[] thrownExceptions = this.javadoc.thrownExceptions;
int throwsTagsNbre = thrownExcept... |
private static StringManager sm =
StringManager.getManager("org.apache.tomcat.context");
| private static StringManager sm =
StringManager.getManager("org.apache.tomcat.resources");
|
public Object lookupData() {
return pluginHandler;
}
});
WizardModel model = new DefaultWizardModel(new Step[]{
new PluginStep(data),
new LocationStep(data)
... | public Object lookupData() {
return pluginHandler;
}
});
WizardModel model = new DefaultWizardModel(new Step[]{
new PluginStep(data),
new LocationStep(data)
... |
private NumberKey[] addTextMatches(Criteria crit, List attValues)
throws Exception
{
NumberKey[] matchingIssueIds = null;
SearchIndex searchIndex = SearchFactory.getInstance();
if ( getSearchWords() != null && getSearchWords().length() != 0 )
{
searchIndex.a... | private NumberKey[] addTextMatches(Criteria crit, List attValues)
throws Exception
{
NumberKey[] matchingIssueIds = null;
SearchIndex searchIndex = SearchFactory.getInstance();
if ( getSearchWords() != null && getSearchWords().length() != 0 )
{
searchIndex.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.