bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,119 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,120 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,121 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,122 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,123 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,124 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffset)floats.get(flo... | 54,125 |
private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | 54,126 |
private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | 54,127 |
private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | 54,128 |
private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | 54,129 |
private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | 54,130 |
private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | private void alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getOpposingFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); BoxOffset lastOffset = (BoxOffse... | 54,131 |
private int findLowestAbsoluteY(CssContext cssCtx, List floats) { int result = 0; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset floater = (BoxOffset)i.next(); Rectangle bounds = floater.getBox().getBounds(cssCtx, -floater.... | private int findLowestAbsoluteY(CssContext cssCtx, List floats) { int result = 0; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset floater = (BoxOffset)i.next(); Rectangle bounds = floater.getBox().getBounds(cssCtx, -floater.... | 54,132 |
private int findLowestAbsoluteY(CssContext cssCtx, List floats) { int result = 0; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset floater = (BoxOffset)i.next(); Rectangle bounds = floater.getBox().getBounds(cssCtx, -floater.... | private int findLowestAbsoluteY(CssContext cssCtx, List floats) { int result = 0; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset floater = (BoxOffset)i.next(); Rectangle bounds = floater.getBox().getBounds(cssCtx, -floater.... | 54,133 |
private boolean fitsInContainingBlock(FloatedBlockBox current) { return current.x >= 0 && (current.x + current.getWidth()) <= current.getContainingBlock().getContentWidth(); } | private boolean fitsInContainingBlock(FloatedBlockBox current) { return current.x >= 0 && (current.x + current.getWidth()) <= current.getContainingBlock().getContentWidth(); } | 54,134 |
public void floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, FloatedBlockBox box) { box.y = (int)c.getFloatingY(); if (box.getStyle().isFloatedLeft()) { position(c, bfc, box, LEFT); save(box, layer, bfc, LEFT); } else if (box.getStyle().isFloatedRight()) ... | public void floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, FloatedBlockBox box) { box.y = (int) c.getFloatingY(); if (box.getStyle().isFloatedLeft()) { position(c, bfc, box, LEFT); save(box, layer, bfc, LEFT); } else if (box.getStyle().isFloatedRight())... | 54,135 |
public void floatPending(LayoutContext c, Layer layer, BlockFormattingContext bfc, List pendingFloats) { if (pendingFloats.size() > 0) { for (int i = 0; i < pendingFloats.size(); i++) { if (i != 0) { c.setFloatingY(0d); } FloatedBlock... | public void floatPending(LayoutContext c, Layer layer, BlockFormattingContext bfc, List pendingFloats) { if (pendingFloats.size() > 0) { for (int i = 0; i < pendingFloats.size(); i++) { if (i != 0) { c.setFloatingY(0d); } FloatedBlock... | 54,136 |
private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | 54,137 |
private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | 54,138 |
private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | 54,139 |
private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(... | 54,140 |
private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | 54,141 |
private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | 54,142 |
private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | 54,143 |
private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | 54,144 |
private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | private void moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); int y = findLowestAbsoluteY(cssCtx, floats); if (bounds.y < y)... | 54,145 |
private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | 54,146 |
private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | 54,147 |
private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | 54,148 |
private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | private boolean overlaps(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, List floats) { Point offset = bfc.getOffset(); Rectangle bounds = current.getBounds(cssCtx, -offset.x, -offset.y); for (Iterator i = floats.iterator(); i.hasNext(); ) { ... | 54,149 |
private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | 54,150 |
private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | 54,151 |
private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | 54,152 |
private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | 54,153 |
private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | private void position(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { moveAllTheWayOver(current, direction); alignToLastOpposingFloat(cssCtx, bfc, current, direction); alignToLastFloat(cssCtx, bfc, current, direction); ... | 54,154 |
public void removeFloat(FloatedBlockBox floater) { for (Iterator i = leftFloats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); if (boxOffset.getBox().equals(floater)) { i.remove(); } } for (Iterator i = rightFloats... | public void removeFloat(FloatedBlockBox floater) { for (Iterator i = leftFloats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); if (boxOffset.getBox().equals(floater)) { i.remove(); } } for (Iterator i = rightFloats... | 54,155 |
public void removeFloat(FloatedBlockBox floater) { for (Iterator i = leftFloats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); if (boxOffset.getBox().equals(floater)) { i.remove(); } } for (Iterator i = rightFloats... | public void removeFloat(FloatedBlockBox floater) { for (Iterator i = leftFloats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); if (boxOffset.getBox().equals(floater)) { i.remove(); } } for (Iterator i = rightFloats... | 54,156 |
private void update(int tx, int ty, List floats) { int startX = tx; int startY = ty; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); Box box = boxOffset.getBox(); box.absX = startX - boxOffset.... | private void update(int tx, int ty, List floats) { int startX = tx; int startY = ty; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); Box box = boxOffset.getBox(); box.absX = startX - boxOffset.... | 54,157 |
private void update(int tx, int ty, List floats) { int startX = tx; int startY = ty; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); Box box = boxOffset.getBox(); box.absX = startX - boxOffset.... | private void update(int tx, int ty, List floats) { int startX = tx; int startY = ty; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); Box box = boxOffset.getBox(); box.absX = startX - boxOffset.... | 54,158 |
private void update(int tx, int ty, List floats) { int startX = tx; int startY = ty; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); Box box = boxOffset.getBox(); box.absX = startX - boxOffset.... | private void update(int tx, int ty, List floats) { int startX = tx; int startY = ty; for (Iterator i = floats.iterator(); i.hasNext(); ) { BoxOffset boxOffset = (BoxOffset)i.next(); Box box = boxOffset.getBox(); box.absX = startX - boxOffset.... | 54,159 |
public ConnectionInterceptor() { if (log.isTraceEnabled()) { log.trace("Creating new ConnectionInterceptor"); } } | public ConnectionInterceptor() { if (log.isTraceEnabled()) { log.trace("Creating new ConnectionInterceptor"); } } | 54,160 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.i... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.i... | 54,161 |
public java.util.Map getCascadedPropertiesMap(Element e) { CascadedStyle cs = _matcher.getCascadedStyle(e, false);//this is only for debug, I think java.util.LinkedHashMap props = new java.util.LinkedHashMap(); for (java.util.Iterator i = cs.getMatchedPropertyDeclarations(); i.hasNext();) { ... | public java.util.Map getCascadedPropertiesMap(Element e) { CascadedStyle cs = _matcher.getCascadedStyle(e, false);//this is only for debug, I think java.util.LinkedHashMap props = new java.util.LinkedHashMap(); for (java.util.Iterator i = cs.getMatchedPropertyDeclarations(); i.hasNext();) { ... | 54,163 |
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U... | private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U... | 54,164 |
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); MessageCallbackHandler messageHandler = (MessageCallbackHandler)handler.... | public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); MessageCallbackHandler messageHandler = (MessageCallbackHandler)handler.... | 54,165 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | 54,167 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | 54,168 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b... | 54,169 |
public List getChildContent(Context c) { if (_childContent == null) { _childContent = makeChildContent(c); } return _childContent; } | public List getChildContent(Context c) { if (_childContent == null) { _childContent = makeChildContent(c); } return Collections.unmodifiableList(_childContent); } | 54,170 |
public void stopServerPeer() throws Exception { // if we don't find a ServerPeer instance registered under the serverPeerObjectName // ObjectName, we assume that the server was already stopped and we silently exit if (sc.query(serverPeerObjectName).isEmpty()) { log.warn("ServerPeer alre... | public void stopServerPeer() throws Exception { // if we don't find a ServerPeer instance registered under the serverPeerObjectName // ObjectName, we assume that the server was already stopped and we silently exit if (sc.query(serverPeerObjectName).isEmpty()) { log.warn("ServerPeer alre... | 54,171 |
public FormatFlagsConversionMismatchException(String f, char c) { super("invalid flag " + f + " for conversion " + c); this.f = f; this.c = c; } | public FormatFlagsConversionMismatchException(String f, char c) { super("Invalid flag " + f + " for conversion " + c); if (f == null) throw new NullPointerException("Null flag value passed to constructor."); this.f = f; this.c = c; } | 54,172 |
public BasicSplitPaneDivider createDefaultDivider() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Color light = defaults.getColor("SplitPane.highlight"); Color dark = defaults.getColor("SplitPane.darkShadow"); return new MetalSplitPaneDivider(this, light, dark); } | public BasicSplitPaneDivider createDefaultDivider() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Color light = defaults.getColor("SplitPane.highlight"); Color dark = defaults.getColor("SplitPane.darkShadow"); return new MetalSplitPaneDivider(this, light, dark); } | 54,173 |
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str... | Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str... | 54,175 |
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... | 54,177 |
public static void paintFixed(Context c, Box block, boolean restyle) { //Uu.p("painting fixed"); Rectangle rect = c.getFixedRectangle(); int by = c.getBlockFormattingContext().getY(); int bx = c.getBlockFormattingContext().getX(); // the offset is equal to the bfc origin m... | public static void paintFixed(Context c, Box block, boolean restyle) { //Uu.p("painting fixed"); Rectangle rect = c.getFixedRectangle(); int by = c.getBlockFormattingContext().getY(); int bx = c.getBlockFormattingContext().getX(); // the offset is equal to the bfc origin m... | 54,178 |
public int getType() { return JBossMapMessage.TYPE; } | public byte getType() { return JBossMapMessage.TYPE; } | 54,179 |
private EventType(String type) { this.type = type; } // EventType() | private EventType(String type) { this.type = type; } // EventType() | 54,180 |
public String toString() { return type; // TODO } // toString() | public String toString() { return type; // TODO } // toString() | 54,181 |
public HyperlinkEvent(Object source, EventType type, URL url) { super(source); this.type = type; this.url = url; this.description = null; } // HyperlinkEvent() | public HyperlinkEvent(Object source, EventType type, URL url) { super(source); this.type = type; this.url = url; this.description = null; } // HyperlinkEvent() | 54,182 |
public String getDescription() { return description; } // getDescription() | public String getDescription() { return description; } // getDescription() | 54,183 |
public EventType getEventType() { return type; } // getEventType() | public EventType getEventType() { return type; } // getEventType() | 54,184 |
public URL getURL() { return url; } // getURL() | public URL getURL() { return url; } // getURL() | 54,185 |
public void testSimpleTransactedSend() throws Exception { ConnectionFactory mcf = (ConnectionFactory)ic.lookup("java:/JCAConnectionFactory"); Connection conn = mcf.createConnection(); conn.start(); UserTransaction ut = ServerManagement.getUserTransaction(); ut.begin(); Session s = con... | public void testSimpleTransactedSend() throws Exception { ConnectionFactory mcf = (ConnectionFactory)ic.lookup("java:/JCAConnectionFactory"); Connection conn = mcf.createConnection(); conn.start(); UserTransaction ut = ServerManagement.getUserTransaction(); ut.begin(); Session s = con... | 54,186 |
public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ... | public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ... | 54,187 |
public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInternal(false, topicName); ... | public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInternal(false, topicName); ... | 54,188 |
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... | 54,189 |
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... | 54,190 |
protected List loadDurableSubscriptionsForTopic(String topicName, MessageStore ms, PersistenceManager pm) throws JMSException { try { Lis... | protected List loadDurableSubscriptionsForTopic(String topicName, MessageStore ms, PersistenceManager pm) throws JMSException { try { Lis... | 54,191 |
public boolean removeDurableSubscription(String clientID, String subscriptionName) throws JMSException { try { if (log.isTraceEnabled()) { log.trace("removing durable subscription " + subscriptionName); } if (clientID == null) { throw new JMSException("Cli... | public boolean removeDurableSubscription(String clientID, String subscriptionName) throws JMSException { try { if (log.isTraceEnabled()) { log.trace("removing durable subscription " + subscriptionName); } if (clientID == null) { throw new JMSException("Cli... | 54,192 |
public boolean isPhysicalDestination() { return ((low & DESTMOD) == 0); } | public boolean isPhysicalDestination() { return ((low & DESTMOD) == 0); } | 54,193 |
public static Object getUntaggedObj(ByteBuffer bb, Class type) throws JdwpException, IOException { if (type.isPrimitive()) { if (type == byte.class) return new Byte(bb.get()); else if (type == char.class) return new Character(bb.getChar()); else if (type == float.cla... | public static Object getUntaggedObj(ByteBuffer bb, Class type) throws JdwpException, IOException { if (type.isPrimitive()) { if (type == byte.class) return new Byte(bb.get()); else if (type == char.class) return new Character(bb.getChar()); else if (type == float.cla... | 54,194 |
public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ... | public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ... | 54,195 |
public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ... | public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ... | 54,196 |
public void setVisible(final boolean b) { SwingToolkit.invokeNowOrLater(new Runnable() { public void run() { if (b) { jComponent.invalidate(); VMAwtAPI.invalidateTree(component); VMAwtAPI.invalidateTree(jComponent); ... | public void setVisible(final boolean b) { SwingToolkit.invokeNowOrLater(new Runnable() { public void run() { if (b) { jComponent.invalidate(); VMAwtAPI.invalidateTree(component); VMAwtAPI.invalidateTree(jComponent); ... | 54,197 |
public RegisterUsage(Register reg) { this.reg = reg; this.inuse = false; } | public RegisterUsage(Register reg, boolean callerSaved) { this.reg = reg; this.inuse = false; } | 54,198 |
public void release() { //System.out.println("Release of " + reg); this.owner = null; this.inuse = false; } | publicvoidrelease(){//System.out.println("Releaseof"+reg);this.owner=null;this.inuse=false;} | 54,200 |
public boolean request(Object owner) { if (this.inuse) { return false; } else { this.owner = owner; this.inuse = true; this.requestTrace = new Exception("Requesttrace of " + reg); //System.out.println("Request of " ... | public boolean request(Object owner) { if (this.inuse) { return false; } else { this.owner = owner; this.inuse = true; //System.out.println("Request of " + reg); return true; } } | 54,201 |
public String toString() { if (inuse) { //StringWriter buf = new StringWriter(); //requestTrace.printStackTrace(new PrintWriter(buf)); //return reg + " used by " + owner + buf.toString(); return reg + " used by " + owner; } else {... | public String toString() {if (inuse) { //StringWriter buf = new StringWriter(); //requestTrace.printStackTrace(new PrintWriter(buf)); //return reg + " used by " + owner + buf.toString(); return reg + " used by " + owner;} else { return reg + " free";} } | 54,202 |
private final RegisterUsage[] initialize() { // The order of this array determines the cost of using the register. // The cost of a register is lower when its index in this // array is higher. return new RegisterUsage[] { new RegisterUsage(Register.EAX), new... | private final RegisterUsage[] initialize() { // The order of this array determines the cost of using the register. // The cost of a register is lower when its index in this // array is higher. return new RegisterUsage[] { new RegisterUsage(Register.EAX), new... | 54,203 |
public Register request(int type, Object owner) { if (type == Operand.LONG || type == Operand.DOUBLE) { return null; } for (int i = regCount-1; i >= 0; i--) { final RegisterUsage ru = registers[i]; if (ru.request(owner)) { return ru.reg; } ... | public Register request(int type, Object owner) { if (type == JvmType.LONG || type == JvmType.DOUBLE) { return null; } for (int i = regCount-1; i >= 0; i--) { final RegisterUsage ru = registers[i]; if (ru.request(owner)) { return ru.reg; } ... | 54,204 |
public HTMLTest(String[] args) throws Exception { super(BASE_TITLE); panel = new XHTMLPanel(); int width = 360; int height = 500; panel.setPreferredSize(new Dimension(width, height)); JScrollPane scroll = new JScrollPane(panel); scroll.setVerticalScrollBar... | public HTMLTest(String[] args) throws Exception { super(BASE_TITLE); panel = new XHTMLPanel(); int width = 360; int height = 500; panel.setPreferredSize(new Dimension(width, height)); JScrollPane scroll = new JScrollPane(panel); scroll.setVerticalScrollBar... | 54,205 |
public ServerConsumerDelegate(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionDelegate sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.... | public ServerConsumerDelegate(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionDelegate sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.... | 54,206 |
public void activate() throws JMSException { synchronized (deliveryLock) { ready = true; promptDelivery(); } } | public void activate() throws JMSException { try { ready = true; promptDelivery(); } } | 54,208 |
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back i... | void cancelAllDeliveries() throws JMSException { try { if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in the correct order in t... | 54,210 |
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back i... | void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back i... | 54,211 |
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | 54,212 |
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | 54,213 |
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | 54,214 |
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | 54,215 |
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | 54,216 |
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del... | 54,217 |
public void close() throws JMSException { synchronized (deliveryLock) { if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close... | public void close() throws JMSException { try { if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close we only disconnect the ... | 54,218 |
public synchronized void deactivate() throws JMSException { synchronized (deliveryLock) { ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } } | public synchronized void deactivate() throws JMSException { try { ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } } | 54,220 |
public javax.jms.Message getMessageNow() throws JMSException { synchronized (deliveryLock) { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); ... | public javax.jms.Message getMessageNow() throws JMSException { try { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ... | 54,222 |
public javax.jms.Message getMessageNow() throws JMSException { synchronized (deliveryLock) { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); ... | public javax.jms.Message getMessageNow() throws JMSException { synchronized (deliveryLock) { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); ... | 54,223 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) {if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } //Check if we're ready to handle this referenceif (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.g... | 54,225 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ... | 54,226 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) {//Check if we're ready to handle this reference//We do the check outside of the synchronized block for performance reasons//Then we do the check again once we are inside the block//We don't want a lot of threads blocking on the mute... | 54,227 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ... | 54,228 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.