buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
public Url mapHandler(IRequestHandler requestHandler) { PageComponentInfo info = null; if (requestHandler instanceof RenderPageRequestHandler) { IRequestablePage page = ((RenderPageRequestHandler)requestHandler).getPage(); PageInfo i = new PageInfo(page); info = new PageComponentInfo(i, null); } ...
public Url mapHandler(IRequestHandler requestHandler) { PageComponentInfo info = null; if (requestHandler instanceof RenderPageRequestHandler) { IRequestablePage page = ((RenderPageRequestHandler)requestHandler).getPage(); PageInfo i = new PageInfo(page); info = new PageComponentInfo(i, null); } ...
public EmailPage() { Form form = new Form(this, "form", new CompoundPropertyModel(this)); TextField email = new TextField(form, "email"); email.add(EmailAddressPatternValidator.getInstance()); }
public EmailPage() { Form form = new Form<EmailPage>(this, "form", new CompoundPropertyModel<EmailPage>(this)); TextField email = new TextField(form, "email"); email.add(EmailAddressPatternValidator.getInstance()); }
private Integer findAlias(Table table, Object key, boolean fromParent, SelectImpl fromSub) { Integer alias = null; if (_aliases != null) { alias = (Integer) ((fromParent) ? _aliases.remove(key) : _aliases.get(key)); if (alias != null) { ...
private Integer findAlias(Table table, Object key, boolean fromParent, SelectImpl fromSub) { Integer alias = null; if (_aliases != null) { alias = (Integer) ((fromParent) ? _aliases.remove(key) : _aliases.get(key)); if (alias != null) { ...
public final void onRequest() { WebApplication app = (WebApplication)getComponent().getApplication(); AjaxRequestTarget target = app.newAjaxRequestTarget(getComponent().getPage()); RequestCycle requestCycle = RequestCycle.get(); requestCycle.scheduleRequestHandlerAfterCurrent(target); Url oldBaseURL = req...
public final void onRequest() { WebApplication app = (WebApplication)getComponent().getApplication(); AjaxRequestTarget target = app.newAjaxRequestTarget(getComponent().getPage()); RequestCycle requestCycle = RequestCycle.get(); requestCycle.scheduleRequestHandlerAfterCurrent(target); Url oldBaseURL = req...
public final void respond(final IRequestCycle requestCycle) { // do not increment page id during ajax processing boolean frozen = page.setFreezePageId(true); try { RequestCycle rc = (RequestCycle)requestCycle; Url oldBaseURL = rc.getUrlRenderer().getBaseUrl(); WebRequest request = (WebRequest)reques...
public final void respond(final IRequestCycle requestCycle) { // do not increment page id during ajax processing boolean frozen = page.setFreezePageId(true); try { RequestCycle rc = (RequestCycle)requestCycle; Url oldBaseURL = rc.getUrlRenderer().getBaseUrl(); WebRequest request = (WebRequest)reques...
public boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) { if (WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID.equals(tag.getId())) { final Component wc; String id = WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID + container.getPage().getAutoIndex(); if (tag.isOpenClose()) ...
public boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) { if (WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID.equals(tag.getId())) { final Component wc; String id = WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID + container.getPage().getAutoIndex(); if (tag.isOpenClose()) ...
public boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) { // localize any raw markup that has wicket:message attrs if (WICKET_MESSAGE_CONTAINER_ID.equals(tag.getId())) { Component wc = null; if (tag.isOpenClose()) { wc = new WebComponent(WICKET_MESSAGE_CONTAI...
public boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) { // localize any raw markup that has wicket:message attrs if (WICKET_MESSAGE_CONTAINER_ID.equals(tag.getId())) { Component wc = null; if (tag.isOpenClose()) { wc = new WebComponent(WICKET_MESSAGE_CONTAI...
public final boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { // It must be <wicket:...> if (tag instanceof WicketTag) { // It must be <wicket:component...> final WicketTag wicketTag = (WicketTag)tag; if (wicketTag.isComponentTag()) { ...
public final boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { // It must be <wicket:...> if (tag instanceof WicketTag) { // It must be <wicket:component...> final WicketTag wicketTag = (WicketTag)tag; if (wicketTag.isComponentTag()) { ...
public final boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { // Must be marked as autolink tag if (tag.isAutolinkEnabled()) { // Try to find the Page matching the href // Note: to not use tag.getId() because it will be modified while // res...
public final boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { // Must be marked as autolink tag if (tag.isAutolinkEnabled()) { // Try to find the Page matching the href // Note: to not use tag.getId() because it will be modified while // res...
public boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { if ((tag instanceof WicketTag) && ((WicketTag)tag).isEnclosureTag()) { String id = "enclosure-" + container.getPage().getAutoIndex(); final Enclosure enclosure = new Enclosure(id, tag ....
public boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { if ((tag instanceof WicketTag) && ((WicketTag)tag).isEnclosureTag()) { String id = "enclosure-" + container.getPage().getAutoIndex(); final Enclosure enclosure = new Enclosure(id, tag ....
public boolean isTransparentResolver() { return true; } }; container.autoAdd(component); // Yes, we handled the tag return true; } } // We were not able to handle the tag return false; }
public boolean isTransparentResolver() { return true; } }; container.autoAdd(component, markupStream); // Yes, we handled the tag return true; } } // We were not able to handle the tag return false; }
public boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { if (tag instanceof WicketTag) { WicketTag wtag = (WicketTag)tag; if (wtag.isMessageTag()) { String messageKey = wtag.getAttributes().getString("key"); if ((messageKey == null) || ...
public boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { if (tag instanceof WicketTag) { WicketTag wtag = (WicketTag)tag; if (wtag.isMessageTag()) { String messageKey = wtag.getAttributes().getString("key"); if ((messageKey == null) || ...
protected void onDetach() { onDetachWasCalledOnAutoAddedComponent = true; super.onDetach(); } }); return true; } return false; }
protected void onDetach() { onDetachWasCalledOnAutoAddedComponent = true; super.onDetach(); } }, markupStream); return true; } return false; }
public boolean isSelected (int index) { checkWidget (); if (!(0 <= index && index < itemsCount)) return false; return items [index].isSelected (); } void onArrowDown (int stateMask) { if ((stateMask & (SWT.SHIFT | SWT.CTRL)) == 0) { /* Down Arrow with no modifiers */ int newFocusIndex = focusItem.index + 1; i...
public boolean isSelected (int index) { checkWidget (); if (!(0 <= index && index < itemsCount)) return false; return items [index].isSelected (); } void onArrowDown (int stateMask) { if ((stateMask & (SWT.SHIFT | SWT.CTRL)) == 0) { /* Down Arrow with no modifiers */ int newFocusIndex = focusItem.index + 1; i...
public void run() { Image expanded = (Image) display.getData (ID_EXPANDED); if (expanded != null) expanded.dispose (); Image collapsed = (Image) display.getData (ID_COLLAPSED); if (collapsed != null) collapsed.dispose (); Color connectorColor = (Color) display.getData (ID_CONNECTOR_COLOR); if (conne...
public void run() { Image expanded = (Image) display.getData (ID_EXPANDED); if (expanded != null) expanded.dispose (); Image collapsed = (Image) display.getData (ID_COLLAPSED); if (collapsed != null) collapsed.dispose (); Color connectorColor = (Color) display.getData (ID_CONNECTOR_COLOR); if (conne...
public void add(SampleResult sample) { if (data.size() == 0) { this.startTimestamp = sample.getStartTime(); } else { this.endTimestamp = sample.getEndTime(); } // now add the samples to the HashMap String url = sample.getSampleLabel(); if (url ...
public void add(SampleResult sample) { if (data.size() == 0) { this.startTimestamp = sample.getStartTime(); } else { this.endTimestamp = sample.getEndTime(); } // now add the samples to the HashMap String url = sample.getSampleLabel(); if (url ...
protected final ServiceManager getServiceManager() throws Exception { if( m_serviceManager == null ) { Logger logger = getLogger(); // Create the components m_serviceManager = new DefaultServiceManager(); List components = new ArrayList(); ...
protected final ServiceManager getServiceManager() throws Exception { if( m_serviceManager == null ) { Logger logger = getLogger(); // Create the components m_serviceManager = new DefaultServiceManager(); List components = new ArrayList(); ...
public static void main(String[] args) { new C(); Tester.checkEqual(A.aspectOf().advisedNewClass, "C"); } } aspect A issingleton() { String advisedNewClass = null; after () returning (): this(*) && execution(new(..)) { advisedNewClass = thisJoinPoint.getSourceLocation().getWithinType().getName(); ...
public static void main(String[] args) { new C(); Tester.checkEqual(A.aspectOf().advisedNewClass, "C"); } } aspect A issingleton() { String advisedNewClass = null; after () returning (): this(*) && execution(new(..)) && !this(A) { advisedNewClass = thisJoinPoint.getSourceLocation().getWithinType()...
public void addAll(final Collection collection) { attach(); list.add(collection); }
public void addAll(final Collection collection) { attach(); list.addAll(collection); }
public SignOut() { add(new SignOutPanel("signOutPanel")); }
public SignOut() { new SignOutPanel(this,"signOutPanel"); }
public TreeItem [] getItems () { checkWidget(); return getItems (0); } TreeItem [] getItems (int /*long*/ parent) { int length = OS.gtk_tree_model_iter_n_children (modelHandle, parent); TreeItem[] result = new TreeItem [length]; if (length == 0) return result; if ((style & SWT.VIRTUAL) != 0) { for (int i=0; i<...
public TreeItem [] getItems () { checkWidget(); return getItems (0); } TreeItem [] getItems (int /*long*/ parent) { int length = OS.gtk_tree_model_iter_n_children (modelHandle, parent); TreeItem[] result = new TreeItem [length]; if (length == 0) return result; if ((style & SWT.VIRTUAL) != 0) { for (int i=0; i<...
public ResolvedMember getMatchingSyntheticMember(Member member, ResolvedTypeX aspectType) { ResolvedMember ret = getSyntheticConstructor(); if (ResolvedTypeX.matches(ret, member)) return getSignature(); return null; }
public ResolvedMember getMatchingSyntheticMember(Member member, ResolvedTypeX aspectType) { ResolvedMember ret = getSyntheticConstructor(); if (ResolvedTypeX.matches(ret, member)) return getSignature(); return super.getMatchingSyntheticMember(member, aspectType); }
public ResolvedMember getMatchingSyntheticMember(Member member, ResolvedTypeX aspectType) { ResolvedMember ret = AjcMemberMaker.interMethodDispatcher(getSignature(), aspectType); if (ResolvedTypeX.matches(ret, member)) return getSignature(); return null; }
public ResolvedMember getMatchingSyntheticMember(Member member, ResolvedTypeX aspectType) { ResolvedMember ret = AjcMemberMaker.interMethodDispatcher(getSignature(), aspectType); if (ResolvedTypeX.matches(ret, member)) return getSignature(); return super.getMatchingSyntheticMember(member, aspectType); }
public void renderHead(IHeaderResponse response) { super.renderHead(response); if (!stopped) { if (RequestCycle.get().getRequestTarget() instanceof AjaxRequestTarget) { response.renderJavascript(getJsTimeoutCall(updateInterval), getComponent().getMarkupId()); } else { response.renderOnLoad...
public void renderHead(IHeaderResponse response) { super.renderHead(response); if (!stopped) { if (RequestCycle.get().getRequestTarget() instanceof AjaxRequestTarget) { response.renderJavascript(getJsTimeoutCall(updateInterval), null); } else { response.renderOnLoadJavascript(getJsTimeoutC...
public static final String version = "1.2"; // $NON-NLS-1$ // This is written to JMX files by ScriptWrapperConverter static String propertiesVersion = "";// read from properties file; written to JMX files static final String PROPVERSION = "1.8";// Expected $NON-NLS-1$ // Internal information only st...
public static final String version = "1.2"; // $NON-NLS-1$ // This is written to JMX files by ScriptWrapperConverter static String propertiesVersion = "";// read from properties file; written to JMX files static final String PROPVERSION = "1.8";// Expected $NON-NLS-1$ // Internal information only st...
public void setAlpha (int alpha) { if (window == null) return; checkWidget (); alpha &= 0xFF; window.setAlphaValue (alpha / 255f); } void setBounds (int x, int y, int width, int height, boolean move, boolean resize) { // Embedded Shells are not resizable. if (window == null) return; if (fullScreen) setFullScre...
public void setAlpha (int alpha) { if (window == null) return; checkWidget (); alpha &= 0xFF; window.setAlphaValue (alpha / 255f); } void setBounds (int x, int y, int width, int height, boolean move, boolean resize) { // Embedded Shells are not resizable. if (window == null) return; if (fullScreen) setFullScre...
public void setTimeout(Long value) { timeout = value; incompatibleWithSpawn = true; }
public void setTimeout(Long value) { timeout = value; incompatibleWithSpawn |= timeout!=null; }
public int getTopPixel() { checkWidget(); return getVerticalScrollOffset(); } /** * Returns the vertical scroll increment. * * @return vertical scroll increment. */ int getVerticalIncrement() { return renderer.getLineHeight(); } int getVerticalScrollOffset() { if (verticalScrollOffset == -1) { renderer.calcu...
public int getTopPixel() { checkWidget(); return getVerticalScrollOffset(); } /** * Returns the vertical scroll increment. * * @return vertical scroll increment. */ int getVerticalIncrement() { return renderer.getLineHeight(); } int getVerticalScrollOffset() { if (verticalScrollOffset == -1) { renderer.calcu...
public final Kind noGuardForLazyTjp = new Kind("noGuardForLazyTjp","can not build thisJoinPoint lazily for this advice since it has no suitable guard. The advice applies at {0}");
public final Kind noGuardForLazyTjp = new Kind("noGuardForLazyTjp","can not build thisJoinPoint lazily for this advice since it has no suitable guard");
public boolean syncWithManagedTransaction() { assertOpen(); lock(); try { if ((_flags & FLAG_ACTIVE) != 0) throw new InvalidStateException(_loc.get("active")); if (!_managed) throw new InvalidStateException(_loc.get("trans-not-managed")...
public boolean syncWithManagedTransaction() { assertOpen(); lock(); try { if ((_flags & FLAG_ACTIVE) != 0) return true; if (!_managed) throw new InvalidStateException(_loc.get("trans-not-managed")); if (_factory.syncWithMana...
private ChannelEndpointMultiplexer getMultiplexer(final String uri) { final String channel = getChannelURI(URI.create(uri)); ChannelEndpointMultiplexer multiplexer = (ChannelEndpointMultiplexer) multiplexers .get(channel); if (multiplexer == null || multiplexer.isConnected()) { multiplexer = new ChannelEn...
private ChannelEndpointMultiplexer getMultiplexer(final String uri) { final String channel = getChannelURI(URI.create(uri)); ChannelEndpointMultiplexer multiplexer = (ChannelEndpointMultiplexer) multiplexers .get(channel); if (multiplexer == null || !multiplexer.isConnected()) { multiplexer = new ChannelE...
public static String[] getAllFlags() { return new String[]{FLAG_NO_GEN, FLAG_ADDRESS, FLAG_CONST, FLAG_DYNAMIC, FLAG_JNI, FLAG_CPP, FLAG_NEW, FLAG_DELETE}; }
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_IN, FLAG_NO_OUT, FLAG_CRITICAL, FLAG_INIT, FLAG_STRUCT, FLAG_UNICODE, FLAG_SENTINEL}; }
public static String[] getAllFlags() { return new String[]{FLAG_NO_IN, FLAG_NO_OUT, FLAG_CRITICAL, FLAG_INIT, FLAG_STRUCT, FLAG_UNICODE, FLAG_SENTINEL, FLAG_GCOBJECT}; }
public void hello(); }
public void hello(String from); }
private HeaderManager createHeaderManager() { HeaderManager manager = new HeaderManager(); Iterator keys = headers.keySet().iterator(); while (keys.hasNext()) { String key = (String) keys.next(); if (!key.equals(PROXY_CONNECTION) && !key.equals(CONTENT_LENGTH)) { ...
private HeaderManager createHeaderManager() { HeaderManager manager = new HeaderManager(); Iterator keys = headers.keySet().iterator(); while (keys.hasNext()) { String key = (String) keys.next(); if (!key.equals(PROXY_CONNECTION) && !key.equals(CONTENT_LENGTH)) { ...
public void setPageIncrement (int value) { checkWidget(); if (value < 1) return; pageIncrement = value; } boolean SetScrollInfo (int /*long*/ hwnd, int flags, SCROLLINFO info, boolean fRedraw) { /* * Bug in Windows. For some reason, when SetScrollInfo() * is used with SIF_POS and the scroll bar is hidden, * th...
public void setPageIncrement (int value) { checkWidget(); if (value < 1) return; pageIncrement = value; } boolean SetScrollInfo (int /*long*/ hwnd, int flags, SCROLLINFO info, boolean fRedraw) { /* * Bug in Windows. For some reason, when SetScrollInfo() * is used with SIF_POS and the scroll bar is hidden, * th...
public int getAccelerator () { checkWidget(); return accelerator; } int /*long*/ getAccelGroup () { Menu menu = parent; while (menu != null && menu.cascade != null) { menu = menu.cascade.parent; } Decorations shell = menu.parent; return shell.menuBar == menu ? shell.accelGroup : 0; }
public int getAccelerator () { checkWidget(); return accelerator; } int /*long*/ getAccelGroup () { Menu menu = parent; while (menu.cascade != null) { menu = menu.cascade.parent; } Decorations shell = menu.parent; return shell.menuBar == menu ? shell.accelGroup : 0; }
public TreeItem getTopItem () { checkWidget (); int /*long*/ [] path = new int /*long*/ [1]; OS.gtk_widget_realize (handle); if (!OS.gtk_tree_view_get_path_at_pos (handle, 1, 1, path, null, null, null)) return null; if (path [0] == 0) return null; TreeItem item = null; int /*long*/ iter = OS.g_malloc (OS.GtkTree...
public TreeItem getTopItem () { checkWidget (); int /*long*/ [] path = new int /*long*/ [1]; OS.gtk_widget_realize (handle); if (!OS.gtk_tree_view_get_path_at_pos (handle, 1, 1, path, null, null, null)) return null; if (path [0] == 0) return null; TreeItem item = null; int /*long*/ iter = OS.g_malloc (OS.GtkTree...
public static void setLocale(Locale loc) { log.info("Setting Locale to " + loc.toString()); /* * See bug 29920. getBundle() defaults to the property file for the * default Locale before it defaults to the base property file, so we * need to change the default Locale to ens...
public static void setLocale(Locale loc) { log.info("Setting Locale to " + loc.toString()); /* * See bug 29920. getBundle() defaults to the property file for the * default Locale before it defaults to the base property file, so we * need to change the default Locale to ens...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
package org.eclipse.xpand3.analyzation; /** * <copyright> * * Copyright (c) 2002-2007 itemis AG and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * h...
public Page3(PageParameters parameters) { add(new Label("id", parameters.getString("id"))); }
public Page3(PageParameters parameters) { add(new Label("bookmarkparameter", parameters.getString("bookmarkparameter"))); }
public void threadOutput(String line, boolean isError) { Task task = (Task) threadTasks.get(Thread.currentThread()); if (task != null) { try { if (isError) { task.handleSystemErr(line); } else { task.handleSystemOut(...
public void threadOutput(String line, boolean isError) { Task task = (Task) threadTasks.get(Thread.currentThread()); if (task != null) { try { if (isError) { task.handleSystemErr(line); } else { task.handleSystemOut(...
public MonitorAspect() { synchronized (MonitorAspect.class) { if (monitorLog == null) { try { monitorLog = new PrintStream(new FileOutputStream("monitor.log")); monitorLog.println("Logging started at " + new Date());...
public MonitorAspect() { synchronized (MonitorAspect.class) { if (monitorLog == null) { try { monitorLog = new PrintStream(new FileOutputStream("monitor.log")); monitorLog.println("Logging started at " + new Date());...
public void execute() throws AntException { setProperty(MagicProperties.BASEDIR, getExecService().getBaseDir().getAbsolutePath()); Object key = getExecService().setupBuild(getProperties(), true); setSubBuildKey(key); getExecService().runBuild(key, getTargets()); ...
public void execute() throws AntException { setProperty(MagicProperties.BASEDIR, getExecService().getBaseDir().getAbsolutePath()); Object key = getExecService().setupBuild(getDataValues(), true); setSubBuildKey(key); getExecService().runBuild(key, getTargets()); ...
public void execute() throws AntException { AntContext context = getAntContext(); ComponentService componentService = (ComponentService) context.getCoreService(ComponentService.class); log("Adding lib path " + url + " for " + libraryId, MessageLevel.MSG_DEBUG); ...
public void execute() throws AntException { AntContext context = getAntContext(); ComponentService componentService = (ComponentService) context.getCoreService(ComponentService.class); log("Adding lib path " + url + " for " + libraryId, MessageLevel.DEBUG); co...
public void paintControl(PaintEvent e) { if (dropSelection == null || dropSelection.isDisposed()) return; GC gc = e.gc; boolean xor = gc.getXORMode(); gc.setXORMode(true); Rectangle bounds = dropSelection.getBounds(0); gc.fillRectangle(bounds.x, bounds.y, bounds.width, bounds.height);...
public void paintControl(PaintEvent e) { if (dropSelection == null || dropSelection.isDisposed()) return; GC gc = e.gc; boolean xor = gc.getXORMode(); gc.setXORMode(true); Rectangle bounds = dropSelection.getBounds(0); gc.fillRectangle(bounds.x, bounds.y, bounds.width, bounds.height);...
public void paintControl(PaintEvent e) { if (dropSelection == null || dropSelection.isDisposed()) return; GC gc = e.gc; boolean xor = gc.getXORMode(); gc.setXORMode(true); Rectangle bounds = dropSelection.getBounds(); gc.fillRectangle(bounds.x, bounds.y, bounds.width, bounds.height); ...
public void paintControl(PaintEvent e) { if (dropSelection == null || dropSelection.isDisposed()) return; GC gc = e.gc; boolean xor = gc.getXORMode(); gc.setXORMode(true); Rectangle bounds = dropSelection.getBounds(); gc.fillRectangle(bounds.x, bounds.y, bounds.width, bounds.height); ...
public void dispose () { if (!parent.isDisposed()) { for (int i=0; i<EVENTS.length; i++) { parent.removeListener (EVENTS [i], controlListener); } ScrollBar hBar = parent.getHorizontalBar (); if (hBar != null) hBar.removeListener (SWT.Selection, scrollbarListener); ScrollBar vBar = parent.getVerticalBar ()...
public void dispose () { if (parent != null && !parent.isDisposed()) { for (int i=0; i<EVENTS.length; i++) { parent.removeListener (EVENTS [i], controlListener); } ScrollBar hBar = parent.getHorizontalBar (); if (hBar != null) hBar.removeListener (SWT.Selection, scrollbarListener); ScrollBar vBar = parent...
public void layout () { if (table.isDisposed()) return; if (item == null || item.isDisposed()) return; int columnCount = table.getColumnCount(); if (columnCount == 0 && column != 0) return; if (columnCount > 0 && (column < 0 || column >= columnCount)) return; super.layout(); }
public void layout () { if (table == null || table.isDisposed()) return; if (item == null || item.isDisposed()) return; int columnCount = table.getColumnCount(); if (columnCount == 0 && column != 0) return; if (columnCount > 0 && (column < 0 || column >= columnCount)) return; super.layout(); }
public void layout () { if (tableTree.isDisposed()) return; if (item == null || item.isDisposed()) return; Table table = tableTree.getTable(); int columnCount = table.getColumnCount(); if (columnCount == 0 && column != 0) return; if (columnCount > 0 && (column < 0 || column >= columnCount)) return; super.layout(...
public void layout () { if (tableTree == null || tableTree.isDisposed()) return; if (item == null || item.isDisposed()) return; Table table = tableTree.getTable(); int columnCount = table.getColumnCount(); if (columnCount == 0 && column != 0) return; if (columnCount > 0 && (column < 0 || column >= columnCount)) r...
public void layout () { if (tree.isDisposed()) return; if (item == null || item.isDisposed()) return; int columnCount = tree.getColumnCount(); if (columnCount == 0 && column != 0) return; if (columnCount > 0 && (column < 0 || column >= columnCount)) return; super.layout(); }
public void layout () { if (tree == null || tree.isDisposed()) return; if (item == null || item.isDisposed()) return; int columnCount = tree.getColumnCount(); if (columnCount == 0 && column != 0) return; if (columnCount > 0 && (column < 0 || column >= columnCount)) return; super.layout(); }
protected abstract IResource getResource(); }
public abstract IResource getResource(); }
public IDocumentSynchronizationStrategyFactory getSynchStrategyFactory(String serviceProvider) { if (serviceTracker == null) { serviceTracker = new ServiceTracker(context,IDocumentSynchronizationStrategyFactory.class.getName(),null); serviceTracker.open(); } ServiceReference [] refs = serviceTracker.getSer...
public IDocumentSynchronizationStrategyFactory getSynchStrategyFactory(String serviceProvider) { if (serviceTracker == null) { serviceTracker = new ServiceTracker(context,IDocumentSynchronizationStrategyFactory.class.getName(),null); serviceTracker.open(); } ServiceReference [] refs = serviceTracker.getSer...
protected void debug(String msg) { Trace.trace(ProviderPlugin.PLUGIN_ID, ECFProviderDebugOptions.DEBUG, msg); }
protected void debug(String msg) { Trace.trace(ProviderPlugin.PLUGIN_ID, ECFProviderDebugOptions.CONNECTION, msg); }
public void resolveStatements() { if ((modifiers & AccSemicolonBody) != 0) { if ((declaredModifiers & AccAbstract) == 0) scope.problemReporter().methodNeedBody(this); } else { // the method HAS a body --> abstract native modifiers are forbiden if (((d...
public void resolveStatements() { if ((modifiers & AccSemicolonBody) != 0) { if ((declaredModifiers & AccAbstract) == 0) scope.problemReporter().methodNeedBody(this); } else { // the method HAS a body --> abstract native modifiers are forbiden if (((d...
public String toString() { StringBuffer buf = new StringBuffer("RemoteServiceRegistrationImpl["); //$NON-NLS-1$ buf.append("containerID=").append(containerID).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("serviceid=").append(serviceid).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("serviceranking=...
public String toString() { StringBuffer buf = new StringBuffer("RemoteServiceRegistrationImpl["); //$NON-NLS-1$ buf.append("containerID=").append(containerID).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("serviceid=").append(serviceid).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("serviceranking=...
public void setLastModifiedTime(Time time) { if (time != null) { // If time is set also set cache headers. httpServletResponse.setDateHeader("Expires", time.getMilliseconds() + (3600 * 1000)); httpServletResponse.setHeader("Cache-Control", "max-age=" + 3600); httpServletResponse.setDateHeader("Last-Mo...
public void setLastModifiedTime(Time time) { if (time != null) { // If time is set also set cache headers. httpServletResponse.setDateHeader("Expires", System.currentTimeMillis() + (3600 * 1000)); httpServletResponse.setHeader("Cache-Control", "max-age=" + 3600); httpServletResponse.setDateHeader("Las...
public RedirectPage(final Page page, final int waitBeforeRedirectInSeconds) { this(page.urlFor(page, IRedirectListener.class), waitBeforeRedirectInSeconds); }
public RedirectPage(final Page page, final int waitBeforeRedirectInSeconds) { this(page.urlFor(IRedirectListener.class), waitBeforeRedirectInSeconds); }
public void testRenderHomePage_12() throws Exception { executeTest(HeaderSectionPage_12.class, "HeaderSectionPageExpectedResult_12.html"); PackageResource res = (PackageResource) application.getSharedResources().get("wicket.Application/cborder.css"); assertNotNull(res); String absPath = res.getAbs...
public void testRenderHomePage_12() throws Exception { executeTest(HeaderSectionPage_12.class, "HeaderSectionPageExpectedResult_12.html"); PackageResource res = (PackageResource) application.getSharedResources().get("wicket.markup.parser.filter.sub.HeaderSectionBorder/cborder.css"); assertNotNull(res);...
protected boolean couldEverMatchSameTypesAs(TypePattern other) { if (super.couldEverMatchSameTypesAs(other)) return true; // false is necessary but not sufficient TypeX otherType = other.getExactType(); if (otherType != ResolvedTypeX.MISSING) { return type.equals(otherType); } if (other instanceof Wild...
protected boolean couldEverMatchSameTypesAs(TypePattern other) { if (super.couldEverMatchSameTypesAs(other)) return true; // false is necessary but not sufficient TypeX otherType = other.getExactType(); if (otherType != ResolvedTypeX.MISSING) { return type.equals(otherType); } if (other instanceof Wild...
public void process() { JMeterContext jmctx = JMeterContextService.getContext(); SampleResult prev = jmctx.getPreviousResult(); if (prev == null || prev.getResponseData().length == 0) { return; } JMeterVariables vars = jmctx.getVariables(); try { // Add variable...
public void process() { JMeterContext jmctx = JMeterContextService.getContext(); SampleResult prev = jmctx.getPreviousResult(); if (prev == null) { return; } JMeterVariables vars = jmctx.getVariables(); try { // Add variables for access to context and variables ...
public void execute() throws BuildException { if (!descriptorDirectory.isDirectory()) { throw new BuildException("descriptors directory " + descriptorDirectory.getPath() + " is not valid"); } if (!generatedFilesDirectory.isDirectory()) { ...
public void execute() throws BuildException { if (!descriptorDirectory.isDirectory()) { throw new BuildException("descriptors directory " + descriptorDirectory.getPath() + " is not valid"); } if (!generatedFilesDirectory.isDirectory()) { ...
public void execute() throws BuildException { if (!descriptorDirectory.isDirectory()) { throw new BuildException("descriptors directory " + descriptorDirectory.getPath() + " is not valid"); } if (!generatedFilesDirectory.isDirectory()) { ...
public void execute() throws BuildException { if (!descriptorDirectory.isDirectory()) { throw new BuildException("descriptors directory " + descriptorDirectory.getPath() + " is not valid"); } if (!generatedFilesDirectory.isDirectory()) { ...
public void execute() throws BuildException { if (weblogicSystemHome == null) { throw new BuildException("weblogic home must be set"); } if (!weblogicSystemHome.isDirectory()) { throw new BuildException("weblogic home directory " + weblogicSystemHome.getPath() + ...
public void execute() throws BuildException { if (weblogicSystemHome == null) { throw new BuildException("weblogic home must be set"); } if (!weblogicSystemHome.isDirectory()) { throw new BuildException("weblogic home directory " + weblogicSystemHome.getPath() + ...
public void execute() throws BuildException { if (username == null || password == null) { throw new BuildException("weblogic username and password must both be set"); } if (serverURL == null) { throw new BuildException("The url of the weblogic server must...
public void execute() throws BuildException { if (username == null || password == null) { throw new BuildException("weblogic username and password must both be set"); } if (serverURL == null) { throw new BuildException("The url of the weblogic server must...
import java.io.PrintStream; /* * The Apache Software License, Version 1.1 * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1...
import java.io.PrintStream; /* * The Apache Software License, Version 1.1 * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1...
import java.io.File; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redis...
import java.io.File; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redis...
public static final String DEFAULT_TASK = "default"; }
public final static String DEFAULT_TASK = "default"; }
* Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. */ package org.apache.tools.ant.taskdefs.optional.perforce; import org.apache.tools.ant.*;
* Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. */ package org.apache.tools.ant.taskdefs.optional.perforce; import org.apache.tools.ant.BuildException;
public void writeAndClose() { try { if (!isOverwrite() && targetFile.exists()) { log.debug("Skipping file : " + targetFile.getAbsolutePath() + " cause it exists allready"); return; } log.debug("Opening file : " + targetFile.getAbsolutePath()); // create all parent directories final File parent...
public void writeAndClose() { try { if (!isOverwrite() && targetFile.exists()) { log.debug("Skipping file : " + targetFile.getAbsolutePath() + " cause it exists already"); return; } log.debug("Opening file : " + targetFile.getAbsolutePath()); // create all parent directories final File parentD...
public void registerExtensionAdvices(final String fullyQualifiedName) { final XtendFile ext = (XtendFile) resourceManager.loadResource(fullyQualifiedName, XtendFile.FILE_EXTENSION); if (ext == null) { throw new IllegalArgumentException("Couldn't find extension file '" + fullyQualifiedName + "'"); } final Li...
public void registerExtensionAdvices(final String fullyQualifiedName) { final XtendFile ext = (XtendFile) resourceManager.loadResource(fullyQualifiedName, XtendFile.FILE_EXTENSION); if (ext == null) { throw new IllegalArgumentException("Couldn't find extension file '" + fullyQualifiedName + "'"); } final Li...
public BoxBorderTestPage_11() { BaseBorder border = new TogglePanel("border", new Model<String>("model")); add(border); border.addToBorder(new Label("label", "my test")); }
public BoxBorderTestPage_11() { BaseBorder border = new TogglePanel("border", new Model<String>("model")); add(border); border.addToBorderBody(new Label("label", "my test")); }
public BoxBorderTestPage_9() { BaseBorder myBorder = new BorderComponent1("myBorder"); add(myBorder); Fragment panel1 = new Fragment("fragmentsWillBeRenderedHere", "fragmentSource", this); myBorder.addToBorder(panel1); }
public BoxBorderTestPage_9() { BaseBorder myBorder = new BorderComponent1("myBorder"); add(myBorder); Fragment panel1 = new Fragment("fragmentsWillBeRenderedHere", "fragmentSource", this); myBorder.addToBorderBody(panel1); }
public HideableBorderPage() { border = new HideableBorder("hideable"); add(border); border.addToBorder(new Label("content", "label")); }
public HideableBorderPage() { border = new HideableBorder("hideable"); add(border); border.addToBorderBody(new Label("content", "label")); }
private void renderNext(final RequestCycle cycle, final MarkupStream markupStream) { // Get the current markup element final MarkupElement element = markupStream.get(); // Is it a component? if (element instanceof ComponentTag) { // Get element as tag ...
private void renderNext(final RequestCycle cycle, final MarkupStream markupStream) { // Get the current markup element final MarkupElement element = markupStream.get(); // Is it a component? if (element instanceof ComponentTag && (!markupStream.atCloseTag())) { ...
public Object getValue(Discriminator discrim, boolean adapt) { if (discrim.getValue() != null) return discrim.getValue(); if (_value == null) return discrim.getMappingRepository().getMappingDefaults(). getDiscriminatorValue(discrim, adapt); if (_value...
public Object getValue(Discriminator discrim, boolean adapt) { if (discrim.getValue() != null) return discrim.getValue(); if (_value == null) return discrim.getMappingRepository().getMappingDefaults(). getDiscriminatorValue(discrim, adapt); if (_value...
public final CharSequence urlFor(final Component component, final RequestListenerInterface listener, ValueMap params) { // Get Page holding component and mark it as stateful. final Page page = component.getPage(); final IRequestTarget target; if (listener != IRedirectListener.INTERFACE && component.isStatel...
public final CharSequence urlFor(final Component component, final RequestListenerInterface listener, ValueMap params) { // Get Page holding component and mark it as stateful. final Page page = component.getPage(); final IRequestTarget target; if (listener != IRedirectListener.INTERFACE && component.isStatel...
public void testSpecialSignsInHtmlPath() throws Exception { executeTarget("testSpecialSignsInHtmlPath"); File reportFile = new File(System.getProperty("root"), "src/etc/testcases/taskdefs/optional/junitreport/test/html# $%§&-!report/index.html"); // tests one the file object assertTr...
public void testSpecialSignsInHtmlPath() throws Exception { executeTarget("testSpecialSignsInHtmlPath"); File reportFile = new File(System.getProperty("root"), "src/etc/testcases/taskdefs/optional/junitreport/test/html# $%\u00A7&-!report/index.html"); // tests one the file object ass...
public String getMarkupId() { // first try a manually set id String markupId = getMarkupAttributes().getString(MARKUP_ID_ATTR_NAME); if (id == null) { // then check the metadata markupId = getMetaData(MARKUP_ID_KEY); if (markupId == null) { // if the metadata is empty, generate one and store i...
public String getMarkupId() { // first try a manually set id String markupId = getMarkupAttributes().getString(MARKUP_ID_ATTR_NAME); if (markupId == null) { // then check the metadata markupId = getMetaData(MARKUP_ID_KEY); if (markupId == null) { // if the metadata is empty, generate one and s...
public boolean isType() { return getKind().equals("interface") || getKind().equals("class") || getKind().equals("aspect"); }
public boolean isType() { return getKind().equals("interface") || getKind().equals("class") || getKind().equals("aspect") || getKind().equals("enum"); }
private void writeFileEnd() { if (SaveService.getOutputFormat() == SaveService.SAVE_AS_XML) { out.print("</testResults>"); } }
private void writeFileEnd() { if (SaveService.getOutputFormat() == SaveService.SAVE_AS_XML) { out.print("\n</testResults>"); } }
public void removeAll () { checkWidget (); parent.setItemCount (0); }
public void removeAll () { checkWidget (); parent.setItemCount (this, 0); }
public boolean match(Shadow shadow, World world) { if (super.match(shadow, world)) { IMessage message = new Message( msg, shadow.toString(), isError ? IMessage.ERROR : IMessage.WARNING, shadow.getSourceLocation(), null, new ISourceLocation[]{this.getSourceLocation()...
public boolean match(Shadow shadow, World world) { if (super.match(shadow, world)) { IMessage message = new Message( msg, shadow.toString(), isError ? IMessage.ERROR : IMessage.WARNING, shadow.getSourceLocation(), null, new ISourceLocation[]{this.getSourceLocation()...
private void implementMungers() { World world = getIWorld(); for (Iterator iter = mungers.iterator(); iter.hasNext();) { ShadowMunger munger = (ShadowMunger) iter.next(); munger.implementOn(this); if (world.xrefHandler != null) { world.xrefHandler.addCrossReference( munger.getSourceLocation(...
private void implementMungers() { World world = getIWorld(); for (Iterator iter = mungers.iterator(); iter.hasNext();) { ShadowMunger munger = (ShadowMunger) iter.next(); munger.implementOn(this); if (world.xrefHandler != null) { world.xrefHandler.addCrossReference( munger.getSourceLocation(...
public void undoReverseReplace(CollectionProperty prop) { Collection newColl = null; try { newColl = (Collection) prop.getClass().newInstance(); } catch (Exception e) { log.error("", e); return; } PropertyIterato...
public void undoReverseReplace(CollectionProperty prop) { Collection newColl = null; try { newColl = (Collection) prop.getObjectValue().getClass().newInstance(); } catch (Exception e) { log.error("", e); return; } ...
public PageParameters getPageParameters() { if (pageParameters != null) { return pageParameters; } else if (pageInstance != null) { return pageInstance.getPageParameters(); } else { return null; } }
public PageParameters getPageParameters() { if (pageParameters != null) { return pageParameters; } else if (isNewPageInstance() == false) { return pageInstance.getPageParameters(); } else { return null; } }
public void redraw (int x, int y, int width, int height, boolean all) { checkWidget(); if (!OS.GTK_WIDGET_VISIBLE (topHandle ())) return; redrawWidget (x, y, width, height, all); } void redrawWidget (int x, int y, int width, int height, boolean all) { if ((OS.GTK_WIDGET_FLAGS (handle) & OS.GTK_REALIZED) == 0) retu...
public void redraw (int x, int y, int width, int height, boolean all) { checkWidget(); if (!OS.GTK_WIDGET_VISIBLE (topHandle ())) return; redrawWidget (x, y, width, height, all); } void redrawWidget (int x, int y, int width, int height, boolean all) { if ((OS.GTK_WIDGET_FLAGS (handle) & OS.GTK_REALIZED) == 0) retu...
public void draw (GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground, int flags) { checkLayout(); computeRuns(gc); if (gc == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); if (gc.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT); if (selectionForeground !=...
public void draw (GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground, int flags) { checkLayout(); computeRuns(gc); if (gc == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); if (gc.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT); if (selectionForeground !=...
public void setContextPath(String contextPath) { if(contextPath != null) { if(!contextPath.startsWith("/")) { this.contextPath = "/" + contextPath; } else { this.contextPath = contextPath; } } }
public void setContextPath(String contextPath) { if(contextPath != null) { if(!contextPath.startsWith("/") && !contextPath.startsWith("http:")) { this.contextPath = "/" + contextPath; } else { this.contextPath = contextPath; } } }
protected Control createDialogArea(Composite parent) { Control comp = super.createDialogArea(parent); PlatformUI.getWorkbench().getHelpSystem().setHelp(comp, "org.eclipse.wst.xml.security.doc.xpath"); return comp; }
protected Control createDialogArea(Composite parent) { Control comp = super.createDialogArea(parent); PlatformUI.getWorkbench().getHelpSystem().setHelp(comp, IContextHelpIds.XPATH_DIALOG); return comp; }
public void setItemCount (int count) { checkWidget (); count = Math.max (0, count); if (count == itemCount) return; if (count == itemCount) return; TableItem [] children = items; if (count < itemCount) { for (int index = count; index < itemCount; index ++) { TableItem item = children [index]; if (item != ...
public void setItemCount (int count) { checkWidget (); count = Math.max (0, count); if (count == itemCount) return; if (count == itemCount) return; TableItem [] children = items; if (count < itemCount) { for (int index = count; index < itemCount; index ++) { TableItem item = children [index]; if (item != ...
protected void scanEntityReference() throws IOException, XNIException { // name String name = fEntityScanner.scanName(); if (name == null) { reportFatalError("NameRequiredInReference", null); } // end if (!fEntityScanner.skipChar(';')) { repo...
protected void scanEntityReference() throws IOException, XNIException { // name String name = fEntityScanner.scanName(); if (name == null) { reportFatalError("NameRequiredInReference", null); } // end if (!fEntityScanner.skipChar(';')) { repo...
protected void scanAttributeValue(XMLString value, XMLString nonNormalizedValue, String atName, XMLAttributes attributes, int attrIndex, boolean checkEntities) ...
protected void scanAttributeValue(XMLString value, XMLString nonNormalizedValue, String atName, XMLAttributes attributes, int attrIndex, boolean checkEntities) ...
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException { //REVISIT: schema elements must be namespace aware. // DTD re-validation is not implemented yet.. Element currentElement = (Element) fCurrentNode; int attrCount = attributes.getLength(); ...
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException { //REVISIT: schema elements must be namespace aware. // DTD re-validation is not implemented yet.. Element currentElement = (Element) fCurrentNode; int attrCount = attributes.getLength(); ...
public void widgetSelected (SelectionEvent event) { setExampleWidgetBackgroundImage (); } }); /* Set the default state */ enabledButton.setSelection(true); visibleButton.setSelection(true); backgroundImageButton.setSelection(false); } /** * Creates the "Background Mode" group. */ void cre...
public void widgetSelected (SelectionEvent event) { setExampleWidgetBackgroundImage (); } }); /* Set the default state */ enabledButton.setSelection(true); visibleButton.setSelection(true); backgroundImageButton.setSelection(false); } /** * Creates the "Background Mode" group. */ void cre...
package org.apache.myrmidon.components.role; /* * 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.apache....
package org.apache.myrmidon.components.role; /* * 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.apache....
package org.apache.myrmidon.framework; /* * 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.apache.myrmido...
package org.apache.myrmidon.framework; /* * 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.apache.myrmido...