bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,494 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,495 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,496 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,497 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,498 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,499 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,500 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,501 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 50,502 |
private static void paintGoodBevel(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides, int currentSide) { if (currentSide == TOP) { paintSolid(g2, bounds, border, high, sides, currentSide); } else if (currentSide ... | private static void paintGoodBevel(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet high, final BorderPropertySet low, final int sides, int currentSide) { if (currentSide == TOP) { paintSolid(g2, bounds, border, high, sides, currentSide); ... | 50,503 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ... | 50,504 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 50,505 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 50,506 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 50,507 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 50,508 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe... | 50,509 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 50,510 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 50,511 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 50,512 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 50,513 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 50,514 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | privatestaticvoidpaintSolid(finalGraphics2Dg2,finalRectanglebounds,finalBorderborder,finalBorderColorcolor,finalintsides,intcurrentSide){//Buginpolygonpaintingpaintsanextrapixeltotherightandbottom//Butclippingworksfine!Polygonpoly=getBevelledPolygon(bounds,border,sides,currentSide,false);//Shapeold_clip=g2.getClip();//... | 50,515 |
public static Rectangle shrinkRect(final Rectangle rect, final Border border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.right); ... | public static Rectangle shrinkRect(final Rectangle rect, final BorderPropertySet border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.rig... | 50,516 |
public static Rectangle shrinkRect(final Rectangle rect, final Border border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.right); ... | public static Rectangle shrinkRect(final Rectangle rect, final Border border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.right); ... | 50,517 |
public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | 50,518 |
public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | 50,519 |
public boolean authorize(String user, Set rolePrincipals) { if (log.isTraceEnabled()) log.trace( "Checking authorize on user: " + user + " for rolePrincipals " + rolePrincipals.toString()); Principal principal = user == null ? null ... | public boolean authorize(String user, Set rolePrincipals) { if (log.isTraceEnabled()) log.trace( "Checking authorize on user: " + user + " for rolePrincipals " + rolePrincipals.toString()); Principal principal = user == null ? null ... | 50,520 |
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ClientStubBase csb = (ClientStubBase)conn; csb.init(); csb.setState(new ConnectionState(conn)); ... | public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ConnectionStub csb = (ConnectionStub)conn; csb.init(); csb.setState(new ConnectionState(conn)); ... | 50,521 |
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ClientStubBase csb = (ClientStubBase)conn; csb.init(); csb.setState(new ConnectionState(conn)); ... | public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ClientStubBase csb = (ClientStubBase)conn; csb.init(); csb.setState(new ConnectionState(conn, csb.getServerId())); ... | 50,522 |
public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ... | public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ... | 50,523 |
public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { //First insert a row in the db long id = getNextId(); Topic topic = (Topic)getCoreDestinationInternal... | public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { //First insert a row in the db long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInte... | 50,524 |
public void deployCoreDestination(boolean isQueue, String destName, MessageStore ms, PersistenceManager pm, int fullSize, int pageSize... | public void deployCoreDestination(boolean isQueue, String destName, MessageStore ms, PersistenceManager pm, int fullSize, int pageSize... | 50,525 |
protected synchronized long getNextId() { //TODO Use IdManager return idCounter++; } | protected long getNextId() throws Exception { //TODO Use IdManager return idCounter++; } | 50,526 |
protected synchronized long getNextId() { //TODO Use IdManager return idCounter++; } | protected synchronized long getNextId() { //TODO Use IdManager long id = this.channelIDManager.getId(); return id; } | 50,527 |
protected void initSqlProperties() { createUserTable = sqlProperties.getProperty("CREATE_USER_TABLE", createUserTable); createRoleTable = sqlProperties.getProperty("CREATE_ROLE_TABLE", createRoleTable); selectPreConfClientId = sqlProperties.getProperty("SELECT_PRECONF_CLIENTID", selectPreConfClientI... | protected void initSqlProperties() { createUserTable = sqlProperties.getProperty("CREATE_USER_TABLE", createUserTable); createRoleTable = sqlProperties.getProperty("CREATE_ROLE_TABLE", createRoleTable); selectPreConfClientId = sqlProperties.getProperty("SELECT_PRECONF_CLIENTID", selectPreConfClientI... | 50,528 |
protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | protected void insertMappingRow(long id, char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap =... | 50,529 |
protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | 50,530 |
protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | 50,531 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 50,532 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 50,533 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 50,534 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 50,535 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 50,536 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 50,537 |
public void testGetInitialRefInfos() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.refere... | public void testGetInitialRefInfos() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.refere... | 50,538 |
public void testPageOrders() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.reference(m[1]... | public void testPageOrders() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.reference(m[1]... | 50,539 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 50,540 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200, 200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery... | 50,541 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 50,542 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 50,543 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 50,544 |
protected String paramString() { return "JPanel"; } | protected String paramString() { return super.paramString(); } | 50,545 |
public int getMaxHeight() { return sharedContext.getMaxHeight(); } | public int getMaxHeight() { return sharedContext.getMaxHeight(); } | 50,546 |
public int getMaxWidth() { return sharedContext.getMaxWidth(); } | public int getMaxWidth() { return sharedContext.getMaxWidth(); } | 50,547 |
public void translate(int x, int y) { //Uu.p("trans: " + x + "," + y); getGraphics().translate(x, y);//TODO: is this healthy and thread-safe enough? if (bfc != null) { bfc.translate(x, y); } xoff += x; yoff += y; } | public void translate(int x, int y) { //Uu.p("trans: " + x + "," + y); getGraphics().translate(x, y);//TODO: is this healthy and thread-safe enough? if (bfc != null) { bfc.translate(x, y); } xoff += x; yoff += y; } | 50,548 |
public void add(int index, Object element) { // Process Action elements.add(index, element); // Send event fireContentsChanged(this, index, index); } // add() | public void add(int index, Object element) { // Process Action elements.add(index, element); // Send event fireContentsChanged(this, index, index); } // add() | 50,549 |
public int capacity() { return elements.size(); } // capacity() | public int capacity() { return elements.size(); } // capacity() | 50,550 |
public boolean contains(Object element) { return elements.contains(element); } // contains() | public boolean contains(Object element) { return elements.contains(element); } // contains() | 50,551 |
public void copyInto(Object[] array) { // Variables int index; int size; Object[] srcArray; // Initialize size = size(); srcArray = toArray(); // Process Elements for (index = 0; index < size; index++) { array[index] = srcArray[index]; } // for } // copyInto() | public void copyInto(Object[] array) { // Variables int index; int size; Object[] srcArray; // Initialize size = size(); srcArray = toArray(); // Process Elements for (index = 0; index < size; index++) { array[index] = srcArray[index]; } // for } // copyInto() | 50,552 |
public Object elementAt(int index) { return elements.get(index); } // elementAt() | public Object elementAt(int index) { return elements.get(index); } // elementAt() | 50,553 |
public Enumeration elements() { // TODO // Note: This is a pathetic implementation. If Vector // was used for storage, this wouldn't be an issue. I'll // have to implement an Enumeration inner class sometime. // Variables Vector vector; // Get Enumeration vector = new Vector(elements); return vector.element... | public Enumeration elements() { // TODO // Note: This is a pathetic implementation. If Vector // was used for storage, this wouldn't be an issue. I'll // have to implement an Enumeration inner class sometime. // Variables Vector vector; // Get Enumeration vector = new Vector(elements); return vector.element... | 50,554 |
public void ensureCapacity(int size) { elements.ensureCapacity(size); } // ensureCapacity() | public void ensureCapacity(int size) { elements.ensureCapacity(size); } // ensureCapacity() | 50,555 |
public Object firstElement() { // Variables Object element; try { element = elements.get(0); return element; } catch (IndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // firstElement() | public Object firstElement() { // Variables Object element; try { element = elements.get(0); return element; } catch (IndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // firstElement() | 50,556 |
public Object get(int index) { return elements.get(index); } // get() | public Object get(int index) { return elements.get(index); } // get() | 50,557 |
public Object getElementAt(int index) { return elements.get(index); } // getElementAt() | public Object getElementAt(int index) { return elements.get(index); } // getElementAt() | 50,558 |
public int getSize() { return elements.size(); } // getSize() | public int getSize() { return elements.size(); } // getSize() | 50,559 |
public int indexOf(Object element) { return elements.indexOf(element); } // indexOf() | public int indexOf(Object element) { return elements.indexOf(element); } // indexOf() | 50,560 |
public void insertElementAt(Object element, int index) { // Process Action elements.add(index, element); // Send event fireIntervalRemoved(this, index, index); } // insertElementAt() | public void insertElementAt(Object element, int index) { // Process Action elements.add(index, element); // Send event fireIntervalRemoved(this, index, index); } // insertElementAt() | 50,561 |
public boolean isEmpty() { return elements.isEmpty(); } // isEmpty() | public boolean isEmpty() { return elements.isEmpty(); } // isEmpty() | 50,562 |
public Object lastElement() { // Variables Object element; try { element = elements.get(elements.size() - 1); return element; } catch (ArrayIndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // lastElement() | public Object lastElement() { // Variables Object element; try { element = elements.get(elements.size() - 1); return element; } catch (ArrayIndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // lastElement() | 50,563 |
public int lastIndexOf(Object element) { return elements.lastIndexOf(element); } // lastIndexOf() | public int lastIndexOf(Object element) { return elements.lastIndexOf(element); } // lastIndexOf() | 50,564 |
public Object remove(int index) { // Variables Object result; // Process Action result = elements.remove(index); // Send event fireIntervalRemoved(this, index, index); return result; } // remove() | public Object remove(int index) { // Variables Object result; // Process Action result = elements.remove(index); // Send event fireIntervalRemoved(this, index, index); return result; } // remove() | 50,565 |
public void removeAllElements() { // Variables int size; size = size(); if (size > 0) { // Process Action elements.clear(); // Send event fireIntervalRemoved(this, 0, size - 1); } // if } // removeAllElements() | public void removeAllElements() { // Variables int size; size = size(); if (size > 0) { // Process Action elements.clear(); // Send event fireIntervalRemoved(this, 0, size - 1); } // if } // removeAllElements() | 50,566 |
public boolean removeElement(Object element) { // Variables int index; index = elements.indexOf(element); if (index != -1) { elements.remove(index); // Send event fireIntervalRemoved(this, index, index); return true; } // if return false; } // removeElement() | public boolean removeElement(Object element) { // Variables int index; index = elements.indexOf(element); if (index != -1) { elements.remove(index); // Send event fireIntervalRemoved(this, index, index); return true; } // if return false; } // removeElement() | 50,567 |
public void removeElementAt(int index) { // Process Action elements.remove(index); // Send event fireIntervalRemoved(this, index, index); } // removeElementAt() | public void removeElementAt(int index) { // Process Action elements.remove(index); // Send event fireIntervalRemoved(this, index, index); } // removeElementAt() | 50,568 |
public void removeRange(int startIndex, int endIndex) { // Variables int index; // Check Indices if (startIndex > endIndex) { throw new IllegalArgumentException(); } // if // Process Elements for (index = endIndex; index >= startIndex; index--) { elements.remove(index); } // for // Send event fireInterv... | public void removeRange(int startIndex, int endIndex) { // Variables int index; // Check Indices if (startIndex > endIndex) { throw new IllegalArgumentException(); } // if // Process Elements for (index = endIndex; index >= startIndex; index--) { elements.remove(index); } // for // Send event fireInterv... | 50,569 |
public Object set(int index, Object element) { // Variables Object result; // Process Action result = elements.set(index, element); // Send event fireContentsChanged(this, index, index); return result; } // set() | public Object set(int index, Object element) { // Variables Object result; // Process Action result = elements.set(index, element); // Send event fireContentsChanged(this, index, index); return result; } // set() | 50,570 |
public void setElementAt(Object element, int index) { // Process Action elements.set(index, element); // Send event fireContentsChanged(this, index, index); } // setElementAt() | public void setElementAt(Object element, int index) { // Process Action elements.set(index, element); // Send event fireContentsChanged(this, index, index); } // setElementAt() | 50,571 |
public void setSize(int size) { elements.ensureCapacity(size); } // setSize() | public void setSize(int size) { elements.ensureCapacity(size); } // setSize() | 50,572 |
public int size() { return elements.size(); } // size() | public int size() { return elements.size(); } // size() | 50,573 |
public Object[] toArray() { return elements.toArray(); } // toArray() | public Object[] toArray() { return elements.toArray(); } // toArray() | 50,574 |
public String toString() { return elements.toString(); } // toString() | public String toString() { return elements.toString(); } // toString() | 50,575 |
public void trimToSize() { elements.trimToSize(); } // trimToSize() | public void trimToSize() { elements.trimToSize(); } // trimToSize() | 50,576 |
public Name parse (String name) throws NamingException; | public Name parse (String name) throws NamingException; | 50,577 |
public Class getCategory() { return Compression.class; } | public final Class getCategory() { return Compression.class; } | 50,579 |
public String getName() { return "compression"; } | public final String getName() { return "compression"; } | 50,580 |
private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); notifyAll(); // Uu.p("body box = " + panel.body_box ); } | private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); notifyAll(); // Uu.p("body box = " + panel.body_box ); } | 50,581 |
private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); notifyAll(); // Uu.p("body box = " + panel.body_box ); } | private synchronized void completeLayout() { // Uu.p("layout thread ending"); done = true; graphics = null; panel.repaint(); notifyAll(); // Uu.p("body box = " + panel.body_box ); } | 50,582 |
protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if (last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | 50,583 |
protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if (second_set) { return; } second_set = true; ... | 50,584 |
protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | 50,585 |
protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | protected void requestReLayout(final Dimension d) { //Uu.p("layout already in progress. skipping layout "+d); if(last_size != null && d.equals(last_size)) { //Uu.p("we are trying to lay out the same as the last size"); } if(second_set) { return; } second_set = true; ... | 50,586 |
public void run() { // tell current layout to stop //stopLayout(); //Uu.p("told it to stop layout"); // wait for the current to stop //Uu.p("waiting for layout to stop"); try { waitForLayoutStopped()... | public void run() { // tell current layout to stop //stopLayout(); //Uu.p("told it to stop layout"); // wait for the current to stop //Uu.p("waiting for layout to stop"); try { waitForLayoutStopped()... | 50,587 |
public void run() { // tell current layout to stop //stopLayout(); //Uu.p("told it to stop layout"); // wait for the current to stop //Uu.p("waiting for layout to stop"); try { waitForLayoutStopped()... | public void run() { // tell current layout to stop //stopLayout(); //Uu.p("told it to stop layout"); // wait for the current to stop //Uu.p("waiting for layout to stop"); try { waitForLayoutStopped()... | 50,588 |
public void stopLayout() { this.context.stopRendering(); } | public void stopLayout() { this.context.stopRendering(); } | 50,589 |
public void addAsfMessage(Message m, String receiverID) { log.warn("addAsfMessage should not be handled at the server endpoint"); } | public void addAsfMessage(Message m, String receiverID, ConsumerDelegate cons) { log.warn("addAsfMessage should not be handled at the server endpoint"); } | 50,590 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 50,591 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 50,592 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 50,593 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 50,594 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.