bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void remove(int index) { synchronized (getTreeLock ()) { Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); if (r.isShowing()) r.removeNo... | public void remove(int index) { synchronized (getTreeLock ()) { Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); if (r.isShowing()) r.removeNo... | 56,292 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 56,293 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; if(!gfx.hitClip(bounds.x,bounds.y, bounds.width, bounds.height)) return; if (cl... | 56,294 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 56,295 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 56,296 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 56,297 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; JMSInvocationHandler handler = mi.getHandler(); Method m = mi.getMethod(); if (m.getName().equals("createConsumerD... | 56,298 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); SimpleMetaData invocationMetaData = invocation.getMetaData()... | 56,299 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 56,300 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 56,301 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 56,302 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 56,303 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 56,304 |
public static EditorKit createEditorKitForContentType(String type) { return new PlainEditorKit(); } | public static EditorKit createEditorKitForContentType(String type) { EditorKit e = null; String className = (String)registerMap.get(type); if (className != null) { try { e = (EditorKit) Class.forName(className).newInstance(); } catch (Exception e2) { } } return e; } | 56,307 |
public static String getEditorKitClassNameForContentType(String type) { return "text/plain"; } | public static String getEditorKitClassNameForContentType(String type) { return (String) registerMap.get(type); } | 56,308 |
public EditorKit getEditorKitForContentType(String type) { return editorKit; } | public EditorKit getEditorKitForContentType(String type) { EditorKit e = (EditorKit) editorMap.get(type); if (e == null) e = createEditorKitForContentType(type); if (e == null) e = new PlainEditorKit(); return e; } | 56,309 |
public static void registerEditorKitForContentType(String type, String classname) { // TODO: Implement this properly. } | registerMap.put(type, classname); registerMap.put(type, classname); publicregisterMap.put(type, classname); staticregisterMap.put(type, classname); voidregisterMap.put(type, classname); registerEditorKitForContentType(StringregisterMap.put(type, classname); type,registerMap.put(type, classname); registerMap.put(type, c... | 56,310 |
public void setEditorKitForContentType(String type, EditorKit k) { // FIXME: editorKitCache.put(type, kit); } | editorMap.put(type, k); editorMap.put(type, k); publiceditorMap.put(type, k); voideditorMap.put(type, k); setEditorKitForContentType(StringeditorMap.put(type, k); type,editorMap.put(type, k); EditorKiteditorMap.put(type, k); k)editorMap.put(type, k); editorMap.put(type, k); editorMap.put(type, k); editorMap.put(type, k... | 56,312 |
public void setText(String t) { super.setText(t); } | public void setText(String t) { try { Document doc = getDocument(); doc.remove(0, doc.getLength()); if (t == null || t == "") return; getEditorKit().read(new StringReader(t), doc, 0); } | 56,313 |
public void paint(Context c, Box box) { //Uu.p("BoxRenderer.paint " + box); Box block = (Box) box; //set the current style CascadedStyle hoverStyle = null; if (block.content.getStyle() != null) { c.pushStyle(block.content.getStyle()); if (block.hover) { ... | public void paint(Context c, Box box) { //Uu.p("BoxRenderer.paint " + box); Box block = (Box) box; //set the current style CascadedStyle hoverStyle = null; if (block.content.getStyle() != null) { c.pushStyle(block.content.getStyle()); if (block.hover) { ... | 56,315 |
public void paint(Context c, Box box) { //Uu.p("BoxRenderer.paint " + box); Box block = (Box) box; //set the current style CascadedStyle hoverStyle = null; if (block.content.getStyle() != null) { c.pushStyle(block.content.getStyle()); if (block.hover) { ... | public void paint(Context c, Box box) { //Uu.p("BoxRenderer.paint " + box); Box block = (Box) box; //set the current style CascadedStyle hoverStyle = null; if (block.content.getStyle() != null) { c.pushStyle(block.content.getStyle()); if (block.hover) { ... | 56,316 |
public ServerConnectionDelegate(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; sessionIDCounter = 0; sessions = new HashMap(); temporaryDestinations = new HashSet(); started = false; connectionID = new GUID().toString(); ... | public ServerConnectionDelegate(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; sessionIDCounter = 0; sessions = new HashMap(); temporaryDestinations = new HashSet(); started = false; connectionID = new GUID().toString(); ... | 56,318 |
public void close() throws JMSException { if (log.isTraceEnabled()) { log.trace("In ServerConnectionDelegate.close()"); } DestinationManagerImpl dm = serverPeer.getDestinationManager(); Iterator iter = this.temporaryDestinations.iterator(); while (iter.hasNext()) { dm.removeT... | public void close() throws JMSException{if (log.isTraceEnabled()) { log.trace("In ServerConnectionDelegate.close()"); }DestinationManagerImpl dm = serverPeer.getDestinationManager();Iterator iter = this.temporaryDestinations.iterator();while (iter.hasNext()){dm.removeTemporaryDestination((JBossDestination)iter.next());... | 56,319 |
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) { // create the dynamic proxy that implements SessionDelegate SessionDelegate sd = null; Serializable oid = serverPeer.getSessionAdvisor().getName(); String stackName = "Sessio... | public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) { // create the dynamic proxy that implements SessionDelegate SessionDelegate sd = null; Serializable oid = serverPeer.getSessionAdvisor().getName(); String stackName = "SessionStack"; AdviceStack s... | 56,320 |
public ServerSessionDelegate getSessionDelegate(String sessionID) { synchronized(sessions) { return (ServerSessionDelegate)sessions.get(sessionID); } } | public ServerSessionDelegate getSessionDelegate(String sessionID) { synchronized(sessions) { return (ServerSessionDelegate)sessions.get(sessionID); } } | 56,321 |
private void handleFailure(Throwable t, Transaction tx) throws JMSException { final String msg1 = "Exception caught in processing transaction"; log.error(msg1, t); log.info("Attempting to rollback"); try { tx.rollback(); Exception e = new TransactionRolledBackExcept... | private void handleFailure(Throwable t, Transaction tx) throws JMSException { final String msg1 = "Exception caught in processing transaction"; log.error(msg1, t); log.info("Attempting to rollback"); try { tx.rollback(); Exception e = new TransactionRolledBackExcept... | 56,322 |
public ServerSessionDelegate putSessionDelegate(String sessionID, ServerSessionDelegate d) { synchronized(sessions) { return (ServerSessionDelegate)sessions.put(sessionID, d); } } | public ServerSessionDelegate putSessionDelegate(String sessionID, ServerSessionDelegate d) { synchronized(sessions) { return (ServerSessionDelegate)sessions.put(sessionID, d); } } | 56,323 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); bodyReadOnly = in.readBoolean(); isByteArray = in.readBoolean(); int length = in.readInt(); if (length < 0) { payload = null; } else { payload =... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); isByteArray = in.readBoolean(); int length = in.readInt(); if (length < 0) { payload = null; } else { payload = new byte[length]; in.rea... | 56,324 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeBoolean(bodyReadOnly); out.writeBoolean(isByteArray); if (payload == null) { out.writeInt(-1); } else { out.writeInt(((byte[])payload).length); out.wri... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeBoolean(isByteArray); if (payload == null) { out.writeInt(-1); } else { out.writeInt(((byte[])payload).length); out.write((byte[])payload); } } | 56,325 |
public void paint(Graphics g) { int b = borderWidth; Graphics2D g2 = (Graphics2D)g; Dimension d = getSize(); boolean tmp = selected; // g.setColor(Color.lightGray); if(super.isOpaque()) { g.setColor(super.getBackground()); g.fillRect(b - 1, b - 1, d.width - b, d.height - b); }... | public void paint(Graphics g) { int b = borderWidth; Graphics2D g2 = (Graphics2D)g; Dimension d = getSize(); boolean tmp = selected; // g.setColor(Color.lightGray); if(super.isOpaque()) { g.setColor(super.getBackground()); g.fillRect(b - 1, b - 1, d.width - b, d.height - b); }... | 56,326 |
protected void doTransactionCommit(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); TransactionRepository txRep = new TransactionRepository(pm, new IdManager("TRANSACTION_ID", 10, pm)); txRep.start(); log.debug("transaction log ... | protected void doTransactionCommit(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); IdManager idm = new IdManager("TRANSACTION_ID", 10, pm); idm.start(); TransactionRepository txRep = new TransactionRepository(pm, idm); txRep.start... | 56,327 |
protected void doTransactionRollback(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); TransactionRepository txRep = new TransactionRepository(pm, new IdManager("TRANSACTION_ID", 10, pm)); txRep.start(); Message[] messages = cre... | protected void doTransactionRollback(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); IdManager idm = new IdManager("TRANSACTION_ID", 10, pm); idm.start(); TransactionRepository txRep = new TransactionRepository(pm, idm); txRep.sta... | 56,328 |
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there is fir... | public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { c.pushStyle(_style); if (ContentUtil.mayHaveFirstLine(c.getCurrentStyle())) { ... | 56,329 |
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there is fir... | public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there is fir... | 56,330 |
public Component getFocusOwner() { // FIXME return null; } | public Component getFocusOwner () { // FIXME return null; } | 56,333 |
public Component getFocusOwner() { // FIXME return null; } | KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window activeWindow = manager.getActiveWindow (); if (activeWindow == this) return manager.getFocusOwner (); KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window activeWindow = manager.ge... | 56,334 |
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | if (! c.isInteractive()) { box.component.paint(c.getGraphics()); } if (! c.isInteractive()) { box.component.paint(c.getGraphics()); } if (! c.isInteractive()) { box.component.paint(c.getGraphics()); } if (! c.isInteractive()) { box.component.paint(c.getGraphics()); } publicif (! c.isInteractive()) { box.component.paint... | 56,337 |
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))... | public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))... | 56,338 |
public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | publicvoidpositionAbsoluteChild(Contextc,Boxchild_box){//u.p("modifyingit");BlockFormattingContextbfc=c.getBlockFormattingContext();//u.p("bfc="+bfc);//u.p("child="+child_box);//u.p("parent="+child_box.getParent());//u.p("width="+bfc.getWidth());//handletheleftandrightif(child_box.right_set){//joshy:thisdoesn'tseemrigh... | 56,339 |
public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | public void positionAbsoluteChild(Context c, Box child_box) {//u.p("modifying it");BlockFormattingContext bfc = c.getBlockFormattingContext();// u.p("bfc = " + bfc);// u.p("child = " + child_box);// u.p("parent = " + child_box.getParent());// u.p("width = " + bfc.getWidth());// handle the left and rightif(child_box.rig... | 56,340 |
public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | public void positionAbsoluteChild(Context c, Box child_box) {//u.p("modifying it");BlockFormattingContext bfc = c.getBlockFormattingContext();// u.p("bfc = " + bfc);// u.p("child = " + child_box);// u.p("parent = " + child_box.getParent());// u.p("width = " + bfc.getWidth());// handle the left and rightif(child_box.rig... | 56,341 |
public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | 56,342 |
boolean shutdown(String nodeId) throws Exception; | boolean shutdown(String nodeId) throws Exception; | 56,346 |
boolean startup(String nodeId) throws Exception; | boolean startup(String nodeId) throws Exception; | 56,347 |
public static InlineBox createInline(Context c, TextContent content, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.content = content; CalculatedStyle style = c.getCurrentStyle(); inline.whitespace = getWhitespace(style);... | public static InlineBox createInline(Context c, TextContent content, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.content = content; CalculatedStyle style = c.getCurrentStyle(); inline.whitespace = getWhitespace(style);... | 56,348 |
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | 56,349 |
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | 56,350 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | static boolean stripWhitespace(CalculatedStyle style, boolean collapseLeading, TextContent tc) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") |... | 56,351 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = style.getStringProperty(CSSName.WHITE_SPACE); String text = tc.getText(); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step... | 56,352 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | 56,353 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) {String whitespace = getWhitespace(style);//Uu.p("stripWhitespace: text = -" + text + "-");//Uu.p("whitespace = " + whitespace);// do step 1if (whitespace.equals("normal") ||whitespace.equals("nowrap") ||whitespace.equals("pre-line... | 56,354 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespac... | 56,355 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) {String whitespace = getWhitespace(style);//Uu.p("stripWhitespace: text = -" + text + "-");//Uu.p("whitespace = " + whitespace);// do step 1if (whitespace.equals("normal") ||whitespace.equals("nowrap") ||whitespace.equals("pre-line... | 56,356 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) {String whitespace = getWhitespace(style);//Uu.p("stripWhitespace: text = -" + text + "-");//Uu.p("whitespace = " + whitespace);// do step 1if (whitespace.equals("normal") ||whitespace.equals("nowrap") ||whitespace.equals("pre-line... | 56,357 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | publicstaticStringstripWhitespace(CalculatedStylestyle,InlineBoxprev,Stringtext){Stringwhitespace=getWhitespace(style);//Uu.p("stripWhitespace:text=-"+text+"-");//Uu.p("whitespace="+whitespace);//dostep1if(whitespace.equals("normal")||whitespace.equals("nowrap")||whitespace.equals("pre-line")){text=linefeed_space_colla... | 56,358 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | 56,359 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) {String whitespace = getWhitespace(style);//Uu.p("stripWhitespace: text = -" + text + "-");//Uu.p("whitespace = " + whitespace);// do step 1if (whitespace.equals("normal") ||whitespace.equals("nowrap") ||whitespace.equals("pre-line... | 56,360 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | 56,361 |
private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for(int i=0; i<list.size(); i++) { if(list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for(int i=0; i<remove_list.size(); i++) {... | private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for(int i=0; i<list.size(); i++) { if(list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for(int i=0; i<remove_list.size(); i++) {... | 56,362 |
private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for(int i=0; i<list.size(); i++) { if(list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for(int i=0; i<remove_list.size(); i++) {... | private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for(int i=0; i<list.size(); i++) { if(list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for (int i = 0; i < remove_list.size(); i... | 56,363 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | NoSuchAlgorithmException lastException = null; NoSuchAlgorithmException lastException = null; publicNoSuchAlgorithmException lastException = null; staticNoSuchAlgorithmException lastException = null; CertPathBuilderNoSuchAlgorithmException lastException = null; getInstance(StringNoSuchAlgorithmException lastException =... | 56,364 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { ... | 56,365 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException x) ... | 56,366 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); lastException = x; catch (NoSuchAlgorithmExcept... | 56,367 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | if (lastException != null) throw lastException; if (lastException != null) throw lastException; publicif (lastException != null) throw lastException; staticif (lastException != null) throw lastException; CertPathBuilderif (lastException != null) throw lastException; getInstance(Stringif (lastException != null) throw la... | 56,368 |
public static boolean isOutsideNormalFlow(Box box) { if (box.fixed) { return true; } if (box.isAbsolute()) { //u.p("box is abs: " + box); return true; } if (box.floated) { return true; } return false; } | public static boolean isOutsideNormalFlow(Box box) { if (box.fixed) { return true; } if (box.absolute) { //u.p("box is abs: " + box); return true; } if (box.floated) { return true; } return false; } | 56,369 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent(CSSName cssName, String ident) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { Stri... | 56,370 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | 56,371 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | 56,372 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | 56,373 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | 56,374 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | 56,375 |
public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | 56,376 |
public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | 56,377 |
public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | 56,378 |
public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | 56,379 |
public static boolean looksLikeABGAttachment( String val ) { return "scroll".equals( val ) || "fixed".equals( val ); } | public static boolean looksLikeABGAttachment( String val ) { return "scroll".equals( val ) || "fixed".equals( val ); } | 56,380 |
public static boolean looksLikeABGPosition( String val ) { return BACKGROUND_POSITIONS_IDENTS.contains( val ) || looksLikeALength( val ); } | public static boolean looksLikeABGPosition( String val ) { return BACKGROUND_POSITIONS_IDENTS.contains( val ) || looksLikeALength( val ); } | 56,381 |
public static boolean looksLikeABGRepeat( String val ) { return BACKGROUND_REPEATS.indexOf( val ) >= 0; } | public static boolean looksLikeABGRepeat( String val ) { return BACKGROUND_REPEATS.indexOf( val ) >= 0; } | 56,382 |
public static boolean looksLikeABorderStyle( String val ) { return BORDER_STYLES.contains( val ); } | public static boolean looksLikeABorderStyle( String val ) { return BORDER_STYLES.contains( val ); } | 56,383 |
public static boolean looksLikeAColor( String val ) { return COLOR_MAP.get( val ) != null || ( val.startsWith( "#" ) && ( val.length() == 7 || val.length() == 4 ) ) || val.startsWith( "rgb" ); } | public static boolean looksLikeAColor( String val ) { return COLOR_MAP.get( val ) != null || ( val.startsWith( "#" ) && ( val.length() == 7 || val.length() == 4 ) ) || val.startsWith( "rgb" ); } | 56,384 |
public static boolean looksLikeAFontSize( String val ) { // TODO return FONT_SIZES.get( val ) != null || looksLikeALength( val ) || "larger".equals( val ) || "smaller".equals( val ); } | public static boolean looksLikeAFontSize(String val) { // TODO return FONT_SIZES.get( val ) != null || looksLikeALength( val ) || "larger".equals( val ) || "smaller".equals( val ); } | 56,385 |
public static boolean looksLikeAFontSize( String val ) { // TODO return FONT_SIZES.get( val ) != null || looksLikeALength( val ) || "larger".equals( val ) || "smaller".equals( val ); } | public static boolean looksLikeAFontSize( String val ) { // TODO return FONT_SIZES.get( val ) != null || looksLikeALength( val ) || "larger".equals( val ) || "smaller".equals( val ); } | 56,386 |
public static boolean looksLikeAFontStyle( String val ) { return FONT_STYLES.indexOf( val ) >= 0; } | public static boolean looksLikeAFontStyle( String val ) { return FONT_STYLES.indexOf( val ) >= 0; } | 56,387 |
public static boolean looksLikeAFontVariant( String val ) { return "normal".equals( val ) || "small-caps".equals( val ); } | public static boolean looksLikeAFontVariant( String val ) { return "normal".equals( val ) || "small-caps".equals( val ); } | 56,388 |
public static boolean looksLikeAFontWeight( String val ) { return FONT_WEIGHTS.get( val ) != null; } | public static boolean looksLikeAFontWeight( String val ) { return FONT_WEIGHTS.get( val ) != null; } | 56,389 |
public static boolean looksLikeALength( String val ) { return CSS_LENGTH_PATTERN.matcher( val ).matches(); } | public static boolean looksLikeALength( String val ) { return CSS_LENGTH_PATTERN.matcher( val ).matches(); } | 56,390 |
public static boolean looksLikeALineHeight( String val ) { return "normal".equals( val ) || looksLikeALength( val ); } | public static boolean looksLikeALineHeight( String val ) { return "normal".equals( val ) || looksLikeALength( val ); } | 56,391 |
public static boolean looksLikeAListStyleImage( String val ) { return "none".equals( val ) || looksLikeAURI( val ); } | public static boolean looksLikeAListStyleImage( String val ) { return "none".equals( val ) || looksLikeAURI( val ); } | 56,392 |
public static boolean looksLikeAListStylePosition( String val ) { return "inside".equals( val ) || "outside".equals( val ); } | public static boolean looksLikeAListStylePosition( String val ) { return "inside".equals( val ) || "outside".equals( val ); } | 56,393 |
public static boolean looksLikeAListStyleType( String val ) { return LIST_TYPES.indexOf( val ) >= 0; } | public static boolean looksLikeAListStyleType( String val ) { return LIST_TYPES.indexOf( val ) >= 0; } | 56,394 |
public static boolean looksLikeAURI( String val ) { return val.startsWith( "url(" ) && val.endsWith( ")" ); } | public static boolean looksLikeAURI( String val ) { return val.startsWith( "url(" ) && val.endsWith( ")" ); } | 56,395 |
protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | 56,396 |
protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | 56,397 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Serve... | 56,398 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | 56,399 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | 56,400 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | 56,401 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | 56,402 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | 56,403 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.