buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
private String getPrefixedName(final String name)
{
return _prefix + ":"+name;
}
| private String getPrefixedName(final String name)
{
return _prefix + ":"+name; //$NON-NLS-1$
}
|
public void remove()
{
throw new UnsupportedOperationException("");
}
}
| public void remove()
{
throw new UnsupportedOperationException(""); //$NON-NLS-1$
}
}
|
public IViewDefnAdapter<?, ?> createAdapter(DTFacesContext context, String viewId)
{
try
{
final IResource res =
_myViewHandler.getActionDefinition(context, viewId);
if (res instanceof IFile)
{
final IFile srcFile = (IFile)... | public IViewDefnAdapter<?, ?> createAdapter(DTFacesContext context, String viewId)
{
try
{
final IResource res =
_myViewHandler.getActionDefinition(context, viewId);
if (res instanceof IFile)
{
final IFile srcFile = (IFile)... |
public Object apply(PatternFunction f) {
return f.caseData(this);
}
Datatype getDatatype() {
return dt;
}
boolean allowsAnyString() {
return false;
// return dt instanceof Datatype2 && ((Datatype2)dt).alwaysValid();
}
void checkRestrictions(int context, DuplicateAttributeDetector dad, ... | public Datatype getDatatype() {
return dt;
}
boolean allowsAnyString() {
return false;
// return dt instanceof Datatype2 && ((Datatype2)dt).alwaysValid();
}
void checkRestrictions(int context, DuplicateAttributeDetector dad, Alphabet alpha)
throws RestrictionViolationException {
switch ... |
public Object apply(PatternFunction f) {
return f.caseValue(this);
}
void checkRestrictions(int context, DuplicateAttributeDetector dad, Alphabet alpha)
throws RestrictionViolationException {
switch (context) {
case START_CONTEXT:
throw new RestrictionViolationException("start_contains_valu... | public Object getValue() {
return obj;
}
} |
public void execute() throws BuildException {
if (propertyHelper == null && delegates == null) {
throw new BuildException("Either a new PropertyHelper"
+ " or one or more PropertyHelper delegates are required");
}
PropertyHelper ph = propertyHelper;
if... | public void execute() throws BuildException {
if (propertyHelper == null && delegates == null) {
throw new BuildException("Either a new PropertyHelper"
+ " or one or more PropertyHelper delegates are required");
}
PropertyHelper ph = propertyHelper;
if... |
public String toString() {
StringBuffer sb = new StringBuffer("XmlRpcId["); //$NON-NLS-1$
sb.append(getName()).append("]"); //$NON-NLS-1$
return sb.toString();
}
| public String toString() {
StringBuffer sb = new StringBuffer("XMLRPCID["); //$NON-NLS-1$
sb.append(getName()).append("]"); //$NON-NLS-1$
return sb.toString();
}
|
public HoldSampleSender(){
log.warn("Constructor only intended for use in testing"); // $NON-NLS-1$
listener = null;
}
HoldSampleSender(RemoteSampleListener listener) {
this.listener = listener;
log.info("Using HoldSampleSender for this test run, ensure you have configured e... | public HoldSampleSender(){
log.warn("Constructor only intended for use in testing"); // $NON-NLS-1$
listener = null;
}
HoldSampleSender(RemoteSampleListener listener) {
this.listener = listener;
log.warn("Using HoldSampleSender for this test run, ensure you have configured e... |
public boolean getVisible () {
checkWidget ();
if ((style & SWT.BAR) != 0) {
return this == parent.menuShell ().menuBar;
}
if ((style & SWT.POP_UP) != 0) {
Menu [] popups = display.popups;
if (popups == null) return false;
for (int i=0; i<popups.length; i++) {
if (popups [i] == this) return true;
}
}
... | public boolean getVisible () {
checkWidget ();
if ((style & SWT.BAR) != 0) {
return this == parent.menuShell ().menuBar;
}
if ((style & SWT.POP_UP) != 0) {
Menu [] popups = display.popups;
if (popups == null) return false;
for (int i=0; i<popups.length; i++) {
if (popups [i] == this) return true;
}
}
... |
public static Object convert(Object value, Class toType) {
if (value == null) {
value = "";
} else if (toType.isAssignableFrom(value.getClass())) {
return value;
} else if (toType.equals(float.class) || toType.equals(Float.class)) {
return new Float(getFloat(value));
} else if (toType.equals(double.cl... | public static Object convert(Object value, Class toType) {
if (value == null) {
value = "";
} else if (toType.isAssignableFrom(value.getClass())) {
return value;
} else if (toType.equals(float.class) || toType.equals(Float.class)) {
return new Float(getFloat(value));
} else if (toType.equals(double.cl... |
public aspect X4 {
// Error as Color not imported
before(A a): execution(@Color * A+.*(..)) && this(a) {
System.err.println("Before call to "+thisJoinPoint);
}
} | public aspect X4 {
// Error as Color not imported
@org.aspectj.lang.annotation.SuppressAjWarnings before(A a): execution(@Color * A+.*(..)) && this(a) {
System.err.println("Before call to "+thisJoinPoint);
}
} |
public void init(FilterConfig filterConfig) throws ServletException
{
servletPath = filterConfig.getInitParameter("servletPath");
if (servletPath == null)
{
throw new ServletException(
"you must provide init parameter servlet-path if you want to use "
+ getClass().getName());
}
if (servletP... | public void init(FilterConfig filterConfig) throws ServletException
{
servletPath = filterConfig.getInitParameter("servletPath");
if (servletPath == null)
{
throw new ServletException(
"you must provide init parameter servlet-path if you want to use "
+ getClass().getName());
}
if (servletP... |
public aspect MissingImport {
Object around() :
call(* *(..)) && !within(ImposterProcessing+) {
MethodSignature sig = (MethodSignature)thisJoinPoint.getSignature();
try {
Method meth = ImposterProcessing.class.getMethod("dynamicThrow", new Class[] { Throwable.class });
meth.invoke(this, new Object[] ... | public aspect MissingImport {
Object around() :
call(* *(..)) && !within(ImposterProcessing+) {
MethodSignature sig = (MethodSignature)thisJoinPoint.getSignature();
try {
Method meth = ImposterProcessing.class.getMethod("dynamicThrow", new Class[] { Throwable.class });
meth.invoke(this, new Object[] ... |
public void execute(Message message) throws MessagingException, IOException, InterruptedException {
Transport tr = session.getTransport(getProtocol());
SynchronousTransportListener listener = null;
if (synchronousMode) {
listener = new SynchronousTransportListener();
... | public void execute(Message message) throws MessagingException, IOException, InterruptedException {
Transport tr = session.getTransport(getProtocol());
SynchronousTransportListener listener = null;
if (synchronousMode) {
listener = new SynchronousTransportListener();
... |
public void invokeInternal(WorkflowContext ctx, ProgressMonitor mon, Issues issues) {
setUseSingleGlobalResourceSet(true);
try {
StandaloneSetup setup = new StandaloneSetup();
setup
.addRegisterEcoreFile("platform:/resource/eclipse.xtend.util.stdlib/src/org/openarchitectureware/util/stdlib/trace.ecore")... | public void invokeInternal(WorkflowContext ctx, ProgressMonitor mon, Issues issues) {
setUseSingleGlobalResourceSet(true);
try {
StandaloneSetup setup = new StandaloneSetup();
setup
.addRegisterEcoreFile("platform:/resource/eclipse.xtend.util.stdlib/src/org/eclipse/xtend/util/stdlib/trace.ecore");
EP... |
public static String[] getAllFlags() {
return new String[]{FLAG_NO_GEN, FLAG_ADDRESS, FLAG_CONST, FLAG_STRUCT, FLAG_DYNAMIC, FLAG_JNI, FLAG_CPP, FLAG_NEW, FLAG_DELETE, FLAG_GCNEW, FLAG_GCOBJECT, FLAG_SETTER, FLAG_GETTER, FLAG_ADDER};
}
| public static String[] getAllFlags() {
return new String[]{FLAG_NO_GEN, FLAG_ADDRESS, FLAG_CONST, FLAG_DYNAMIC, FLAG_JNI, FLAG_CPP, FLAG_NEW, FLAG_DELETE, FLAG_GCNEW, FLAG_GCOBJECT, FLAG_SETTER, FLAG_GETTER, FLAG_ADDER};
}
|
public String[] getCreateTableSQL(Table table) {
String[] sql = super.getCreateTableSQL(table);
if (!StringUtils.isEmpty(tableType))
sql[0] = sql[0] + " TYPE = " + tableType;
return sql;
}
| public String[] getCreateTableSQL(Table table) {
String[] sql = super.getCreateTableSQL(table);
if (!StringUtils.isEmpty(tableType))
sql[0] = sql[0] + " ENGINE = " + tableType;
return sql;
}
|
public String toString()
{
final StringBuffer buffer = new StringBuffer();
buffer.append("[");
buffer.append(super.toString());
if (markupStream != null)
{
buffer.append(", markupStream = " + markupStream);
}
if (childForId != null && childForId.size() != 0)
{
buffer.append(", children = " + ... | public String toString()
{
final StringBuffer buffer = new StringBuffer();
buffer.append("[MarkupContainer super = ");
buffer.append(super.toString());
if (markupStream != null)
{
buffer.append(", markupStream = " + markupStream);
}
if (childForId != null && childForId.size() != 0)
{
buffer.a... |
public void exposeType(UnresolvedType typeToExpose) {
if (typeToExpose == ResolvedType.MISSING) return;
if (typeToExpose.isParameterizedType() || typeToExpose.isRawType()) {
if (typeToExpose instanceof ResolvedType) {
typeToExpose = ((ResolvedType)typeToExpose).getGenericType();
} else {
typeToExpose... | public void exposeType(UnresolvedType typeToExpose) {
if (ResolvedType.isMissing(typeToExpose)) return;
if (typeToExpose.isParameterizedType() || typeToExpose.isRawType()) {
if (typeToExpose instanceof ResolvedType) {
typeToExpose = ((ResolvedType)typeToExpose).getGenericType();
} else {
typeToExpose... |
public List getTypeMungers(ResolvedType onType) {
World world = onType.getWorld();
List ret = new ArrayList();
for (Iterator i = typeMungers.iterator(); i.hasNext();) {
Entry entry = (Entry) i.next();
ResolvedType aspectType = world.resolve(entry.aspectType, true);
if (aspectType == ResolvedType.MISSING... | public List getTypeMungers(ResolvedType onType) {
World world = onType.getWorld();
List ret = new ArrayList();
for (Iterator i = typeMungers.iterator(); i.hasNext();) {
Entry entry = (Entry) i.next();
ResolvedType aspectType = world.resolve(entry.aspectType, true);
if (aspectType.isMissing()) {
worl... |
protected Test findResidueInternal(Shadow shadow, ExposedState state) {
int len = shadow.getArgCount();
// do some quick length tests first
int numArgsMatchedByEllipsis = (len + arguments.ellipsisCount) - arguments.size();
if (numArgsMatchedByEllipsis < 0) return Literal.FALSE; // should never happen
if (... | protected Test findResidueInternal(Shadow shadow, ExposedState state) {
int len = shadow.getArgCount();
// do some quick length tests first
int numArgsMatchedByEllipsis = (len + arguments.ellipsisCount) - arguments.size();
if (numArgsMatchedByEllipsis < 0) return Literal.FALSE; // should never happen
if (... |
private Test findResidueNoEllipsis(Shadow shadow, ExposedState state, TypePattern[] patterns) {
ResolvedType[] argumentsToMatchAgainst = getArgumentsToMatchAgainst(shadow);
int len = argumentsToMatchAgainst.length;
//System.err.println("boudn to : " + len + ", " + patterns.length);
if (patterns.length != len) ... | private Test findResidueNoEllipsis(Shadow shadow, ExposedState state, TypePattern[] patterns) {
ResolvedType[] argumentsToMatchAgainst = getArgumentsToMatchAgainst(shadow);
int len = argumentsToMatchAgainst.length;
//System.err.println("boudn to : " + len + ", " + patterns.length);
if (patterns.length != len) ... |
public void resolve(IScope scope) {
patterns = patterns.resolveBindings(scope, Bindings.NONE, false, false);
boolean seenStar = false;
for (int i=0; i < patterns.size(); i++) {
TypePattern pi = patterns.get(i);
if (pi.isStar()) {
if (seenStar) {
scope.getWorld().show... | public void resolve(IScope scope) {
patterns = patterns.resolveBindings(scope, Bindings.NONE, false, false);
boolean seenStar = false;
for (int i=0; i < patterns.size(); i++) {
TypePattern pi = patterns.get(i);
if (pi.isStar()) {
if (seenStar) {
scope.getWorld().show... |
public void resolve(IScope scope) {
exception = exception.resolveBindings(scope, null, false, true);
ResolvedType excType = exception.getExactType().resolve(scope.getWorld());
if (excType != ResolvedType.MISSING) {
if (excType.isTypeVariableReference()) {
// a declare soft in a generic a... | public void resolve(IScope scope) {
exception = exception.resolveBindings(scope, null, false, true);
ResolvedType excType = exception.getExactType().resolve(scope.getWorld());
if (!excType.isMissing()) {
if (excType.isTypeVariableReference()) {
// a declare soft in a generic abstract asp... |
protected boolean couldEverMatchSameTypesAs(TypePattern other) {
if (super.couldEverMatchSameTypesAs(other)) return true;
// false is necessary but not sufficient
UnresolvedType otherType = other.getExactType();
if (otherType != ResolvedType.MISSING) {
return type.equals(otherType);
}
if (other instanc... | protected boolean couldEverMatchSameTypesAs(TypePattern other) {
if (super.couldEverMatchSameTypesAs(other)) return true;
// false is necessary but not sufficient
UnresolvedType otherType = other.getExactType();
if (!ResolvedType.isMissing(otherType)) {
return type.equals(otherType);
}
if (other instan... |
public Object visit(ReferencePointcut node, Object data) {
// && pc_ref()
// we know there is no support for binding in perClause: perthis(pc_ref(java.lang.String))
// TODO AV - may need some work for generics..
ResolvedPointcutDefinition pointcutDec;
ResolvedType searchStar... | public Object visit(ReferencePointcut node, Object data) {
// && pc_ref()
// we know there is no support for binding in perClause: perthis(pc_ref(java.lang.String))
// TODO AV - may need some work for generics..
ResolvedPointcutDefinition pointcutDec;
ResolvedType searchStar... |
protected FuzzyBoolean matchInternal(Shadow shadow) {
ResolvedType enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true);
if (enclosingType == ResolvedType.MISSING) {
//PTWIMPL ?? Add a proper message
IMessage msg = new Message(
"Cant find type pertypewithin matchi... | protected FuzzyBoolean matchInternal(Shadow shadow) {
ResolvedType enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true);
if (enclosingType.isMissing()) {
//PTWIMPL ?? Add a proper message
IMessage msg = new Message(
"Cant find type pertypewithin matching...",
... |
public final FuzzyBoolean matches(ResolvedType type, MatchKind kind) {
FuzzyBoolean typeMatch = null;
//??? This is part of gracefully handling missing references
if (type == ResolvedType.MISSING) return FuzzyBoolean.NO;
| public final FuzzyBoolean matches(ResolvedType type, MatchKind kind) {
FuzzyBoolean typeMatch = null;
//??? This is part of gracefully handling missing references
if (type.isMissing()) return FuzzyBoolean.NO;
|
public Collection getExactTypes() {
ArrayList ret = new ArrayList();
for (int i=0; i<typePatterns.length; i++) {
UnresolvedType t = typePatterns[i].getExactType();
if (t != ResolvedType.MISSING) ret.add(t);
}
return ret;
}
| public Collection getExactTypes() {
ArrayList ret = new ArrayList();
for (int i=0; i<typePatterns.length; i++) {
UnresolvedType t = typePatterns[i].getExactType();
if (!ResolvedType.isMissing(t)) ret.add(t);
}
return ret;
}
|
protected FuzzyBoolean matchInternal(Shadow shadow) {
ResolvedType enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true);
if (enclosingType == ResolvedType.MISSING) {
shadow.getIWorld().getLint().cantFindType.signal(
new String[] {WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_WIT... | protected FuzzyBoolean matchInternal(Shadow shadow) {
ResolvedType enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true);
if (enclosingType.isMissing()) {
shadow.getIWorld().getLint().cantFindType.signal(
new String[] {WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_WITHINPCD,
... |
protected FuzzyBoolean matchInternal(Shadow shadow) {
ResolvedType enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true);
if (enclosingType == ResolvedType.MISSING) {
shadow.getIWorld().getLint().cantFindType.signal(
new String[] {WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_WIT... | protected FuzzyBoolean matchInternal(Shadow shadow) {
ResolvedType enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true);
if (enclosingType.isMissing()) {
shadow.getIWorld().getLint().cantFindType.signal(
new String[] {WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_WITHINPCD,
... |
public void testAround2Tjp() throws IOException {
ResolvedType rtx = world.resolve(UnresolvedType.forName("Aspect"),true);
assertTrue("Couldnt find type Aspect",rtx!=ResolvedType.MISSING);
BcelAdvice munger1 = new BcelAdvice(
AdviceKind.stringToKind("around"),
makePointcutAll(),
... | public void testAround2Tjp() throws IOException {
ResolvedType rtx = world.resolve(UnresolvedType.forName("Aspect"),true);
assertTrue("Couldnt find type Aspect",!rtx.isMissing());
BcelAdvice munger1 = new BcelAdvice(
AdviceKind.stringToKind("around"),
makePointcutAll(),
MemberImp... |
public Class getObjectIdFieldType() {
ClassMetaData relmeta = getDeclaredTypeMetaData();
if (relmeta == null)
return getDeclaredType();
switch (relmeta.getIdentityType()) {
case ClassMetaData.ID_DATASTORE:
boolean unwrap = getRepository().getMetaDataFa... | public Class getObjectIdFieldType() {
ClassMetaData relmeta = getDeclaredTypeMetaData();
if (relmeta == null || getValue().isEmbedded())
return getDeclaredType();
switch (relmeta.getIdentityType()) {
case ClassMetaData.ID_DATASTORE:
boolean unwrap = ge... |
public ExceptionErrorPage(final Throwable throwable, final Page page)
{
// Add exception label
add(new MultiLineLabel("exception", Strings.toString(throwable)));
// Get values
String resource = "";
String markup = "";
MarkupStream markupStream = null;
if (throwable instanceof MarkupException)
{
m... | public ExceptionErrorPage(final Throwable throwable, final Page page)
{
// Add exception label
add(new MultiLineLabel("exception", Strings.toString(throwable)));
// Get values
String resource = "";
String markup = "";
MarkupStream markupStream = null;
if (throwable instanceof MarkupException)
{
m... |
public Set<Type> getSuperTypes() {
if (superTypes == null) {
superTypes = new HashSet<Type>();
List<Classifier> all = new ArrayList<Classifier>(stereoType.getExtendedMetaclasses());
all.addAll(stereoType.getSuperClasses());
for (Classifier classifier : all) {... | public Set<Type> getSuperTypes() {
if (superTypes == null) {
superTypes = new HashSet<Type>();
List<Classifier> all = new ArrayList<Classifier>(stereoType.getExtendedMetaclasses());
all.addAll(stereoType.getSuperClasses());
for (Classifier classifier : all) {... |
public void setFont (Font font) {
checkWidget ();
if (caret != null) caret.setFont (font);
super.setFont (font);
}
int /*long*/ windowProc (int /*long*/ hwnd, int msg, int /*long*/ wParam, int /*long*/ lParam) {
if (msg == Display.SWT_RESTORECARET) {
if ((state & CANVAS) != 0) {
if (caret != null) {
caret... | public void setFont (Font font) {
checkWidget ();
if (caret != null) caret.setFont (font);
super.setFont (font);
}
int /*long*/ windowProc (int /*long*/ hwnd, int msg, int /*long*/ wParam, int /*long*/ lParam) {
if (msg == Display.SWT_RESTORECARET) {
if ((state & CANVAS) != 0) {
if (caret != null) {
caret... |
public AbstractTextComponent(MarkupContainer parent, String id)
{
super(parent, id);
setConvertEmptyInputStringToNull(true);
}
/**
* @see wicket.Component#Component(MarkupContainer,String, IModel)
*/
AbstractTextComponent(MarkupContainer parent, final String id, final IModel model)
{
super(parent, id, ... | public AbstractTextComponent(MarkupContainer parent, String id)
{
super(parent, id);
setConvertEmptyInputStringToNull(true);
}
/**
* @see wicket.Component#Component(MarkupContainer,String, IModel)
*/
AbstractTextComponent(MarkupContainer parent, final String id, final IModel<T> model)
{
super(parent, i... |
public static final IRequestCycleSettings.RenderStrategy REDIRECT_TO_RENDER = new IRequestCycleSettings.RenderStrategy(
"CLIENT_SIDE_REDIRECT");
/**
* Adds a response filter to the list. Filters are evaluated in the order
* they have been added.
*
* @param responseFilter
* The {@link IRespon... | public static final IRequestCycleSettings.RenderStrategy REDIRECT_TO_RENDER = new IRequestCycleSettings.RenderStrategy(
"CLIENT_SIDE_REDIRECT");
/**
* Adds a response filter to the list. Filters are evaluated in the order
* they have been added.
*
* @param responseFilter
* The {@link IRespon... |
List<IStringResourceLoader> getStringResourceLoaders();
package wicket.settings;
import java.util.List;
import java.util.Locale;
import wicket.IResourceFactory;
import wicket.Localizer;
import wicket.model.IModel;
import wicket.resource.IPropertiesFactory;
import wicket.resource.loader.IStringResourceLoader;
import ... | List<IStringResourceLoader> getStringResourceLoaders();
package wicket.settings;
import java.util.List;
import java.util.Locale;
import wicket.IResourceFactory;
import wicket.Localizer;
import wicket.model.IModel;
import wicket.resource.IPropertiesFactory;
import wicket.resource.loader.IStringResourceLoader;
import ... |
public Object getFieldValue(Field field, Object fieldOwner)
{
if (field.isAnnotationPresent(SpringBean.class))
{
SpringBeanLocator locator = new SpringBeanLocator(getBeanName(field), field.getType(),
contextLocator);
// only check the cache if the bean is a singleton
Object cachedValue = cache.get(... | public Object getFieldValue(Field field, Object fieldOwner)
{
if (supportsField(field))
{
SpringBeanLocator locator = new SpringBeanLocator(getBeanName(field), field.getType(),
contextLocator);
// only check the cache if the bean is a singleton
Object cachedValue = cache.get(locator);
if (cached... |
package wicket.extensions.markup.html.tree;
/*
* $Id$ $Revision$ $Date$
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
... | package wicket.extensions.markup.html.tree;
/*
* $Id$ $Revision$ $Date$
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
... |
public void testPath() {
executeTarget("testPath");
assertPropertyContains("testPath", "to-url.xml");
}
| public void testPath() {
executeTarget("testPath");
assertPropertyContains("testPath", "makeurl.xml");
}
|
private static final List VALID_XLINT;
static {
String[] xs = new String[]
{ "serializableAspects", "incrementalFile"
//, "targetNearSource", "OcodeSize",
};
VALID_XOPTIONS = Collections.unmodifiableList(Arrays.asList(xs));
xs = new ... | private static final List VALID_XLINT;
static {
String[] xs = new String[]
{ "serializableAspects", "incrementalFile"
//, "targetNearSource", "OcodeSize",
};
VALID_XOPTIONS = Collections.unmodifiableList(Arrays.asList(xs));
xs = new ... |
protected Sampler nextIsNull() throws NextIsNullException {
reInitialize();
if (endOfLoop()) {
if (!getContinueForever()) {
setDone(true);
} else {
resetLoopCount();
}
return null;
} else {
return doNext();
}
}
| protected Sampler nextIsNull() throws NextIsNullException {
reInitialize();
if (endOfLoop()) {
if (!getContinueForever()) {
setDone(true);
} else {
resetLoopCount();
}
return null;
} else {
return next();
}
}
|
public void loadExistingFile() throws IOException {
// inLoading = true;
boolean parsedOK = false;
if (new File(getFilename()).exists()) {
clearVisualizer();
BufferedReader dataReader = null;
try {
readSamples(SaveService.loadTestResults(new BufferedInputStream(new FileInputStream(getFilename()))));... | public void loadExistingFile() throws IOException {
// inLoading = true;
boolean parsedOK = false;
if (new File(getFilename()).exists()) {
clearVisualizer();
BufferedReader dataReader = null;
try {
readSamples(SaveService.loadTestResults(new BufferedInputStream(new FileInputStream(getFilename()))));... |
private static void checkVersions() {
versionsOK = true;
checkVersion(BooleanPropertyConverter.class, "1.5");
checkVersion(HashTreeConverter.class, "1.3");
checkVersion(IntegerPropertyConverter.class, "1.4");
checkVersion(LongPropertyConverter.class, "1.4");
checkVersion(MultiPropertyConverter.class, "1.4"... | private static void checkVersions() {
versionsOK = true;
checkVersion(BooleanPropertyConverter.class, "1.5");
checkVersion(HashTreeConverter.class, "1.3");
checkVersion(IntegerPropertyConverter.class, "1.4");
checkVersion(LongPropertyConverter.class, "1.4");
checkVersion(MultiPropertyConverter.class, "1.4"... |
public static final String DEFAULT_PARSER =
"org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser"; // $NON-NLS-1$
| public static final String DEFAULT_PARSER =
"org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser"; // $NON-NLS-1$
|
public void callAsynch(IRemoteCall call, IRemoteCallListener listener) {
// TODO Auto-generated method stub
}
| public void callAsynch(IRemoteCall call, IRemoteCallListener listener) {
sharedObject.sendCallRequestWithListener(registration, call, listener);
}
|
public void testRequestWithIndexedParamsAndQueryString()
{
final WebRequestCycle cycle = tester.setupRequestAndResponse();
final PageParameters params = new PageParameters();
params.add("0", "param0");
params.add("1", "param1");
params.put("test", new String[] { "testval1", "testval2" });
params.add("foo... | public void testRequestWithIndexedParamsAndQueryString()
{
final WebRequestCycle cycle = tester.setupRequestAndResponse();
final PageParameters params = new PageParameters();
params.add("0", "param0");
params.add("1", "param1");
params.put("test", new String[] { "testval1", "testval2" });
params.add("foo... |
public Image(final String id, final ImageResource imageResource)
{
super(id);
this.localizedImageResource.setImageResource(imageResource);
}
| public Image(final String id, final ImageResource imageResource)
{
super(id);
setImageResource(imageResource);
}
|
public int execute( final ExecMetaData command,
final InputStream input,
final OutputStream output,
final OutputStream error,
final long timeout )
throws IOException, ExecException
{
final CommandLaun... | public int execute( final ExecMetaData command,
final InputStream input,
final OutputStream output,
final OutputStream error,
final long timeout )
throws IOException, ExecException
{
final CommandLaun... |
protected void update(OpenJPAStateManager sm, Row row)
throws SQLException {
byte[] b = (byte[]) sm.getImplData(field.getIndex());
if (b == null || b.length > _maxSize)
row.setNull(field.getColumns()[0], true);
else {
sm.setImplData(field.getIndex(), null);
... | protected void update(OpenJPAStateManager sm, Row row)
throws SQLException {
byte[] b = (byte[]) sm.getImplData(field.getIndex());
if (b == null || (b.length > _maxSize && !field.getColumns()[0].isNotNull()))
row.setNull(field.getColumns()[0], true);
else {
sm... |
protected void update(OpenJPAStateManager sm, Row row)
throws SQLException {
byte[] b = PrimitiveWrapperArrays.toByteArray(sm.fetchObject
(field.getIndex()));
if (b == null || b.length > _maxSize)
row.setBytes(field.getColumns()[0], null);
else
row... | protected void update(OpenJPAStateManager sm, Row row)
throws SQLException {
byte[] b = PrimitiveWrapperArrays.toByteArray(sm.fetchObject
(field.getIndex()));
if (b == null || (b.length > _maxSize && !field.getColumns()[0].isNotNull()))
row.setBytes(field.getColumns()... |
protected void update(OpenJPAStateManager sm, Row row)
throws SQLException {
String s = sm.fetchString(field.getIndex());
if (s == null || s.length() > _maxSize)
row.setNull(field.getColumns()[0], true);
else
row.setString(field.getColumns()[0], s);
}
| protected void update(OpenJPAStateManager sm, Row row)
throws SQLException {
String s = sm.fetchString(field.getIndex());
if (s == null || (s.length() > _maxSize && !field.getColumns()[0].isNotNull()))
row.setNull(field.getColumns()[0], true);
else
row.setStri... |
public MultipartServletWebRequestImpl(HttpServletRequest request, String filterPrefix,
Bytes maxSize) throws FileUploadException
{
this(request, filterPrefix, maxSize, new DiskFileItemFactory(Application.get()
.getResourceSettings()
.getFileUploadCleaner()));
}
| public MultipartServletWebRequestImpl(HttpServletRequest request, String filterPrefix,
Bytes maxSize) throws FileUploadException
{
this(request, filterPrefix, maxSize, new DiskFileItemFactory(Application.get()
.getResourceSettings()
.getFileCleaner()));
}
|
private static synchronized void failFast(FailFast f) {
Set s = (Set) (map.get(f.parent));
if (!s.contains(f)) {
throw new ConcurrentModificationException();
}
}
| private static synchronized void failFast(FailFast f) {
Set s = (Set) (MAP.get(f.parent));
if (!s.contains(f)) {
throw new ConcurrentModificationException();
}
}
|
public Tree (Composite parent, int style) {
super (parent, checkStyle (style));
}
static int checkStyle (int style) {
/*
* Feature in Windows. It is not possible to create
* a tree that scrolls and does not have scroll bars.
* The TVS_NOSCROLL style will remove the scroll bars
* but the tree will never scroll. ... | public Tree (Composite parent, int style) {
super (parent, checkStyle (style));
}
static int checkStyle (int style) {
/*
* Feature in Windows. It is not possible to create
* a tree that scrolls and does not have scroll bars.
* The TVS_NOSCROLL style will remove the scroll bars
* but the tree will never scroll. ... |
protected void replicaHandleChannelEvent(IChannelEvent channelEvent) {
if (channelEvent instanceof IChannelMessageEvent)
System.out.println("replica.channelMessage(" + getID() + ","
+ getLocalContainerID() + ") fromContainerID="
| protected void replicaHandleChannelEvent(IChannelEvent channelEvent) {
if (channelEvent instanceof IChannelMessageEvent)
System.out.println("replica.receiveChannelMessage(" + getID() + ","
+ getLocalContainerID() + ") fromContainerID="
|
public AssertionResult getResult(SampleResult response) {
// no error as default
AssertionResult result = new AssertionResult(getName());
byte[] responseData = response.getResponseData();
if (responseData.length == 0) {
return result.setResultForNull();
}
result.setFailure(false);
result.setFailureMes... | public AssertionResult getResult(SampleResult response) {
// no error as default
AssertionResult result = new AssertionResult(getName());
byte[] responseData = response.getResponseData();
if (responseData.length == 0) {
return result.setResultForNull();
}
result.setFailure(false);
result.setFailureMes... |
public PrinterData open() {
int[] buffer = new int[1];
if (OS.PMCreateSession(buffer) == OS.noErr) {
int printSession = buffer[0];
if (OS.PMCreatePrintSettings(buffer) == OS.noErr) {
int printSettings = buffer[0];
OS.PMSessionDefaultPrintSettings(printSession, printSettings);
if (OS.PMCreatePageFormat(bu... | public PrinterData open() {
int[] buffer = new int[1];
if (OS.PMCreateSession(buffer) == OS.noErr) {
int printSession = buffer[0];
if (OS.PMCreatePrintSettings(buffer) == OS.noErr) {
int printSettings = buffer[0];
OS.PMSessionDefaultPrintSettings(printSession, printSettings);
if (OS.PMCreatePageFormat(bu... |
protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod, HTTPSampleResult res) throws IOException {
String urlStr = u.toString();
org.apache.commons.httpclient.URI uri = new org.apache.commons.httpclient.URI(urlStr,false);
String schema = uri.getScheme();
if ((schema... | protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod, HTTPSampleResult res) throws IOException {
String urlStr = u.toString();
org.apache.commons.httpclient.URI uri = new org.apache.commons.httpclient.URI(urlStr,false);
String schema = uri.getScheme();
if ((schema... |
public static String printableFieldNamesToString(SampleSaveConfiguration saveConfig) {
StringBuffer text = new StringBuffer();
String delim = saveConfig.getDelimiter();
if (saveConfig.saveTimestamp() || (saveConfig.formatter() != null)) {
text.append(TIME_STAMP);
text.append(delim);
}
if (saveConfig.... | public static String printableFieldNamesToString(SampleSaveConfiguration saveConfig) {
StringBuffer text = new StringBuffer();
String delim = saveConfig.getDelimiter();
if (saveConfig.saveTimestamp()) {
text.append(TIME_STAMP);
text.append(delim);
}
if (saveConfig.saveTime()) {
text.append(CSV_ELA... |
public Result ifContains(String pattern)
{
return isTrue("pattern '" + pattern + "' not found in:\n" + getLastResponseAsString(),
getLastResponseAsString().toString().matches("(?s).*" + pattern + ".*"));
}
| public Result ifContains(String pattern)
{
return isTrue("pattern '" + pattern + "' not found in:\n" + getLastResponseAsString(),
getLastResponseAsString().matches("(?s).*" + pattern + ".*"));
}
|
private void requestHandlingOfResourceUrlWithEscapeStringInside()
{
tester.getRequest().setUrl(Url.parse("wicket/" + expectedResourceUrl()));
InputStream i = getClass().getClassLoader().getResourceAsStream("ParentResourceTest.js");
i = getClass().getClassLoader().getResourceAsStream("/ParentResourceTest.js");
... | private void requestHandlingOfResourceUrlWithEscapeStringInside()
{
tester.getRequest().setUrl(Url.parse("wicket/" + expectedResourceUrl()));
InputStream i = getClass().getClassLoader().getResourceAsStream("ParentResourceTest.js");
i = getClass().getClassLoader().getResourceAsStream("/ParentResourceTest.js");
... |
private void handleServiceAdded(final ServiceReference aServiceReference) {
// check if its Advertiser or Locator
final Object objectClass = aServiceReference.getProperty(Constants.OBJECTCLASS);
final boolean adv = Arrays.equals((String[]) objectClass, new String[]{Advertiser.class.getName()});
// r-OSGi al... | private void handleServiceAdded(final ServiceReference aServiceReference) {
// check if its Advertiser or Locator
final Object objectClass = aServiceReference.getProperty(Constants.OBJECTCLASS);
final boolean adv = Arrays.equals((String[]) objectClass, new String[]{Advertiser.class.getName()});
// r-OSGi al... |
public InterTypeMethodDeclaration[] getDeclaredITDMethods() {
if (this.declaredITDMethods == null) {
List<InterTypeMethodDeclaration> itdms = new ArrayList<InterTypeMethodDeclaration>();
Method[] baseMethods = clazz.getDeclaredMethods();
for (Method m : baseMethods) {
if (!m.getName().contains("ajc$inte... | public InterTypeMethodDeclaration[] getDeclaredITDMethods() {
if (this.declaredITDMethods == null) {
List<InterTypeMethodDeclaration> itdms = new ArrayList<InterTypeMethodDeclaration>();
Method[] baseMethods = clazz.getDeclaredMethods();
for (Method m : baseMethods) {
if (!m.getName().contains("ajc$inte... |
protected CharSequence encode(RequestCycle requestCycle,
IListenerInterfaceRequestTarget requestTarget)
{
final RequestListenerInterface rli = requestTarget.getRequestListenerInterface();
// Start string buffer for url
final AppendingStringBuffer url = new AppendingStringBuffer(64);
url.append('?');
url... | protected CharSequence encode(RequestCycle requestCycle,
IListenerInterfaceRequestTarget requestTarget)
{
final RequestListenerInterface rli = requestTarget.getRequestListenerInterface();
// Start string buffer for url
final AppendingStringBuffer url = new AppendingStringBuffer(64);
url.append('?');
url... |
protected Compilation compilationFromCache() {
Map compCache =
_broker.getConfiguration().getQueryCompilationCacheInstance();
if (compCache == null) {
return newCompilation();
} else {
CompilationKey key = new CompilationKey();
key.queryType = ... | protected Compilation compilationFromCache() {
Map compCache =
_broker.getConfiguration().getQueryCompilationCacheInstance();
if (compCache == null || getQueryString() == null) {
return newCompilation();
} else {
CompilationKey key = new CompilationKey();
... |
public static volatile Attribute<Account,String> owner;
} | public static volatile Attribute<Account,Person> owner;
} |
public QueryBuilder getQueryBuilder() {
return null;
}
| public QueryBuilder getQueryBuilder() {
return _emf.getQueryBuilder();
}
|
public void setData (String key, Object value) {
checkWidget();
if (key == null) error (SWT.ERROR_NULL_ARGUMENT);
int index = 1;
Object [] table = null;
if ((state & KEYED_DATA) != 0) {
table = (Object []) data;
while (index < table.length) {
if (key.equals (table [index])) break;
index += 2;
}
}
if ... | public void setData (String key, Object value) {
checkWidget();
if (key == null) error (SWT.ERROR_NULL_ARGUMENT);
int index = 1;
Object [] table = null;
if ((state & KEYED_DATA) != 0) {
table = (Object []) data;
while (index < table.length) {
if (key.equals (table [index])) break;
index += 2;
}
}
if ... |
public Table (Composite parent, int style) {
super (parent, checkStyle (style));
}
void _addListener (int eventType, Listener listener) {
super._addListener (eventType, listener);
switch (eventType) {
case SWT.MeasureItem:
case SWT.EraseItem:
case SWT.PaintItem:
setCustomDraw (true);
setBackgroundTransp... | public Table (Composite parent, int style) {
super (parent, checkStyle (style));
}
void _addListener (int eventType, Listener listener) {
super._addListener (eventType, listener);
switch (eventType) {
case SWT.MeasureItem:
case SWT.EraseItem:
case SWT.PaintItem:
setCustomDraw (true);
setBackgroundTransp... |
protected void renderCollection(Set<ResourceReferenceAndStringData> alreadyRendered, K key,
R coll)
{
for (ResourceReferenceAndStringData data : coll)
{
ResourceReference ref = data.getReference();
if (ref instanceof AbstractResourceDependentResourceReference)
{
AbstractResourceDependentResourceRef... | protected void renderCollection(Set<ResourceReferenceAndStringData> alreadyRendered, K key,
R coll)
{
for (ResourceReferenceAndStringData data : coll)
{
ResourceReference ref = data.getReference();
if (ref instanceof AbstractResourceDependentResourceReference)
{
AbstractResourceDependentResourceRef... |
public void testMethodSignatureParsingInJDK() throws Exception{
SyntheticRepository repository = SyntheticRepository.getInstance();
String[] testClasses = new String[] {
"java.lang.Comparable",
"java.lang.Iterable",
"java.lang.Class",
"java.lang.Enum",
"java.lang.InheritableThreadLocal",
"java.la... | public void testMethodSignatureParsingInJDK() throws Exception{
SyntheticRepository repository = SyntheticRepository.getInstance();
String[] testClasses = new String[] {
"java.lang.Comparable",
"java.lang.Iterable",
"java.lang.Class",
"java.lang.Enum",
"java.lang.InheritableThreadLocal",
"java.la... |
protected final String getJsTimeoutCall(final long millis)
{
return "setTimeout(function() { " + buildAjaxCall() + " }, " + millis + ");";
}
| protected final String getJsTimeoutCall(final long millis)
{
return "setTimeout(function() { wicketAjaxGet('" + getCallbackUrl() + "'); }, " + millis + ");";
}
|
protected String getEventHandler()
{
return "var ret="+super.getEventHandler()+"return !ret;";
}
});
}
| protected String getEventHandler()
{
return "return !"+super.getEventHandler();
}
});
}
|
implements DataType, TestRole1
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.myrmidon.c... | implements DataType, TestRole1
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.myrmidon.c... |
private boolean validatePage1(String document)
{
HtmlDocumentValidator validator = new HtmlDocumentValidator();
Tag html = new Tag("html");
Tag head = new Tag("head");
html.addExpectedChild(head);
Tag title = new Tag("title");
head.addExpectedChild(title);
title.addExpectedChild(new TextContent("Paged T... | private boolean validatePage1(String document)
{
HtmlDocumentValidator validator = new HtmlDocumentValidator();
Tag html = new Tag("html");
Tag head = new Tag("head");
html.addExpectedChild(head);
Tag title = new Tag("title");
head.addExpectedChild(title);
title.addExpectedChild(new TextContent("Paged T... |
public <X> void populate(AbstractManagedType<X> type) {
Class<X> cls = type.getJavaType();
Class<?> mcls = repos.getMetaModel(cls, true);
if (mcls == null)
return;
StaticMetamodel anno = mcls.getAnnotation(StaticMetamodel.class);
if (anno == null)
throw new IllegalArgumentException... | public <X> void populate(AbstractManagedType<X> type) {
Class<X> cls = type.getJavaType();
Class<?> mcls = repos.getMetaModel(cls, true);
if (mcls == null)
return;
StaticMetamodel anno = mcls.getAnnotation(StaticMetamodel.class);
if (anno == null)
throw new IllegalArgumentException... |
import org.apache.avalon.framework.logger.Logger;
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apa... | import org.apache.avalon.framework.logger.Logger;
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apa... |
public void execute()
throws TaskException
{
try
{
getProject().setLogger( getLogger() );
getProject().contextualize( getContext() );
getProject().init();
getTask().setProject( getProject() );
getTask().init();
getT... | public void execute()
throws TaskException
{
try
{
getProject().enableLogging( getLogger() );
getProject().contextualize( getContext() );
getProject().init();
getTask().setProject( getProject() );
getTask().init();
... |
public void setVisible (boolean visible) {
checkWidget();
parent.setScrollbarVisible (this, visible);
}
| public void setVisible (boolean visible) {
checkWidget();
parent.setScrollBarVisible (this, visible);
}
|
public final void onValidate(final FormComponent formComponent, final String value)
{
// Check value only if form component can take on a null value
if (formComponent.isInputNullable())
{
// Check value
if (Strings.isEmpty(value))
{
error(formComponent);
}
}
}
| public final void onValidate(final FormComponent formComponent, final String value)
{
// Check value only if form component can take on a null value
if (formComponent.isEnabled())
{
// Check value
if (Strings.isEmpty(value))
{
error(formComponent);
}
}
}
|
public synchronized void threadFinished(JMeterThread thread) {
try {
allThreads.remove(thread);
log.info("Ending thread " + thread.getThreadNum());
if (!serialized && allThreads.size() == 0 && !schcdule_run) {
log.info("Stopping test");
stopTest();
... | public synchronized void threadFinished(JMeterThread thread) {
try {
allThreads.remove(thread);
log.info("Ending thread " + thread.getThreadName());
if (!serialized && allThreads.size() == 0 && !schcdule_run) {
log.info("Stopping test");
stopTest();
... |
public WicketExamplePage(IModel model)
{
super(model);
final String packageName = getClass().getPackage().getName();
add(new WicketExampleHeader("mainNavigation", Strings.afterLast(packageName, '.'), this));
explain();
}
| public WicketExamplePage(IModel model)
{
super(model);
final String packageName = getClass().getPackage().getName();
add(new WicketExampleHeader(this,"mainNavigation", Strings.afterLast(packageName, '.'), this));
explain();
}
|
public ClockPage()
{
// add the clock component
Clock clock = new Clock("clock", TimeZone.getTimeZone("America/Los_Angeles"));
add(clock);
// add the ajax behavior which will keep updating the component every 5
// seconds
clock.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));
}
| public ClockPage()
{
// add the clock component
Clock clock = new Clock(this,"clock", TimeZone.getTimeZone("America/Los_Angeles"));
add(clock);
// add the ajax behavior which will keep updating the component every 5
// seconds
clock.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));
}
|
public Index()
{
// normal link instead of an autolink as it looks a bit weird to refer
// to PageWithCustomLoading.html while the template has got a very
// different name (CustomLoadedTemplate.html)
add(new BookmarkablePageLink("customLoadingPageLink", PageWithCustomLoading.class));
}
| public Index()
{
// normal link instead of an autolink as it looks a bit weird to refer
// to PageWithCustomLoading.html while the template has got a very
// different name (CustomLoadedTemplate.html)
add(new BookmarkablePageLink(this,"customLoadingPageLink", PageWithCustomLoading.class));
}
|
public Page3(PageParameters parameters)
{
add(new Label("id", parameters.getString("id")));
}
| public Page3(PageParameters parameters)
{
add(new Label(this,"id", parameters.getString("id")));
}
|
public Home(final PageParameters parameters)
{
add(new Label("message", "Hello world! Test: äöü"));
}
| public Home(final PageParameters parameters)
{
add(new Label(this,"message", "Hello world! Test: äöü"));
}
|
public Home(final PageParameters parameters)
{
final String word = parameters.getString("word");
if (word == null)
{
getGame().newGame(5, new WordGenerator());
}
else
{
getGame().newGame(5, new WordGenerator(new String[] { word }));
}
add(new PageLink("start", Guess.class));
}
| public Home(final PageParameters parameters)
{
final String word = parameters.getString("word");
if (word == null)
{
getGame().newGame(5, new WordGenerator());
}
else
{
getGame().newGame(5, new WordGenerator(new String[] { word }));
}
add(new PageLink(this,"start", Guess.class));
}
|
public HelloWorld()
{
add(new Label("message", "Hello World!"));
}
| public HelloWorld()
{
add(new Label(this,"message", "Hello World!"));
}
|
public AuthenticatedWebPage()
{
// Create border and add it to the page
border = new LibraryApplicationBorder("border");
border.setTransparentResolver(true);
super.add(border);
}
| public AuthenticatedWebPage()
{
// Create border and add it to the page
border = new LibraryApplicationBorder(this,"border");
border.setTransparentResolver(true);
super.add(border);
}
|
public BookDetails(final Book book)
{
add(new Label("title", book.getTitle()));
}
| public BookDetails(final Book book)
{
add(new Label(this,"title", book.getTitle()));
}
|
public Page3(PageParameters parameters)
{
add(new Label("bookmarkparameter", parameters.getString("bookmarkparameter")));
}
| public Page3(PageParameters parameters)
{
add(new Label(this,"bookmarkparameter", parameters.getString("bookmarkparameter")));
}
|
public Popup()
{
add(new PopupCloseLink("close"));
}
| public Popup()
{
add(new PopupCloseLink(this,"close"));
}
|
public Page1()
{
add(new NavomaticBorder("navomaticBorder"));
}
| public Page1()
{
add(new NavomaticBorder(this,"navomaticBorder"));
}
|
public Page2()
{
add(new NavomaticBorder("navomaticBorder"));
}
| public Page2()
{
add(new NavomaticBorder(this,"navomaticBorder"));
}
|
public Page3()
{
add(new NavomaticBorder("navomaticBorder"));
}
| public Page3()
{
add(new NavomaticBorder(this,"navomaticBorder"));
}
|
public Page1(PageParameters parameters)
{
add(new BookmarkablePageLink("homeLink", Home.class));
}
| public Page1(PageParameters parameters)
{
add(new BookmarkablePageLink(this,"homeLink", Home.class));
}
|
public Page3(PageParameters parameters)
{
add(new BookmarkablePageLink("homeLink", Home.class));
}
| public Page3(PageParameters parameters)
{
add(new BookmarkablePageLink(this,"homeLink", Home.class));
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.