bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static int getBidiLevel(AttributeSet a) { if (a.isDefined(BidiLevel)) return ((Integer)a.getAttribute(BidiLevel)).intValue(); else return 0; } | public static int getBidiLevel(AttributeSet a) { if (a.isDefined(BidiLevel)) return ((Integer)a.getAttribute(BidiLevel)).intValue(); else return 0; } | 29,827 |
public static Component getComponent(AttributeSet a) { if (a.isDefined(ComponentAttribute)) return (Component) a.getAttribute(ComponentAttribute); else return (Component) null; } | public static Component getComponent(AttributeSet a) { if (a.isDefined(ComponentAttribute)) return (Component) a.getAttribute(ComponentAttribute); else return (Component) null; } | 29,828 |
public static Component getComponent(AttributeSet a) { if (a.isDefined(ComponentAttribute)) return (Component) a.getAttribute(ComponentAttribute); else return (Component) null; } | public static Component getComponent(AttributeSet a) { if (a.isDefined(ComponentAttribute)) return (Component) a.getAttribute(ComponentAttribute); else return null; } | 29,829 |
public static float getFirstLineIndent(AttributeSet a) { if (a.isDefined(FirstLineIndent)) return ((Float)a.getAttribute(FirstLineIndent)).floatValue(); else return 0.f; } | public static float getFirstLineIndent(AttributeSet a) { if (a.isDefined(FirstLineIndent)) return ((Float)a.getAttribute(FirstLineIndent)).floatValue(); else return 0.f; } | 29,830 |
public static float getFirstLineIndent(AttributeSet a) { if (a.isDefined(FirstLineIndent)) return ((Float)a.getAttribute(FirstLineIndent)).floatValue(); else return 0.f; } | public static float getFirstLineIndent(AttributeSet a) { if (a.isDefined(FirstLineIndent)) return ((Float)a.getAttribute(FirstLineIndent)).floatValue(); else return 0.0f; } | 29,831 |
public static String getFontFamily(AttributeSet a) { if (a.isDefined(FontFamily)) return (String) a.getAttribute(FontFamily); else return "Monospaced"; } | public static String getFontFamily(AttributeSet a) { if (a.isDefined(FontFamily)) return (String) a.getAttribute(FontFamily); else return "Monospaced"; } | 29,832 |
public static int getFontSize(AttributeSet a) { if (a.isDefined(FontSize)) return ((Integer)a.getAttribute(FontSize)).intValue(); else return 12; } | public static int getFontSize(AttributeSet a) { if (a.isDefined(FontSize)) return ((Integer)a.getAttribute(FontSize)).intValue(); else return 12; } | 29,833 |
public static Color getForeground(AttributeSet a) { if (a.isDefined(Foreground)) return (Color) a.getAttribute(Foreground); else return Color.BLACK; } | public static Color getForeground(AttributeSet a) { if (a.isDefined(Foreground)) return (Color) a.getAttribute(Foreground); else return Color.BLACK; } | 29,834 |
public static Icon getIcon(AttributeSet a) { if (a.isDefined(IconAttribute)) return (Icon) a.getAttribute(IconAttribute); else return (Icon) null; } | public static Icon getIcon(AttributeSet a) { return (Icon) a.getAttribute(IconAttribute); else return (Icon) null; } | 29,835 |
public static Icon getIcon(AttributeSet a) { if (a.isDefined(IconAttribute)) return (Icon) a.getAttribute(IconAttribute); else return (Icon) null; } | public static Icon getIcon(AttributeSet a) { if (a.isDefined(IconAttribute)) return (Icon) a.getAttribute(IconAttribute); else return (Icon) null; } | 29,836 |
public static float getLeftIndent(AttributeSet a) { if (a.isDefined(LeftIndent)) return ((Float)a.getAttribute(LeftIndent)).floatValue(); else return 0.f; } | public static float getLeftIndent(AttributeSet a) { if (a.isDefined(LeftIndent)) return ((Float)a.getAttribute(LeftIndent)).floatValue(); else return 0.f; } | 29,837 |
public static float getLeftIndent(AttributeSet a) { if (a.isDefined(LeftIndent)) return ((Float)a.getAttribute(LeftIndent)).floatValue(); else return 0.f; } | public static float getLeftIndent(AttributeSet a) { if (a.isDefined(LeftIndent)) return ((Float)a.getAttribute(LeftIndent)).floatValue(); else return 0.0f; } | 29,838 |
public static float getLineSpacing(AttributeSet a) { if (a.isDefined(LineSpacing)) return ((Float)a.getAttribute(LineSpacing)).floatValue(); else return 0.f; } | public static float getLineSpacing(AttributeSet a) { if (a.isDefined(LineSpacing)) return ((Float)a.getAttribute(LineSpacing)).floatValue(); else return 0.f; } | 29,839 |
public static float getLineSpacing(AttributeSet a) { if (a.isDefined(LineSpacing)) return ((Float)a.getAttribute(LineSpacing)).floatValue(); else return 0.f; } | public static float getLineSpacing(AttributeSet a) { if (a.isDefined(LineSpacing)) return ((Float)a.getAttribute(LineSpacing)).floatValue(); else return 0.0f; } | 29,840 |
public static float getRightIndent(AttributeSet a) { if (a.isDefined(RightIndent)) return ((Float)a.getAttribute(RightIndent)).floatValue(); else return 0.f; } | public static float getRightIndent(AttributeSet a) { if (a.isDefined(RightIndent)) return ((Float)a.getAttribute(RightIndent)).floatValue(); else return 0.f; } | 29,841 |
public static float getRightIndent(AttributeSet a) { if (a.isDefined(RightIndent)) return ((Float)a.getAttribute(RightIndent)).floatValue(); else return 0.f; } | public static float getRightIndent(AttributeSet a) { if (a.isDefined(RightIndent)) return ((Float)a.getAttribute(RightIndent)).floatValue(); else return 0.0f; } | 29,842 |
public static float getSpaceAbove(AttributeSet a) { if (a.isDefined(SpaceAbove)) return ((Float)a.getAttribute(SpaceAbove)).floatValue(); else return 0.f; } | public static float getSpaceAbove(AttributeSet a) { if (a.isDefined(SpaceAbove)) return ((Float)a.getAttribute(SpaceAbove)).floatValue(); else return 0.f; } | 29,843 |
public static float getSpaceBelow(AttributeSet a) { if (a.isDefined(SpaceBelow)) return ((Float)a.getAttribute(SpaceBelow)).floatValue(); else return 0.f; } | public static float getSpaceBelow(AttributeSet a) { if (a.isDefined(SpaceBelow)) return ((Float)a.getAttribute(SpaceBelow)).floatValue(); else return 0.f; } | 29,844 |
public static float getSpaceBelow(AttributeSet a) { if (a.isDefined(SpaceBelow)) return ((Float)a.getAttribute(SpaceBelow)).floatValue(); else return 0.f; } | public static float getSpaceBelow(AttributeSet a) { if (a.isDefined(SpaceBelow)) return ((Float)a.getAttribute(SpaceBelow)).floatValue(); else return 0.0f; } | 29,845 |
public static javax.swing.text.TabSet getTabSet(AttributeSet a) { if (a.isDefined(StyleConstants.TabSet)) return (javax.swing.text.TabSet) a.getAttribute(StyleConstants.TabSet); else return (javax.swing.text.TabSet) null; } | public static javax.swing.text.TabSet getTabSet(AttributeSet a) { return (javax.swing.text.TabSet) a.getAttribute(StyleConstants.TabSet); else return (javax.swing.text.TabSet) null; } | 29,846 |
public static javax.swing.text.TabSet getTabSet(AttributeSet a) { if (a.isDefined(StyleConstants.TabSet)) return (javax.swing.text.TabSet) a.getAttribute(StyleConstants.TabSet); else return (javax.swing.text.TabSet) null; } | public static javax.swing.text.TabSet getTabSet(AttributeSet a) { if (a.isDefined(StyleConstants.TabSet)) return (javax.swing.text.TabSet) a.getAttribute(StyleConstants.TabSet); else return (javax.swing.text.TabSet) null; } | 29,847 |
public static boolean isBold(AttributeSet a) { if (a.isDefined(Bold)) return ((Boolean) a.getAttribute(Bold)).booleanValue(); else return false; } | public static boolean isBold(AttributeSet a) { if (a.isDefined(Bold)) return ((Boolean) a.getAttribute(Bold)).booleanValue(); else return false; } | 29,848 |
public static boolean isItalic(AttributeSet a) { if (a.isDefined(Italic)) return ((Boolean) a.getAttribute(Italic)).booleanValue(); else return false; } | public static boolean isItalic(AttributeSet a) { if (a.isDefined(Italic)) return ((Boolean) a.getAttribute(Italic)).booleanValue(); else return false; } | 29,849 |
public static boolean isStrikeThrough(AttributeSet a) { if (a.isDefined(StrikeThrough)) return ((Boolean) a.getAttribute(StrikeThrough)).booleanValue(); else return false; } | public static boolean isStrikeThrough(AttributeSet a) { if (a.isDefined(StrikeThrough)) return ((Boolean) a.getAttribute(StrikeThrough)).booleanValue(); else return false; } | 29,850 |
public static boolean isSubscript(AttributeSet a) { if (a.isDefined(Subscript)) return ((Boolean) a.getAttribute(Subscript)).booleanValue(); else return false; } | public static boolean isSubscript(AttributeSet a) { if (a.isDefined(Subscript)) return ((Boolean) a.getAttribute(Subscript)).booleanValue(); else return false; } | 29,851 |
public static boolean isSuperscript(AttributeSet a) { if (a.isDefined(Superscript)) return ((Boolean) a.getAttribute(Superscript)).booleanValue(); else return false; } | public static boolean isSuperscript(AttributeSet a) { if (a.isDefined(Superscript)) return ((Boolean) a.getAttribute(Superscript)).booleanValue(); else return false; } | 29,852 |
public static boolean isUnderline(AttributeSet a) { if (a.isDefined(Underline)) return ((Boolean) a.getAttribute(Underline)).booleanValue(); else return false; } | public static boolean isUnderline(AttributeSet a) { if (a.isDefined(Underline)) return ((Boolean) a.getAttribute(Underline)).booleanValue(); else return false; } | 29,853 |
public static void setBackground(MutableAttributeSet a, Color fg) { a.addAttribute(Background, fg); } | public static void setBackground(MutableAttributeSet a, Color bg) { a.addAttribute(Background, fg); } | 29,854 |
public static void setBackground(MutableAttributeSet a, Color fg) { a.addAttribute(Background, fg); } | public static void setBackground(MutableAttributeSet a, Color fg) { a.addAttribute(Background, bg); } | 29,855 |
public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else... | public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) vsb = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else if (key == RO... | 29,856 |
public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else... | public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) hsb = (JScrollBar) component; else if (key == ROW_... | 29,857 |
public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else... | public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else... | 29,858 |
public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else... | public void addLayoutComponent(String key, Component component) { if (key == VIEWPORT) viewport = (JViewport) component; else if (key == VERTICAL_SCROLLBAR) verticalScrollBar = (JScrollBar) component; else if (key == HORIZONTAL_SCROLLBAR) horizontalScrollBar = (JScrollBar) component; else... | 29,859 |
public JViewport getColumnHeader() { return columnHeader; } | public JViewport getColumnHeader() { return columnHeader; } | 29,860 |
public Component getCorner(String key) { if (key == LOWER_RIGHT_CORNER) return lowerRight; else if (key == UPPER_RIGHT_CORNER) return upperRight; else if (key == LOWER_LEFT_CORNER) return lowerLeft; else if (key == UPPER_LEFT_CORNER) return upperLeft; return null; } | public Component getCorner(String key) { if (key == LOWER_RIGHT_CORNER) return lowerRight; else if (key == UPPER_RIGHT_CORNER) return upperRight; else if (key == LOWER_LEFT_CORNER) return lowerLeft; else if (key == UPPER_LEFT_CORNER) return upperLeft; return null; } | 29,861 |
public JScrollBar getHorizontalScrollBar() { return horizontalScrollBar; } | public JScrollBar getHorizontalScrollBar() { return horizontalScrollBar; } | 29,862 |
public int getHorizontalScrollBarPolicy() { return horizontalScrollBarPolicy; } | public int getHorizontalScrollBarPolicy() { return horizontalScrollBarPolicy; } | 29,863 |
public JViewport getRowHeader() { return rowHeader; } | public JViewport getRowHeader() { return rowHeader; } | 29,864 |
public JScrollBar getVerticalScrollBar() { return verticalScrollBar; } | public JScrollBar getVerticalScrollBar() { return verticalScrollBar; } | 29,865 |
public int getVerticalScrollBarPolicy() { return verticalScrollBarPolicy; } | public int getVerticalScrollBarPolicy() { return verticalScrollBarPolicy; } | 29,866 |
public JViewport getViewport() { return viewport; } | public JViewport getViewport() { return viewport; } | 29,867 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,868 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,869 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,870 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,871 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,872 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,873 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,874 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,875 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,876 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,877 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); JViewport viewport = sc.getViewport(); Dimension v... | 29,878 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,879 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,880 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,881 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,882 |
public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,883 |
public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,884 |
public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,885 |
public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension preferredLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 29,886 |
public void removeLayoutComponent(Component component) { if (component == viewport) viewport = null; else if (component == verticalScrollBar) verticalScrollBar = null; else if (component == horizontalScrollBar) horizontalScrollBar = null; else if (component == rowHeader) rowHeader = nu... | public void removeLayoutComponent(Component component) { if (component == viewport) viewport = null; else if (component == verticalScrollBar) verticalScrollBar = null; else if (component == horizontalScrollBar) horizontalScrollBar = null; else if (component == rowHeader) rowHeader = nu... | 29,887 |
public void setHorizontalScrollBarPolicy(int policy) { horizontalScrollBarPolicy = policy; } | public void setHorizontalScrollBarPolicy(int policy) { horizontalScrollBarPolicy = policy; } | 29,888 |
public void setVerticalScrollBarPolicy(int policy) { verticalScrollBarPolicy = policy; } | public void setVerticalScrollBarPolicy(int policy) { verticalScrollBarPolicy = policy; } | 29,889 |
public void setSize(int w, int h) { width = w; height = h; } | public void setSize(double w, double h) { width = w; height = h; } | 29,890 |
public void setSize(int w, int h) { width = w; height = h; } | public void setSize(int w, int h) { width = w; height = h; } | 29,891 |
DTD getDTD() { return dtd; } | DTD getDTD() { return super.dtd; } | 29,892 |
public PublicKey decodePublicKey(byte[] input) { log.entering(this.getClass().getName(), "decodePublicKey()", input); if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI =... | publicPublicKeydecodePublicKey(byte[]input){log.entering(this.getClass().getName(),"decodePublicKey()",input);if(input==null)thrownewInvalidParameterException("InputbytesMUSTNOTbenull");BigIntegern,e;DERReaderder=newDERReader(input);try{DERValuederSPKI=der.read();DerUtil.checkIsConstructed(derSPKI,"WrongSubjectPublicKe... | 29,893 |
public PublicKey decodePublicKey(byte[] input) { log.entering(this.getClass().getName(), "decodePublicKey()", input); if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI =... | public PublicKey decodePublicKey(byte[] input) { log.entering(this.getClass().getName(), "decodePublicKey()", input); if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI =... | 29,894 |
public PublicKey decodePublicKey(byte[] input) { log.entering(this.getClass().getName(), "decodePublicKey()", input); if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI =... | publicPublicKeydecodePublicKey(byte[]input){log.entering(this.getClass().getName(),"decodePublicKey()",input);if(input==null)thrownewInvalidParameterException("InputbytesMUSTNOTbenull");BigIntegern,e;DERReaderder=newDERReader(input);try{DERValuederSPKI=der.read();DerUtil.checkIsConstructed(derSPKI,"WrongSubjectPublicKe... | 29,895 |
public byte[] encodePublicKey(PublicKey key) { log.entering(this.getClass().getName(), "encodePublicKey()", key); if (! (key instanceof GnuRSAPublicKey)) throw new InvalidParameterException("key"); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, RSA_ALG_OID); GnuRSAPublicKey rsaKey = (GnuRSAPu... | publicbyte[]encodePublicKey(PublicKeykey){log.entering(this.getClass().getName(),"encodePublicKey()",key);if(!(keyinstanceofGnuRSAPublicKey))thrownewInvalidParameterException("key");DERValuederOID=newDERValue(DER.OBJECT_IDENTIFIER,RSA_ALG_OID);GnuRSAPublicKeyrsaKey=(GnuRSAPublicKey)key;BigIntegern=rsaKey.getN();BigInte... | 29,897 |
public byte[] encodePublicKey(PublicKey key) { log.entering(this.getClass().getName(), "encodePublicKey()", key); if (! (key instanceof GnuRSAPublicKey)) throw new InvalidParameterException("key"); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, RSA_ALG_OID); GnuRSAPublicKey rsaKey = (GnuRSAPu... | public byte[] encodePublicKey(PublicKey key) { log.entering(this.getClass().getName(), "encodePublicKey()", key); if (! (key instanceof GnuRSAPublicKey)) throw new InvalidParameterException("key"); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, RSA_ALG_OID); GnuRSAPublicKey rsaKey = (GnuRSAPu... | 29,898 |
public byte[] encodePublicKey(PublicKey key) { log.entering(this.getClass().getName(), "encodePublicKey()", key); if (! (key instanceof GnuRSAPublicKey)) throw new InvalidParameterException("key"); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, RSA_ALG_OID); GnuRSAPublicKey rsaKey = (GnuRSAPu... | if (Configuration.DEBUG) if (Configuration.DEBUG) publicif (Configuration.DEBUG) byte[]if (Configuration.DEBUG) encodePublicKey(PublicKeyif (Configuration.DEBUG) key)if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log... | 29,899 |
public Operand simplify() { return null; } | public Operand simplify() { return null; } | 29,900 |
public int getAddressingMode() { if (location instanceof StackLocation) { return Operand.MODE_STACK; } else if (location instanceof RegisterLocation) { return Operand.MODE_REGISTER; } else { throw new IllegalArgumentException("Undefined location"); } } | public int getAddressingMode() { if (location instanceof StackLocation) { return Operand.MODE_STACK; } else if (location instanceof RegisterLocation) { return Operand.MODE_REGISTER; } else { throw new IllegalArgumentException("Undefined location"); } } | 29,901 |
public UnrecoverableKeyException(String msg) { super(msg); } | public UnrecoverableKeyException() { super(msg); } | 29,902 |
public UnrecoverableKeyException(String msg) { super(msg); } | public UnrecoverableKeyException(String msg) { } | 29,903 |
public final CharBuffer decode (ByteBuffer in) throws CharacterCodingException { // XXX: Sun's Javadoc seems to contradict itself saying an // IllegalStateException is thrown "if a decoding operation is already // in progress" and also that "it resets this Decoder". // Should we check to see that the ... | public final CharBuffer decode (ByteBuffer in) throws CharacterCodingException { // XXX: Sun's Javadoc seems to contradict itself saying an // IllegalStateException is thrown "if a decoding operation is already // in progress" and also that "it resets this Decoder". // Should we check to see that the ... | 29,904 |
public AbstractTest() { super(); ConfigManager.initLog4j(); } | public AbstractTest(Class configClazz) { super(); ConfigManager.initLog4j(); } | 29,905 |
final protected TestConfig getTestConfig() { if(testConfig == null) { testConfig = ConfigManager.getInstance().getConfig(getClass(), getName()); } return testConfig; } | final protected TestConfig getTestConfig() { if(testConfig == null) { testConfig = ConfigManager.getInstance().getConfig(configClazz, getClass(), getName()); } return testConfig; } | 29,907 |
public TestConfig getConfig(Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { it = configs.iterator(); iterators.put(key, it); } TestConfig cfg = (TestCo... | public TestConfig getConfig(Class configClazz, Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { it = configs.iterator(); iterators.put(key, it); } TestC... | 29,909 |
public TestConfig getConfig(Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { it = configs.iterator(); iterators.put(key, it); } TestConfig cfg = (TestCo... | public TestConfig getConfig(Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { List cfgs = (List) configs.get(configClazz); it = cfgs.iterator(); iterators.put(key, it); ... | 29,910 |
public Book() { } | public Book() { } | 29,912 |
public void append(Printable printable, PageFormat page_format) { append(printable, page_format, 1); } | public void append(Printable printable, PageFormat page_format) { append(printable, page_format, 1); } | 29,913 |
public void append(Printable printable, PageFormat page_format) { append(printable, page_format, 1); } | public void append(Printable printable, PageFormat page_format) { append(printable, page_format, 1); } | 29,914 |
public int getNumberOfPages() { return (printables.size()); } | public int getNumberOfPages() { return (printables.size()); } | 29,915 |
public PageFormat getPageFormat(int page_number) { return ((PageFormat) page_formats.elementAt(page_number)); } | public PageFormat getPageFormat(int page_number) { return ((PageFormat) page_formats.elementAt(page_number)); } | 29,916 |
public Printable getPrintable(int page_number) { return ((Printable) printables.elementAt(page_number)); } | public Printable getPrintable(int page_number) { return ((Printable) printables.elementAt(page_number)); } | 29,917 |
public void setPage(int page_num, Printable printable, PageFormat page_format) { printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num); } | public void setPage(int page_num, Printable printable, PageFormat page_format) { printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num); } | 29,918 |
public void setPage(int page_num, Printable printable, PageFormat page_format) { printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num); } | public void setPage(int page_num, Printable printable, PageFormat page_format) { printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num); } | 29,919 |
public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | 29,920 |
public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | 29,921 |
public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | 29,922 |
public static void main(String[] args) throws Exception { new TestCommand().execute(HELP_INFO.parse(args), System.in, System.out, System.err); } | public static void main(String[] args) throws Exception { new TestCommand().execute(HELP_INFO.parse(args), System.in, System.out, System.err); } | 29,923 |
public final void writeArrayStoreWriteBarrier(X86CompilerContext context, Register refReg, Register indexReg, Register valueReg) { writePUSH(refReg); writePUSH(indexReg); writePUSH(valueReg); invokeJavaMethod(context.getArrayStoreWriteBarrier(), context); } | public final void writeArrayStoreWriteBarrier(X86CompilerContext context, Register refReg, Register indexReg, Register valueReg) { writePUSH(refReg); writePUSH(indexReg); writePUSH(valueReg); invokeJavaMethod(context.getArrayStoreWriteBarrier(), context); } | 29,924 |
public final void writePutfieldWriteBarrier(X86CompilerContext context, VmInstanceField field, Register refReg, Register valueReg) { if (field.isObjectRef()) { writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context... | public final void writePutfieldWriteBarrier(X86CompilerContext context, VmInstanceField field, Register refReg, Register valueReg, Register scratchReg) { if (field.isObjectRef()) { writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); inv... | 29,925 |
public final void writePutfieldWriteBarrier(X86CompilerContext context, VmInstanceField field, Register refReg, Register valueReg) { if (field.isObjectRef()) { writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context... | public final void writePutfieldWriteBarrier(X86CompilerContext context, VmInstanceField field, Register refReg, Register valueReg) { if (field.isObjectRef()) { writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context... | 29,926 |
public final void writePutstaticWriteBarrier(X86CompilerContext context, VmStaticField field, Register valueReg) { if (field.isObjectRef()) { writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); ... | public final void writePutstaticWriteBarrier(X86CompilerContext context, VmStaticField field, Register valueReg, Register scratchReg) { if (field.isObjectRef()) { writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBar... | 29,927 |
public final void writePutstaticWriteBarrier(X86CompilerContext context, VmStaticField field, Register valueReg) { if (field.isObjectRef()) { writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); ... | public final void writePutstaticWriteBarrier(X86CompilerContext context, VmStaticField field, Register valueReg) { if (field.isObjectRef()) { writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); ... | 29,928 |
public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } c... | public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } ... | 29,929 |
public void select(int start, int end) { int length = doc.getLength(); start = Math.max(start, 0); start = Math.min(start, length); end = Math.max(end, 0); end = Math.min(end, length); setCaretPosition(start); moveCaretPosition(end); } | public void select(int start, int end) { int length = doc.getLength(); start = Math.max(start, 0); start = Math.min(start, length); end = Math.max(end, start); end = Math.min(end, length); setCaretPosition(start); moveCaretPosition(end); } | 29,930 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.