bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("connecting to " + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + ...
protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("connecting to " + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + ...
54,761
protected void processKeyEvent(KeyEvent event) { // TODO: Implement this properly. }
MenuSelectionManager.defaultManager().processKeyEvent(event); MenuSelectionManager.defaultManager().processKeyEvent(event); protectedMenuSelectionManager.defaultManager().processKeyEvent(event); voidMenuSelectionManager.defaultManager().processKeyEvent(event); processKeyEvent(KeyEventMenuSelectionManager.defaultManager...
54,762
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R...
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R...
54,763
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R...
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R...
54,764
private static void drawText(Context c, Box box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.DECIMAL) { text = box.list_count + "."; } if (listStyle == IdentValue.LOWER_LATIN) { text = toLatin(box.list_count).toLowerCase() + "."; } ...
private static void drawText(Context c, Box box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.DECIMAL) { text = box.list_count + "."; } if (listStyle == IdentValue.LOWER_LATIN) { text = toLatin(box.list_count).toLowerCase() + "."; } ...
54,766
private static void drawText(Context c, Box box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.DECIMAL) { text = box.list_count + "."; } if (listStyle == IdentValue.LOWER_LATIN) { text = toLatin(box.list_count).toLowerCase() + "."; } ...
private static void drawText(Context c, Box box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.DECIMAL) { text = box.list_count + "."; } if (listStyle == IdentValue.LOWER_LATIN) { text = toLatin(box.list_count).toLowerCase() + "."; } ...
54,767
public static void paint(Context c, Box box) { CalculatedStyle style = c.getCurrentStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } if (listStyle == IdentValue.LOWER_GREEK) { listStyle = Id...
public static void paint(Context c, Box box) { CalculatedStyle style = box.getStyle().getCalculatedStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } if (listStyle == IdentValue.LOWER_GREEK) { ...
54,768
public static void paint(Context c, Box box) { CalculatedStyle style = c.getCurrentStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } if (listStyle == IdentValue.LOWER_GREEK) { listStyle = Id...
public static void paint(Context c, Box box) { CalculatedStyle style = c.getCurrentStyle(); IdentValue listStyle = style.getIdent(CSSName.LIST_STYLE_TYPE); if (listStyle == IdentValue.NONE) { return; } if (listStyle == IdentValue.LOWER_GREEK) { listStyle = Id...
54,769
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
54,770
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
54,771
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
54,772
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
54,773
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
54,774
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
54,775
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
private static int handleInlineElementStart(Context c, LineBox line, InlineBox ib, int padX, LinkedList decorations) { // NOT RIGHT (ib.getStyle()...), refers to previous inline? Comment out for now /* CalculatedStyle style = ib.getStyle().getCalculatedStyle(); int parent_width = line.ge...
54,776
public static void paintLeftPadding( Context c, LineBox line, InlineBox inline, int padX, RectPropertySet margin, Border border, RectPropertySet padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i ...
public static void paintLeftPadding( Context c, LineBox line, InlineBox inline, int padX, RectPropertySet margin, BorderPropertySet border, RectPropertySet padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (...
54,777
public static void paintLeftPadding( Context c, LineBox line, InlineBox inline, int padX, RectPropertySet margin, Border border, RectPropertySet padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i ...
public static void paintLeftPadding( Context c, LineBox line, InlineBox inline, int padX, RectPropertySet margin, Border border, RectPropertySet padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i ...
54,778
public static void paintLeftPadding( Context c, LineBox line, InlineBox inline, int padX, RectPropertySet margin, Border border, RectPropertySet padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i ...
public static void paintLeftPadding( Context c, LineBox line, InlineBox inline, int padX, RectPropertySet margin, Border border, RectPropertySet padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i ...
54,779
public static void paintRightPadding( Context c, LineBox line, InlineBox inline, int padX, Border border, RectPropertySet padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorder...
public static void paintRightPadding( Context c, LineBox line, InlineBox inline, int padX, BorderPropertySet border, RectPropertySet padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getI...
54,780
public static void paintRightPadding( Context c, LineBox line, InlineBox inline, int padX, Border border, RectPropertySet padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorder...
public static void paintRightPadding( Context c, LineBox line, InlineBox inline, int padX, Border border, RectPropertySet padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorder...
54,781
public static void paintRightPadding( Context c, LineBox line, InlineBox inline, int padX, Border border, RectPropertySet padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorder...
public static void paintRightPadding( Context c, LineBox line, InlineBox inline, int padX, Border border, RectPropertySet padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorder...
54,782
public void test1() throws Throwable { Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageRefere...
public void test1() throws Throwable { Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageRefere...
54,783
public String toString() { return "InlineBox " + "bnds = " + x + "," + y + " - " + width + "Xx" + height + " start = " + this.start_index + " end = " + this.end_index + " baseline = " + this.baseline + " vset = " + this.vset;// + // CLN: (PWW 13/08/04) ...
public String toString() { return "InlineBox " + "bnds = " + x + "," + y + " - " + width + "Xx" + height + " start = " + this.start_index + " end = " + this.end_index + " baseline = " + this.baseline + " vset = " + this.vset;// + // CLN: (PWW 13/08/04) ...
54,784
public void addBindingFromCluster(String nodeId, String queueName, String condition, String filterString, long channelID, boolean durable) throws Exception { lock.writeLock().acquire(); log.info(this.nodeId + " adding binding from node: " + nodeId +" queue: ...
public void addBindingFromCluster(int nodeId, String queueName, String condition, String filterString, long channelID, boolean durable) throws Exception { lock.writeLock().acquire(); log.info(this.nodeId + " adding binding from node: " + nodeId +" queue: " +...
54,786
public void addBindingFromCluster(String nodeId, String queueName, String condition, String filterString, long channelID, boolean durable) throws Exception { lock.writeLock().acquire(); log.info(this.nodeId + " adding binding from node: " + nodeId +" queue: ...
public void addBindingFromCluster(String nodeId, String queueName, String condition, String filterString, long channelID, boolean durable) throws Exception { lock.writeLock().acquire(); log.info(this.nodeId + " adding binding from node: " + nodeId +" queue: ...
54,787
public void addBindingFromCluster(String nodeId, String queueName, String condition, String filterString, long channelID, boolean durable) throws Exception { lock.writeLock().acquire(); log.info(this.nodeId + " adding binding from node: " + nodeId +" queue: ...
public void addBindingFromCluster(String nodeId, String queueName, String condition, String filterString, long channelID, boolean durable) throws Exception { lock.writeLock().acquire(); log.info(this.nodeId + " adding binding from node: " + nodeId +" queue: ...
54,788
public Binding bindClusteredQueue(String condition, LocalClusteredQueue queue) throws Exception { log.info(this.nodeId + " binding clustered queue: " + queue + " with condition: " + condition); if (!queue.getNodeId().equals(this.nodeId)) { throw new IllegalArgumentException(...
public Binding bindClusteredQueue(String condition, LocalClusteredQueue queue) throws Exception { log.info(this.nodeId + " binding clustered queue: " + queue + " with condition: " + condition); if (queue.getNodeId() != this.nodeId) { throw new IllegalArgumentException("Queue...
54,789
public void check(String nodeId) throws Throwable { synchronized (holdingArea) { Iterator iter = holdingArea.entrySet().iterator(); List toRemove = new ArrayList(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); ...
public void check(int nodeId) throws Throwable { synchronized (holdingArea) { Iterator iter = holdingArea.entrySet().iterator(); List toRemove = new ArrayList(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); ...
54,790
public void check(String nodeId) throws Throwable { synchronized (holdingArea) { Iterator iter = holdingArea.entrySet().iterator(); List toRemove = new ArrayList(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); ...
public void check(String nodeId) throws Throwable { synchronized (holdingArea) { Iterator iter = holdingArea.entrySet().iterator(); List toRemove = new ArrayList(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); ...
54,791
protected Binding createBinding(String nodeId, String condition, String queueName, long channelId, String filterString, boolean durable) throws Exception { Filter filter = filterFactory.createFilter(filterString); log.info("Created binding"); Queue queue; if (nodeId.equa...
protected Binding createBinding(int nodeId, String condition, String queueName, long channelId, String filterString, boolean durable) throws Exception { Filter filter = filterFactory.createFilter(filterString); log.info("Created binding"); Queue queue; if (nodeId.equals(...
54,792
protected Binding createBinding(String nodeId, String condition, String queueName, long channelId, String filterString, boolean durable) throws Exception { Filter filter = filterFactory.createFilter(filterString); log.info("Created binding"); Queue queue; if (nodeId.equa...
protected Binding createBinding(String nodeId, String condition, String queueName, long channelId, String filterString, boolean durable) throws Exception { Filter filter = filterFactory.createFilter(filterString); log.info("Created binding"); Queue queue; if (nodeId == t...
54,793
public Address getAddressForNodeId(String nodeId) throws Exception { lock.readLock().acquire(); try { return (Address)nodeIdAddressMap.get(nodeId); } finally { lock.readLock().release(); } }
public Address getAddressForNodeId(int nodeId) throws Exception { lock.readLock().acquire(); try { return (Address)nodeIdAddressMap.get(nodeId); } finally { lock.readLock().release(); } }
54,794
public Address getAddressForNodeId(String nodeId) throws Exception { lock.readLock().acquire(); try { return (Address)nodeIdAddressMap.get(nodeId); } finally { lock.readLock().release(); } }
public Address getAddressForNodeId(String nodeId) throws Exception { lock.readLock().acquire(); try { return (Address)nodeIdAddressMap.get(new Integer(nodeId)); } finally { lock.readLock().release(); } }
54,795
public void handleAddressNodeMapping(Address address, String nodeId) throws Exception { lock.writeLock().acquire(); try { nodeIdAddressMap.put(nodeId, address); } finally { lock.writeLock().release(); } }
public void handleAddressNodeMapping(Address address, int nodeId) throws Exception { lock.writeLock().acquire(); try { nodeIdAddressMap.put(nodeId, address); } finally { lock.writeLock().release(); } }
54,796
public void handleAddressNodeMapping(Address address, String nodeId) throws Exception { lock.writeLock().acquire(); try { nodeIdAddressMap.put(nodeId, address); } finally { lock.writeLock().release(); } }
public void handleAddressNodeMapping(Address address, String nodeId) throws Exception { lock.writeLock().acquire(); try { nodeIdAddressMap.put(new Integer(nodeId), address); } finally { lock.writeLock().release(); } }
54,797
private void processStateBytes(byte[] bytes) throws Exception { log.info("Receiving state from group..."); SharedState state = new SharedState(); StreamUtils.fromBytes(state, bytes); nameMaps.clear(); conditionMap.clear(); List bindings = state...
private void processStateBytes(byte[] bytes) throws Exception { log.info("Receiving state from group..."); SharedState state = new SharedState(); StreamUtils.fromBytes(state, bytes); nameMaps.clear(); conditionMap.clear(); List bindings = state...
54,798
public void removeBindingFromCluster(String nodeId, String queueName) throws Exception { lock.writeLock().acquire(); try { // Sanity if (!nodeIdAddressMap.containsKey(nodeId)) { throw new IllegalStateException("Cannot find address for node: " + nodeI...
public void removeBindingFromCluster(int nodeId, String queueName) throws Exception { lock.writeLock().acquire(); try { // Sanity if (!nodeIdAddressMap.containsKey(nodeId)) { throw new IllegalStateException("Cannot find address for node: " + nodeId);...
54,799
public void removeBindingFromCluster(String nodeId, String queueName) throws Exception { lock.writeLock().acquire(); try { // Sanity if (!nodeIdAddressMap.containsKey(nodeId)) { throw new IllegalStateException("Cannot find address for node: " + nodeI...
public void removeBindingFromCluster(String nodeId, String queueName) throws Exception { lock.writeLock().acquire(); try { // Sanity if (!nodeIdAddressMap.containsKey(new Integer(nodeId))) { throw new IllegalStateException("Cannot find address for no...
54,800
private void removeBindingsForAddress(Address address) throws Exception { lock.writeLock().acquire(); try { Iterator iter = nodeIdAddressMap.entrySet().iterator(); String nodeId = null; while (iter.hasNext()) { Map.Entry entry = (Map.Entry)i...
private void removeBindingsForAddress(Address address) throws Exception { lock.writeLock().acquire(); try { Iterator iter = nodeIdAddressMap.entrySet().iterator(); Integer nodeId = null; while (iter.hasNext()) { Map.Entry entry = (Map.Entry)...
54,801
private void removeBindingsForAddress(Address address) throws Exception { lock.writeLock().acquire(); try { Iterator iter = nodeIdAddressMap.entrySet().iterator(); String nodeId = null; while (iter.hasNext()) { Map.Entry entry = (Map.Entry)i...
private void removeBindingsForAddress(Address address) throws Exception { lock.writeLock().acquire(); try { Iterator iter = nodeIdAddressMap.entrySet().iterator(); String nodeId = null; while (iter.hasNext()) { Map.Entry entry = (Map.Entry)i...
54,802
private void removeBindingsForAddress(Address address) throws Exception { lock.writeLock().acquire(); try { Iterator iter = nodeIdAddressMap.entrySet().iterator(); String nodeId = null; while (iter.hasNext()) { Map.Entry entry = (Map.Entry)i...
private void removeBindingsForAddress(Address address) throws Exception { lock.writeLock().acquire(); try { Iterator iter = nodeIdAddressMap.entrySet().iterator(); String nodeId = null; while (iter.hasNext()) { Map.Entry entry = (Map.Entry)i...
54,803
public boolean route(MessageReference ref, String condition, Transaction tx) throws Exception { if (ref == null) { throw new IllegalArgumentException("Message reference is null"); } if (condition == null) { throw new IllegalArgumentException("Condition is null"); ...
public boolean route(MessageReference ref, String condition, Transaction tx) throws Exception { if (ref == null) { throw new IllegalArgumentException("Message reference is null"); } if (condition == null) { throw new IllegalArgumentException("Condition is null"); ...
54,804
public boolean route(MessageReference ref, String condition, Transaction tx) throws Exception { if (ref == null) { throw new IllegalArgumentException("Message reference is null"); } if (condition == null) { throw new IllegalArgumentException("Condition is null"); ...
public boolean route(MessageReference ref, String condition, Transaction tx) throws Exception { if (ref == null) { throw new IllegalArgumentException("Message reference is null"); } if (condition == null) { throw new IllegalArgumentException("Condition is null"); ...
54,805
public boolean route(MessageReference ref, String condition, Transaction tx) throws Exception { if (ref == null) { throw new IllegalArgumentException("Message reference is null"); } if (condition == null) { throw new IllegalArgumentException("Condition is null"); ...
public boolean route(MessageReference ref, String condition, Transaction tx) throws Exception { if (ref == null) { throw new IllegalArgumentException("Message reference is null"); } if (condition == null) { throw new IllegalArgumentException("Condition is null"); ...
54,806
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
54,807
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
54,808
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
54,809
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
public void routeFromCluster(org.jboss.messaging.core.Message message, String routingKey, Map queueNameNodeIdMap) throws Exception { log.info(this.nodeId + " received route from cluster, ref = " + message.getMessageID() + " routing key " + routingKey + " map " + qu...
54,810
public synchronized void sendQueueStats() throws Exception { if (!started) { return; } lock.readLock().acquire(); List statsList = null; try { Map nameMap = (Map)nameMaps.get(nodeId); if (nameMap != null) {...
public synchronized void sendQueueStats() throws Exception { if (!started) { return; } lock.readLock().acquire(); List statsList = null; try { Map nameMap = (Map)nameMaps.get(new Integer(nodeId)); if (nameMap != nu...
54,811
public Object syncSendRequest(ClusterRequest request, String nodeId, boolean ignoreNoAddress) throws Exception { Address address = this.getAddressForNodeId(nodeId); if (address == null) { if (ignoreNoAddress) { return null; } else ...
public Object syncSendRequest(ClusterRequest request, int nodeId, boolean ignoreNoAddress) throws Exception { Address address = this.getAddressForNodeId(nodeId); if (address == null) { if (ignoreNoAddress) { return null; } else {...
54,812
public void updateQueueStats(String nodeId, List statsList) throws Exception { lock.readLock().acquire(); try { if (nodeId.equals(this.nodeId)) { //Sanity check throw new IllegalStateException("Cannot update queue stats for current node"); } ...
public void updateQueueStats(int nodeId, List statsList) throws Exception { lock.readLock().acquire(); try { if (nodeId.equals(this.nodeId)) { //Sanity check throw new IllegalStateException("Cannot update queue stats for current node"); } ...
54,813
public void updateQueueStats(String nodeId, List statsList) throws Exception { lock.readLock().acquire(); try { if (nodeId.equals(this.nodeId)) { //Sanity check throw new IllegalStateException("Cannot update queue stats for current node"); } ...
public void updateQueueStats(String nodeId, List statsList) throws Exception { lock.readLock().acquire(); try { if (nodeId == this.nodeId) { //Sanity check throw new IllegalStateException("Cannot update queue stats for current node"); } ...
54,814
public void updateQueueStats(String nodeId, List statsList) throws Exception { lock.readLock().acquire(); try { if (nodeId.equals(this.nodeId)) { //Sanity check throw new IllegalStateException("Cannot update queue stats for current node"); } ...
public void updateQueueStats(String nodeId, List statsList) throws Exception { lock.readLock().acquire(); try { if (nodeId.equals(this.nodeId)) { //Sanity check throw new IllegalStateException("Cannot update queue stats for current node"); } ...
54,815
public static void setupVerticalAlign( Context c, Node node, InlineBox box ) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if ( node...
public static void setupVerticalAlign( Context c, Node node, InlineBox box ) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if ( node...
54,817
private void newContext( Graphics g ) { //u.p("new context begin"); //Point origin = new Point( 0, 0 ); //Point last = new Point( 0, 0 ); getContext().canvas = this; getContext().graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new R...
private void newContext( Graphics g ) { //u.p("new context begin"); //Point origin = new Point( 0, 0 ); //Point last = new Point( 0, 0 ); getContext().canvas = this; getContext().graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new R...
54,819
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 ...
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 ...
54,820
public int getDownCacheSize() { return m_downCacheSize; }
public int getDownCacheSize() { return downCacheSize; }
54,821
public int getFullSize() { return m_fullSize; }
public int getFullSize() { return fullSize; }
54,822
public int getMessageCount() { return state.messageCount(); }
public int getMessageCount() { return state.messageCount(); }
54,823
public int getPageSize() { return m_pageSize; }
public int getPageSize() { return pageSize; }
54,824
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,830
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,831
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,832
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,833
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,834
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,835
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,836
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,837
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,838
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,839
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,840
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
c.addMaxHeight(box.height); c.addMaxHeight(box.height); c.addMaxHeight(box.height); c.addMaxHeight(box.height); publicc.addMaxHeight(box.height); staticc.addMaxHeight(box.height); voidc.addMaxHeight(box.height); layoutContent(Contextc.addMaxHeight(box.height); c,c.addMaxHeight(box.height); Boxc.addMaxHeight(box.height)...
54,841
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
System.out.println("doing a quick stop"); System.out.println("doing a quick stop"); System.out.println("doing a quick stop"); System.out.println("doing a quick stop"); publicSystem.out.println("doing a quick stop"); staticSystem.out.println("doing a quick stop"); voidSystem.out.println("doing a quick stop"); layoutCont...
54,842
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =...
54,843
public void read(DataInputStream in) throws Exception { nodeId = in.readUTF(); int size = in.readInt(); queueStats = new ArrayList(size); for (int i = 0; i < size; i++) { QueueStats stats = new QueueStats(); stats.read(in); queueS...
public void read(DataInputStream in) throws Exception { nodeId = in.readInt(); int size = in.readInt(); queueStats = new ArrayList(size); for (int i = 0; i < size; i++) { QueueStats stats = new QueueStats(); stats.read(in); queueS...
54,844
public void write(DataOutputStream out) throws Exception { out.writeUTF(nodeId); out.writeInt(queueStats.size()); Iterator iter = queueStats.iterator(); while (iter.hasNext()) { QueueStats stats = (QueueStats)iter.next(); stats.write(out); } }
public void write(DataOutputStream out) throws Exception { out.writeInt(nodeId); out.writeInt(queueStats.size()); Iterator iter = queueStats.iterator(); while (iter.hasNext()) { QueueStats stats = (QueueStats)iter.next(); stats.write(out); } }
54,845
public void closing() throws JMSException { if (trace) log.trace("closing (noop)"); //Currently does nothing }
public void closing() throws JMSException {if (trace) log.trace("closing (noop)");//Currently does nothing }
54,846
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
54,847
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; ...
54,849
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; ...
54,850
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; ...
54,851
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; ...
54,852
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; ...
54,853
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; ...
54,854
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; ...
54,855
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; ...
54,856
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,857
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,858
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,859
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,860
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,861
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,862
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,863
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
public static Box newGetLeftFloatX(Box box, List left_floats, BlockFormattingContext bfc) { //Uu.p("in new bfc.getLeftFloatX( " + box + " ) "); // count backwards through the floats //int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i);...
54,864
protected void doRender(Context c) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics)) { g.setColor(getBackground()); g.fillRect(0, 0, getWidth(), getHeight()); } ...
protected void doRender(Context c) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && explicitlyOpaque) { g.setColor(getBackground()); g.fillRect(0, 0, getWidth(), getH...
54,865
public void startLayout(Graphics g) { this.removeAll(); if (g == null) { return; } if (doc == null) { return; } // set up CSS Context c = newContext((Graphics2D) g); //getContext().setMaxWidth(0); this.layout_context = c; ...
public void startLayout(Graphics g) { this.removeAll(); if (g == null) { return; } if (doc == null) { return; } // set up CSS Context c = newContext((Graphics2D) g); //getContext().setMaxWidth(0); this.layout_context = c; ...
54,866
public void startLayout(Graphics g) { this.removeAll(); if (g == null) { return; } if (doc == null) { return; } // set up CSS Context c = newContext((Graphics2D) g); //getContext().setMaxWidth(0); this.layout_context = c; ...
public void startLayout(Graphics g) { this.removeAll(); if (g == null) { return; } if (doc == null) { return; } // set up CSS Context c = newContext((Graphics2D) g); //getContext().setMaxWidth(0); this.layout_context = c; ...
54,867
private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { // calculate the starting index int start = 0; if ( prev != null && prev.node == node ) { start = prev.end_in...
private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { // calculate the starting index int start = 0; if ( prev != null && prev.node == node ) { start = prev.end_in...
54,868
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( isBlockLayout( box.getElement(), c ) ) { return super.layoutChildr...
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( isBlockLayout( box.getElement(), c ) ) { return super.layoutChildr...
54,870
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); if (log.isTraceEnabled()) { log.trace("in readExternal"); } bodyReadOnly = in.readBoolean(); byte type = in.readByte(); if (log.isTraceEnabled()) { log.trac...
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); if (log.isTraceEnabled()) { log.trace("in readExternal"); } byte type = in.readByte(); if (log.isTraceEnabled()) { log.trace("type is:" + type); } if (t...
54,872