bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void setFocusable(boolean focusable) { firePropertyChange("focusable", this.focusable, focusable); this.focusable = focusable; }
public void setFocusable(boolean focusable) { firePropertyChange("focusable", this.focusable, focusable); this.focusable = focusable; }
36,128
public void setFont(Font f) { firePropertyChange("font", font, f); if (peer != null) peer.setFont(f); font = f; }
public void setFont(Font f) { firePropertyChange("font", font, f); if (peer != null) peer.setFont(f); font = f; }
36,129
public void setForeground(Color c) { firePropertyChange("foreground", foreground, c); if (peer != null) peer.setForeground(c); foreground = c; }
public void setForeground(Color c) { firePropertyChange("foreground", foreground, c); if (peer != null) peer.setForeground(c); foreground = c; }
36,131
public void setIgnoreRepaint(boolean ignoreRepaint) { this.ignoreRepaint = ignoreRepaint; }
public void setIgnoreRepaint(boolean ignoreRepaint) { this.ignoreRepaint = ignoreRepaint; }
36,132
public void setLocale(Locale l) { firePropertyChange("locale", locale, l); locale = l; // New writing/layout direction or more/less room for localized labels. invalidate(); }
public void setLocale(Locale l) { firePropertyChange("locale", locale, l); locale = l; // New writing/layout direction or more/less room for localized labels. invalidate(); }
36,133
public void setLocation(int x, int y) { if (this.x == x && this.y == y) return; invalidate(); this.x = x; this.y = y; if (peer != null) peer.setBounds(x, y, width, height); }
public void setLocation(int x, int y) { if (this.x == x && this.y == y) return; invalidate(); this.x = x; this.y = y; if (peer != null) peer.setBounds(x, y, width, height); }
36,134
public void setName(String name) { nameExplicitlySet = true; this.name = name; }
public void setName(String name) { nameExplicitlySet = true; this.name = name; }
36,135
final void setPeer(ComponentPeer peer) { this.peer = peer; }
final void setPeer(ComponentPeer peer) { this.peer = peer; }
36,136
public void setSize(int width, int height) { if (this.width == width && this.height == height) return; invalidate(); this.width = width; this.height = height; if (peer != null) peer.setBounds(x, y, width, height); }
public void setSize(int width, int height) { if (this.width == width && this.height == height) return; invalidate(); this.width = width; this.height = height; if (peer != null) peer.setBounds(x, y, width, height); }
36,137
public void setVisible(boolean b) { // Inspection by subclassing shows that Sun's implementation calls // show(boolean) which then calls show() or hide(). It is the show() // method that is overriden in subclasses like Window. if (peer != null) peer.setVisible(b); this.visible = b; }
public void setVisible(boolean b) { // Inspection by subclassing shows that Sun's implementation calls // show(boolean) which then calls show() or hide(). It is the show() // method that is overriden in subclasses like Window. if (peer != null) peer.setVisible(b); this.visible = b; }
36,138
public void setVisible(boolean b) { // Inspection by subclassing shows that Sun's implementation calls // show(boolean) which then calls show() or hide(). It is the show() // method that is overriden in subclasses like Window. if (peer != null) peer.setVisible(b); this.visible = b; }
public void setVisible(boolean b) { // Inspection by subclassing shows that Sun's implementation calls // show(boolean) which then calls show() or hide(). It is the show() // method that is overriden in subclasses like Window. if (peer != null) peer.setVisible(b); this.visible = b; }
36,139
public void show() { setVisible(true); }
public void show() { setVisible(true); }
36,140
public Dimension size() { return getSize(); }
public Dimension size() { return getSize(); }
36,141
public String toString() { return getClass().getName() + '[' + paramString() + ']'; }
public String toString() { return getClass().getName() + '[' + paramString() + ']'; }
36,142
public void transferFocus() { Component next; if (parent == null) next = findNextFocusComponent(null); else next = parent.findNextFocusComponent(this); if (next != null && next != this) next.requestFocus(); }
public void transferFocus() { Component next; if (parent == null) next = findNextFocusComponent(null); else next = parent.findNextFocusComponent(this); if (next != null && next != this) next.requestFocus(); }
36,143
public void transferFocusBackward() { // XXX Implement. throw new Error("not implemented"); }
public void transferFocusBackward() { // XXX Implement. throw new Error("not implemented"); }
36,144
public void transferFocusUpCycle() { // XXX Implement. throw new Error("not implemented"); }
public void transferFocusUpCycle() { // XXX Implement. throw new Error("not implemented"); }
36,145
public void update(Graphics g) { paint(g); }
public void update(Graphics g) { paint(g); }
36,146
public void validate() { valid = true; }
public void validate() { valid = true; }
36,147
private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); AWTEventMulticaster.save(s, "componentL", componentListener); AWTEventMulticaster.save(s, "focusL", focusListener); AWTEventMulticaster.save(s, "keyL", keyListener); AWTEventMulticaster.save(s, "mouseL", mouseListener); A...
private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); AWTEventMulticaster.save(s, "componentL", componentListener); AWTEventMulticaster.save(s, "focusL", focusListener); AWTEventMulticaster.save(s, "keyL", keyListener); AWTEventMulticaster.save(s, "mouseL", mouseListener); A...
36,148
public static WritableRaster createBandedRaster(int dataType, int w, int h, int bands, Point location) { // FIXME: Implement; throw new UnsupportedOperationException("not implemented yet"); }
public static WritableRaster createBandedRaster(int dataType, int w, int h, int bands, Point location) { // FIXME: Implement; throw new UnsupportedOperationException("not implemented yet"); }
36,149
public Object getChild(Object value0, int value1) { return null; // TODO }
public Object getChild(Object node, int idx) { return null; // TODO }
36,150
public Object getChild(Object value0, int value1) { return null; // TODO }
public Object getChild(Object value0, int value1) { if (node instanceof TreeNode) return ((TreeNode)node).getChildAt(idx); else return null; // TODO }
36,151
public int getChildCount(Object value0) { return 0; // TODO }
public int getChildCount(Object node) { return 0; // TODO }
36,152
public int getChildCount(Object value0) { return 0; // TODO }
public int getChildCount(Object value0) { if (node instanceof TreeNode) return ((TreeNode)node).getChildCount(); else return 0; // TODO }
36,153
public boolean isLeaf(Object value0) { return false; // TODO }
public boolean isLeaf(Object node) { return false; // TODO }
36,154
public boolean isLeaf(Object value0) { return false; // TODO }
public boolean isLeaf(Object value0) { if (node instanceof TreeNode) return ((TreeNode)node).isLeaf(); else return true; // TODO }
36,155
getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException{ if (!isDataFlavorSupported(flavor)) throw new UnsupportedFlavorException(flavor); return(new StringBufferInputStream(data));}
getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException{ if (!isDataFlavorSupported(flavor)) throw new UnsupportedFlavorException(flavor); return(new StringBufferInputStream(data));}
36,157
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke) { return null; }
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke) { return null; }
36,158
public int getConditionForKeyStroke(KeyStroke aKeyStroke) { return UNDEFINED_CONDITION; }
public int getConditionForKeyStroke(KeyStroke aKeyStroke) { return UNDEFINED_CONDITION; }
36,159
public void setBorder(Border border) { this.border = border; revalidate(); repaint(); }
public void setBorder(Border border) { this.border = border; revalidate(); repaint(); }
36,161
public void setBorder(Border border) { this.border = border; revalidate(); repaint(); }
public void setBorder(Border border) { this.border = border; revalidate(); repaint(); }
36,162
public void setEnabled(boolean e) { super.setEnabled(e); revalidate(); repaint(); }
public void setEnabled(boolean e) { super.setEnabled(e); revalidate(); repaint(); }
36,163
public void setEnabled(boolean e) { super.setEnabled(e); revalidate(); repaint(); }
public void setEnabled(boolean e) { boolean oldEnabled = isEnabled(); super.setEnabled(enable); firePropertyChange("enabeld", oldEnabled, enable); revalidate(); repaint(); }
36,164
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
36,170
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < len; i++) { String language; String region = ""; ...
36,171
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
36,172
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { String[] localeNames = LocaleData.localeNames; availableLocales = new Locale[localeNames.length]; for (int i = 0; i < localeNames.length; i++) { String language; String regio...
36,173
public static String[] getISOCountries() { if (countryCache == null) { countryCache = getISOStrings("territories"); } return countryCache; }
public static String[] getISOCountries() { if (countryCache == null) { countryCache = getISOStrings("territories"); } return (String[]) countryCache.clone(); }
36,174
public static String[] getISOLanguages() { if (languageCache == null) { languageCache = getISOStrings("languages"); } return languageCache; }
public static String[] getISOLanguages() { if (languageCache == null) { languageCache = getISOStrings("languages"); } return (String[]) languageCache.clone(); }
36,175
public java.awt.Image getIcon(int iconType) { return icons != null ? icons[iconType] : null; }
public java.awt.Image getIcon(int iconType) { return icons != null ? icons[iconType] : null; }
36,176
void addChangeListener (ChangeListener listener);
void addChangeListener (ChangeListener listener);
36,177
void removeChangeListener (ChangeListener listener);
void removeChangeListener (ChangeListener listener);
36,178
protected abstractRecord newInstance(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb) { return new gnuDynStruct(oType, aType, aFactory, anOrb); }
protected RecordAny newInstance(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb) { return new gnuDynStruct(oType, aType, aFactory, anOrb); }
36,179
private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmClassLoader cl = new VmClassLoader(classesURL, arch); VmType.initializeForBootImage(cl); FileWriter fw = new ...
private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmClassLoader cl = new VmClassLoader(classesURL, arch); VmType.initializeForBootImage(cl); FileWriter fw = new ...
36,180
private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmClassLoader cl = new VmClassLoader(classesURL, arch); VmType.initializeForBootImage(cl); FileWriter fw = new ...
private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmClassLoader cl = new VmClassLoader(classesURL, arch); VmType.initializeForBootImage(cl); FileWriter fw = new ...
36,181
protected AccessibleJToolBar(JToolBar component) { super(component); // TODO } // AccessibleJToolBar()
protected AccessibleJToolBar(JToolBar component) { super(component); // TODO } // AccessibleJToolBar()
36,182
public AccessibleRole getAccessibleRole() { return AccessibleRole.TOOL_BAR; } // getAccessibleRole()
public AccessibleRole getAccessibleRole() { return AccessibleRole.TOOL_BAR; } // getAccessibleRole()
36,183
public AccessibleRole getAccessibleRole() { return AccessibleRole.TOOL_BAR; } // getAccessibleRole()
public AccessibleRole getAccessibleRole() { return AccessibleRole.TOOL_BAR; } // getAccessibleRole()
36,184
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet()
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet()
36,185
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet()
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet()
36,186
public JToolBar() { // TODO } // JToolBar()
publicthis(null); JToolBar()this(null); { //this(null); TODO }this(null); //this(null); JToolBar()
36,187
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJToolBar(this); } // if return accessibleContext; } // getAccessibleContext()
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJToolBar(this); } // if return accessibleContext; } // getAccessibleContext()
36,188
public void updateUI() { setUI((ToolBarUI) UIManager.get(this)); invalidate(); } // updateUI()
public void updateUI() { setUI((ToolBarUI) UIManager.get(this)); invalidate(); } // updateUI()
36,190
public NodeDimensions() { // TODO } // NodeDimensions()
public NodeDimensions() { // TODO } // NodeDimensions()
36,191
public abstract Rectangle getNodeDimensions(Object value0, int value1, int value2, boolean value3, Rectangle value4);
public abstract Rectangle getNodeDimensions(Object value0, int value1, int value2, boolean value3, Rectangle value4);
36,192
public AbstractLayoutCache() { // TODO } // AbstractLayoutCache()
public AbstractLayoutCache() { // TODO } // AbstractLayoutCache()
36,193
public abstract boolean getExpandedState(TreePath value0);
public abstract boolean getExpandedState(TreePath value0);
36,194
public TreeModel getModel() { return null; // TODO } // getModel()
public TreeModel getModel() { return null; // TODO } // getModel()
36,195
public NodeDimensions getNodeDimensions() { return null; // TODO } // getNodeDimensions()
public NodeDimensions getNodeDimensions() { return null; // TODO } // getNodeDimensions()
36,196
public abstract TreePath getPathForRow(int value0);
public abstract TreePath getPathForRow(int value0);
36,197
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
36,198
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
36,199
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
36,200
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
36,201
public abstract int getRowForPath(TreePath value0);
public abstract int getRowForPath(TreePath value0);
36,202
public int getRowHeight() { return 0; // TODO } // getRowHeight()
public int getRowHeight() { return 0; // TODO } // getRowHeight()
36,203
public int[] getRowsForPaths(TreePath[] value0) { return null; // TODO } // getRowsForPaths()
public int[] getRowsForPaths(TreePath[] value0) { return null; // TODO } // getRowsForPaths()
36,204
public int[] getRowsForPaths(TreePath[] value0) { return null; // TODO } // getRowsForPaths()
public int[] getRowsForPaths(TreePath[] value0) { return null; // TODO } // getRowsForPaths()
36,205
public TreeSelectionModel getSelectionModel() { return null; // TODO } // getSelectionModel()
public TreeSelectionModel getSelectionModel() { return null; // TODO } // getSelectionModel()
36,206
public abstract Enumeration getVisiblePathsFrom(TreePath value0);
public abstract Enumeration getVisiblePathsFrom(TreePath value0);
36,207
public abstract void invalidatePathBounds(TreePath value0);
public abstract void invalidatePathBounds(TreePath value0);
36,208
protected boolean isFixedRowHeight() { return false; // TODO } // isFixedRowHeight()
protected boolean isFixedRowHeight() { return false; // TODO } // isFixedRowHeight()
36,209
protected boolean isFixedRowHeight() { return false; // TODO } // isFixedRowHeight()
protected boolean isFixedRowHeight() { return false; // TODO } // isFixedRowHeight()
36,210
public boolean isRootVisible() { return false; // TODO } // isRootVisible()
public boolean isRootVisible() { return false; // TODO } // isRootVisible()
36,211
public void setModel(TreeModel value0) { // TODO } // setModel()
public void setModel(TreeModel value0) { // TODO } // setModel()
36,212
public void setNodeDimensions(NodeDimensions value0) { // TODO } // setNodeDimensions()
public void setNodeDimensions(NodeDimensions value0) { // TODO } // setNodeDimensions()
36,213
public void setRootVisible(boolean value0) { // TODO } // setRootVisible()
public void setRootVisible(boolean value0) { // TODO } // setRootVisible()
36,214
public void setRowHeight(int value0) { // TODO } // setRowHeight()
public void setRowHeight(int value0) { // TODO } // setRowHeight()
36,215
public void setSelectionModel(TreeSelectionModel value0) { // TODO } // setSelectionModel()
public void setSelectionModel(TreeSelectionModel value0) { // TODO } // setSelectionModel()
36,216
public abstract void treeNodesChanged(TreeModelEvent value0);
public abstract void treeNodesChanged(TreeModelEvent value0);
36,217
public abstract void treeNodesInserted(TreeModelEvent value0);
public abstract void treeNodesInserted(TreeModelEvent value0);
36,218
public abstract void treeNodesRemoved(TreeModelEvent value0);
public abstract void treeNodesRemoved(TreeModelEvent value0);
36,219
public abstract void treeStructureChanged(TreeModelEvent value0);
public abstract void treeStructureChanged(TreeModelEvent value0);
36,220
public static Toolkit getDefaultToolkit() { if (toolkit != null) return toolkit; String toolkit_name = System.getProperty("awt.toolkit", default_toolkit_name); try { // @classpath-bugfix Replace Class.forName //Class cls = Class.forName(toolki...
public static Toolkit getDefaultToolkit() { if (toolkit != null) return toolkit; String toolkit_name = System.getProperty("awt.toolkit", default_toolkit_name); try { // @classpath-bugfix Replace Class.forName //Class cls = Class.forName(toolki...
36,221
public Dimension getPreferredScrollableViewportSize() { return null; }
public Dimension getPreferredScrollableViewportSize() { return new Dimension (getPreferredSize().width, getVisibleRowCount()*getRowHeight()); }
36,222
protected void fireMenuSelected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuSelected(menuEvent); }
protected void fireMenuSelected() { MenuListener[] listeners = getMenuListeners(); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuSelected(menuEvent); }
36,225
protected void fireMenuSelected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuSelected(menuEvent); }
protected void fireMenuSelected() { EventListener[] ll = listenerList.getListeners(MenuListener.class); for (int i = 0; i < ll.length; i++) ((MenuListener) ll[i]).menuSelected(menuEvent); }
36,226
private final int insertString() { short match; int hash = ((ins_h << HASH_SHIFT) ^ window[strstart + (MIN_MATCH -1)]) & HASH_MASK; if (DEBUGGING) { if (hash != (((window[strstart] << (2*HASH_SHIFT)) ^ (window[strstart + 1] << HASH_SHIFT) ^ (window[strstart + 2])) & HASH_MASK)) thro...
private int insertString() { short match; int hash = ((ins_h << HASH_SHIFT) ^ window[strstart + (MIN_MATCH -1)]) & HASH_MASK; if (DEBUGGING) { if (hash != (((window[strstart] << (2*HASH_SHIFT)) ^ (window[strstart + 1] << HASH_SHIFT) ^ (window[strstart + 2])) & HASH_MASK)) throw new ...
36,227
private final void updateHash() { if (DEBUGGING) System.err.println("updateHash: "+strstart); ins_h = (window[strstart] << HASH_SHIFT) ^ window[strstart + 1]; }
private void updateHash() { if (DEBUGGING) System.err.println("updateHash: "+strstart); ins_h = (window[strstart] << HASH_SHIFT) ^ window[strstart + 1]; }
36,228
protected void connect(InetAddress address, int port) throws SocketException { // This method has to be overwritten by real implementations }
protected void connect(InetAddress address, int port) throws SocketException { // This method has to be overwritten by real implementations }
36,229
protected void disconnect() { // This method has to be overwritten by real implementations }
protected void disconnect() { // This method has to be overwritten by real implementations }
36,230
protected int getLocalPort() { return localPort; }
protected int getLocalPort() { return localPort; }
36,231
public int compareTo(Object o) { if (o == this) return 0; int[] components2 = ((OID) o).components; int len = Math.min(components.length, components2.length); for (int i = 0; i < len; i++) { if (components[i] != components2[i]) return (components[i] < components2[i]) ? -1 : 1; ...
public int compareTo(Object o) { if (equals(o)) return 0; int[] components2 = ((OID) o).components; int len = Math.min(components.length, components2.length); for (int i = 0; i < len; i++) { if (components[i] != components2[i]) return (components[i] < components2[i]) ? -1 : 1; ...
36,233
public boolean equals(Object o) { if (this == o) return true; return java.util.Arrays.equals(components, ((OID) o).components); }
public boolean equals(Object o) { if (this == o) return true; return java.util.Arrays.equals(components, ((OID) o).components); }
36,234
public byte[] getDer() { if (fixed && encoded != null) return (byte[]) encoded.clone(); ArrayList name = new ArrayList(components.size()); for (Iterator it = components.iterator(); it.hasNext(); ) { Map m = (Map) it.next(); if (m.isEmpty()) continue; Set rdn = new Has...
public byte[] getDer() { if (fixed && encoded != null) return (byte[]) encoded.clone(); ArrayList name = new ArrayList(components.size()); for (Iterator it = components.iterator(); it.hasNext(); ) { Map m = (Map) it.next(); if (m.isEmpty()) continue; Set rdn = new Has...
36,235
public PublicKey decodePublicKey(byte[] input) { throw new IllegalArgumentException("Wrong format for public keys"); }
public PublicKey decodePublicKey(byte[] input) { throw new InvalidParameterException("Wrong format for public keys"); }
36,237
public byte[] encodePublicKey(PublicKey key) { throw new IllegalArgumentException("Wrong format for public keys"); }
public byte[] encodePublicKey(PublicKey key) { throw new InvalidParameterException("Wrong format for public keys"); }
36,238
public void finalize() throws Throwable { unmapImpl(); }
protected void finalize() throws Throwable { unmapImpl(); }
36,239
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final ParsedArguments args = HELP_INFO.parse(commandLine.toStringArray()); final int port; if (PARAM_PORT.isSet(args)) { port = ARG_PORT.getInteger(args); } else...
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final ParsedArguments args = HELP_INFO.parse(commandLine.toStringArray()); final int port; if (PARAM_PORT.isSet(args)) { port = ARG_PORT.getInteger(args); } else...
36,240