bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {...
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for " + (isQueue ? "queue " : "topic ") + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } cat...
25,876
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {...
public void setSecurityConfig(String destName, Element conf) throws JMSException { if (log.isTraceEnabled()) { log.trace("adding security configuration for destination " + destName); } SecurityMetadata m = null; try { m = new SecurityMetadata(conf); } catch(Exception e) {...
25,877
public void unbind (String name) throws NamingException;
void unbind (Name name) throws NamingException;
25,878
public void rebind(String name, Object obj) throws NamingException { getURLOrDefaultInitCtx(name).rebind(name, obj); }
public void rebind(String name, Object obj) throws NamingException { getURLOrDefaultInitCtx(name).rebind(name, obj); }
25,879
public void close() throws NamingException { throw new OperationNotSupportedException(); }
public void close() throws NamingException { throw new OperationNotSupportedException(); }
25,880
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("initializing SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled())...
25,881
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
25,882
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
25,883
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
public void init() throws NamingException { if (log.isTraceEnabled()) { log.trace("Creating SecurityManager"); } // Get the JBoss security manager from JNDI InitialContext ic = new InitialContext(); try { Object mgr = ic.lookup(securityDomain); if (log.isTraceEnabled()) { l...
25,884
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (iter.hasN...
25,885
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
25,886
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
25,887
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
25,888
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
public void destroyAllDestinations() throws Exception { Iterator iter = queueNameToJNDI.keySet().iterator(); while (iter.hasNext()) { String queueName = (String)iter.next(); unregisterDestination(true, queueName); } iter = topicNameToJNDI.keySet().iterator(); while (it...
25,889
public void unbind(String name) throws NamingException { getURLOrDefaultInitCtx(name).unbind(name); }
public void unbind(String name) throws NamingException { getURLOrDefaultInitCtx(name).unbind(name); }
25,890
public void clearSecurityConfig(String name) throws JMSException { if (log.isTraceEnabled()) { log.trace("clearing security configuration for destination " + name); } securityConf.remove(name); }
public void clearSecurityConfig(boolean isQueue, String name) throws JMSException { if (log.isTraceEnabled()) { log.trace("clearing security configuration for destination " + name); } securityConf.remove(name); }
25,891
public void clearSecurityConfig(String name) throws JMSException { if (log.isTraceEnabled()) { log.trace("clearing security configuration for destination " + name); } securityConf.remove(name); }
public void clearSecurityConfig(String name) throws JMSException { if (log.isTraceEnabled()) { log.trace("clearing security configuration for destination " + name); } securityConf.remove(name); }
25,892
public boolean addReference(MessageReference ref) throws Throwable { boolean first; synchronized (refLock) { ref.setOrdering(getNextReferenceOrdering()); if (ref.isReliable() && recoverable) { //Reliable message in a recoverable...
public void addReference(MessageReference ref, Transaction tx) throws Throwable { boolean first; synchronized (refLock) { ref.setOrdering(getNextReferenceOrdering()); if (ref.isReliable() && recoverable) { //Reliable message in ...
25,894
public boolean addReference(MessageReference ref) throws Throwable { boolean first; synchronized (refLock) { ref.setOrdering(getNextReferenceOrdering()); if (ref.isReliable() && recoverable) { //Reliable message in a recoverable...
public boolean addReference(MessageReference ref) throws Throwable { if (trace) { log.trace(this + " adding " + ref + "transactionally in transaction: " + tx); } if (ref.isReliable() && !acceptReliableMessages) { if (trace) { log.trace(this + " cannot handle reliable messages, dooming the transaction"); } ...
25,895
public boolean addReference(MessageReference ref) throws Throwable { boolean first; synchronized (refLock) { ref.setOrdering(getNextReferenceOrdering()); if (ref.isReliable() && recoverable) { //Reliable message in a recoverable...
public boolean addReference(MessageReference ref) throws Throwable { boolean first; synchronized (refLock) { ref.setOrdering(getNextReferenceOrdering()); if (ref.isReliable() && recoverable) { //Reliable message in a recoverable...
25,896
public JDBCPersistenceManager(DataSource ds, TransactionManager tm) throws Exception { this(ds, tm, null); }
public JDBCPersistenceManager() throws Exception { this(ds, tm, null); }
25,897
public JDBCPersistenceManager(DataSource ds, TransactionManager tm) throws Exception { this(ds, tm, null); }
public JDBCPersistenceManager(DataSource ds, TransactionManager tm) throws Exception { this(null, null, null); }
25,898
public SimpleStep(long id, long entryId, int stepId, int actionId, String owner, Date startDate, Date dueDate, Date finishDate, String status, long[] previousStepIds, String caller) { this.id = id; this.entryId = entryId; this.stepId = stepId; this.actionId = actionId; this.owner ...
public SimpleStep(long id, long entryId, int stepId, int actionId, String owner, Date startDate, Date dueDate, Date finishDate, String status, long[] previousStepIds, String caller) { this.id = id; this.entryId = entryId; this.stepId = stepId; this.actionId = actionId; this.owner ...
25,899
public DerivedValue(CSSName cssName, CSSPrimitiveValue primitive, CalculatedStyle style) { _cssName = cssName; _domCSSPrimitiveValue = primitive; String org = _domCSSPrimitiveValue.getCssText(); primitive.setCssText(Idents.convertIdent(cssName, org)); if (primitive.getCssText() ==...
public DerivedValue(CSSName cssName, CSSPrimitiveValue primitive, CalculatedStyle style) { _cssName = cssName; _domCSSPrimitiveValue = primitive; String org = _domCSSPrimitiveValue.getCssText(); if (primitive.getCssText() == null) { primitive.setCssText(org); } String converted = Idents...
25,900
public static void cascade( Level level, String msg ) { log( CASCADE, level, msg ); }
public static void cascade( Level level, String msg ) { log( CASCADE, level, msg ); }
25,902
public Float(double value) { this.value = (float) value; }
public Float(float value) { this.value = (float) value; }
25,903
public Float(double value) { this.value = (float) value; }
public Float(double value) { this.value = value; }
25,904
public static void general( Level level, String msg ) { log( GENERAL, level, msg ); }
public static void general( Level level, String msg ) { log( GENERAL, level, msg ); }
25,905
public boolean matches () { if (lookingAt()) { if (position == input.length()) return true; match = null; } return false; }
public boolean matches () { match = pattern.getRE().getMatch(input, 0, RE.REG_TRY_ENTIRE_MATCH); if (match != null) { if (position == input.length()) return true; match = null; } return false; }
25,906
public boolean selfTest() { if (valid == null) { valid = new Boolean (DIGEST0.equals(Util.toString(new RipeMD128().digest()))); } return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf (DIGEST0.equals(Util.toString(new RipeMD128().digest()))); } return valid.booleanValue(); }
25,908
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
25,909
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
25,910
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
25,911
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(RenderingHint...
25,912
private static void drawText(RenderingContext c, BlockBox box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(box.list_count).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATI...
private static void drawText(RenderingContext c, BlockBox box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(box.list_count).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATI...
25,913
private static void drawText(RenderingContext c, BlockBox box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(box.list_count).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATI...
private static void drawText(RenderingContext c, BlockBox box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(box.list_count).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATI...
25,914
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
25,915
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
25,916
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
25,918
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
public static void paint(RenderingContext c, BlockBox box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } String image = style.getStringProperty...
25,919
public static String deriveKey(CalculatedStyle style) { String key = null; CSSName[] sides = CSSName.BORDER_SIDE_PROPERTIES; CSSName[] styles = CSSName.BORDER_STYLE_PROPERTIES; CSSName[] colors = CSSName.BORDER_COLOR_PROPERTIES; key = new StringBuffer() .append("bor...
public static String deriveKey(CalculatedStyle style) { String key = null; CSSName[] sides = CSSName.BORDER_SIDE_PROPERTIES; CSSName[] styles = CSSName.BORDER_STYLE_PROPERTIES; CSSName[] colors = CSSName.BORDER_COLOR_PROPERTIES; key = new StringBuffer() .append("bor...
25,920
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
25,921
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
25,922
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
25,923
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
25,924
public void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = x.loadDocum...
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = x.loadDo...
25,926
public AbstractAction(String name) { putValue(NAME, name); }
public AbstractAction() { putValue(NAME, name); }
25,927
public AbstractAction(String name) { putValue(NAME, name); }
public AbstractAction(String name) { }
25,928
public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g...
public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g...
25,929
public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g...
public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g...
25,930
public JScrollPane(Component view) { this(view, 0, 0); }
public JScrollPane(Component view) { this(view, 0, 0); }
25,932
public JMenu(String text) { super(text); popupMenu.setInvoker(this); setOpaque(false); }
public JMenu() { super(text); popupMenu.setInvoker(this); setOpaque(false); }
25,933
public JMenu(String text) { super(text); popupMenu.setInvoker(this); setOpaque(false); }
public JMenu(String text) { super(text); popupMenu.setInvoker(this); setOpaque(false); }
25,934
public JMenuItem add(Action action) { return popupMenu.add(action); }
public JMenuItem add(JMenuItem item) { return popupMenu.add(action); }
25,935
public JMenuItem add(Action action) { return popupMenu.add(action); }
public JMenuItem add(Action action) { return popupMenu.add(item); }
25,936
public boolean add(Object attrVal);
boolean add(Object attrVal);
25,937
public void clear();
void clear();
25,938
public Object clone();
Object clone();
25,939
public boolean contains(Object attrVal);
boolean contains(Object attrVal);
25,940
public Object get() throws NamingException;
Object get() throws NamingException;
25,941
public NamingEnumeration getAll() throws NamingException;
NamingEnumeration getAll() throws NamingException;
25,942
public DirContext getAttributeDefinition() throws NamingException;
DirContext getAttributeDefinition() throws NamingException;
25,943
public DirContext getAttributeSyntaxDefinition() throws NamingException;
DirContext getAttributeSyntaxDefinition() throws NamingException;
25,944
public String getID();
String getID();
25,945
public boolean isOrdered();
boolean isOrdered();
25,946
public boolean remove(Object attrval);
boolean remove(Object attrval);
25,947
public Object set(int ix, Object attrVal);
Object set(int ix, Object attrVal);
25,948
public int size();
int size();
25,949
public BlockFormattingContext(Box master, Context c) { int parent_width = (int) c.getExtents().getWidth(); CalculatedStyle style = c.getCurrentStyle(); Border border = style.getBorderWidth(c.getCtx()); //note: percentages here refer to width of containing block Border margin = mas...
public BlockFormattingContext(Box master, Context c) { int parent_width = (int) c.getExtents().getWidth(); CalculatedStyle style = c.getCurrentStyle(); Border border = style.getBorderWidth(c.getCtx()); //note: percentages here refer to width of containing block Border margin = mas...
25,950
public void addAbsoluteBottomBox(Box box) { abs_bottom.add(box); offset_map.put(box, getOffset()); }
public void addAbsoluteBottomBox(Box box) { abs_bottom.add(box); offset_map.put(box, getOffset()); }
25,951
public void addLeftFloat(Box block) { //Uu.p("adding a left float: " + block); left_floats.add(block); offset_map.put(block, getOffset()); }
public void addLeftFloat(Box block) { //Uu.p("adding a left float: " + block); left_floats.add(block); offset_map.put(block, getOffset()); }
25,952
public void addRightFloat(Box block) { //Uu.p("adding a right float: " + block); right_floats.add(block); offset_map.put(block, getOffset()); }
public void addRightFloat(Box block) { //Uu.p("adding a right float: " + block); right_floats.add(block); offset_map.put(block, getOffset()); }
25,953
public void doFinalAdjustments() { //Uu.p("Doing final adjustments: " + this); //Uu.p("Final height = " + getHeight()); for (int i = 0; i < abs_bottom.size(); i++) { Box box = (Box) abs_bottom.get(i); //Uu.p("finishing up box: " + box); if (box.bottom_set) { ...
public void doFinalAdjustments() { //Uu.p("Doing final adjustments: " + this); //Uu.p("Final height = " + getHeight()); for (int i = 0; i < abs_bottom.size(); i++) { Box box = (Box) abs_bottom.get(i); //Uu.p("finishing up box: " + box); if (box.bottom_set) { ...
25,954
public void doFinalAdjustments() { //Uu.p("Doing final adjustments: " + this); //Uu.p("Final height = " + getHeight()); for (int i = 0; i < abs_bottom.size(); i++) { Box box = (Box) abs_bottom.get(i); //Uu.p("finishing up box: " + box); if (box.bottom_set) { ...
public void doFinalAdjustments() { //Uu.p("Doing final adjustments: " + this); //Uu.p("Final height = " + getHeight()); for (int i = 0; i < abs_bottom.size(); i++) { Box box = (Box) abs_bottom.get(i); //Uu.p("finishing up box: " + box); if (box.bottom_set) { ...
25,955
private int getDownDistance(Box box, List list) { for (int i = 0; i < list.size(); i++) { Box floater = (Box) list.get(i); Point fpt = (Point) offset_map.get(floater); if (floater.y + floater.height - fpt.y > box.y) { return floater.y + floater.height - fpt.y; ...
private int getDownDistance(Box box, List list) { for (int i = 0; i < list.size(); i++) { Box floater = (Box) list.get(i); Point fpt = (Point) persistentBFC.offset_map.get(floater); if (floater.y + floater.height - fpt.y > box.y) { return floater.y + floater.he...
25,956
private int getFloatDistance(Box line, List float_list) { return this._float_manager.getFloatDistance(line, float_list, this); }
private int getFloatDistance(Box line, List float_list) { return FloatManager.getFloatDistance(line, float_list, this); }
25,957
public int getHeight() { return master.height; }
public int getHeight() { return persistentBFC.master.height; }
25,958
public Border getInsets() { return insets; }
public Border getInsets() { return persistentBFC.insets; }
25,959
public int getLeftDownDistance(Box box) { return getDownDistance(box, left_floats); }
public int getLeftDownDistance(Box box) { return getDownDistance(box, persistentBFC.left_floats); }
25,960
public int getLeftFloatDistance(Box line) { return getFloatDistance(line, left_floats); }
public int getLeftFloatDistance(Box line) { return getFloatDistance(line, persistentBFC.left_floats); }
25,961
public Point getOffset(Box box) { return (Point) offset_map.get(box); }
public Point getOffset(Box box) { return (Point) persistentBFC.offset_map.get(box); }
25,962
public Border getPadding() { return padding; }
public Border getPadding() { return persistentBFC.padding; }
25,963
public int getRightDownDistance(Box box) { return getDownDistance(box, right_floats); }
public int getRightDownDistance(Box box) { return getDownDistance(box, persistentBFC.right_floats); }
25,964
public int getRightFloatDistance(LineBox line) { ///Uu.p("get right float distance: " + line); return getFloatDistance(line, right_floats); }
public int getRightFloatDistance(LineBox line) { ///Uu.p("get right float distance: " + line); return getFloatDistance(line, persistentBFC.right_floats); }
25,965
public Box getRightFloatX(Box box) { //Uu.p("get right float x : " + box); // count backwards through the floats int x = 0; for (int i = right_floats.size() - 1; i >= 0; i--) { Box floater = (Box) right_floats.get(i); // Uu.p("box = " + box); // Uu.p("tes...
public Box getRightFloatX(Box box) { //Uu.p("get right float x : " + box); // count backwards through the floats int x = 0; for (int i = right_floats.size() - 1; i >= 0; i--) { Box floater = (Box) right_floats.get(i); // Uu.p("box = " + box); // Uu.p("tes...
25,966
public int getWidth() { return this.width; //return master.width - master.totalHorizontalPadding(); }
public int getWidth() { return persistentBFC.width; //return master.width - master.totalHorizontalPadding(); }
25,967
public int getX() { return master.x + x; }
public int getX() { return persistentBFC.master.x + x; }
25,968
public int getY() { return master.y + y; }
public int getY() { return persistentBFC.master.y + y; }
25,969
public Box newGetLeftFloatX(Box box) { return FloatManager.newGetLeftFloatX(box, left_floats, this); }
public Box newGetLeftFloatX(Box box) { return FloatManager.newGetLeftFloatX(box, persistentBFC.left_floats, this); }
25,970
public Box pushDownLeft(Box box) { return pushDownLeftRight(box, left_floats); }
public Box pushDownLeft(Box box) { return pushDownLeftRight(box, persistentBFC.left_floats); }
25,971
public Box pushDownRight(Box box) { //Uu.p("push Down Right : " + box); return pushDownLeftRight(box, right_floats); }
public Box pushDownRight(Box box) { //Uu.p("push Down Right : " + box); return pushDownLeftRight(box, persistentBFC.right_floats); }
25,972
public void setWidth(int width) { this.width = width; }
public void setWidth(int width) { persistentBFC.width = width; }
25,973
public String toString() { return "BFC: (" + x + "," + y + ") - " + master + ""; }
public String toString() { return "BFC: (" + x + "," + y + ") - " + persistentBFC.master + ""; }
25,974
public static int getFloatDistance(Box line, List floatsList, BlockFormattingContext bfc) { //Uu.p("---\n---\ngetting the float distance for line: " + line + " " + line.element); //Uu.p(floatsList); //Uu.dump_stack(); // if if (floatsList.size() == 0) { //Uu.p("returning nada"); return 0; ...
public static int getFloatDistance(Box line, List floatsList, BlockFormattingContext bfc) { //Uu.p("---\n---\ngetting the float distance for line: " + line + " " + line.element); //Uu.p(floatsList); //Uu.dump_stack(); // if if (floatsList.size() == 0) { //Uu.p("returning nada"); return 0; ...
25,975
public static int getFloatDistance(Box line, List floatsList, BlockFormattingContext bfc) { //Uu.p("---\n---\ngetting the float distance for line: " + line + " " + line.element); //Uu.p(floatsList); //Uu.dump_stack(); // if if (floatsList.size() == 0) { //Uu.p("returning nada"); return 0; ...
public static int getFloatDistance(Box line, List floatsList, BlockFormattingContext bfc) { //Uu.p("---\n---\ngetting the float distance for line: " + line + " " + line.element); //Uu.p(floatsList); //Uu.dump_stack(); // if if (floatsList.size() == 0) { //Uu.p("returning nada"); return 0; ...
25,976
public Reference (String className, RefAddr addr) { this.className = className; addrs = new Vector (); addrs.add (addr); }
public Reference (String className) { this.className = className; addrs = new Vector (); addrs.add (addr); }
25,977
public Reference (String className, RefAddr addr) { this.className = className; addrs = new Vector (); addrs.add (addr); }
public Reference (String className, RefAddr addr) { this.className = className; addrs = new Vector (); }
25,978
public void importXML(Element el) throws ConfigurationException { log.info("Loading test:" + el.getNodeName()); name = MetadataUtils.getElementAttribute(el, "name"); log.info("Test Name is " + name); Iterator iter = MetadataUtils.getChildrenByTagName(el,"slave"); wh...
public void importXML(Element el) throws ConfigurationException { log.info("Loading test:" + el.getNodeName()); name = MetadataUtils.getElementAttribute(el, "name"); log.info("Test Name is " + name); Iterator iter = MetadataUtils.getChildrenByTagName(el,"slave"); wh...
25,979
public void importXML(Element el) throws ConfigurationException { log.info("Loading test:" + el.getNodeName()); name = MetadataUtils.getElementAttribute(el, "name"); log.info("Test Name is " + name); Iterator iter = MetadataUtils.getChildrenByTagName(el,"slave"); wh...
public void importXML(Element el) throws ConfigurationException { log.info("Loading test:" + el.getNodeName()); name = MetadataUtils.getElementAttribute(el, "name"); log.info("Test Name is " + name); Iterator iter = MetadataUtils.getChildrenByTagName(el,"slave"); wh...
25,980
public void importXML(Element el) throws ConfigurationException { log.info("Loading test:" + el.getNodeName()); name = MetadataUtils.getElementAttribute(el, "name"); log.info("Test Name is " + name); Iterator iter = MetadataUtils.getChildrenByTagName(el,"slave"); wh...
public void importXML(Element el) throws ConfigurationException { log.info("Loading test:" + el.getNodeName()); name = MetadataUtils.getElementAttribute(el, "name"); log.info("Test Name is " + name); Iterator iter = MetadataUtils.getChildrenByTagName(el,"slave"); wh...
25,981