bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | 56,185 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | 56,186 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | 56,187 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, ... | 56,188 |
private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | 56,189 |
private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | 56,190 |
private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | 56,191 |
private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | 56,192 |
private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | private static InlineText layoutText(LayoutContext c, int remainingWidth, LineBreakContext lbContext) { // TODO handle first-letter InlineText result = null; result = new InlineText(); result.setMasterText(lbContext.getMaster()); Font font = c.getFont(c... | 56,193 |
private static void moveInlineContents(InlineBox box, int ty) { for (int i = 0; i < box.getInlineChildCount(); i++) { Object obj = (Object)box.getInlineChild(i); if (obj instanceof Box) { ((Box)obj).y += ty; if (obj instanceof InlineBox) { ... | private static void moveInlineContents(InlineBox box, int ty) { for (int i = 0; i < box.getInlineChildCount(); i++) { Object obj = (Object) box.getInlineChild(i); if (obj instanceof Box) { ((Box)obj).y += ty; if (obj instanceof InlineBox) { ... | 56,194 |
private static void moveInlineContents(InlineBox box, int ty) { for (int i = 0; i < box.getInlineChildCount(); i++) { Object obj = (Object)box.getInlineChild(i); if (obj instanceof Box) { ((Box)obj).y += ty; if (obj instanceof InlineBox) { ... | private static void moveInlineContents(InlineBox box, int ty) { for (int i = 0; i < box.getInlineChildCount(); i++) { Object obj = (Object)box.getInlineChild(i); if (obj instanceof Box) { ((Box) obj).y += ty; if (obj instanceof InlineBox) { ... | 56,195 |
private static void moveInlineContents(InlineBox box, int ty) { for (int i = 0; i < box.getInlineChildCount(); i++) { Object obj = (Object)box.getInlineChild(i); if (obj instanceof Box) { ((Box)obj).y += ty; if (obj instanceof InlineBox) { ... | private static void moveInlineContents(InlineBox box, int ty) { for (int i = 0; i < box.getInlineChildCount(); i++) { Object obj = (Object)box.getInlineChild(i); if (obj instanceof Box) { ((Box)obj).y += ty; if (obj instanceof InlineBox) { ... | 56,196 |
private static void moveLineContents(LineBox current, int ty) { for (int i = 0; i < current.getChildCount(); i++) { Box child = (Box)current.getChild(i); child.y += ty; if (child instanceof InlineBox) { moveInlineContents((InlineBox)child, ty); } ... | private static void moveLineContents(LineBox current, int ty) { for (int i = 0; i < current.getChildCount(); i++) { Box child = (Box) current.getChild(i); child.y += ty; if (child instanceof InlineBox) { moveInlineContents((InlineBox)child, ty); } ... | 56,197 |
private static void moveLineContents(LineBox current, int ty) { for (int i = 0; i < current.getChildCount(); i++) { Box child = (Box)current.getChild(i); child.y += ty; if (child instanceof InlineBox) { moveInlineContents((InlineBox)child, ty); } ... | private static void moveLineContents(LineBox current, int ty) { for (int i = 0; i < current.getChildCount(); i++) { Box child = (Box)current.getChild(i); child.y += ty; if (child instanceof InlineBox) { moveInlineContents((InlineBox) child, ty); } ... | 56,198 |
private static boolean mustBeTakenOutOfFlow(Content content) { return content instanceof FloatedBlockContent || content instanceof AbsolutelyPositionedContent; } | private static boolean mustBeTakenOutOfFlow(Content content) { return content instanceof FloatedBlockContent || content instanceof AbsolutelyPositionedContent; } | 56,199 |
private static LineBox newLine(LayoutContext c, LineBox previousLine, Box box) { LineBox result = new LineBox(); result.createDefaultStyle(c); result.setParent(box); if (previousLine != null) { result.y = previousLine.y + previousLine.getHeight(); } ... | private static LineBox newLine(LayoutContext c, LineBox previousLine, Box box) { LineBox result = new LineBox(); result.createDefaultStyle(c); result.setParent(box); if (previousLine != null) { result.y = previousLine.y + previousLine.getHeight(); } ... | 56,200 |
private static LineBox newLine(LayoutContext c, LineBox previousLine, Box box) { LineBox result = new LineBox(); result.createDefaultStyle(c); result.setParent(box); if (previousLine != null) { result.y = previousLine.y + previousLine.getHeight(); } ... | private static LineBox newLine(LayoutContext c, LineBox previousLine, Box box) { LineBox result = new LineBox(); result.createDefaultStyle(c); result.setParent(box); if (previousLine != null) { result.y = previousLine.y + previousLine.getHeight(); } ... | 56,201 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,202 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,203 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox) currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,204 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,205 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,206 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,207 |
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox)currentIB; x += currentIB.getLeftMarginBorderPadding(c); } ... | 56,208 |
private static void positionInlineBlockVertically(LayoutContext c, VerticalAlignContext vaContext, Box inlineBlock) { alignInlineContent(c, inlineBlock, inlineBlock.getHeight(), 0, vaContext); vaContext.updateInlineTop(inlineBlock.y); vaContext.updateInlineBottom(inlineBlock... | private static void positionInlineBlockVertically(LayoutContext c, VerticalAlignContext vaContext, Box inlineBlock) { alignInlineContent(c, inlineBlock, inlineBlock.getHeight(), 0, vaContext); vaContext.updateInlineTop(inlineBlock.y); vaContext.updateInlineBottom(inlineBlock... | 56,209 |
private static void positionInlineBlockVertically(LayoutContext c, VerticalAlignContext vaContext, Box inlineBlock) { alignInlineContent(c, inlineBlock, inlineBlock.getHeight(), 0, vaContext); vaContext.updateInlineTop(inlineBlock.y); vaContext.updateInlineBottom(inlineBlock... | private static void positionInlineBlockVertically(LayoutContext c, VerticalAlignContext vaContext, Box inlineBlock) { alignInlineContent(c, inlineBlock, inlineBlock.getHeight(), 0, vaContext); vaContext.updateInlineTop(inlineBlock.y); vaContext.updateInlineBottom(inlineBlock... | 56,210 |
private static void positionInlineChildren(LayoutContext c, InlineBox current, VerticalAlignContext vaContext) { for (int i = 0; i < current.getInlineChildCount(); i++) { Object child = current.getInlineChild(i); if (child instanceof InlineBox) { InlineBox iB ... | private static void positionInlineChildren(LayoutContext c, InlineBox current, VerticalAlignContext vaContext) { for (int i = 0; i < current.getInlineChildCount(); i++) { Object child = current.getInlineChild(i); if (child instanceof InlineBox) { InlineBox iB ... | 56,211 |
private static void positionInlineChildren(LayoutContext c, InlineBox current, VerticalAlignContext vaContext) { for (int i = 0; i < current.getInlineChildCount(); i++) { Object child = current.getInlineChild(i); if (child instanceof InlineBox) { InlineBox iB ... | private static void positionInlineChildren(LayoutContext c, InlineBox current, VerticalAlignContext vaContext) { for (int i = 0; i < current.getInlineChildCount(); i++) { Object child = current.getInlineChild(i); if (child instanceof InlineBox) { InlineBox iB ... | 56,212 |
private static void positionInlineChildren(LayoutContext c, InlineBox current, VerticalAlignContext vaContext) { for (int i = 0; i < current.getInlineChildCount(); i++) { Object child = current.getInlineChild(i); if (child instanceof InlineBox) { InlineBox iB ... | private static void positionInlineChildren(LayoutContext c, InlineBox current, VerticalAlignContext vaContext) { for (int i = 0; i < current.getInlineChildCount(); i++) { Object child = current.getInlineChild(i); if (child instanceof InlineBox) { InlineBox iB ... | 56,213 |
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | 56,214 |
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | 56,215 |
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | 56,216 |
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | 56,217 |
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | 56,218 |
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { VerticalAlignContext vaContext = new VerticalAlignContext(); vaContext.pushMeasurements(getInitialMeasurements(c, ... | 56,219 |
private static int processOutOfFlowContent( LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content... | private static int processOutOfFlowContent( LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content... | 56,220 |
private static int processOutOfFlowContent( LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content... | private static int processOutOfFlowContent( LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content... | 56,221 |
private static int processOutOfFlowContent( LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content... | private static int processOutOfFlowContent( LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content... | 56,222 |
private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | 56,223 |
private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(1) : null; if (first instanceof FirstLineStyle) { ... | 56,224 |
private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | 56,225 |
private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | 56,226 |
private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { ... | 56,227 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,228 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,229 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,230 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,231 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,232 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,233 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,234 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,235 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, c... | 56,236 |
public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance( c, current, maxAvailableWidth); } | public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance( c, current, maxAvailableWidth); } | 56,237 |
public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance( c, current, maxAvailableWidth); } | public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance( c, current, maxAvailableWidth); } | 56,238 |
public void pushLayer(Box master) { Layer layer = null; if (rootLayer == null) { layer = new Layer(master); rootLayer = layer; } else { Layer parent = getLayer(); if (master.getStyle().isFixed() || master.getStyle().isAlternateFlow... | public void pushLayer(Box master) { Layer layer = null; if (rootLayer == null) { layer = new Layer(master); rootLayer = layer; } else { Layer parent = getLayer(); if (master.getStyle().isFixed() || master.getStyle().isAlternateFlow... | 56,239 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; ... | 56,240 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | 56,241 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | 56,242 |
public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | public Box calculateBoxes(int avail_width, TableBox box, Context c, Table table) { box.width = avail_width; box.height = 100; box.x = 5; box.y = 5; // create a dummy prev row RowBox prev_row = new RowBox(0,0,0,0); int max_width = 0; // loop thr... | 56,243 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 56,244 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 56,245 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 56,246 |
public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | public Box layout(Context c, Element elem) { try { //u.p("\n====\nLayout"); // create the table box TableBox table_box = (TableBox)createBox(c, elem); // set up the border spacing float border_spacing = c.css.getFloatProperty(elem, ... | 56,247 |
public void read(DataInputStream in) throws IOException { nodeId = in.readUTF(); } | public void read(DataInputStream in) throws IOException { nodeId = in.readInt(); } | 56,248 |
public void write(DataOutputStream out) throws IOException { out.writeUTF(nodeId); } | public void write(DataOutputStream out) throws IOException { out.writeInt(nodeId); } | 56,249 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != nul... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("message " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != null... | 56,250 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != nul... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != nul... | 56,251 |
public void commit() throws Exception { if (state == STATE_ROLLBACK_ONLY) { throw new TransactionException("Transaction marked rollback only, cannot commit"); } if (trace) { log.trace("committing " + this); } //TODO - commit the tx in the database state = STATE_COMMITTED... | public void commit() throws Exception {if (state == STATE_ROLLBACK_ONLY){ throw new TransactionException("Transaction marked rollback only, cannot commit");}if (trace) { log.trace("committing " + this); }//TODO - commit the tx in the databasestate = STATE_COMMITTED;if (insertedTXRecord){ if (transactionLog == null) {t... | 56,252 |
public void rollback() throws Exception { //TODO - rollback the tx in the database if (trace) { log.trace("rolling back " + this); } state = STATE_ROLLEDBACK; if (insertedTXRecord) { transactionLog.rollbackTx(this); } Iterator iter = callbacks.iterator(); ... | public void rollback() throws Exception {//TODO - rollback the tx in the databaseif (trace) { log.trace("rolling back " + this); }state = STATE_ROLLEDBACK;if (insertedTXRecord){ transactionLog.rollbackTx(this);}Iterator iter = callbacks.iterator();while (iter.hasNext()){ TxCallback callback = (TxCallback)iter.next(); ... | 56,253 |
public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); bindPort = PortUtil.findFreePort("localhost"); serverLocator = ne... | public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); serverLocator = new InvokerLocator(serverLocatorURI); ... | 56,254 |
public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); bindPort = PortUtil.findFreePort("localhost"); serverLocator = ne... | public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); bindPort = PortUtil.findFreePort("localhost"); serverLocator = ne... | 56,255 |
public void close() throws Throwable { callbackServer.stop(); callbackServer.destroy(); client.disconnect(); } | public void close() throws Throwable { callbackServer.stop(); callbackServer.destroy(); client.disconnect(); } | 56,256 |
protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | 56,257 |
protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | 56,258 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | 56,259 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | 56,260 |
private void logCause(Throwable e) { if (e.getCause() != null) { log.error("Cause of exception:", e.getCause()); } } | private void logCause(Throwable e) { Throwable e2 = e.getCause(); if (e2 != null) { log.error("Cause of exception:", e.getCause()); } } | 56,261 |
private void logCause(Throwable e) { if (e.getCause() != null) { log.error("Cause of exception:", e.getCause()); } } | private void logCause(Throwable e) { if (e.getCause() != null) { log.error("Cause of exception:", e2); logCause(e2); } } | 56,262 |
public NoPermissionException() { super(); } | public NoPermissionException() { super(); } | 56,264 |
public String getRemotingClientSessionId() { ConnectionState state = (ConnectionState)((ClientConnectionDelegate)delegate).getState(); return state.getRemotingConnection().getInvokingClient().getSessionId(); } | public String getRemotingClientSessionId() { ConnectionState state = (ConnectionState)((ClientConnectionDelegate)delegate).getState(); return state.getRemotingConnection().getInvokingClient().getSessionId(); } | 56,265 |
public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside)... | public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside)... | 56,267 |
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | 56,268 |
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | 56,269 |
public final int getOutputSize(int inputLength) throws IllegalStateException { if (cipherSpi == null) { return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engin... | public final int getOutputSize(int inputLength) throws IllegalStateException if (cipherSpi == null) return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engineGetOu... | 56,270 |
public final int getOutputSize(int inputLength) throws IllegalStateException { if (cipherSpi == null) { return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engin... | public final int getOutputSize(int inputLength) throws IllegalStateException { if (cipherSpi == null) { return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engin... | 56,271 |
public void startLayout(Graphics g) { this.removeAll(); if (g == null) { return; } if (doc == null) { return; } // set up CSS Context c = newContext((Graphics2D) g); //getContext().setMaxWidth(0); this.layout_context = c; ... | publicvoidstartLayout(Graphicsg){this.removeAll();if(g==null){return;}if(doc==null){return;}//setupCSSContextc=newContext((Graphics2D)g);//getContext().setMaxWidth(0);this.layout_context=c;getRenderingContext().getTextRenderer().setupGraphics(c.getGraphics());//TODO:maybetemporaryhackif(c.getBlockFormattingContext()!=n... | 56,272 |
private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 56,274 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 56,276 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 56,277 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 56,278 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) {//u.p("starting to lay out the children");if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) {return box;}if ( !box.isAnonymous() ) {if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) {// u.p("doing up block for: " + box);return super.layoutChildren( c, box );}}//... | 56,279 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 56,280 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 56,281 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return new AccessibleJFileChooser(); } | 56,282 |
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); anonProducer.send(topic2, m1); } catch(Exception e) { log.error(e); ... | public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); topicProducer.send(m1); } catch(Exception e) { log.error(e); } ... | 56,284 |
public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, long timeToStart, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numCon... | public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numConnections, ... | 56,286 |
public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, long timeToStart, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numCon... | public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, long timeToStart, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numCon... | 56,287 |
public boolean add(Receiver receiver) { throw new NotYetImplementedException(); } | public void add(Delivery delivery) { throw new NotYetImplementedException(); } | 56,289 |
protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | 56,290 |
public void addPropertyChangeListener (PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (listener); } | public void addPropertyChangeListener (PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (listener); } | 56,291 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.