buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
public final class PNGFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public ...
public final class PNGFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public ...
public final class TIFFFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public...
public final class TIFFFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public...
public final class WinBMPFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Publ...
public final class WinBMPFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Publ...
public final class WinICOFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Publ...
public final class WinICOFileFormat extends FileFormat { /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Publ...
public AbstractSQLServerDictionary() { reservedWordSet.add("FILE"); systemTableSet.add("DTPROPERTIES"); validationSQL = "SELECT GETDATE()"; rangePosition = RANGE_POST_DISTINCT; supportsDeferredConstraints = false; supportsSelectEndIndex = true; allowsAliasInB...
public AbstractSQLServerDictionary() { reservedWordSet.addAll(Arrays.asList(new String[]{ "FILE", "INDEX" })); systemTableSet.add("DTPROPERTIES"); validationSQL = "SELECT GETDATE()"; rangePosition = RANGE_POST_DISTINCT; supportsDeferredConstraints = false; supportsSe...
public ICompilerAdapter getAdapter(Compiler forCompiler) { Map javaOptions = forCompiler.options.getMap(); // TODO get aspectj options from project and add into map before... AjCompilerOptions ajOptions = new AjCompilerOptions(javaOptions); forCompiler.options = ajOptions; if (isBatchBuild || myBcelWorld ...
public ICompilerAdapter getAdapter(Compiler forCompiler) { Map javaOptions = forCompiler.options.getMap(); // TODO get aspectj options from project and add into map before... AjCompilerOptions ajOptions = new AjCompilerOptions(javaOptions); forCompiler.options = ajOptions; if (isBatchBuild || myBcelWorld ...
protected HTTPSampleResult downloadPageResources(HTTPSampleResult res, HTTPSampleResult container, int frameDepth) { Iterator<URL> urls = null; try { final byte[] responseData = res.getResponseData(); if (responseData.length > 0){ // Bug 39205 String parserNa...
protected HTTPSampleResult downloadPageResources(HTTPSampleResult res, HTTPSampleResult container, int frameDepth) { Iterator<URL> urls = null; try { final byte[] responseData = res.getResponseData(); if (responseData.length > 0){ // Bug 39205 String parserNa...
public int objc_getClass() { String name = getClass().getName(); int index = name.lastIndexOf('.'); if (index != -1) name = name.substring(index + 1); return OS.objc_getClass(name); } }
public int /*long*/ objc_getClass() { String name = getClass().getName(); int index = name.lastIndexOf('.'); if (index != -1) name = name.substring(index + 1); return OS.objc_getClass(name); } }
public void component(final Radio<T> radio, final IVisit<Radio<T>> visit) { if (radio.getValue().equals(value)) { visit.stop(radio); } } }); if (choice == null) { throw new WicketRuntimeException( "submitted http post value [" + value + "] for Rad...
public void component(final Radio<T> radio, final IVisit<Radio<T>> visit) { if (radio.getValue().equals(value)) { visit.stop(radio); } } }); if (choice == null) { throw new WicketRuntimeException( "submitted http post value [" + value + "] for Rad...
public final IFrameworkSettings getFrameworkSettings() { checkSettingsAvailable(); if (frameworkSettings == null) { frameworkSettings = new FrameworkSettings(); } return frameworkSettings; }
public final IFrameworkSettings getFrameworkSettings() { checkSettingsAvailable(); if (frameworkSettings == null) { frameworkSettings = new FrameworkSettings(this); } return frameworkSettings; }
public void testFrameworkVersion() { IFrameworkSettings settings = new FrameworkSettings(); assertEquals("n/a", settings.getVersion()); }
public void testFrameworkVersion() { IFrameworkSettings settings = new FrameworkSettings(new MockApplication()); assertEquals("n/a", settings.getVersion()); }
public final void onValidate(final FormComponent formComponent, final String value) { // Check value only if form component is enabled if (formComponent.isEnabled()) { // do not perform validation return; } // when null, check whether this is natural for that component, or // whether - as is the ca...
public final void onValidate(final FormComponent formComponent, final String value) { // Check value only if form component is enabled if (!formComponent.isEnabled()) { // do not perform validation return; } // when null, check whether this is natural for that component, or // whether - as is the c...
public void selectAll () { checkWidget (); if ((style & SWT.SINGLE) != 0) return; LVITEM lvItem = new LVITEM (); lvItem.mask = OS.LVIF_STATE; lvItem.state = OS.LVIS_SELECTED; lvItem.stateMask = OS.LVIS_SELECTED; ignoreSelect = true; OS.SendMessage (handle, OS.LVM_SETITEMSTATE, -1, lvItem); ignoreSelect = false...
public void selectAll () { checkWidget (); if ((style & SWT.SINGLE) != 0) return; LVITEM lvItem = new LVITEM (); lvItem.mask = OS.LVIF_STATE; lvItem.state = OS.LVIS_SELECTED; lvItem.stateMask = OS.LVIS_SELECTED; ignoreSelect = true; OS.SendMessage (handle, OS.LVM_SETITEMSTATE, -1, lvItem); ignoreSelect = false...
public void selectAll () { checkWidget (); if ((style & SWT.SINGLE) != 0) return; TVITEM tvItem = new TVITEM (); tvItem.mask = OS.TVIF_STATE; tvItem.state = OS.TVIS_SELECTED; tvItem.stateMask = OS.TVIS_SELECTED; int oldProc = OS.GetWindowLong (handle, OS.GWL_WNDPROC); OS.SetWindowLong (handle, OS.GWL_WNDPROC, T...
public void selectAll () { checkWidget (); if ((style & SWT.SINGLE) != 0) return; TVITEM tvItem = new TVITEM (); tvItem.mask = OS.TVIF_STATE; tvItem.state = OS.TVIS_SELECTED; tvItem.stateMask = OS.TVIS_SELECTED; int oldProc = OS.GetWindowLong (handle, OS.GWL_WNDPROC); OS.SetWindowLong (handle, OS.GWL_WNDPROC, T...
private void setValues(int selectedRow) { nameTF.setText((String)tableModel.getValueAt(selectedRow, 0)); valueTA.setText((String)tableModel.getValueAt(selectedRow, 1)); valueTA.setCaretPosition(0); textChanged = false; }
private void setValues(int selectedRow) { nameTF.setText((String)tableModel.getValueAt(selectedRow, 0)); valueTA.setInitialText((String)tableModel.getValueAt(selectedRow, 1)); valueTA.setCaretPosition(0); textChanged = false; }
public MarkupElement nextTag() throws ParseException { // Get the next tag from the markup. // If null, no more tags are available ComponentTag tag = (ComponentTag)getParent().nextTag(); if (tag == null) { return tag; } // must be <body onload="..."> if (tag.isOpen() && "body".equalsIgnoreCase(tag...
public MarkupElement nextTag() throws ParseException { // Get the next tag from the markup. // If null, no more tags are available ComponentTag tag = nextComponentTag(); if (tag == null) { return tag; } // must be <body onload="..."> if (tag.isOpen() && "body".equalsIgnoreCase(tag.getName()) && (t...
public MarkupElement nextTag() throws ParseException { // Get the next tag. If null, no more tags are available final ComponentTag tag = (ComponentTag)getParent().nextTag(); if (tag == null) { // No more tags from the markup. // If there's still a non-simple tag left, it's an error while (stack.size(...
public MarkupElement nextTag() throws ParseException { // Get the next tag. If null, no more tags are available final ComponentTag tag = nextComponentTag(); if (tag == null) { // No more tags from the markup. // If there's still a non-simple tag left, it's an error while (stack.size() > 0) { f...
public MarkupElement nextTag() throws ParseException { // If there is something in the stack, ... while (stack.size() > 0) { final ComponentTag top = stack.pop(); return top; } // Get the next tag. If null, no more tags are available // in the markup final ComponentTag tag = (ComponentTag)getPare...
public MarkupElement nextTag() throws ParseException { // If there is something in the stack, ... while (stack.size() > 0) { final ComponentTag top = stack.pop(); return top; } // Get the next tag. If null, no more tags are available // in the markup final ComponentTag tag = nextComponentTag(); ...
public final MarkupElement nextTag() throws ParseException { // Get the next tag from the next MarkupFilter in the chain // If null, no more tags are available final ComponentTag tag = (ComponentTag)getParent().nextTag(); if (tag == null) { return tag; } final String wicketMessageAttribute = tag.get...
public final MarkupElement nextTag() throws ParseException { // Get the next tag from the next MarkupFilter in the chain // If null, no more tags are available final ComponentTag tag = nextComponentTag(); if (tag == null) { return tag; } final String wicketMessageAttribute = tag.getAttributes().getS...
public Object convertToObject(String value, Locale locale) { if (value == null) { return null; } Class<?> theType = type.get(); if ("".equals(value)) { if (theType.equals(String.class)) { return theType.cast(""); } return null; } try { Object converted = Obje...
public Object convertToObject(String value, Locale locale) { if (value == null) { return null; } Class<?> theType = type.get(); if ("".equals(value)) { if (String.class.equals(theType)) { return theType.cast(""); } return null; } try { Object converted = Obje...
private JPanel createHTTPSamplerPanel() { DefaultComboBoxModel m = new DefaultComboBoxModel(); for (String s : HTTPSamplerFactory.getImplementations()){ m.addElement(s); } samplerTypeName = new JComboBox(m); samplerTypeName.setSelectedIndex(0); samplerType...
private JPanel createHTTPSamplerPanel() { DefaultComboBoxModel m = new DefaultComboBoxModel(); for (String s : HTTPSamplerFactory.getImplementations()){ m.addElement(s); } samplerTypeName = new JComboBox(m); samplerTypeName.setSelectedItem(HTTPSamplerFactory.DEFAU...
public Object clone() { try { TestElement clonedElement = this.getClass().newInstance(); PropertyIterator iter = propertyIterator(); while (iter.hasNext()) { clonedElement.setProperty((JMeterProperty) iter.next().clone()); } cloned...
public Object clone() { try { TestElement clonedElement = this.getClass().newInstance(); PropertyIterator iter = propertyIterator(); while (iter.hasNext()) { clonedElement.setProperty(iter.next().clone()); } clonedElement.setRunnin...
public Object clone(); }
public JMeterProperty clone(); }
public void testIterationStart(LoopIterationEvent event) { if (getClearEachIteration()) { log.debug("Initialise cookies from pre-defined list"); // No need to call clear setProperty((CollectionProperty)initialCookies.clone()); } }
public void testIterationStart(LoopIterationEvent event) { if (getClearEachIteration()) { log.debug("Initialise cookies from pre-defined list"); // No need to call clear setProperty(initialCookies.clone()); } }
private void setProperty(String name, JMeterProperty prop) { JMeterProperty jmp = (JMeterProperty) prop.clone(); jmp.setName(name); setProperty(jmp); }
private void setProperty(String name, JMeterProperty prop) { JMeterProperty jmp = prop.clone(); jmp.setName(name); setProperty(jmp); }
public static SliceInfo getSlicesByPolicy(Object pc, DistributedConfiguration conf, Object ctx) { List<String> actives = conf.getActiveSliceNames(); Object policy = null; String[] targets = null; boolean replicated = isReplicated(pc, conf); if (replicated) { policy = conf.getReplicationPolicyInstance(...
public static SliceInfo getSlicesByPolicy(Object pc, DistributedConfiguration conf, Object ctx) { List<String> actives = conf.getActiveSliceNames(); Object policy = null; String[] targets = null; boolean replicated = isReplicated(pc, conf); if (replicated) { policy = conf.getReplicationPolicyInstance(...
public int getAlignment () { checkWidget (); if ((style & SWT.CENTER) != 0) return SWT.CENTER; if ((style & SWT.RIGHT) != 0) return SWT.RIGHT; return SWT.LEFT; } int getContentWidth (GC gc) { int contentWidth = gc.textExtent (text, SWT.DRAW_MNEMONIC).x; if (image != null) { contentWidth += image.getBounds ().wi...
public int getAlignment () { checkWidget (); if ((style & SWT.CENTER) != 0) return SWT.CENTER; if ((style & SWT.RIGHT) != 0) return SWT.RIGHT; return SWT.LEFT; } int getContentWidth (GC gc) { int contentWidth = gc.textExtent (text, SWT.DRAW_MNEMONIC).x; if (image != null) { contentWidth += image.getBounds ().wi...
public TableItem (Table parent, int style, int index) { this (parent, style, index, true); } TableItem (Table parent, int style, int index, boolean create) { super (parent, style); this.parent = parent; if (create) parent.createItem (this, index); } static Table checkNull (Table control) { if (control == null) S...
public TableItem (Table parent, int style, int index) { this (parent, style, index, true); } TableItem (Table parent, int style, int index, boolean create) { super (parent, style); this.parent = parent; if (create) parent.createItem (this, index); } static Table checkNull (Table control) { if (control == null) S...
public TreeItem (TreeItem parentItem, int style, int index) { this (checkNull (parentItem).parent, parentItem, style, checkIndex (index), true); } TreeItem (Tree parent, TreeItem parentItem, int style, int index, boolean create) { super (parent, style); this.parent = parent; this.parentItem = parentItem; if (crea...
public TreeItem (TreeItem parentItem, int style, int index) { this (checkNull (parentItem).parent, parentItem, style, checkIndex (index), true); } TreeItem (Tree parent, TreeItem parentItem, int style, int index, boolean create) { super (parent, style); this.parent = parent; this.parentItem = parentItem; if (crea...
public DisplaytagIndex(final PageParameters parameters) { add(new NavigationPanel("mainNavigation", "Helloworld example")); }
public DisplaytagIndex(final PageParameters parameters) { add(new NavigationPanel("mainNavigation", "Displaytag like examples")); }
public Home(final PageParameters parameters) { add(new NavigationPanel("mainNavigation", "Form Input Example")); add(new Label("message", "Hello world! Test: äöü")); }
public Home(final PageParameters parameters) { add(new NavigationPanel("mainNavigation", "Charset encoding Example")); add(new Label("message", "Hello world! Test: äöü")); }
protected IModel initModel() { return new Model(null); }
protected IModel initModel() { return new Model(); }
public Text (Composite parent, int style) { super (parent, checkStyle (style)); } int /*long*/ callWindowProc (int /*long*/ hwnd, int msg, int /*long*/ wParam, int /*long*/ lParam) { if (handle == 0) return 0; boolean redraw = false; switch (msg) { case OS.WM_ERASEBKGND: { if (findImageControl () != null) ret...
public Text (Composite parent, int style) { super (parent, checkStyle (style)); } int /*long*/ callWindowProc (int /*long*/ hwnd, int msg, int /*long*/ wParam, int /*long*/ lParam) { if (handle == 0) return 0; boolean redraw = false; switch (msg) { case OS.WM_ERASEBKGND: { if (findImageControl () != null) ret...
public static boolean test() { int fail = 0; String[] urls = {"http://www.eclipse.org", "http://www.google.com", "http://www.ibm.com"}; for (int i = 0; i < urls.length; i++) { boolean result = test1(urls[i]); System.out.print(result ? "." : "E"); if (!result) fail++; } for (int i = 0; i < urls.len...
public static boolean test() { int fail = 0; String[] urls = {"http://www.google.com"}; for (int i = 0; i < urls.length; i++) { boolean result = test1(urls[i]); System.out.print(result ? "." : "E"); if (!result) fail++; } for (int i = 0; i < urls.length; i++) { boolean result = test2(urls[i]); ...
public static boolean test() { int fail = 0; String[] urls = {"http://www.eclipse.org", "http://www.google.com", "http://www.ibm.com"}; for (int i = 0; i < urls.length; i++) { boolean result = test1(urls[i]); System.out.print(result ? "." : "E"); if (!result) fail++; } String pluginPath = Sy...
public static boolean test() { int fail = 0; String[] urls = {"http://www.google.com"}; for (int i = 0; i < urls.length; i++) { boolean result = test1(urls[i]); System.out.print(result ? "." : "E"); if (!result) fail++; } String pluginPath = System.getProperty("PLUGIN_PATH"); System.out.pr...
protected Commandline setupGCJCommand() { Commandline cmd = new Commandline(); Path classpath = new Path(project); // gcj doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootclasspath != null) { cla...
protected Commandline setupGCJCommand() { Commandline cmd = new Commandline(); Path classpath = new Path(project); // gcj doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootclasspath != null) { cla...
public boolean execute() throws BuildException { attributes.log("Using jikes compiler", Project.MSG_VERBOSE); Path classpath = new Path(project); // Jikes doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootcl...
public boolean execute() throws BuildException { attributes.log("Using jikes compiler", Project.MSG_VERBOSE); Path classpath = new Path(project); // Jikes doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootcl...
public boolean execute() throws BuildException { attributes.log("Using jvc compiler", Project.MSG_VERBOSE); Path classpath = new Path(project); // jvc doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootclassp...
public boolean execute() throws BuildException { attributes.log("Using jvc compiler", Project.MSG_VERBOSE); Path classpath = new Path(project); // jvc doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootclassp...
protected Commandline setupKjcCommand() { Commandline cmd = new Commandline(); // generate classpath, because kjc does't support sourcepath. Path classpath = getCompileClasspath(); if (deprecation == true) { cmd.createArgument().setValue("-deprecation"); } if...
protected Commandline setupKjcCommand() { Commandline cmd = new Commandline(); // generate classpath, because kjc does't support sourcepath. Path classpath = getCompileClasspath(); if (deprecation == true) { cmd.createArgument().setValue("-deprecation"); } if...
protected void setImplicitTypes(Value val1, Value val2, Class expected) { super.setImplicitTypes(val1, val2, expected); // as well as setting the types for conversions, we also need to // ensure that any parameters are declared with the correct type, // since the JPA spec expects th...
protected void setImplicitTypes(Value val1, Value val2, Class expected) { super.setImplicitTypes(val1, val2, expected); // as well as setting the types for conversions, we also need to // ensure that any parameters are declared with the correct type, // since the JPA spec expects th...
protected Properties createProperties(Dictionary props) { final Properties resultProps = new Properties(props); resultProps.setProperty(RemoteServiceRegistryImpl.REMOTEOBJECTCLASS, clazzes); resultProps.setProperty(RemoteServiceRegistryImpl.REMOTESERVICE_ID, new Long(getID().getContainerRelativeID())); fina...
protected Properties createProperties(Dictionary props) { final Properties resultProps = new Properties(props); resultProps.setProperty(RemoteServiceRegistryImpl.REMOTEOBJECTCLASS, clazzes); resultProps.setProperty(RemoteServiceRegistryImpl.REMOTESERVICE_ID, new Long(getID().getContainerRelativeID())); fina...
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(Test_org_eclipse_swt_widgets_MenuItem.suite()); suite.addTest(Test_org_eclipse_swt_widgets_ToolItem.suite()); suite.addTest(Test_org_eclipse_swt_widgets_CoolItem.suite()); suite.addTest(Test_org_eclipse_swt_widgets_TabItem.suite()); su...
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(Test_org_eclipse_swt_widgets_MenuItem.suite()); suite.addTest(Test_org_eclipse_swt_widgets_ToolItem.suite()); suite.addTest(Test_org_eclipse_swt_widgets_CoolItem.suite()); suite.addTest(Test_org_eclipse_swt_widgets_TabItem.suite()); su...
public void run() throws Exception { activeThreads = 0; Server server = new Server(port); WebAppContext ctx = new WebAppContext("./src/webapp", "/"); server.addHandler(ctx); server.start(); HttpConnectionManagerParams connManagerParams = new HttpConnectionManagerParams(); connManagerParams.setDefaultMa...
public void run() throws Exception { activeThreads = 0; Server server = new Server(port); WebAppContext ctx = new WebAppContext("./src/main/webapp", "/"); server.addHandler(ctx); server.start(); HttpConnectionManagerParams connManagerParams = new HttpConnectionManagerParams(); connManagerParams.setDefa...
public void process() { JMeterContext context = getThreadContext(); Sampler sam = context.getCurrentSampler(); SampleResult res = context.getPreviousResult(); HTTPSamplerBase sampler = null; HTTPSampleResult result = null; if (res == null || !(sam instanceof HTTPSamplerBase) || !(res instanceof HTTPSampleR...
public void process() { JMeterContext context = getThreadContext(); Sampler sam = context.getCurrentSampler(); SampleResult res = context.getPreviousResult(); HTTPSamplerBase sampler = null; HTTPSampleResult result = null; if (res == null || !(sam instanceof HTTPSamplerBase) || !(res instanceof HTTPSampleR...
public static HTTPSamplerBase newInstance(String alias) { if (alias.length() == 0) { alias = DEFAULT_CLASSNAME; } if (alias.equals(HTTP_SAMPLER_JAVA) || alias.equals(IMPL_JAVA)) { return new HTTPSamplerProxy(IMPL_JAVA); } if (alias.equals(HTTP_SAMPLER_...
public static HTTPSamplerBase newInstance(String alias) { if (alias ==null || alias.length() == 0) { alias = DEFAULT_CLASSNAME; } if (alias.equals(HTTP_SAMPLER_JAVA) || alias.equals(IMPL_JAVA)) { return new HTTPSamplerProxy(IMPL_JAVA); } if (alias.equa...
public boolean checkRequired() { if (isRequired()) { final String input = getInput(); // when null, check whether this is natural for that component, or // whether - as is the case with text fields - this can only happen // when the component was disabled if (input == null && !isInputNullable()) ...
public boolean checkRequired() { if (isRequired()) { final String input = getInput(); // when null, check whether this is natural for that component, or // whether - as is the case with text fields - this can only happen // when the component was disabled if (input == null && !isInputNullable() &&...
private final static String FAIL_MSG = "Compile failed, messages should have been provided.";
private final static String FAIL_MSG = "Compile failed; see the compiler error output for details.";
private final static String FAIL_MSG = "Rmic failed, messages should have been provided.";
private final static String FAIL_MSG = "Rmic failed; see the compiler error output for details.";
protected void onSubmit(AjaxRequestTarget target) { // add the list of components that need to be updated target.addComponent(comments); target.addComponent(text); // focus the textarea again target.addJavascript("document.getElementById('" + text.getMarkupId() + "').focus();"); ...
protected void onSubmit(AjaxRequestTarget target) { // add the list of components that need to be updated target.addComponent(comments); target.addComponent(text); // focus the textarea again target.appendJavascript("document.getElementById('" + text.getMarkupId() + "').focus();"); ...
public final void initializeComponents() { // Load any wicket properties files we can find try { // Load properties files used by all libraries final Enumeration resources = getClass().getClassLoader().getResources( "org.apache.wicket.properties"); while (resources.hasMoreElements()) { Inpu...
public final void initializeComponents() { // Load any wicket properties files we can find try { // Load properties files used by all libraries final Enumeration resources = getClass().getClassLoader().getResources( "wicket.properties"); while (resources.hasMoreElements()) { InputStream in ...
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...
private static Version[] buildVersions() { return new Version[]{ new Version(1, new int[]{}, new ECBlocks(7, new ECB(1, 19)), new ECBlocks(10, new ECB(1, 16)), new ECBlocks(13, new ECB(1, 13)), new ECBlocks(17, new ECB(1, 9))), new Version(2, new int...
private static Version[] buildVersions() { return new Version[]{ new Version(1, new int[]{}, new ECBlocks(7, new ECB(1, 19)), new ECBlocks(10, new ECB(1, 16)), new ECBlocks(13, new ECB(1, 13)), new ECBlocks(17, new ECB(1, 9))), new Version(2, new int...
public final void validate(final FormComponent component) { // Get component value final String value = component.getRequestString(); // Check value if (value == null || value.trim().equals("")) { error(value, component); } }
public final void validate(final FormComponent component) { // Get component value final String value = component.getRequestString(); // Check value if (value == null || value.trim().equals("")) { error(component, value); } }
public boolean isFilesystemOnly() { return (isReference() && ((Resource) getCheckedRef()).isFilesystemOnly()) || this instanceof FileProvider; }
public boolean isFilesystemOnly() { return (isReference() && ((Resource) getCheckedRef()).isFilesystemOnly()) || this.as(FileProvider.class) != null; }
public String toString() { StringBuffer buf = new StringBuffer(name); if ((ifCond != null) || (unlessCond != null)) { buf.append(":"); String connector = ""; if (ifCond != null) { buf.append("if->"); ...
public String toString() { StringBuffer buf = new StringBuffer(name != null ? name : ""); if ((ifCond != null) || (unlessCond != null)) { buf.append(":"); String connector = ""; if (ifCond != null) { buf.append("if->");...
protected int executeExternalCompile(String[] args, int firstFileName, boolean quoteFiles) { String[] commandArray = null; File tmpFile = null; try { /* * Many system have been reported to get into trouble with *...
protected int executeExternalCompile(String[] args, int firstFileName, boolean quoteFiles) { String[] commandArray = null; File tmpFile = null; try { /* * Many system have been reported to get into trouble with *...
protected IRequestTarget resolveListenerInterfaceTarget(final RequestCycle requestCycle, final Page page, final String componentPath, final String interfaceName, final RequestParameters requestParameters) { if (interfaceName.equals(IRedirectListener.INTERFACE.getName())) { return new RedirectPageRequestT...
protected IRequestTarget resolveListenerInterfaceTarget(final RequestCycle requestCycle, final Page page, final String componentPath, final String interfaceName, final RequestParameters requestParameters) { if (interfaceName.equals(IRedirectListener.INTERFACE.getName())) { return new RedirectPageRequestT...
protected byte[] getBytes (String name) throws IOException { byte[] b = null; ClassPathManager.ClassFile classFile = classPath.find(TypeX.forName(name)); if (classFile != null) { b = FileUtil.readAsByteArray(classFile.getInputStream()); } return b; }
protected byte[] getBytes (String name) throws IOException { byte[] b = null; ClassPathManager.ClassFile classFile = classPath.find(UnresolvedType.forName(name)); if (classFile != null) { b = FileUtil.readAsByteArray(classFile.getInputStream()); } return b; }
public TypeVariableReferenceType( TypeVariable aTypeVariable, World aWorld) { super(aTypeVariable.getUpperBound().getSignature(),aWorld); this.typeVariable = aTypeVariable; this.isExtends = false; this.isSuper = false; this.upperBound = (ReferenceType) aTypeVariable.getUpperBound(); this.lowerBound =...
public TypeVariableReferenceType( TypeVariable aTypeVariable, World aWorld) { super(aTypeVariable.getUpperBound().getSignature(),aWorld); this.typeVariable = aTypeVariable; this.isExtends = false; this.isSuper = false; this.upperBound = (ReferenceType) aTypeVariable.getUpperBound(); this.lowerBound =...
public void testIdentity() { TypeX anything = GenericsWildcardTypeX.GENERIC_WILDCARD; assertEquals("Ljava/lang/Object;",anything.getSignature()); }
public void testIdentity() { UnresolvedType anything = GenericsWildcardTypeX.GENERIC_WILDCARD; assertEquals("Ljava/lang/Object;",anything.getSignature()); }
public void testAfterThrowingParam() throws IOException { BcelWorld world = new BcelWorld(); ShadowMunger myMunger = world.shadowMunger("afterThrowing(): get(* *.out) -> static void Aspect.ajc_afterThrowing_field_get(java.lang.Throwable)", Advice.ExtraAr...
public void testAfterThrowingParam() throws IOException { BcelWorld world = new BcelWorld(); ShadowMunger myMunger = world.shadowMunger("afterThrowing(): get(* *.out) -> static void Aspect.ajc_afterThrowing_field_get(java.lang.Throwable)", Advice.ExtraAr...
public TestScope(String[] formalTypes, String[] formalNames, World world) { super(world, SimpleScope.makeFormalBindings(TypeX.forNames(formalTypes), formalNames)); }
public TestScope(String[] formalTypes, String[] formalNames, World world) { super(world, SimpleScope.makeFormalBindings(UnresolvedType.forNames(formalTypes), formalNames)); }
public Object component(final Component component) { // Find out if this component can be rendered boolean renderAllowed = component.authorize(RENDER); if (renderAllowed) { // It could be that the markup stream has been reloaded // (modified) and that the markup stream positions are no ...
public Object component(final Component component) { // Find out if this component can be rendered final boolean renderAllowed = component.authorize(RENDER); if (renderAllowed) { // It could be that the markup stream has been reloaded // (modified) and that the markup stream positions ar...
private void checkAssertions(List assertions, SampleResult result) { Iterator iter = assertions.iterator(); while (iter.hasNext()) { Assertion assertion = (Assertion) iter.next(); TestBeanHelper.prepare((TestElement) assertion); AssertionResult assertionResult = assertion.getResult(result); result.setS...
private void checkAssertions(List assertions, SampleResult result) { Iterator iter = assertions.iterator(); while (iter.hasNext()) { Assertion assertion = (Assertion) iter.next(); TestBeanHelper.prepare((TestElement) assertion); AssertionResult assertionResult = assertion.getResult(result); result.setS...
package applet; package sprockets; import java.awt.Container; /** * The IApplet interface should be implemented by the class passed to the Applet * constructor. This class and every class referenced by it will be * automatically included in the applet JAR file for this applet. When the * applet is loaded by the ...
package applet; package applet; import java.awt.Container; /** * The IApplet interface should be implemented by the class passed to the Applet * constructor. This class and every class referenced by it will be * automatically included in the applet JAR file for this applet. When the * applet is loaded by the cli...
package applet; /* * $Id$ * $Revision$ $Date$ * * ============================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * ...
package applet; /* * $Id$ * $Revision$ $Date$ * * ============================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * ...
import org.eclipse.ecf.core.sharedobject.ISharedObjectContainer; /******************************************************************************* * Copyright (c) 2004 Peter Nehrer and Composent, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Ecli...
import org.eclipse.ecf.core.sharedobject.ISharedObjectContainer; /******************************************************************************* * Copyright (c) 2004 Peter Nehrer and Composent, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Ecli...
package org.eclipse.ecf.core.sharedobject; /**************************************************************************** * Copyright (c) 2004 Composent, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * whic...
package org.eclipse.ecf.core.sharedobject; /**************************************************************************** * Copyright (c) 2004 Composent, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * whic...
package org.eclipse.ecf.core.sharedobject.events; /******************************************************************************* * Copyright (c) 2004 Composent, Inc. and others. All rights reserved. This * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1...
package org.eclipse.ecf.core.sharedobject.events; /******************************************************************************* * Copyright (c) 2004 Composent, Inc. and others. All rights reserved. This * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1...
package org.eclipse.ecf.core.sharedobject.events; /******************************************************************************* * Copyright (c) 2004 Composent, Inc. and others. All rights reserved. This * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1...
package org.eclipse.ecf.core.sharedobject.events; /******************************************************************************* * Copyright (c) 2004 Composent, Inc. and others. All rights reserved. This * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1...
private XSSimpleType traverseSimpleTypeDecl(Element simpleTypeDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal) { String nameProperty = (String)attrValues[XSAttribute...
private XSSimpleType traverseSimpleTypeDecl(Element simpleTypeDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal) { String nameProperty = (String)attrValues[XSAttribute...
private void setURI(ServiceURL aServiceURL) { StringBuffer buf = new StringBuffer(); String protocol = aServiceURL.getProtocol(); if (protocol == null) { protocol = "unknown"; } buf.append(protocol); buf.append("://"); //$NON-NLS-1$ buf.append(aServiceURL.getHost()); buf.append(":"); //$NON-NLS-1$ ...
private void setURI(ServiceURL aServiceURL) { StringBuffer buf = new StringBuffer(); String protocol = aServiceURL.getProtocol(); if (protocol == null) { protocol = "unknown"; //$NON-NLS-1$ } buf.append(protocol); buf.append("://"); //$NON-NLS-1$ buf.append(aServiceURL.getHost()); buf.append(":"); /...
public static void main(String[] args) { AroundCall t = new AroundCall(); t.a(42); Tester.checkAllEvents(); } static { Tester.expectEvent("around"); } } aspect TestAspect { /** @testcase PR#666 name binding in around cflow */ void around(final int n) : // no bug ...
public static void main(String[] args) { AroundCall t = new AroundCall(); t.a(42); Tester.checkAllEvents(); } static { Tester.expectEvent("around"); } } aspect TestAspect { /** @testcase PR#666 name binding in around cflow */ void around(final int n) : // no bug ...
public void run(){ } } aspect A1 { pointcut TargetRunFlow () // ok if no cflow: within(Target) && execution(* *(..)) && !within(A1+); : !within(A1+) && !preinitialization(new(..)) //cflow(within(Target) && execution(* *(..))) && !within(A1+) ;
public void run(){ } } aspect A1 { pointcut TargetRunFlow () // ok if no cflow: within(Target) && execution(* *(..)) && !within(A1+); : !within(A1+) && !preinitialization(new(..)) && !initialization(new(..))//cflow(within(Target) && execution(* *(..))) && !within(A1+) ;
public Object transform(Object value) { if (value instanceof IStructuredSelection) { IStructuredSelection structuredSelection = (IStructuredSelection) value; Object selection = structuredSelection.getFirstElement(); if (selection instanceof IFile) { IFile ...
public Object transform(Object value) { if (value instanceof IStructuredSelection) { IStructuredSelection structuredSelection = (IStructuredSelection) value; Object selection = structuredSelection.getFirstElement(); if (selection instanceof IFile) { IFile ...
public void setUp() { if (emf == null) { Properties config = new Properties(); config.put("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true,SchemaAction='drop,add')"); config.put("openjpa.jdbc.JDBCListeners", new JDBCListener[] { auditor = new SQLAuditor()})...
public void setUp() { if (emf == null) { Properties config = new Properties(); config.put("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true,SchemaAction='drop,add')"); config.put("openjpa.jdbc.JDBCListeners", new JDBCListener[] { auditor = new SQLAuditor()})...
protected static final CLOptionDescriptor[] options = new CLOptionDescriptor[] { new CLOptionDescriptor( "help", CLOptionDescriptor.ARGUMENT_DISALLOWED, HELP_OPT, "print this message and exit"), new CLOptionDescriptor( "version", CLOptionDescriptor.ARGUMENT_DISALLOWED, VERSION_OPT, ...
protected static final CLOptionDescriptor[] options = new CLOptionDescriptor[] { new CLOptionDescriptor( "help", CLOptionDescriptor.ARGUMENT_DISALLOWED, HELP_OPT, "print this message and exit"), new CLOptionDescriptor( "version", CLOptionDescriptor.ARGUMENT_DISALLOWED, VERSION_OPT, ...
protected final void onComponentRendered() { if (getComponent() instanceof AbstractTextComponent) { Response response = getComponent().getResponse(); final String id = getComponent().getMarkupId(); response.write(JavascriptUtils.SCRIPT_OPEN_TAG); response.write("new Wicket.ChangeHandler('" + id + "');...
protected void onComponentRendered() { if (getComponent() instanceof AbstractTextComponent) { Response response = getComponent().getResponse(); final String id = getComponent().getMarkupId(); response.write(JavascriptUtils.SCRIPT_OPEN_TAG); response.write("new Wicket.ChangeHandler('" + id + "');"); ...
public void execute();
void execute(); /* * 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. Redistribu...
public Point computeSize (int wHint, int hHint, boolean changed) { checkWidget (); int width = 0, height = 0; if (hwndHeader != 0) { HDITEM hdItem = new HDITEM (); hdItem.mask = OS.HDI_WIDTH; int count = OS.SendMessage (hwndHeader, OS.HDM_GETITEMCOUNT, 0, 0); for (int i=0; i<count; i++) { OS.SendMessage (...
public Point computeSize (int wHint, int hHint, boolean changed) { checkWidget (); int width = 0, height = 0; if (hwndHeader != 0) { HDITEM hdItem = new HDITEM (); hdItem.mask = OS.HDI_WIDTH; int count = OS.SendMessage (hwndHeader, OS.HDM_GETITEMCOUNT, 0, 0); for (int i=0; i<count; i++) { OS.SendMessage (...
private IRequestablePage getPageInstance(Integer pageId, Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, Integer renderCount) { IRequestablePage page = null; boolean freshCreated = false; if (pageId != null) { page = getPageSource().getPageInstance(pageId); if (page != ...
private IRequestablePage getPageInstance(Integer pageId, Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, Integer renderCount) { IRequestablePage page = null; boolean freshCreated = false; if (pageId != null) { page = getPageSource().getPageInstance(pageId); if (page != ...
public String mapJspToJavaName(File jspFile) { String jspUri = jspFile.getAbsolutePath(); int start = jspUri.lastIndexOf(File.separatorChar) + 1; int end = jspUri.length(); StringBuffer modifiedClassName; modifiedClassName = new StringBuffer(jspUri.length() - start); ...
public String mapJspToJavaName(File jspFile) { String jspUri = jspFile.getAbsolutePath(); int start = jspUri.lastIndexOf(File.separatorChar) + 1; int end = jspUri.length(); StringBuffer modifiedClassName; modifiedClassName = new StringBuffer(jspUri.length() - start); ...
public final void send(IEventSink sink, Broadcast type, Object payload) { new ComponentEventSender(this, getApplication().getFrameworkSettings()).send(sink, type, payload); }
public final <T> void send(IEventSink sink, Broadcast type, T payload) { new ComponentEventSender(this, getApplication().getFrameworkSettings()).send(sink, type, payload); }
public synchronized String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException { String valueToEscape = values[0].execute().trim(); String varName = "";//$NON-NLS-1$ if (values.length >= PARAM_NAME) { varName =...
public synchronized String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException { String valueToEscape = values[0].execute(); String varName = "";//$NON-NLS-1$ if (values.length >= PARAM_NAME) { varName = values[PARAM_...
public void unbind(String sessionId) { SessionEntry entry = sessionIdToEntryMap.get(sessionId); if (entry != null)
public void unbind(String sessionId) { SessionEntry entry = sessionIdToEntryMap.remove(sessionId); if (entry != null)
public String toString() { if (_stringRepresentation == null) { _stringRepresentation = getOwner().getFullyQualifiedName() + ": " + getName() + getParamString(false) + " : " + getType().getValue(); } return _stringRepresentation; }
public String toString() { if (_stringRepresentation == null) { _stringRepresentation = getName() + getParamString(false) + " : " + getType().getValue(); } return _stringRepresentation; }
public String getCacheKey(final MarkupContainer container, final Class clazz) { final String classname = clazz.getName(); final Locale locale = container.getLocale(); // TODO until now getStyle() == style + variation final String style = container.getStyle(); final String markupType = container.getMarkupTyp...
public String getCacheKey(final MarkupContainer< ? > container, final Class< ? > clazz) { final String classname = clazz.getName(); final Locale locale = container.getLocale(); // TODO until now getStyle() == style + variation final String style = container.getStyle(); final String markupType = container.ge...
String getCacheKey(final MarkupContainer< ? > container, Class< ? > containerClass); /* * 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 licens...
String getCacheKey(final MarkupContainer< ? > container, Class< ? > containerClass); /* * 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 licens...
Class< ? > containerClass); /* * 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, Version 2.0...
Class< ? > containerClass); /* * 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, Version 2.0...
HeaderPartContainer< ? > newHeaderPartContainer(String id, String scope); /* * 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 fil...
HeaderPartContainer< ? > newHeaderPartContainer(String id, String scope); /* * 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 fil...
boolean accept(final Class< ? > scope, final String path); /* * 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 ...
boolean accept(final Class< ? > scope, final String path); /* * 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 ...
public void setSortDirection (int direction) { checkWidget (); if ((direction & (SWT.UP | SWT.DOWN)) == 0 && direction != SWT.NONE) return; sortDirection = direction; if (sortColumn != null && !sortColumn.isDisposed ()) { sortColumn.setSortDirection (direction); } } void setTableEmpty () { if (imageList != nul...
public void setSortDirection (int direction) { checkWidget (); if ((direction & (SWT.UP | SWT.DOWN)) == 0 && direction != SWT.NONE) return; sortDirection = direction; if (sortColumn != null && !sortColumn.isDisposed ()) { sortColumn.setSortDirection (direction); } } void setTableEmpty () { if (imageList != nul...
public Object component(final Component component) { // Get button final IFormSubmittingComponent submit = (IFormSubmittingComponent)component; // Check for button-name or button-name.x request string if (submit.getForm() == Form.this && (getRequest().getParameter(submit.getIn...
public Object component(final Component component) { // Get button final IFormSubmittingComponent submit = (IFormSubmittingComponent)component; // Check for button-name or button-name.x request string if (submit.getForm().getRootForm() == Form.this && (getRequest().getParamete...
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 checkSubcl...
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 checkSubcl...
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 TableItem (Table parent, int style, int index) { this (parent, style, index, 0); } TableItem (Table parent, int style, int index, int handle) { super (parent, style); this.parent = parent; this.handle = handle; if (handle == 0) { parent.createItem (this, index); } else { createWidget (); } } protect...
public TableItem (Table parent, int style, int index) { this (parent, style, index, 0); } TableItem (Table parent, int style, int index, int handle) { super (parent, style); this.parent = parent; this.handle = handle; if (handle == 0) { parent.createItem (this, index); } else { createWidget (); } } protect...
public void clearAll (boolean all) { checkWidget (); parent.clearAll (this, all); } void columnAdded (int index) { int newLength = parent.columnCount + 1; if (images != null) { Image [] temp = new Image [newLength]; System.arraycopy (images, 0, temp, 0, index); System.arraycopy (images, index, temp, index + ...
public void clearAll (boolean all) { checkWidget (); parent.clearAll (this, all); } void columnAdded (int index) { int newLength = parent.columnCount + 1; if (images != null) { Image [] temp = new Image [newLength]; System.arraycopy (images, 0, temp, 0, index); System.arraycopy (images, index, temp, index + ...
public static void setInitialPageParameters(Page page, PageParameters pageParameters) { setInitialPageParameters(page, pageParameters); }
public static void setInitialPageParameters(Page page, PageParameters pageParameters) { page.setMetaData(PAGE_PARAMETERS_META_DATA_KEY, pageParameters); }
protected void pack() { CBZip2OutputStream zOut = null; try { BufferedOutputStream bos = new BufferedOutputStream( new FileOutputStream( zipFile ) ); bos.write( 'B' ); bos.write( 'Z' ); zOut = new CBZip2OutputStream( bos ); ...
protected void pack() { CBZip2OutputStream zOut = null; try { BufferedOutputStream bos = new BufferedOutputStream( new FileOutputStream( zipFile ) ); bos.write( 'B' ); bos.write( 'Z' ); zOut = new CBZip2OutputStream( bos ); ...