bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void init(ServletConfig sc) throws ServletException { synchronized (FriendlyURLServlet.class) { super.init(sc); ServletContext ctx = getServletContext(); _companyId = ctx.getInitParameter("company_id"); _private = GetterUtil.getBoolean(sc.getInitParameter("private")); } } | public void init(ServletConfig sc) throws ServletException { synchronized (FriendlyURLServlet.class) { super.init(sc); ServletContext ctx = getServletContext(); _companyId = ctx.getInitParameter("company_id"); _private = GetterUtil.getBoolean(sc.getInitParameter("private")); } } | 3,226,253 |
public void init(ServletConfig sc) throws ServletException { synchronized (FriendlyURLServlet.class) { super.init(sc); ServletContext ctx = getServletContext(); _companyId = ctx.getInitParameter("company_id"); _private = GetterUtil.getBoolean(sc.getInitParameter("private")); } } | public void init(ServletConfig sc) throws ServletException { synchronized (FriendlyURLServlet.class) { super.init(sc); ServletContext ctx = getServletContext(); _companyId = ctx.getInitParameter("company_id"); _private = GetterUtil.getBoolean(sc.getInitParameter("private")); } } | 3,226,254 |
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); String position = style.getStringProperty(CSSName.POSITION); if (position.equals("absolute")) { if (style.hasProperty("right")) { //Uu.p("prop = " + c.css.getProperty(bo... | public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); String position = style.getStringProperty(CSSName.POSITION); if (position.equals("absolute")) { if (style.hasProperty("right")) { //Uu.p("prop = " + c.css.getProperty(bo... | 3,226,256 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g);//getContext().setMaxWidth(0); this.la... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g);//getContext().setMaxWidth(0); this.la... | 3,226,257 |
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... | 3,226,260 |
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... | 3,226,261 |
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... | 3,226,262 |
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... | 3,226,263 |
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... | 3,226,264 |
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... | 3,226,265 |
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... | 3,226,266 |
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... | 3,226,267 |
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... | 3,226,268 |
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... | 3,226,269 |
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... | 3,226,270 |
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... | 3,226,271 |
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... | 3,226,272 |
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... | 3,226,273 |
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... | 3,226,274 |
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.... | 3,226,275 |
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.... | 3,226,276 |
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(); } | 3,226,277 |
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())... | 3,226,278 |
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... | 3,226,279 |
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(... | 3,226,280 |
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(... | 3,226,281 |
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(... | 3,226,282 |
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(... | 3,226,283 |
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)... | 3,226,284 |
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)... | 3,226,285 |
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)... | 3,226,286 |
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)... | 3,226,287 |
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)... | 3,226,288 |
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(); ) { ... | 3,226,289 |
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(); ) { ... | 3,226,290 |
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(); ) { ... | 3,226,291 |
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(); ) { ... | 3,226,292 |
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); ... | 3,226,293 |
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); ... | 3,226,294 |
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); ... | 3,226,295 |
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); ... | 3,226,296 |
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); ... | 3,226,297 |
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... | 3,226,298 |
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... | 3,226,299 |
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.... | 3,226,300 |
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.... | 3,226,301 |
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.... | 3,226,302 |
public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } ... | public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } ... | 3,226,303 |
public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } ... | public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } ... | 3,226,304 |
ImageDescriptor findImage(EditorDescriptor desc, IPath path) { if (desc == null) { // @issue what should be the default image? return ImageDescriptor.getMissingImageDescriptor(); } else { if (desc.isOpenExternal() && path != null) { return PlatformUI.get... | ImageDescriptor findImage(EditorDescriptor desc, IPath path) { if (desc == null) { // @issue what should be the default image? return ImageDescriptor.getMissingImageDescriptor(); } else { if (desc.isOpenExternal() && path != null) { return PlatformUI.get... | 3,226,308 |
ImageDescriptor findImage(EditorDescriptor desc, IPath path) { if (desc == null) { // @issue what should be the default image? return ImageDescriptor.getMissingImageDescriptor(); } else { if (desc.isOpenExternal() && path != null) { return PlatformUI.get... | ImageDescriptor findImage(EditorDescriptor desc, IPath path) { if (desc == null) { // @issue what should be the default image? return ImageDescriptor.getMissingImageDescriptor(); } else { if (desc.isOpenExternal() && path != null) { return PlatformUI.get... | 3,226,309 |
public IStatus restoreState(IMemento memento) { // Restore the editor area workbooks layout/relationship final MultiStatus result = new MultiStatus( PlatformUI.PLUGIN_ID, IStatus.OK, WorkbenchMessages.EditorManager_problemsRestoringEditors, null); f... | public IStatus restoreState(IMemento memento) { // Restore the editor area workbooks layout/relationship final MultiStatus result = new MultiStatus( PlatformUI.PLUGIN_ID, IStatus.OK, WorkbenchMessages.EditorManager_problemsRestoringEditors, null); f... | 3,226,311 |
public void handleListChange(IObservableList source, ListDiff diff) { if (!updating) { fireListChange(diff); } } | public void handleListChange(IObservableList source, ListDiff diff) { if (!updating) { fireListChange(diff); } } | 3,226,313 |
public void handleListChange(IObservableList source, ListDiff diff) { if (!updating) { fireListChange(diff); } } | public void handleListChange(IObservableList source, ListDiff diff) { if (!updating) { fireListChange(diff); } } | 3,226,314 |
public void handleValueChange(IObservableValue source, ValueDiff diff) { List oldList = new ArrayList(wrappedList); updateInnerObservableValue(outerObservableValue); fireListChange(Diffs.computeListDiff(oldList, wrappedList)); } | public void handleValueChange(IObservableValue source, ValueDiff diff) { List oldList = new ArrayList(wrappedList); updateInnerObservableValue(outerObservableValue); fireListChange(Diffs.computeListDiff(oldList, wrappedList)); } | 3,226,315 |
public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | 3,226,316 |
public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | 3,226,317 |
public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | 3,226,318 |
public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | 3,226,319 |
public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | 3,226,320 |
public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | public void reIndex() { if (_log.isInfoEnabled()) { _log.info("Re-indexing Lucene started"); } if (ServerDetector.isOrion()) { // Wait 30 seconds because Orion 2.0.7 initiates LuceneServlet // before it initiates MainServlet. try { Thread.sleep(Time.SECOND * 30); } catch (InterruptedException ie) { ... | 3,226,321 |
public void addResources(java.lang.String companyId, java.lang.String groupId, java.lang.String userId, java.lang.String name, java.lang.String primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemExce... | public void addResources(java.lang.String companyId, java.lang.String groupId, java.lang.String userId, java.lang.String name, java.lang.String primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemExce... | 3,226,323 |
public void addResources(java.lang.String companyId, java.lang.String groupId, java.lang.String userId, java.lang.String name, java.lang.String primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemExce... | public void addResources(java.lang.String companyId, java.lang.String groupId, java.lang.String userId, java.lang.String name, java.lang.String primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemExce... | 3,226,324 |
public CompiledReflectionCallback(Ruby runtime, String className, String methodName, int arity) { this.runtime = runtime; this.className = className; this.methodName = methodName; this.arity = arity; } | public CompiledReflectionCallback(Ruby runtime, String className, String methodName, int arity, ClassLoader classLoader) { this.runtime = runtime; this.className = className; this.methodName = methodName; this.arity = arity; } | 3,226,325 |
public String encodeURL(String path) { if (_log.isDebugEnabled()) { _log.debug("Path " + path); _log.debug("Context path " + _contextPath); _log.debug("Servlet mapping " + _servletMapping); } String encodedURL = path; if (path.startsWith("//") || path.startsWith(_contextPath + _servletMapping)) { // Stru... | public String encodeURL(String path) { if (_log.isDebugEnabled()) { _log.debug("Path " + path); _log.debug("Context path " + _contextPath); _log.debug("Servlet mapping " + _servletMapping); } String encodedURL = path; if (path.startsWith("//") || path.startsWith(_contextPath + _servletMapping)) { // Stru... | 3,226,327 |
public String encodeURL(String path) { if (_log.isDebugEnabled()) { _log.debug("Path " + path); _log.debug("Context path " + _contextPath); _log.debug("Servlet mapping " + _servletMapping); } String encodedURL = path; if (path.startsWith("//") || path.startsWith(_contextPath + _servletMapping)) { // Stru... | publicelse if (strutsAction.startsWith("/c/")) { strutsAction = strutsAction.substring(2); } Stringelse if (strutsAction.startsWith("/c/")) { strutsAction = strutsAction.substring(2); } encodeURL(Stringelse if (strutsAction.startsWith("/c/")) { strutsAction = strutsAction.substring(2); } path)else if (strutsAction.... | 3,226,328 |
public void handleChange(IObservable source) { count++; this.source = source; } | public void handleChange(IObservable source) { count++; this.source = source; } | 3,226,329 |
public void handleChange(IObservable source) { count++; this.source = source; } | public void handleChange(IObservable source) { count++; this.source = source; } | 3,226,330 |
public void handleStale(IObservable source) { count++; this.source = source; } | public void handleStale(IObservable source) { count++; this.source = source; } | 3,226,331 |
public void handleStale(IObservable source) { count++; this.source = source; } | public void handleStale(IObservable source) { count++; this.source = source; } | 3,226,332 |
protected void initTab(CTabItem tabItem, IPresentablePart part) { tabItem.setText(getLabelText(part, true, (getTabFolder().getStyle() & SWT.MULTI) == 0)); tabItem.setImage(getLabelImage(part)); tabItem.setToolTipText(getLabelToolTipText(part)); } | protected void initTab(CTabItem tabItem, IPresentablePart part) { tabItem.setText(getLabelText(part, true, (getTabFolder().getStyle() & SWT.MULTI) == 0)); tabItem.setImage(getLabelImage(part)); String toolTipText = part.getTitleToolTip(); if (!toolTipText.equals(Util.ZERO_LENGTH_... | 3,226,333 |
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("bfc = " + bfc... | 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); BlockFormattingC... | 3,226,334 |
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("bfc = " + bfc... | 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("bfc = " + bfc... | 3,226,335 |
public void handleEvent(final Event e) { // If focus is leaving an important widget or the field's // shell is deactivating if (e.type == SWT.FocusOut) { scrollbarClicked = false; /* * Ignore this event if it's only happening because focus is * moving between the popup shells, their contro... | public void handleEvent(final Event e) { // If focus is leaving an important widget or the field's // shell is deactivating if (e.type == SWT.FocusOut) { scrollbarClicked = false; /* * Ignore this event if it's only happening because focus is * moving between the popup shells, their contro... | 3,226,336 |
public void run() { if (isValid()) { if (scrollbarClicked || hasFocus() || (infoPopup != null && infoPopup .hasFocus())) { return; } // Workaround a problem on X and Mac, whereby at this // point, the focus control is not known. This can happ... | public void run() { if (isValid()) { if (scrollbarClicked || hasFocus() || (infoPopup != null && infoPopup .hasFocus())) { return; } // Workaround a problem on X and Mac, whereby at this // point, the focus control is not known. This can happ... | 3,226,337 |
public void handleEvent(Event e) { if (!isValid()) { return; } // Traverse events will be blocked when the popup is open, but // we will interpret their characters as navigation within the // popup. if (e.type == SWT.Traverse) { e.detail = SWT.TRAVERSE_NONE; e.doit = true; } else { ... | public void handleEvent(Event e) { if (!isValid()) { return; } // Traverse events will be blocked when the popup is open, but // we will interpret their characters as navigation within the // popup. if (e.type == SWT.Traverse) { e.detail = SWT.TRAVERSE_NONE; e.doit = true; } else { ... | 3,226,338 |
ContentProposalPopup(String infoText) { // IMPORTANT: Use of SWT.ON_TOP is critical here for ensuring // that the target control retains focus on Mac and Linux. Without // it, the focus will disappear, keystrokes will not go to the popup, // and the popup closer will wrongly close the popup. // On platfo... | ContentProposalPopup(String infoText) { // IMPORTANT: Use of SWT.ON_TOP is critical here for ensuring // that the target control retains focus on Mac and Linux. Without // it, the focus will disappear, keystrokes will not go to the popup, // and the popup closer will wrongly close the popup. // On platfo... | 3,226,339 |
ContentProposalPopup(String infoText) { // IMPORTANT: Use of SWT.ON_TOP is critical here for ensuring // that the target control retains focus on Mac and Linux. Without // it, the focus will disappear, keystrokes will not go to the popup, // and the popup closer will wrongly close the popup. // On platfo... | ContentProposalPopup(String infoText) { // IMPORTANT: Use of SWT.ON_TOP is critical here for ensuring // that the target control retains focus on Mac and Linux. Without // it, the focus will disappear, keystrokes will not go to the popup, // and the popup closer will wrongly close the popup. // On platfo... | 3,226,340 |
private void acceptCurrentProposal() { proposalAccepted(getSelectedProposal()); close(); } | private void acceptCurrentProposal() { proposalAccepted(getSelectedProposal()); close(); } | 3,226,341 |
private IContentProposal[] getProposals(String filterString) { if (proposalProvider == null) { return null; } int position = getControlContentAdapter().getCursorPosition( getControl()); String contents = getControlContentAdapter().getControlContents( getControl()); IContentProposal[] proposals = ... | private IContentProposal[] getProposals(String filterString) { if (proposalProvider == null) { return null; } int position = getControlContentAdapter().getCursorPosition( getControl()); String contents = getControlContentAdapter().getControlContents( getControl()); IContentProposal[] proposals = ... | 3,226,345 |
private IContentProposal[] getProposals(String filterString) { if (proposalProvider == null) { return null; } int position = getControlContentAdapter().getCursorPosition( getControl()); String contents = getControlContentAdapter().getControlContents( getControl()); IContentProposal[] proposals = ... | private IContentProposal[] getProposals(String filterString) { if (proposalProvider == null) { return null; } int position = getControlContentAdapter().getCursorPosition( getControl()); String contents = getControlContentAdapter().getControlContents( getControl()); IContentProposal[] proposals = ... | 3,226,346 |
private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } ... | private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } ... | 3,226,347 |
private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } ... | private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } ... | 3,226,348 |
private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } ... | private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } ... | 3,226,349 |
public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke and should se... | public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke and should se... | 3,226,350 |
public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke and should se... | public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke and should se... | 3,226,351 |
public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke and should se... | public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke and should se... | 3,226,352 |
public void run() { try { Thread .sleep(autoActivationDelay); } catch (InterruptedException e) { } if (!isValid()) { return; } getControl().getDisplay().syncExec( new Runnable() { public voi... | public void run() { try { Thread .sleep(autoActivationDelay); } catch (InterruptedException e) { } if (!isValid()) { return; } getControl().getDisplay().syncExec( new Runnable() { public voi... | 3,226,353 |
public void run() { openProposalPopup(); } | public void run() { openProposalPopup(); } | 3,226,355 |
protected void openProposalPopup() { if (popup == null) { popup = new ContentProposalPopup(null); popup.open(); popup.getShell().addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent event) { popup = null; } }); } } | protected void openProposalPopup() { if (popup == null) { popup = new ContentProposalPopup(null); popup.open(); popup.getShell().addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent event) { popup = null; } }); } } | 3,226,357 |
private void _createPersistence(Entity entity) throws IOException { List pkList = entity.getPKList(); List columnList = entity.getColumnList(); List finderList = entity.getFinderList(); String pkClassName = entity.getPKClassName(); String pkVarName = entity.getPKVarName(); StringBuffer sb = new StringBuffer(); ... | private void _createPersistence(Entity entity) throws IOException { List pkList = entity.getPKList(); List columnList = entity.getColumnList(); List finderList = entity.getFinderList(); String pkClassName = entity.getPKClassName(); String pkVarName = entity.getPKVarName(); StringBuffer sb = new StringBuffer(); ... | 3,226,358 |
protected void sendEmail(User user, String password) throws PortalException, SystemException { if (!AdminUtil.getEmailUserAddedEnabled(user.getCompanyId())) { return; } try { String companyId = user.getCompanyId(); Company company = CompanyUtil.findByPrimaryKey(companyId); String fromName = AdminUtil.getEm... | protected void sendEmail(User user, String password) throws PortalException, SystemException { if (!AdminUtil.getEmailUserAddedEnabled(user.getCompanyId())) { return; } try { String companyId = user.getCompanyId(); Company company = CompanyUtil.findByPrimaryKey(companyId); String fromName = AdminUtil.getEm... | 3,226,360 |
protected void sendEmail(User user, String password) throws PortalException, SystemException { if (!AdminUtil.getEmailUserAddedEnabled(user.getCompanyId())) { return; } try { String companyId = user.getCompanyId(); Company company = CompanyUtil.findByPrimaryKey(companyId); String fromName = AdminUtil.getEm... | protected void sendEmail(User user, String password) throws PortalException, SystemException { if (!AdminUtil.getEmailUserAddedEnabled(user.getCompanyId())) { return; } try { String companyId = user.getCompanyId(); Company company = CompanyUtil.findByPrimaryKey(companyId); String fromName = AdminUtil.getEm... | 3,226,361 |
protected void sendEmail(User user, String password) throws PortalException, SystemException { if (!AdminUtil.getEmailUserAddedEnabled(user.getCompanyId())) { return; } try { String companyId = user.getCompanyId(); Company company = CompanyUtil.findByPrimaryKey(companyId); String fromName = AdminUtil.getEm... | protected void sendEmail(User user, String password) throws PortalException, SystemException { if (!AdminUtil.getEmailUserAddedEnabled(user.getCompanyId())) { return; } try { String companyId = user.getCompanyId(); Company company = CompanyUtil.findByPrimaryKey(companyId); String fromName = AdminUtil.getEm... | 3,226,362 |
public void sendPassword( String companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent) throws PortalException, SystemException { if (!AdminUtil.getEmailPasswordSentEnabled(companyId)) { return; } emailAddress = emailAddress.trim().toLowerCase(); if (!Validator.isEmailAddres... | public void sendPassword( String companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent) throws PortalException, SystemException { if (!AdminUtil.getEmailPasswordSentEnabled(companyId)) { return; } emailAddress = emailAddress.trim().toLowerCase(); if (!Validator.isEmailAddres... | 3,226,363 |
public void sendPassword( String companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent) throws PortalException, SystemException { if (!AdminUtil.getEmailPasswordSentEnabled(companyId)) { return; } emailAddress = emailAddress.trim().toLowerCase(); if (!Validator.isEmailAddres... | public void sendPassword( String companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent) throws PortalException, SystemException { if (!AdminUtil.getEmailPasswordSentEnabled(companyId)) { return; } emailAddress = emailAddress.trim().toLowerCase(); if (!Validator.isEmailAddres... | 3,226,364 |
public void sendPassword( String companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent) throws PortalException, SystemException { if (!AdminUtil.getEmailPasswordSentEnabled(companyId)) { return; } emailAddress = emailAddress.trim().toLowerCase(); if (!Validator.isEmailAddres... | public void sendPassword( String companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent) throws PortalException, SystemException { if (!AdminUtil.getEmailPasswordSentEnabled(companyId)) { return; } emailAddress = emailAddress.trim().toLowerCase(); if (!Validator.isEmailAddres... | 3,226,365 |
protected void validate( String userId, String emailAddress, String firstName, String lastName, String smsSn) throws PortalException, SystemException { User user = UserUtil.findByPrimaryKey(userId); if (!Validator.isEmailAddress(emailAddress)) { throw new UserEmailAddressException(); } else if (!User.isDefa... | protected void validate( String userId, String emailAddress, String firstName, String lastName, String smsSn) throws PortalException, SystemException { User user = UserUtil.findByPrimaryKey(userId); if (!Validator.isEmailAddress(emailAddress)) { throw new UserEmailAddressException(); } else if (!User.isDefa... | 3,226,366 |
public void updateLabel(ViewerLabel label, TreePath elementPath) { ILabelProvider[] labelProviders = contentService.findRelevantLabelProviders(elementPath.getLastSegment()); for (int i = 0; i < labelProviders.length && (!label.hasNewText() && label.getText() != null); i++) { ILabelProvider labelProvider = labelPro... | public void updateLabel(ViewerLabel label, TreePath elementPath) { ILabelProvider[] labelProviders = contentService.findRelevantLabelProviders(elementPath.getLastSegment()); for (int i = 0; i < labelProviders.length && (!label.hasNewText() && label.getText() != null); i++) { ILabelProvider labelProvider = labelPro... | 3,226,367 |
public void actionPerformed(ActionEvent e) { if (e.getSource() == doNotAutoDownloadJCheckBoxMenuItem) { boolean add = doNotAutoDownloadJCheckBoxMenuItem.isSelected(); Object target = getUIController().getInformationQuarter() .getDisplayTarget(); ... | public void actionPerformed(ActionEvent e) { if (e.getSource() == doNotAutoDownloadJCheckBoxMenuItem) { boolean add = doNotAutoDownloadJCheckBoxMenuItem.isSelected(); Object target = getUIController().getInformationQuarter() .getDisplayTarget(); ... | 3,226,368 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.