bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void setColumnSelectionAllowed(boolean flag) { columnModel.setColumnSelectionAllowed(flag); } | public void setColumnSelectionAllowed(boolean c) { columnModel.setColumnSelectionAllowed(flag); } | 41,027 |
public void setColumnSelectionAllowed(boolean flag) { columnModel.setColumnSelectionAllowed(flag); } | public void setColumnSelectionAllowed(boolean flag) { getColumnModel().setColumnSelectionAllowed(c); repaint(); } | 41,028 |
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | public void setModel(TableModel m) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | 41,029 |
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | public void setModel (TableModel model) { if (m == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | 41,030 |
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | dataModel.addTableModelListener(this); if (autoCreateColumnsFromModel) createColumnsFromModel(); } dataModel.addTableModelListener(this); if (autoCreateColumnsFromModel) createColumnsFromModel(); } public dataModel.addTableModelListener(this); if (autoCreateColumnsFromModel) createColumnsFromModel(); } void dat... | 41,031 |
public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | public void setModel (TableModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? dataModel = model; dataModel.addTableModelListener(this); } | 41,032 |
public void setRowSelectionAllowed(boolean flag) { rowSelectionAllowed = flag; } | public void setRowSelectionAllowed(boolean r) { rowSelectionAllowed = flag; } | 41,033 |
public void setRowSelectionAllowed(boolean flag) { rowSelectionAllowed = flag; } | public void setRowSelectionAllowed(boolean flag) { rowSelectionAllowed = r; repaint(); } | 41,034 |
public void setSelectionMode (int selectionMode) { throw new Error ("Not implemented"); } | public void setSelectionMode(int s) { throw new Error ("Not implemented"); } | 41,035 |
public void setSelectionMode (int selectionMode) { throw new Error ("Not implemented"); } | public void setSelectionMode (int selectionMode) { selectionModel.setSelectionMode(s); repaint(); } | 41,036 |
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); } | public void setSelectionModel(ListSelectionModel s) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); } | 41,037 |
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); } | public void setSelectionModel (ListSelectionModel model) { if (s == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); } | 41,038 |
public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); } | public void setSelectionModel (ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); // FIXME: Should we deregister from old model ? selectionModel = model; selectionModel.addListSelectionListener(this); } | 41,039 |
public void setShowGrid (boolean showGrid) { throw new Error ("Not implemented"); } | public void setShowGrid(boolean s) { throw new Error ("Not implemented"); } | 41,040 |
public void setShowGrid (boolean showGrid) { throw new Error ("Not implemented"); } | public void setShowGrid (boolean showGrid) { setShowVerticalLines(s); setShowHorizontalLines(s); } | 41,041 |
public void setTableHeader(JTableHeader newHeader) { tableHeader = newHeader; } | public void setTableHeader(JTableHeader t) { tableHeader = newHeader; } | 41,042 |
public void setTableHeader(JTableHeader newHeader) { tableHeader = newHeader; } | public void setTableHeader(JTableHeader newHeader) { if (tableHeader != null) tableHeader.setTable(null); tableHeader = t; if (tableHeader != null) tableHeader.setTable(this); revalidate(); repaint(); } | 41,043 |
public void tableChanged (TableModelEvent event) { throw new Error ("Not implemented"); } | public void tableChanged (TableModelEvent event) { repaint(); } | 41,044 |
public void valueChanged (ListSelectionEvent event) { throw new Error ("Not implemented"); } | public void valueChanged (ListSelectionEvent event) { repaint(); } | 41,045 |
public void dropComplete(boolean success) throws NotImplementedException { // FIXME: implement this } | public void dropComplete(boolean success) { // FIXME: implement this } | 41,046 |
public void dropComplete(boolean success) throws NotImplementedException { // FIXME: implement this } | context.dropComplete(success); context.dropComplete(success); publiccontext.dropComplete(success); voidcontext.dropComplete(success); dropComplete(booleancontext.dropComplete(success); success)context.dropComplete(success); context.dropComplete(success); context.dropComplete(success); context.dropComplete(success); thr... | 41,047 |
public boolean implies(Permission perm) {// @classpath-bugfix 31/10/2005 Martin Husted Hartvig (hagar@jnode.org) :// rewritten implies method SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else ... | public boolean implies(Permission perm) {// @classpath-bugfix 31/10/2005 Martin Husted Hartvig (hagar@jnode.org) :// rewritten implies method SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else ... | 41,048 |
public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException { Element el = getElement(); if (pos < el.getStartOffset() || pos >= el.getEndOffset()) throw new BadLocationException("Illegal offset for this view", pos); Rectangle r = a.getBounds(); Icon icon = StyleConsta... | public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException { Element el = getElement(); if (pos < el.getStartOffset() || pos >= el.getEndOffset()) throw new BadLocationException("Illegal offset for this view", pos); Rectangle r = a.getBounds(); Icon icon = StyleConsta... | 41,049 |
public final Class getCategory() { return PrinterIsAcceptingJobs.class; } | public Class getCategory() { return PrinterIsAcceptingJobs.class; } | 41,050 |
public final String getName() { return "printer-is-accepting-jobs"; } | public String getName() { return "printer-is-accepting-jobs"; } | 41,051 |
public static synchronized Provider provider () { if (singleton == null) singleton = new Provider (); return singleton; } | public static synchronized Provider provider () { if (singleton == null) singleton = (Provider) AccessController.doPrivileged (new PrivilegedAction() { public Object run() { return new Provider(); } }); return singleton; } | 41,052 |
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 41,054 |
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 41,055 |
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 41,056 |
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 41,057 |
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 41,058 |
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { g.setFont(font); View textView = getTextViewForTab(tabIndex); if (textView != null) { t... | 41,059 |
public void paint(Graphics g, JComponent c) { // System.out.println("UI-COMPONENT-> unimplemented paint: " + c + ", UI="+this); } | public void paint(Graphics g, JComponent c) { // System.out.println("UI-COMPONENT-> unimplemented paint: " + c + ", UI="+this); } | 41,061 |
public void stateChanged(ChangeEvent event); | public void stateChanged(ChangeEvent event); | 41,062 |
void setView(Component c) { if (this.c != null) remove(c); this.c = c; add(c); } | void setView(Component c) { if (this.c != null) remove(c); this.c = c; add(c); } | 41,063 |
public static ComponentUI createUI(JComponent c) { Exception e = new Exception("createUI from ComponentUI should never be called"); e.printStackTrace(); System.exit(1); return null; } | public static ComponentUI createUI(JComponent c) { Exception e = new Exception("createUI from ComponentUI should never be called"); e.printStackTrace(); System.exit(1); return null; } | 41,064 |
public Font getFont() { Font f = font; if (f != null) return f; Component p = parent; if (p != null) return p.getFont(); if (peer != null) return peer.getGraphics().getFont(); return null; } | public Font getFont() { Font f = font; if (f != null) return f; Component p = parent; if (p != null) return p.getFont(); if (peer != null) return peer.getGraphics().getFont(); return null; } | 41,065 |
public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); } | public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); } | 41,066 |
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); } | public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); } | 41,067 |
public Rectangle getTabBounds(JTabbedPane pane, int index) { return null; } | public Rectangle getTabBounds(JTabbedPane pane, int index) { return null; } | 41,068 |
public int getTabRunCount(JTabbedPane pane) { return 0; } | public int getTabRunCount(JTabbedPane pane) { return 0; } | 41,069 |
public void addPropertyChangeListener(PropertyChangeListener listener) { listenerList.add(PropertyChangeListener.class, listener); } | public void addPropertyChangeListener(PropertyChangeListener listener) { if (changeSupport == null) changeSupport = new SwingPropertyChangeSupport(this); changeSupport.addPropertyChangeListener(listener); } | 41,070 |
public void installUI(JComponent c) { String id = c.getUIClassID() + ".border"; Border s = UIManager.getBorder( id ); if (s != null) { c.setBorder( s ); //System.out.println("OK-INSTALL: " + this + ", ID=" + id + ",B="+s); } else { ///System.out.println("FAIL-INSTALL: " + this + ", " + id); }... | public void installUI(JComponent c) { String id = c.getUIClassID() + ".border"; Border s = UIManager.getBorder( id ); if (s != null) { c.setBorder( s ); //System.out.println("OK-INSTALL: " + this + ", ID=" + id + ",B="+s); } else { ///System.out.println("FAIL-INSTALL: " + this + ", " + id); }... | 41,071 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,072 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,073 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,074 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,075 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,076 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,077 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,078 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,079 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,080 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,081 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,082 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,083 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,084 |
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, ... | 41,085 |
public int tabForCoordinate(JTabbedPane pane, int x, int y) { return 0; } | public int tabForCoordinate(JTabbedPane pane, int x, int y) { return 0; } | 41,086 |
public void removePropertyChangeListener(PropertyChangeListener listener) { listenerList.remove(PropertyChangeListener.class, listener); } | public void removePropertyChangeListener(PropertyChangeListener listener) { if (changeSupport != null) changeSupport.removePropertyChangeListener(listener); } | 41,087 |
public void uninstallUI(JComponent c) { } | public void uninstallUI(JComponent c) { } | 41,088 |
public static void paint(Context c, Box box, boolean stylePushed, boolean restyle) { Box block = (Box) box; restyle = restyle || box.restyle;//cascade it down box.restyle = false;//reset if (block instanceof AnonymousBlockBox) { InlineRendering.paintInlineContext(c, block, res... | public static void paint(Context c, Box box, boolean stylePushed, boolean restyle) { Box block = (Box) box; restyle = restyle || box.restyle;//cascade it down box.restyle = false;//reset if (block instanceof AnonymousBlockBox) { InlineRendering.paintInlineContext(c, block, res... | 41,089 |
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b... | public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b... | 41,090 |
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b... | public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b... | 41,091 |
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b... | public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b... | 41,092 |
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ... | public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ... | 41,095 |
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ... | public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ... | 41,096 |
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ... | public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); Border margin = block.getMarginWidth(c, width); Rectangle bounds = new Rectangle(block.x + margin.left, block.y + margin.top, ... | 41,097 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 41,098 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | publicstaticvoidpaint(Contextc,Boxblock){//don'tdrawifthebackgroundsareturnedoffif(!Configuration.isTrue("xr.renderer.draw.backgrounds",true)){return;}intwidth=block.getWidth();intheight=block.getHeight();Borderborder=c.getCurrentStyle().getBorderWidth(c.getCtx());if(border==null){return;}Bordermargin=c.getCurrentStyle... | 41,099 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | publicstaticvoidpaint(Contextc,Boxblock){//don'tdrawifthebackgroundsareturnedoffif(!Configuration.isTrue("xr.renderer.draw.backgrounds",true)){return;}intwidth=block.getWidth();intheight=block.getHeight();Borderborder=c.getCurrentStyle().getBorderWidth(c.getCtx());if(border==null){return;}Bordermargin=c.getCurrentStyle... | 41,100 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 41,101 |
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom... | public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom... | 41,102 |
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom... | public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (_marginTopOverrideSet) { result.top = (int) _marginTopOverride; } if (_marginBottomOverrideSet) { result.bottom... | 41,103 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if (border.noTop()) { sides -= TOP; } } if ((sid... | 41,104 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | 41,105 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | 41,106 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | 41,107 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { { if ( border.noTop()) { sides -= TOP; } } if ((... | 41,108 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } } if ((... | 41,109 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | 41,110 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((si... | 41,111 |
public static void translateRelative(Context c) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, top); } } | public static void translateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, top); } ... | 41,113 |
public static void untranslateRelative(Context c) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left, -top); } } | public static void untranslateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left, -top); ... | 41,115 |
public void handleConnectionException(Throwable t, Client client) { } | String clientConnectionID = (String)client.getConfiguration().get(MetaDataConstants.CLIENT_CONNECTION_ID); if (clientConnectionID == null) { log.error("Can't find client connection id in meta-data for " + client); } else { if (t instanceof ClientDisconnectedException) { if (log.isTraceEnabled()) { log.trace("Client " ... | 41,117 |
private void initializeRemoting(MBeanServer mbeanServer) throws Exception { String s = (String)mbeanServer.invoke(connectorName, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (fea... | private void initializeRemoting(MBeanServer mbeanServer) throws Exception { String s = (String)mbeanServer.invoke(connectorName, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (fea... | 41,119 |
private void initializeRemoting(MBeanServer mbeanServer) throws Exception { String s = (String)mbeanServer.invoke(connectorName, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (fea... | private void initializeRemoting(MBeanServer mbeanServer) throws Exception { String s = (String)mbeanServer.invoke(connectorName, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remoting which if you specify ... | 41,120 |
public synchronized void stopService() throws Exception { if (!started) { return; } log.debug(this + " stopping"); unloadServerAOPConfig(); tearDownConnectionFactories(); destinationJNDIMapper.destroyAllDestinations(); txRepository = null; clientManager = null; ... | public synchronized void stopService() throws Exception { if (!started) { return; } log.debug(this + " stopping"); unloadServerAOPConfig(); tearDownConnectionFactories(); destinationJNDIMapper.destroyAllDes... | 41,121 |
public synchronized void stopService() throws Exception { if (!started) { return; } log.debug(this + " stopping"); unloadServerAOPConfig(); tearDownConnectionFactories(); destinationJNDIMapper.destroyAllDestinations(); txRepository = null; clientManager = null; ... | public synchronized void stopService() throws Exception { if (!started) { return; } log.debug(this + " stopping"); unloadServerAOPConfig(); tearDownConnectionFactories(); destinationJNDIMapper.destroyAllDestinations(); txRepository = null; clientManager = null; destinationJNDIMapper = null; //remove the... | 41,122 |
public InitialContext() { init(null); } | public InitialContext() { init(null); } | 41,123 |
public Object lookup(String name) throws NamingException { return getURLOrDefaultInitCtx(name).lookup(name); } | public Object lookup(String name) throws NamingException { return getURLOrDefaultInitCtx(name).lookup(name); } | 41,124 |
public Context createSubcontext(String name) throws NamingException { return getURLOrDefaultInitCtx(name).createSubcontext(name); } | public Context createSubcontext(String name) throws NamingException { return getURLOrDefaultInitCtx(name).createSubcontext(name); } | 41,125 |
public void rebind (String name, Object obj) throws NamingException; | public void rebind (String name, Object obj) throws NamingException; | 41,126 |
public JMSServerInvocationHandler() { callbackHandlers = new HashMap(); trace = log.isTraceEnabled(); } | publicJMSServerInvocationHandler(){callbackHandlers=newHashMap();trace=log.isTraceEnabled();} | 41,127 |
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {... | public void setSecurityConfig(boolean isQueue, String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Ex... | 41,128 |
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {... | public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for " + (isQueue ? "queue " : "topic ") + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } cat... | 41,129 |
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {... | public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {... | 41,130 |
public void unbind (String name) throws NamingException; | public void unbind (String name) throws NamingException; | 41,131 |
public void rebind(String name, Object obj) throws NamingException { getURLOrDefaultInitCtx(name).rebind(name, obj); } | public void rebind(String name, Object obj) throws NamingException { getURLOrDefaultInitCtx(name).rebind(name, obj); } | 41,132 |
public void close() throws NamingException { throw new OperationNotSupportedException(); } | public void close() throws NamingException { throw new OperationNotSupportedException(); } | 41,133 |
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l... | public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("initializing SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled())... | 41,134 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.