buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
public String getSignature() {
if (memberView!=null) return memberView.getSignature();
return Member.typesToSignature(BcelWorld.fromBcel(getReturnType()),
BcelWorld.fromBcel(getArgumentTypes()));
}
| public String getSignature() {
if (memberView!=null) return memberView.getSignature();
return Member.typesToSignature(BcelWorld.fromBcel(getReturnType()),
BcelWorld.fromBcel(getArgumentTypes()),false);
}
|
private void checkWeave(
String label,
String filename,
String pointcutSource,
String[] formalTypes,
String[] formalNames)
throws IOException
{
final Pointcut sp = Pointcut.fromString(pointcutSource);
final Pointcut rp =
sp.resolve(
... | private void checkWeave(
String label,
String filename,
String pointcutSource,
String[] formalTypes,
String[] formalNames)
throws IOException
{
final Pointcut sp = Pointcut.fromString(pointcutSource);
final Pointcut rp =
sp.resolve(
... |
public void drawBackground (GC gc, int x, int y, int width, int height) {
checkWidget ();
if (gc == null) error (SWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
RECT rect = new RECT ();
OS.SetRect (rect, x, y, x + width, y + height);
int hDC = gc.handle;
int pixel = background... | public void drawBackground (GC gc, int x, int y, int width, int height) {
checkWidget ();
if (gc == null) error (SWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
RECT rect = new RECT ();
OS.SetRect (rect, x, y, x + width, y + height);
int hDC = gc.handle;
int pixel = background... |
public Schema importSchema(Schema schema) {
if (schema == null)
return null;
Schema copy = addSchema(schema.getName());
Sequence[] seqs = schema.getSequences();
for (int i = 0; i < seqs.length; i++)
copy.importSequence(seqs[i]);
Table[] tables = sche... | public Schema importSchema(Schema schema) {
if (schema == null)
return null;
Schema copy = addSchema(schema.getName());
Sequence[] seqs = schema.getSequences();
for (int i = 0; i < seqs.length; i++)
copy.importSequence(seqs[i]);
Table[] tables = sche... |
public AllTestsSuite() {
super("All Vex Test Suites"); //$NON-NLS-1$
addTest(VEXCoreTestSuite.suite());
// addTest(VexUiTestSuite.suite());
// addTestSuite(IconTest.class);
addTestSuite(ResourceTrackerTest.class);
addTestSuite(FindReplaceTargetTest.class);
}
| public AllTestsSuite() {
super("All VEX Test Suites"); //$NON-NLS-1$
addTest(VEXCoreTestSuite.suite());
// addTest(VexUiTestSuite.suite());
// addTestSuite(IconTest.class);
addTestSuite(ResourceTrackerTest.class);
addTestSuite(FindReplaceTargetTest.class);
}
|
protected void init()
{
if (this.getWicketServlet().getServletContext().getInitParameter("deployment") != null)
{
// Use deployment settings
getSettings().configure(getWicketServlet().getServletContext(),"deployment");
}
else
{
// Use development settings
get... | protected void init()
{
if (this.getWicketServlet().getServletContext().getInitParameter("deployment") != null)
{
// Use deployment settings
getSettings().configure(getWicketServlet().getServletContext(),"deployment");
}
else
{
// Use development settings
get... |
protected void addBookmarkablePageParameters(Request request, RequestParameters parameters)
{
String pageClass = request.getParameter("bookmarkablePage");
parameters.setBookmarkablePageClass(pageClass);
parameters.setParameters(request.getParameterMap());
}
| protected void addBookmarkablePageParameters(Request request, RequestParameters parameters)
{
String pageClass = request.getParameter(PageParameters.BOOKMARKABLE_PAGE);
parameters.setBookmarkablePageClass(pageClass);
parameters.setParameters(request.getParameterMap());
}
|
public ServiceInfoTest(Namespace namespace) {
uri = DiscoveryTestHelper.createDefaultURI();
priority = DiscoveryTestHelper.PRIORITY;
weight = DiscoveryTestHelper.WEIGHT;
serviceProperties = new ServiceProperties();
serviceProperties.setProperty("foobar", new String("foobar"));
serviceProperties.setProperty... | public ServiceInfoTest(Namespace namespace) {
uri = DiscoveryTestHelper.createDefaultURI(DiscoveryTestHelper.HOSTNAME);
priority = DiscoveryTestHelper.PRIORITY;
weight = DiscoveryTestHelper.WEIGHT;
serviceProperties = new ServiceProperties();
serviceProperties.setProperty("foobar", new String("foobar"));
s... |
public void disconnect() {
ID groupID = getConnectedID();
fireContainerEvent(new ContainerDisconnectingEvent(this
.getID(), groupID));
synchronized (getConnectLock()) {
// If we are currently connected
if (isConnected()) {
ISynchAsynchConnection conn = getConnection();
synchronized (conn) {
... | public void disconnect() {
ID groupID = getConnectedID();
fireContainerEvent(new ContainerDisconnectingEvent(this
.getID(), groupID));
synchronized (getConnectLock()) {
// If we are currently connected
if (isConnected()) {
ISynchAsynchConnection conn = getConnection();
synchronized (conn) {
... |
+ "/servicepublication";
} | + "/servicepublication"; //$NON-NLS-1$
} |
public void tearDown() throws Exception {
if ("true".equals(System.getProperty("meminfo", "true")))
printMemoryInfo();
super.tearDown();
}
| public void tearDown() throws Exception {
if ("true".equals(System.getProperty("meminfo")))
printMemoryInfo();
super.tearDown();
}
|
public Object[] checkAttributes(Element element, boolean isGlobal,
XSDocumentInfo schemaDoc) {
if (element == null)
return null;
// update NamespaceSupport
resolveNamespace(element, schemaDoc.fNamespaceSupport);
String uri = DOMUtil.ge... | public Object[] checkAttributes(Element element, boolean isGlobal,
XSDocumentInfo schemaDoc) {
if (element == null)
return null;
// update NamespaceSupport
resolveNamespace(element, schemaDoc.fNamespaceSupport);
String uri = DOMUtil.ge... |
public static Test suite() {
TestSuite suite = new TestSuite("Test for org.aspectj.weaver");
//$JUnit-BEGIN$
suite.addTestSuite(Jdk14TraceFactoryTest.class);
suite.addTestSuite(Jdk14TraceTest.class);
//$JUnit-END$
return suite;
}
| public static Test suite() {
TestSuite suite = new TestSuite(AllTracing5Tests.class.getName());
//$JUnit-BEGIN$
suite.addTestSuite(Jdk14TraceFactoryTest.class);
suite.addTestSuite(Jdk14TraceTest.class);
//$JUnit-END$
return suite;
}
|
public void execute() throws BuildException {
if (dir == null) {
throw new BuildException("dir attribute is required", location);
}
if (dir.isFile()) {
throw new BuildException("Unable to create directory as a file already exists with that name: " + dir.getAbsolutePa... | public void execute() throws BuildException {
if (dir == null) {
throw new BuildException("dir attribute is required", location);
}
if (dir.isFile()) {
throw new BuildException("Unable to create directory as a file already exists with that name: " + dir.getAbsolutePa... |
protected String getOnClickScript(String url)
{
return "new Ajax.Updater('counter', '" + urlFor(ILinkListener.class)
+ "', {method:'get'}); return false;";
}
});
// Add the label
add(counter = new Label("counter", new PropertyModel(this, "count")));
}
| protected String getOnClickScript(String url)
{
return "new Ajax.Updater('counter', '" + urlFor(ILinkListener.INTERFACE)
+ "', {method:'get'}); return false;";
}
});
// Add the label
add(counter = new Label("counter", new PropertyModel(this, "count")));
}
|
public final String getCallbackUrl()
{
if (getComponent() == null)
{
throw new IllegalArgumentException(
"Behavior must be bound to a component to create the URL");
}
if (!(this instanceof IBehaviorListener))
{
throw new IllegalArgumentException(
"The behavior must implement IBehaviorListen... | public final String getCallbackUrl()
{
if (getComponent() == null)
{
throw new IllegalArgumentException(
"Behavior must be bound to a component to create the URL");
}
if (!(this instanceof IBehaviorListener))
{
throw new IllegalArgumentException(
"The behavior must implement IBehaviorListen... |
protected final String getURL()
{
if (resourceReference != null)
{
resourceReference.setLocale(getLocale());
resourceReference.setStyle(getStyle());
resourceReference.bind(getApplication());
return getRequestCycle().urlFor(resourceReference);
}
return urlFor(IResourceListener.class);
}
| protected final String getURL()
{
if (resourceReference != null)
{
resourceReference.setLocale(getLocale());
resourceReference.setStyle(getStyle());
resourceReference.bind(getApplication());
return getRequestCycle().urlFor(resourceReference);
}
return urlFor(Resource.RESOURCE_LISTENER_INTERFACE);
... |
public RedirectPage(final Page page, final int waitBeforeRedirectInSeconds)
{
this(page.urlFor(IRedirectListener.class), waitBeforeRedirectInSeconds);
}
| public RedirectPage(final Page page, final int waitBeforeRedirectInSeconds)
{
this(page.urlFor(IRedirectListener.INTERFACE), waitBeforeRedirectInSeconds);
}
|
public final void addComponent(Component component, String markupId)
{
if (Strings.isEmpty(markupId))
{
throw new IllegalArgumentException("markupId cannot be empty");
}
if (component == null)
{
throw new IllegalArgumentException("component cannot be null");
}
else if (component instanceof Page)
... | public final void addComponent(Component component, String markupId)
{
if (Strings.isEmpty(markupId))
{
throw new IllegalArgumentException("markupId cannot be empty");
}
if (component == null)
{
throw new IllegalArgumentException("component cannot be null");
}
else if (component instanceof Page)
... |
public void testMarkupNotFoundInformationIsCachedInDeploymentMode()
{
Markup markup = cache.getMarkup(component, null, false);
assertEquals(Markup.NO_MARKUP, markup);
markup = cache.getMarkup(component, null, false);
assertEquals(Markup.NO_MARKUP, markup);
}
| public void testMarkupNotFoundInformationIsCachedInDeploymentMode()
{
IMarkupFragment markup = cache.getMarkup(component, null, false);
assertEquals(Markup.NO_MARKUP, markup);
markup = cache.getMarkup(component, null, false);
assertEquals(Markup.NO_MARKUP, markup);
}
|
public Time getDateHeader(String name)
{
long value = httpServletRequest.getDateHeader(name);
if (value == -1)
{
return null;
}
return Time.valueOf(value);
}
| public Time getDateHeader(String name)
{
long value = httpServletRequest.getDateHeader(name);
if (value == -1)
{
return null;
}
return Time.millis(value);
}
|
private String cookieToDebugString(final Cookie cookie)
{
return "[Cookie " + " name = " + cookie.getName() + ", value = " + cookie.getValue() +
", domain = " + cookie.getDomain() + ", path = " + cookie.getPath() + ", maxAge = " +
Time.valueOf(cookie.getMaxAge()).toDateString() + "(" + cookie.getMaxAge() + ")... | private String cookieToDebugString(final Cookie cookie)
{
return "[Cookie " + " name = " + cookie.getName() + ", value = " + cookie.getValue() +
", domain = " + cookie.getDomain() + ", path = " + cookie.getPath() + ", maxAge = " +
Time.millis(cookie.getMaxAge()).toDateString() + "(" + cookie.getMaxAge() + ")"... |
public Time lastModifiedTime()
{
return Time.valueOf(lastModified());
}
| public Time lastModifiedTime()
{
return Time.millis(lastModified());
}
|
public static Time getLastModified(final URL url) throws IOException
{
URLConnection connection = url.openConnection();
final long milliseconds;
try
{
if (connection instanceof JarURLConnection)
{
JarURLConnection jarUrlConnection = (JarURLConnection)connection;
URL jarFileUrl = jarUrlConnec... | public static Time getLastModified(final URL url) throws IOException
{
URLConnection connection = url.openConnection();
final long milliseconds;
try
{
if (connection instanceof JarURLConnection)
{
JarURLConnection jarUrlConnection = (JarURLConnection)connection;
URL jarFileUrl = jarUrlConnec... |
public static Time getLastModified(File file)
{
// in case the file has been removed by now
if (file.exists() == false)
{
return null;
}
// get file modification timestamp
long millis = file.lastModified();
// zero indicates the timestamp could not be retrieved
if (millis == 0)
{
return null... | public static Time getLastModified(File file)
{
// in case the file has been removed by now
if (file.exists() == false)
{
return null;
}
// get file modification timestamp
long millis = file.lastModified();
// zero indicates the timestamp could not be retrieved
if (millis == 0)
{
return null... |
public IModel<T> getModel()
{
return null;
}
| public IModel<T> getModel()
{
return model;
}
|
protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
String url = tag.getAttributes().getKey("src");
url = url + ((url.indexOf("?") >= 0) ? "&" : "?");
url = url + "wicket:rand=" + Math.random();
tag.put("src", url);
}
| protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
String url = tag.getAttributes().getString("src");
url = url + ((url.indexOf("?") >= 0) ? "&" : "?");
url = url + "wicket:rand=" + Math.random();
tag.put("src", url);
}
|
public void testGetterAndSetterForProperty() {
Type javaBeansMetaType = ec.getTypeForName(JavaBeansMetaType.class.getName().replaceAll("\\.", "::"));
Type string = ec.getTypeForName(String.class.getName().replaceAll("\\.", "::"));
assertNotNull(string);
assertNotNull(javaBeansMetaType.getOperati... | public void testGetterAndSetterForProperty() {
Type javaBeansMetaType = ec.getTypeForName(JavaBeansMetaType.class.getName().replaceAll("\\.", "::"));
Type string = ec.getTypeForName(String.class.getName().replaceAll("\\.", "::"));
assertNotNull(string);
assertNull(javaBeansMetaType.getOperation(... |
protected final BufferedImage getScaledImageInstance()
{
InputStream is = null;
BufferedImage originalImage = null;
try
{
// read original image
is = unscaledImageResource.getResource().getInputStream();
originalImage = ImageIO.read(is);
if (originalImage == null)
{
throw new IOException("u... | protected final BufferedImage getScaledImageInstance()
{
InputStream is = null;
BufferedImage originalImage = null;
try
{
// read original image
is = unscaledImageResource.getResourceStream().getInputStream();
originalImage = ImageIO.read(is);
if (originalImage == null)
{
throw new IOExcept... |
public abstract IResourceStream getResource();
} | public abstract IResourceStream getResourceStream();
} |
public IResourceStream getResource()
{
if (resource == null)
{
// Locate resource
this.resource = RequestCycle.get().getApplication().getResourceLocator().locate(
absolutePath, style, locale, null);
// Check that resource was found
if (this.resource == null)
{
throw new WicketRuntimeEx... | public IResourceStream getResourceStream()
{
if (resource == null)
{
// Locate resource
this.resource = RequestCycle.get().getApplication().getResourceLocator().locate(
absolutePath, style, locale, null);
// Check that resource was found
if (this.resource == null)
{
throw new WicketRun... |
public void setInsertMark(int index, boolean after) {
checkWidget();
if (index < -1 || index >= getItemCount()) {
SWT.error(SWT.ERROR_INVALID_ARGUMENT);
}
}
boolean setItemLocation(GC gc) {
boolean changed = false;
if (items.length == 0) return false;
Rectangle trim = renderer.computeTrim(CTabFolderRenderer.PAR... | public void setInsertMark(int index, boolean after) {
checkWidget();
if (index < -1 || index >= getItemCount()) {
SWT.error(SWT.ERROR_INVALID_ARGUMENT);
}
}
boolean setItemLocation(GC gc) {
boolean changed = false;
if (items.length == 0) return false;
Rectangle trim = renderer.computeTrim(CTabFolderRenderer.PAR... |
public void onFormComponent(FormComponent<?> formComponent)
{
if (!(formComponent instanceof RadioGroup) &&
!(formComponent instanceof CheckGroup) &&
!formComponent.getClass().isAssignableFrom(Button.class) &&
formComponent.isVisible())
{
if (!((formComponent instanceof IFormSubmitting... | public void onFormComponent(FormComponent<?> formComponent)
{
if (!(formComponent instanceof RadioGroup) &&
!(formComponent instanceof CheckGroup) &&
!formComponent.getClass().isAssignableFrom(Button.class) &&
formComponent.isVisible() && formComponent.isEnabledInHierarchy())
{
if (!((... |
protected void memberLeave(ID fromID, IAsynchConnection conn) {
if (fromID.equals(remoteServerID)) {
groupManager.removeAllMembers();
super.memberLeave(fromID, conn);
connectionState = UNCONNECTED;
connection = null;
remoteServerID = null;
... | protected void memberLeave(ID fromID, IAsynchConnection conn) {
if (fromID.equals(remoteServerID)) {
groupManager.removeNonLocalMembers();
super.memberLeave(fromID, conn);
connectionState = UNCONNECTED;
connection = null;
remoteServerID = null;
... |
private List parseMarkup() throws ParseException
{
// List to return
final List list = new ArrayList();
final WicketComponentTagIdentifier detectWicketComponents = new WicketComponentTagIdentifier(xmlParser);
detectWicketComponents.setComponentNameAttribute(this.componentNameAtt... | private List parseMarkup() throws ParseException
{
// List to return
final List list = new ArrayList();
final WicketComponentTagIdentifier detectWicketComponents = new WicketComponentTagIdentifier(xmlParser);
detectWicketComponents.setComponentNameAttribute(this.componentNameAtt... |
protected final void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag)
{
final String bodyContent;
if (getInvalidInput() == null)
{
// No validation errors
bodyContent = getModelObjectAsString();
}
else
{
// Invalid input detected
bodyContent = ... | protected final void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag)
{
final String bodyContent;
if (getInvalidInput() == null)
{
// No validation errors
bodyContent = getModelObjectAsString();
}
else
{
// Invalid input detected
bodyContent = ... |
public final void validate(final FormComponent component)
{
// Get component value
final String value = component.getRequestString();
// Don't test emtpy/null values that should required validator do.
if (value != null && !"".equals(value))
{
boolean error = false;
try
{
// Get long v... | public final void validate(final FormComponent component)
{
// Get component value
final String value = component.getRequestString();
// Don't test emtpy/null values that should required validator do.
if (value != null && !"".equals(value))
{
boolean error = false;
try
{
// Get long v... |
protected void conversionError(final FormComponent component, final String input,
final ConversionException e)
{
error(component, resourceKey(component), messageModel(component, input, e), input);
}
| protected void conversionError(final FormComponent component, final String input,
final ConversionException e)
{
error(component, resourceKey(component), messageModel(component, input, e));
}
|
public final boolean getRenderBodyOnly()
{
return getFlag(FLAG_RENDER_BODY_ONLY);
}
| public final boolean getRenderBodyOnly()
{
return getFlag(FLAG_RENDER_BODY_ONLY) && !getFlag(FLAG_OUTPUT_MARKUP_ID);
}
|
protected boolean isMatchingTemplate(Template template, String prefix, TemplateContext context) {
if (template.getName().equals("function")) {
System.err
.println("Move potential functions away from normal template processing: XQDTTemplateCompletionProcessor");
//... | protected boolean isMatchingTemplate(Template template, String prefix, TemplateContext context) {
if (template.getName().equals("function")) {
System.err
.println("Move potential functions away from normal template processing: XQDTTemplateCompletionProcessor");
//... |
protected void onSetObject(final Component component, Object object)
{
final String expression = propertyExpression(component);
if (Strings.isEmpty(expression))
{
if (nestedModel instanceof IModel)
{
((IModel)nestedModel).setObject(null, object);
}
else
{
nestedModel = object;
}
}
... | protected void onSetObject(final Component component, Object object)
{
final String expression = propertyExpression(component);
if (Strings.isEmpty(expression))
{
if (nestedModel instanceof IModel)
{
((IModel)nestedModel).setObject(null, object);
}
else
{
nestedModel = object;
}
}
... |
protected Embeddor getEmbeddor() throws Exception
{
if( m_embeddor == null )
{
// Need to set the context classloader - The default embeddor uses it
Thread.currentThread().setContextClassLoader( getClass().getClassLoader() );
final Logger logger = getLogger()... | protected Embeddor getEmbeddor() throws Exception
{
if( m_embeddor == null )
{
// Need to set the context classloader - The default embeddor uses it
Thread.currentThread().setContextClassLoader( getClass().getClassLoader() );
final Logger logger = getLogger()... |
private static final int MAX_FIELD_VALUE[] = {
Integer.MAX_VALUE, // Year field can be bigger than this,
// only constraint on integer value of year.
DatatypeConstants.DECEMBER,
31, //day of month
23, //hour
59, ... | private static final int MAX_FIELD_VALUE[] = {
Integer.MAX_VALUE, // Year field can be bigger than this,
// only constraint on integer value of year.
DatatypeConstants.DECEMBER,
31, //day of month
23, //hour
59, ... |
public void wake () {
synchronized (Device.class) {
if (isDisposed ()) error (SWT.ERROR_DEVICE_DISPOSED);
if (thread == Thread.currentThread ()) return;
wakeThread ();
}
}
void wakeThread () {
NSObject object = new NSObject().alloc().init();
object.performSelectorOnMainThread_withObject_waitUntilDone_(OS.sel... | public void wake () {
synchronized (Device.class) {
if (isDisposed ()) error (SWT.ERROR_DEVICE_DISPOSED);
if (thread == Thread.currentThread ()) return;
wakeThread ();
}
}
void wakeThread () {
NSObject object = new NSObject().alloc().init();
object.performSelectorOnMainThread_withObject_waitUntilDone_(OS.sel... |
public boolean isListening (int eventType) {
checkWidget();
return hooks (eventType);
}
boolean isOpaque(int id, int sel) {
return false;
}
boolean isValidSubclass () {
return Display.isValidClass (getClass ());
}
boolean isValidThread () {
return getDisplay ().isValidThread ();
}
void flagsChanged(int event) ... | public boolean isListening (int eventType) {
checkWidget();
return hooks (eventType);
}
boolean isOpaque(int id, int sel) {
return false;
}
boolean isValidSubclass () {
return Display.isValidClass (getClass ());
}
boolean isValidThread () {
return getDisplay ().isValidThread ();
}
void flagsChanged(int event) ... |
public AbstractDB2Dictionary() {
numericTypeName = "DOUBLE";
bitTypeName = "SMALLINT";
smallintTypeName = "SMALLINT";
tinyintTypeName = "SMALLINT";
longVarbinaryTypeName = "BLOB";
varbinaryTypeName = "BLOB";
// DB2-based databases have restrictions on having ... | public AbstractDB2Dictionary() {
numericTypeName = "DOUBLE";
bitTypeName = "SMALLINT";
smallintTypeName = "SMALLINT";
tinyintTypeName = "SMALLINT";
longVarbinaryTypeName = "BLOB";
varbinaryTypeName = "BLOB";
// DB2-based databases have restrictions on having ... |
public void pack () {
checkWidget ();
TreeItem[] availableItems = parent.availableItems;
if (availableItems.length == 0) return;
int index = getIndex ();
int width = getPreferredWidth ();
for (int i = 0; i < availableItems.length; i++) {
width = Math.max (width, availableItems [i].getPreferredWidth (index));
}... | public void pack () {
checkWidget ();
TreeItem[] availableItems = parent.availableItems;
if (availableItems.length == 0) return;
int index = getIndex ();
int width = getPreferredWidth ();
for (int i = 0; i < availableItems.length; i++) {
width = Math.max (width, availableItems [i].getPreferredWidth (index));
}... |
public AllContentModel(boolean hasOptionalContent, boolean isMixed) {
this(hasOptionalContent);
fIsMixed = isMixed;
if (DEBUG_VALIDATE_CONTENT) {
System.out.println(" mixed == "+fIsMixed);
}
}
void addElement(QName newElement, boolean isOptional) {
if ... | public AllContentModel(boolean hasOptionalContent, boolean isMixed) {
this(hasOptionalContent);
fIsMixed = isMixed;
if (DEBUG_VALIDATE_CONTENT) {
System.out.println(" mixed == "+fIsMixed);
}
}
void addElement(QName newElement, boolean isOptional) {
if ... |
public void setRequestToComponent(final Component component)
{
final IPageMap pageMap = component.getPage().getPageMap();
final String pageMapName = pageMap.isDefault() ? "" : pageMap.getName();
if (component instanceof BookmarkablePageLink)
{
final Class clazz = ((BookmarkablePageLink)component).getPageCl... | public void setRequestToComponent(final Component component)
{
final IPageMap pageMap = component.getPage().getPageMap();
final String pageMapName = pageMap.isDefault() ? "" : pageMap.getName();
if (component instanceof BookmarkablePageLink)
{
final Class<? extends Page> clazz = ((BookmarkablePageLink)comp... |
private Page generateLastRenderedPage(WebRequestCycle cycle)
{
Page newLastRenderedPage = cycle.getResponsePage();
if (newLastRenderedPage == null)
{
Class responseClass = cycle.getResponsePageClass();
if (responseClass != null)
{
Session.set(cycle.getSession());
IRequestTarget target = cycle.g... | private Page generateLastRenderedPage(WebRequestCycle cycle)
{
Page newLastRenderedPage = cycle.getResponsePage();
if (newLastRenderedPage == null)
{
Class responseClass = cycle.getResponsePageClass();
if (responseClass != null)
{
Session.set(cycle.getSession());
IRequestTarget target = cycle.g... |
protected CharSequence encode(RequestCycle requestCycle,
IBookmarkablePageRequestTarget requestTarget)
{
// Begin encoding URL
final AppendingStringBuffer url = new AppendingStringBuffer(64);
// Get page Class
final Class pageClass = requestTarget.getPageClass();
final Application application = Applicat... | protected CharSequence encode(RequestCycle requestCycle,
IBookmarkablePageRequestTarget requestTarget)
{
// Begin encoding URL
final AppendingStringBuffer url = new AppendingStringBuffer(64);
// Get page Class
final Class<? extends Page> pageClass = requestTarget.getPageClass();
final Application applic... |
protected IRequestTarget resolveHomePageTarget(final RequestCycle requestCycle,
final RequestParameters requestParameters)
{
Session session = requestCycle.getSession();
Application application = session.getApplication();
try
{
// Get the home page class
Class homePageClass = application.getHomePage()... | protected IRequestTarget resolveHomePageTarget(final RequestCycle requestCycle,
final RequestParameters requestParameters)
{
Session session = requestCycle.getSession();
Application application = session.getApplication();
try
{
// Get the home page class
Class<? extends Page> homePageClass = applicati... |
Class<? extends Page> getPageClass();
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, V... | Class<? extends Page> getPageClass();
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, V... |
public void xtestOutjarDeletedOnError () {
String[] args = new String[] {"-aspectpath", aspectjarName, "-injars", injarName, "-outjar", outjarName};
Message error = new Message(WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE,"jar1.Parent"));
MessageSpec spec = new MessageSpec(null,newMessageList(error));
C... | public void testOutjarDeletedOnError () {
String[] args = new String[] {"-aspectpath", aspectjarName, "-injars", injarName, "-outjar", outjarName};
Message error = new Message(WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE,"jar1.Parent"));
MessageSpec spec = new MessageSpec(null,newMessageList(error));
Co... |
public void addSelectionListener(SelectionListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Selection, typedListener);
addListener (SWT.DefaultSelection, typedListener);
}
protected void checkSub... | public void addSelectionListener(SelectionListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Selection, typedListener);
addListener (SWT.DefaultSelection, typedListener);
}
protected void checkSub... |
private static boolean checkComplexDerivation(XSComplexTypeDecl derived, XSTypeDecl base, int block) {
// 2.1 B and D must be the same type definition.
if (derived == base)
return true;
// 1 If B and D are not the same type definition, then the {derivation method} of D must not ... | private static boolean checkComplexDerivation(XSComplexTypeDecl derived, XSTypeDecl base, int block) {
// 2.1 B and D must be the same type definition.
if (derived == base)
return true;
// 1 If B and D are not the same type definition, then the {derivation method} of D must not ... |
public void ungetService(Bundle bundle,
ServiceRegistration registration, Object service) {
if (service != null) ((RemoteServiceAdmin) service).close();
}
}, rsaProps);
}
| public void ungetService(Bundle bundle,
ServiceRegistration registration, Object service) {
if (service != null) ((RemoteServiceAdmin) service).close();
}
}, (Dictionary) rsaProps);
}
|
public static String [] getExtensions () {
String [] extensions = new String [1024];
/* Use the character encoding for the default locale */
TCHAR lpName = new TCHAR (0, 1024);
int [] lpcName = new int [] {lpName.length ()};
FILETIME ft = new FILETIME ();
int dwIndex = 0, count = 0;
while (OS.RegEnumKeyEx (OS.HK... | public static String [] getExtensions () {
String [] extensions = new String [1024];
/* Use the character encoding for the default locale */
TCHAR lpName = new TCHAR (0, 1024);
int [] lpcName = new int [] {lpName.length ()};
FILETIME ft = new FILETIME ();
int dwIndex = 0, count = 0;
while (OS.RegEnumKeyEx (OS.HK... |
protected String expand(String content) {
return ProjectHelper.replaceProperties(project, content);
}
| protected String expand(String content) {
return project.replaceProperties(content);
}
|
protected void addProperties(Properties props) {
resolveAllProperties(props);
Enumeration e = props.keys();
while (e.hasMoreElements()) {
String name = (String) e.nextElement();
String value = (String) props.getProperty(name);
String v = ProjectHelper.rep... | protected void addProperties(Properties props) {
resolveAllProperties(props);
Enumeration e = props.keys();
while (e.hasMoreElements()) {
String name = (String) e.nextElement();
String value = (String) props.getProperty(name);
String v = project.replacePr... |
private void readPatterns(File patternfile, Vector patternlist, Project p)
throws BuildException {
BufferedReader patternReader = null;
try {
// Get a FileReader
patternReader =
new BufferedReader(new FileReader(patternfile));
... | private void readPatterns(File patternfile, Vector patternlist, Project p)
throws BuildException {
BufferedReader patternReader = null;
try {
// Get a FileReader
patternReader =
new BufferedReader(new FileReader(patternfile));
... |
protected void fireRosterUpdate(IRosterItem changedItem) {
synchronized (this) {
for(Iterator i=rosterUpdateListeners.iterator(); i.hasNext(); ) {
IRosterUpdateListener l = (IRosterUpdateListener) i.next();
l.handleRosterUpdate(changedItem);
}
}
}
| protected void fireRosterUpdate(IRosterItem changedItem) {
synchronized (this) {
for(Iterator i=rosterUpdateListeners.iterator(); i.hasNext(); ) {
IRosterUpdateListener l = (IRosterUpdateListener) i.next();
l.handleRosterUpdate(roster, changedItem);
}
}
}
|
public void handleRosterUpdate(IRosterItem changedValue);
} | public void handleRosterUpdate(IRoster roster, IRosterItem changedValue);
} |
public void testArgumentCreation() throws Exception
{
ArgumentsPanel gui = new ArgumentsPanel();
gui.tableModel.addNewRow();
gui.tableModel.setValueAt("howdy",0,0);
gui.tableModel.setValueAt("doody",0,1);
assertNull(((Argument)((Arguments)gui.createTestElement()).getArguments().get(0)).getMetaData())... | public void testArgumentCreation() throws Exception
{
ArgumentsPanel gui = new ArgumentsPanel();
gui.tableModel.addNewRow();
gui.tableModel.setValueAt("howdy",0,0);
gui.tableModel.setValueAt("doody",0,1);
assertEquals("=",((Argument)((Arguments)gui.createTestElement()).getArguments().get(0)).getMetaD... |
public void addSelectionListener (SelectionListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Selection,typedListener);
addListener (SWT.DefaultSelection,typedListener);
}
static int checkStyle (i... | public void addSelectionListener (SelectionListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Selection,typedListener);
addListener (SWT.DefaultSelection,typedListener);
}
static int checkStyle (i... |
public TextAreaEditor(PropertyDescriptor descriptor) {
textUI = new JSyntaxTextArea(20, 20);
// textUI.setSyntaxEditingStyle((String) descriptor.getValue(GenericTestBeanCustomizer.SYNTAX_TYPE));
scroller = new JTextScrollPane(textUI, true);
init();
}
| public TextAreaEditor(PropertyDescriptor descriptor) {
textUI = new JSyntaxTextArea(20, 20);
textUI.setLanguage((String) descriptor.getValue(GenericTestBeanCustomizer.TEXT_LANGUAGE));
scroller = new JTextScrollPane(textUI, true);
init();
}
|
protected void startEngine() {
GuiPackage gui = GuiPackage.getInstance();
HashTree testTree = gui.getTreeModel().getTestPlan();
JMeter.convertSubTree(testTree);
DisabledComponentRemover remover = new DisabledComponentRemover(testTree);
testTree.traverse(remover);
test... | private void startEngine() {
GuiPackage gui = GuiPackage.getInstance();
HashTree testTree = gui.getTreeModel().getTestPlan();
JMeter.convertSubTree(testTree);
DisabledComponentRemover remover = new DisabledComponentRemover(testTree);
testTree.traverse(remover);
testTr... |
public IXtendXpandResource findOawResource(String oawNamespace, String extension);
}
| public IXtendXpandResource findXtendXpandResource(String extxptNamespace, String extension);
}
|
public void testOawID() throws Exception {
Matcher m =EvaluationException.P.matcher(" dsvdfgv df df gvd fgdf stuff::Test.ext[3,56] dnvfd gvdf bvdfgbvd");
assertTrue(m.find());
String text = m.group();
System.out.println(text);
assertEquals("stuff::Test",EvaluationException.getExtXptNamespace(text));
asser... | public void testExtXptID() throws Exception {
Matcher m =EvaluationException.P.matcher(" dsvdfgv df df gvd fgdf stuff::Test.ext[3,56] dnvfd gvdf bvdfgbvd");
assertTrue(m.find());
String text = m.group();
System.out.println(text);
assertEquals("stuff::Test",EvaluationException.getExtXptNamespace(text));
as... |
public Object evaluateInternal(final ExecutionContext ctx) {
return new BigInteger(getLiteralValue().getValue());
}
| public Object evaluateInternal(final ExecutionContext ctx) {
return new Long(getLiteralValue().getValue());
}
|
public void finish () {
if (_out != null) {
_out.println ("</m2t-profile>");
_out.flush();
_out = null;
}
}
| public void finish () {
if (_out != null) {
_out.println ("</oaw-profile>");
_out.flush();
_out = null;
}
}
|
public static Test suite() {
TestSuite suite = new TestSuite(
"Test for org.eclipse.xtend.shared.ui.test.xpand2.core");
//$JUnit-BEGIN$
suite.addTestSuite(Bug155018Test.class);
suite.addTestSuite(JdtJavaBeanTest.class);
suite.addTestSuite(OawProjectTest.class);
suite.addTestSuite(SimpleProjectTest.clas... | public static Test suite() {
TestSuite suite = new TestSuite(
"Test for org.eclipse.xtend.shared.ui.test.xpand2.core");
//$JUnit-BEGIN$
suite.addTestSuite(Bug155018Test.class);
suite.addTestSuite(JdtJavaBeanTest.class);
suite.addTestSuite(XtendXpandProjectTest.class);
suite.addTestSuite(SimpleProjectTe... |
private final String ECORE_MMODEL = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<ecore:EPackage xmi:version=\"2.0\" "
+ " xmlns:xmi=\"http://www.omg.org/XMI\" " +
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "
+
" xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"mm\" "
... | private final String ECORE_MMODEL = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<ecore:EPackage xmi:version=\"2.0\" "
+ " xmlns:xmi=\"http://www.omg.org/XMI\" " +
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "
+
" xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"mm\" "
... |
// inconsistent name to avoid clash with public method on TextImpl
final boolean internalIsIgnorableWhitespace() {
return (flags & IGNORABLEWS) != 0;
}
final void isIgnorableWhitespace(boolean value) {
flags = (short) (value ? flags | IGNORABLEWS : flags & ~IGNORABLEWS);
}
fina... | // inconsistent name to avoid clash with public method on TextImpl
final boolean internalIsIgnorableWhitespace() {
return (flags & IGNORABLEWS) != 0;
}
final void isIgnorableWhitespace(boolean value) {
flags = (short) (value ? flags | IGNORABLEWS : flags & ~IGNORABLEWS);
}
fina... |
protected void traverseLocal(XSParticleDecl particle,
Element elmDecl,
XSDocumentInfo schemaDoc,
SchemaGrammar grammar,
int allContextFlags,
XSObject parent,
String[] localNSDecls) {
if (localNSDecls != null) {
sche... | protected void traverseLocal(XSParticleDecl particle,
Element elmDecl,
XSDocumentInfo schemaDoc,
SchemaGrammar grammar,
int allContextFlags,
XSObject parent,
String[] localNSDecls) {
if (localNSDecls != null) {
sche... |
public void widgetSelected (SelectionEvent event) {
setTitleText ();
}
});
}
/**
* Creates the "Example" group.
*/
void createExampleGroup () {
super.createExampleGroup ();
/* Create a group for the Group */
groupGroup = new Group (exampleGroup, SWT.NONE);
groupGroup.setLayout (new GridL... | public void widgetSelected (SelectionEvent event) {
setTitleText ();
}
});
}
/**
* Creates the "Example" group.
*/
void createExampleGroup () {
super.createExampleGroup ();
/* Create a group for the Group */
groupGroup = new Group (exampleGroup, SWT.NONE);
groupGroup.setLayout (new GridL... |
protected String getFileAlignParameter() {
if (fileAlign != 0) {
return "/filealign:" + fileAlign;
} else {
return null;
}
}
| protected String getFileAlignParameter() {
if (fileAlign != 0 && !"mcs".equals(getExecutable())) {
return "/filealign:" + fileAlign;
} else {
return null;
}
}
|
public static DocumentBuilderFactory newInstance()
throws FactoryConfigurationError
{
try {
return (DocumentBuilderFactory) FactoryFinder.find(
/* The default property name according to the JAXP spec */
"javax.xml.parsers.DocumentBuilderFactory",
... | public static DocumentBuilderFactory newInstance()
throws FactoryConfigurationError
{
try {
return (DocumentBuilderFactory) FactoryFinder.find(
/* The default property name according to the JAXP spec */
"javax.xml.parsers.DocumentBuilderFactory",
... |
public static SAXParserFactory newInstance()
throws FactoryConfigurationError
{
try {
return (SAXParserFactory) FactoryFinder.find(
/* The default property name according to the JAXP spec */
"javax.xml.parsers.SAXParserFactory",
/* The ... | public static SAXParserFactory newInstance()
throws FactoryConfigurationError
{
try {
return (SAXParserFactory) FactoryFinder.find(
/* The default property name according to the JAXP spec */
"javax.xml.parsers.SAXParserFactory",
/* The ... |
public double getPageSize() {
if (count > 0 && bytes > 0) {
return bytes / count;
}
return 0.0;
}
| public double getPageSize() {
if (count > 0 && bytes > 0) {
return (double) bytes / count;
}
return 0.0;
}
|
protected void parseForeignKey(MappingInfo info, String name,
boolean enabled, boolean deferred, ForeignKeyAction deleteAction,
ForeignKeyAction updateAction) {
if (!enabled) {
info.setCanForeignKey(false);
return;
}
org.apache.openjpa.jdbc.schema.For... | protected void parseForeignKey(MappingInfo info, String name,
boolean enabled, boolean deferred, ForeignKeyAction deleteAction,
ForeignKeyAction updateAction) {
if (!enabled) {
info.setCanForeignKey(false);
return;
}
org.apache.openjpa.jdbc.schema.For... |
public List<String> getAddressList() {
String addressees = getToAddress();
List<String> addressList = new ArrayList<String>();
if (addressees != null) {
StringTokenizer next = new StringTokenizer(addressees, ","); //$NON-NLS-1$
while (next.hasMoreTokens()) {
... | public List<String> getAddressList() {
String addressees = getToAddress();
List<String> addressList = new ArrayList<String>();
if (addressees != null) {
StringTokenizer next = new StringTokenizer(addressees, ","); //$NON-NLS-1$
while (next.hasMoreTokens()) {
... |
public boolean matches(ResolvedType onType) {
//we cannot return onType.equals(aspectType)
//since we need to eagerly create the nested ajcMighHaveAspect interface on LTW
return true;
//return aspectType.equals(onType);
}
private boolean hasPerClauseMembersAlready(LazyClassG... | public boolean matches(ResolvedType onType) {
//we cannot return onType.equals(aspectType)
//since we need to eagerly create the nested ajcMighHaveAspect interface on LTW
return true;
//return aspectType.equals(onType);
}
private boolean hasPerClauseMembersAlready(LazyClassG... |
public void execute()
throws TaskException
{
if( baseDir == null )
{
throw new TaskException( "base attribute must be set!" );
}
if( !baseDir.exists() )
{
throw new TaskException( "base does not exist!" );
}
if( verify )
... | public void execute()
throws TaskException
{
if( baseDir == null )
{
throw new TaskException( "base attribute must be set!" );
}
if( !baseDir.exists() )
{
throw new TaskException( "base does not exist!" );
}
if( verify )
... |
private void checkAllFeatures() {
if (getFeature(Constants.DOM_WHITESPACE_IN_ELEMENT_CONTENT))
serializer._format.setPreserveSpace(true);
else
serializer._format.setPreserveSpace(false);
}
| private void checkAllFeatures() {
if (getParameter(Constants.DOM_WHITESPACE_IN_ELEMENT_CONTENT) == Boolean.TRUE)
serializer._format.setPreserveSpace(true);
else
serializer._format.setPreserveSpace(false);
}
|
public JMDNSDiscoveryServiceTest() {
super("ecf.discovery.jmdns", 1000);
}
| public JMDNSDiscoveryServiceTest() {
super("ecf.discovery.jmdns");
}
|
public void addTreeListener(TreeListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Expand, typedListener);
addListener (SWT.Collapse, typedListener);
}
int calculateWidth (TreeItem[] items, int in... | public void addTreeListener(TreeListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
TypedListener typedListener = new TypedListener (listener);
addListener (SWT.Expand, typedListener);
addListener (SWT.Collapse, typedListener);
}
int calculateWidth (TreeItem[] items, int in... |
private void traverseSimpleContent(Element simpleContentElement,
XSComplexTypeDecl typeInfo,
XSDocumentInfo schemaDoc,
SchemaGrammar grammar)
throws ComplexTyp... | private void traverseSimpleContent(Element simpleContentElement,
XSComplexTypeDecl typeInfo,
XSDocumentInfo schemaDoc,
SchemaGrammar grammar)
throws ComplexTyp... |
public JDBCRelatedFieldOrder(FieldMapping owner, FieldMapping rel,
boolean asc) {
if (!rel.isInDefaultFetchGroup())
throw new MetaDataException(_loc.get("nondfg-field-orderable",
owner, rel.getName()));
_fm = rel;
_asc = asc;
}
| public JDBCRelatedFieldOrder(FieldMapping owner, FieldMapping rel,
boolean asc) {
if (!rel.isInDefaultFetchGroup() && !rel.isPrimaryKey())
throw new MetaDataException(_loc.get("nondfg-field-orderable",
owner, rel.getName()));
_fm = rel;
_asc = asc;
}
|
public void setWidth (int value) {
checkWidget ();
value = Math.max (value, 0);
if (width == value) return; /* same value */
parent.updateColumnWidth (this, value);
}
| public void setWidth (int value) {
checkWidget ();
if (width < 0) return;
if (width == value) return; /* same value */
parent.updateColumnWidth (this, value);
}
|
public JMeterProperty transformValue(JMeterProperty prop) throws InvalidVariableException {
PatternMatcher pm = JMeterUtils.getMatcher();
Pattern pattern = null;
PatternCompiler compiler = new Perl5Compiler();
String input = prop.getStringValue();
for(Entry<String, String> en... | public JMeterProperty transformValue(JMeterProperty prop) throws InvalidVariableException {
PatternMatcher pm = JMeterUtils.getMatcher();
Pattern pattern = null;
PatternCompiler compiler = new Perl5Compiler();
String input = prop.getStringValue();
for(Entry<String, String> en... |
private void respondComponent(final Response response, final String markupId,
final Component<?> component)
{
if (component.getRenderBodyOnly() == true)
{
throw new IllegalStateException(
"Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: " +
component.toString... | private void respondComponent(final Response response, final String markupId,
final Component<?> component)
{
if (component.getRenderBodyOnly() == true)
{
throw new IllegalStateException(
"Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: " +
component.toString... |
protected AsmManager() {
handleProvider = new OptimizedFullPathHandleProvider();
createNewASM();
}
| protected AsmManager() {
handleProvider = new JDTLikeHandleProvider();
createNewASM();
}
|
package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... | package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... |
package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... | package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... |
package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... | package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... |
package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... | package org.apache.tools.todo.taskdefs.junit;
/*
* 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.apa... |
package org.apache.tools.todo.taskdefs.sitraka;
/*
* 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.... | package org.apache.tools.todo.taskdefs.sitraka;
/*
* 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.... |
package org.apache.tools.todo.taskdefs.sitraka;
/*
* 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.... | package org.apache.tools.todo.taskdefs.sitraka;
/*
* 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.... |
private static void printTargets(Project project,Vector names,
Vector descriptions,String heading,
int maxlen) {
// now, start printing the targets and their descriptions
String lSep = System.getProperty("line.separator");
... | private static void printTargets(Project project,Vector names,
Vector descriptions,String heading,
int maxlen) {
// now, start printing the targets and their descriptions
String lSep = System.getProperty("line.separator");
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.