bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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... | 41,135 |
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... | 41,136 |
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... | 41,137 |
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... | 41,138 |
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... | 41,139 |
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... | 41,140 |
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... | 41,141 |
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... | 41,142 |
public void unbind(String name) throws NamingException { getURLOrDefaultInitCtx(name).unbind(name); } | public void unbind(String name) throws NamingException { getURLOrDefaultInitCtx(name).unbind(name); } | 41,143 |
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); } | 41,144 |
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); } | 41,145 |
public Queue(long id, MessageStore ms, PersistenceManager pm, boolean recoverable, int fullSize, int pageSize, int downCacheSize) { super(id, ms, pm, true, recoverable, fullSize, pageSize, downCacheSize); router = new PointToPointRouter(); m_fullSize = fullSize; m_pageSize = page... | public Queue(long id, MessageStore ms, PersistenceManager pm, boolean recoverable, int fullSize, int pageSize, int downCacheSize) { super(id, ms, pm, true, recoverable, fullSize, pageSize, downCacheSize); router = new PointToPointRouter(); m_fullSize = fullSize; m_pageSize = page... | 41,147 |
public ChannelState(Channel channel, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, int fullSize, int pageSize, int downCacheSize) { if (pm == null) { throw new IllegalArgumentException("ChannelState requires a " + ... | public ChannelState(Channel channel, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, int fullSize, int pageSize, int downCacheSize) { if (pm == null) { throw new IllegalArgumentException("ChannelState requires a " + ... | 41,148 |
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 ... | 41,149 |
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"); } ... | 41,150 |
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... | 41,151 |
public JDBCPersistenceManager(DataSource ds, TransactionManager tm) throws Exception { this(ds, tm, null); } | public JDBCPersistenceManager() throws Exception { this(ds, tm, null); } | 41,152 |
public JDBCPersistenceManager(DataSource ds, TransactionManager tm) throws Exception { this(ds, tm, null); } | public JDBCPersistenceManager(DataSource ds, TransactionManager tm) throws Exception { this(null, null, null); } | 41,153 |
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 ... | 41,154 |
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... | 41,155 |
public static void cascade( Level level, String msg ) { log( CASCADE, level, msg ); } | public static void cascade( Level level, String msg ) { log( CASCADE, level, msg ); } | 41,157 |
public Float(double value) { this.value = (float) value; } | public Float(float value) { this.value = (float) value; } | 41,158 |
public Float(double value) { this.value = (float) value; } | public Float(double value) { this.value = value; } | 41,159 |
public static void general( Level level, String msg ) { log( GENERAL, level, msg ); } | public static void general( Level level, String msg ) { log( GENERAL, level, msg ); } | 41,160 |
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; } | 41,161 |
public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(group); } | public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(group); } | 41,163 |
public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(group); } | public String group (int group) throws IllegalStateException { assertMatchOp(); return match.toString(); } | 41,164 |
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(); } | 41,165 |
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... | 41,166 |
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... | 41,167 |
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... | 41,168 |
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... | 41,169 |
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... | 41,170 |
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... | 41,171 |
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... | 41,172 |
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... | 41,173 |
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... | 41,174 |
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... | CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentVa... | 41,175 |
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... | 41,176 |
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... | 41,177 |
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... | 41,178 |
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... | 41,179 |
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... | 41,180 |
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... | 41,181 |
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... | 41,182 |
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... | 41,184 |
public AbstractAction(String name) { putValue(NAME, name); } | public AbstractAction() { putValue(NAME, name); } | 41,185 |
public AbstractAction(String name) { putValue(NAME, name); } | public AbstractAction(String name) { } | 41,186 |
public JFrame(String title) { super(title); frameInit(); } | public JFrame() { super(title); frameInit(); } | 41,187 |
public JFrame(String title) { super(title); frameInit(); } | public JFrame(String title) { super(title); frameInit(); } | 41,188 |
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... | 41,189 |
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... | 41,190 |
public JScrollPane(Component view) { this(view, 0, 0); } | public JScrollPane(Component view) { this(view, 0, 0); } | 41,192 |
public JMenu(String text) { super(text); popupMenu.setInvoker(this); setOpaque(false); } | public JMenu() { super(text); popupMenu.setInvoker(this); setOpaque(false); } | 41,193 |
public JMenu(String text) { super(text); popupMenu.setInvoker(this); setOpaque(false); } | public JMenu(String text) { super(text); popupMenu.setInvoker(this); setOpaque(false); } | 41,194 |
public JMenuItem add(Action action) { return popupMenu.add(action); } | public JMenuItem add(JMenuItem item) { return popupMenu.add(action); } | 41,195 |
public JMenuItem add(Action action) { return popupMenu.add(action); } | public JMenuItem add(Action action) { return popupMenu.add(item); } | 41,196 |
public boolean add(Object attrVal); | public boolean add(Object attrVal); | 41,197 |
public void clear(); | public void clear(); | 41,198 |
public Object clone(); | public Object clone(); | 41,199 |
public boolean contains(Object attrVal); | public boolean contains(Object attrVal); | 41,200 |
public Object get() throws NamingException; | public Object get() throws NamingException; | 41,201 |
public NamingEnumeration getAll() throws NamingException; | public NamingEnumeration getAll() throws NamingException; | 41,202 |
public DirContext getAttributeDefinition() throws NamingException; | public DirContext getAttributeDefinition() throws NamingException; | 41,203 |
public DirContext getAttributeSyntaxDefinition() throws NamingException; | public DirContext getAttributeSyntaxDefinition() throws NamingException; | 41,204 |
public String getID(); | public String getID(); | 41,205 |
public boolean isOrdered(); | public boolean isOrdered(); | 41,206 |
public boolean remove(Object attrval); | public boolean remove(Object attrval); | 41,207 |
public Object set(int ix, Object attrVal); | public Object set(int ix, Object attrVal); | 41,208 |
public int size(); | public int size(); | 41,209 |
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... | 41,210 |
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()); } | 41,211 |
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()); } | 41,212 |
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()); } | 41,213 |
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) { ... | 41,214 |
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) { ... | 41,215 |
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... | 41,216 |
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); } | 41,217 |
public int getHeight() { return master.height; } | public int getHeight() { return persistentBFC.master.height; } | 41,218 |
public Border getInsets() { return insets; } | public Border getInsets() { return persistentBFC.insets; } | 41,219 |
public int getLeftDownDistance(Box box) { return getDownDistance(box, left_floats); } | public int getLeftDownDistance(Box box) { return getDownDistance(box, persistentBFC.left_floats); } | 41,220 |
public int getLeftFloatDistance(Box line) { return getFloatDistance(line, left_floats); } | public int getLeftFloatDistance(Box line) { return getFloatDistance(line, persistentBFC.left_floats); } | 41,221 |
public Point getOffset(Box box) { return (Point) offset_map.get(box); } | public Point getOffset(Box box) { return (Point) persistentBFC.offset_map.get(box); } | 41,222 |
public Border getPadding() { return padding; } | public Border getPadding() { return persistentBFC.padding; } | 41,223 |
public int getRightDownDistance(Box box) { return getDownDistance(box, right_floats); } | public int getRightDownDistance(Box box) { return getDownDistance(box, persistentBFC.right_floats); } | 41,224 |
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); } | 41,225 |
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... | 41,226 |
public int getWidth() { return this.width; //return master.width - master.totalHorizontalPadding(); } | public int getWidth() { return persistentBFC.width; //return master.width - master.totalHorizontalPadding(); } | 41,227 |
public int getX() { return master.x + x; } | public int getX() { return persistentBFC.master.x + x; } | 41,228 |
public int getY() { return master.y + y; } | public int getY() { return persistentBFC.master.y + y; } | 41,229 |
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); } | 41,230 |
public Box pushDownLeft(Box box) { return pushDownLeftRight(box, left_floats); } | public Box pushDownLeft(Box box) { return pushDownLeftRight(box, persistentBFC.left_floats); } | 41,231 |
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); } | 41,232 |
public void setWidth(int width) { this.width = width; } | public void setWidth(int width) { persistentBFC.width = width; } | 41,233 |
public String toString() { return "BFC: (" + x + "," + y + ") - " + master + ""; } | public String toString() { return "BFC: (" + x + "," + y + ") - " + persistentBFC.master + ""; } | 41,234 |
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; ... | 41,235 |
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; ... | 41,236 |
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(); // ifif (floatsList.size() == 0) { //Uu.p("returning nada");return 0;}int xoff = 0; // create a... | 41,237 |
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; ... | 41,238 |
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); } | 41,239 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.