Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package org.jboss.as.console.client.tools; import org.jboss.dmr.client.ModelNode; import org.jboss.dmr.client.ModelType; import java.util.ArrayList; import java.util.List; /** * @author Heiko Braun * @date 7/23/12 */ public class Types { public static ModelNode toDMR(Object o) { ModelNode node = new ...
743
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,784
github-java-corpus
2,012
package org.jboss.as.console.client; import com.google.gwt.autobean.shared.AutoBeanFactory; import com.google.gwt.core.client.GWT; import com.google.gwt.event.shared.EventBus; import com.gwtplatform.mvp.client.proxy.PlaceManager; import org.jboss.as.console.client.shared.BeanFactory; import org.jboss.ballroom.client.s...
172
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tabs; import com.google.gwt.core.client.Scheduler; import com.google.gwt.dom.client.Style; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.Window; import com.go...
574
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.icons; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.ImageResource; /** * @author Heiko Braun * @date 7/26/11 */ public interface ConsoleIcons extends ClientBundle { public static f...
119
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.lists; import com.google.gwt.user.cellview.client.CellList; /** * @author Heiko Braun * @date 12/14/11 */ public class DefaultCellListStyle implements CellList.Style { @Override public String cellListEvenItem() { return "cellListEvenItem"; } @Ove...
221
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.lists; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.cellview.client.CellList; /** * @author Heiko Braun * @date 12/14/11 */ public class DefaultCellListResources implements CellList.Resources { ...
131
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.lists; import com.google.gwt.cell.client.Cell; import com.google.gwt.user.cellview.client.CellList; /** * @author Heiko Braun * @date 12/14/11 */ public class DefaultCellList<T> extends CellList { private final static DefaultCellListResources RESOURCES = new Default...
94
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tables; /* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contri...
1,539
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tables; import com.google.gwt.cell.client.ActionCell; import com.google.gwt.safehtml.shared.SafeHtml; import com.google.gwt.safehtml.shared.SafeHtmlBuilder; /** * @author Heiko Braun * @date 10/25/11 */ public class TextLinkCell<T> extends ActionCell<T> { private St...
189
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tables; import com.google.gwt.cell.client.ActionCell; import com.google.gwt.safehtml.shared.SafeHtml; import com.google.gwt.safehtml.shared.SafeHtmlBuilder; /** * @author Heiko Braun * @date 10/25/11 */ public class ButtonCell<T> extends ActionCell<T> { private Stri...
182
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tables; import com.google.gwt.core.client.Scheduler; import com.google.gwt.event.dom.client.KeyUpEvent; import com.google.gwt.event.dom.client.KeyUpHandler; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Label; import com.google.gw...
866
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.pages; import com.google.gwt.dom.client.Style; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.History; import com.google.gwt.user.client.ui.DeckPanel; import com.google.gwt.user.client...
624
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.pages; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Widget; import org.jboss.ballroom.client.widgets.InlineLink; import java.util.Li...
350
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms.items; import org.jboss.ballroom.client.widgets.forms.TextBoxItem; /** * @author Heiko Braun * @date 12/14/11 */ public class NonRequiredTextBoxItem extends TextBoxItem { public NonRequiredTextBoxItem(String name, String title) { super(name, title); ...
77
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms.items; import org.jboss.ballroom.client.widgets.forms.TextBoxItem; /** * @author Heiko Braun * @date 12/14/11 */ public class JndiNameItem extends TextBoxItem { public JndiNameItem() { super("jndiName", "JNDI Name"); } public JndiNameItem(Stri...
199
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; public class MessageFormat { private String pattern; public MessageFormat( String pattern ) { applyPattern( pattern ); } public void applyPattern( String pattern ) { this.pattern = pattern; } public static String for...
226
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.Widget; import org.jboss.ballroom.client.widgets.forms.FormItem; /** * @author Heiko Braun * @date 11/17/11 */ public class GroupTitleItem extends FormItem<String> { private Lab...
204
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
436
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; /** * @author Heiko Braun * @date 9/26/11 */ public interface Getter<T> { Object invoke(T entity); }
41
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is mad...
1,335
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
325
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import java.util.HashMap; import java.util.Map; /** * Generic access to bean properties. * * @author Heiko Braun * @date 9/23/11 */ public class Mutator<T> { private Map<String, Setter> setters = new HashMap<String, Setter>(); private Map<String, Getter...
278
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; /** * @author Heiko Braun * @date 9/23/11 */ public interface Setter<T> { void invoke(T entity, Object value); }
44
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.Widget; import org.jboss.ballroom.client.widgets.forms.FormItem; /** * @author Heiko Braun * @date 11/17/11 */ public class BlankItem extends FormItem<String> { public static Bla...
198
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; /** * @author Heiko Braun * @date 9/23/11 */ public interface KeyAssignment { Object valueForKey(String key); }
40
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import com.allen_sauer.gwt.log.client.Log; import org.jboss.as.console.client.shared.expr.ExpressionAdapter; import org.jboss.as.console.client.shared.properties.PropertyRecord; import org.jboss.ballroom.client.widgets.forms.FormItem; import org.jboss.dmr.client...
4,019
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import java.util.List; /** * @author Heiko Braun * @date 9/23/11 */ public class BeanMetaData { private Class<?> beanType; private AddressBinding address; private List<PropertyBinding> properties; public BeanMetaData(Class<?> beanType, AddressBin...
182
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.Widget; import org.jboss.ballroom.client.widgets.forms.DefaultGroupRenderer; import org.jboss.ballroom.client.widgets.forms.FormItem; i...
323
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import org.jboss.dmr.client.ModelNode; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.NoSuchElementException; import static org.jboss.dmr.client.ModelDescriptionConstants.ADDRESS; import ...
1,365
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.dom.client.HasClickHandlers; import com.google.gwt.user.client.ui.HTML; import com.google.gwt...
1,125
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
295
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; /** * @author Heiko Braun * @date 9/26/11 */ public interface EntityFactory<T> { T create(); }
40
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.forms; import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.Widget; import org.jboss.as.console.client.shared.help.FormHelpPanel; import org.jboss.ballroom.client.widgets.forms.Form; import org.jboss.dmr.client.ModelNode; /** * @author ...
347
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,303
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
467
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.nav; import org.jboss.ballroom.client.layout.LHSNavTreeItem; /** * @author Heiko Braun * @date 1/19/12 */ public final class Predicate { private String subsysName; private LHSNavTreeItem navItem; public Predicate(String subsysName, LHSNavTreeItem navItem) { ...
137
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.nav; import com.google.gwt.event.logical.shared.ValueChangeEvent; import com.google.gwt.event.logical.shared.ValueChangeHandler; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.Widget; imp...
325
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.nav; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.safehtml.shared.SafeHtmlUtils; import com.google.gwt.user.client.DOM; import com.google.gw...
300
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tree; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.cellview.client.CellTree; /** * @author Heiko Braun * @date 12/14/11 */ public class DefaultCellTreeResources implements CellTree.Resources { ...
204
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tree; import com.google.gwt.user.client.ui.TreeItem; public class GroupItem extends TreeItem { public GroupItem(String title) { super(); setText(title); getElement().setAttribute("style", "cursor:pointer;"); } }
56
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tree; import com.google.gwt.user.cellview.client.CellTree; /** * @author Heiko Braun * @date 12/14/11 */ public class DefaultCellTreeStyle implements CellTree.Style { @Override public String cellTreeEmptyMessage() { return "cellTreeEmptyMessage"; } ...
404
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.tree; import com.google.gwt.user.cellview.client.CellTree; import com.google.gwt.view.client.TreeViewModel; /** * @author Heiko Braun * @date 12/14/11 */ public class DefaultCellTree extends CellTree{ private final static DefaultCellTreeResources RESOURCES = new De...
101
github-java-corpus
2,012
package org.jboss.as.console.client.widgets; import com.google.gwt.user.client.ui.HTML; /** * @author Heiko Braun * @date 10/27/11 */ public class ContentDescription extends HTML { public ContentDescription(String html) { super(html); setStyleName("content-description"); } }
66
github-java-corpus
2,012
package org.jboss.as.console.client.widgets.popups; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.event.logical.shared.ResizeEvent; import com.google.gwt.event.logical.shared.ResizeHandler; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.Window; import com.google.gwt...
372
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
764
github-java-corpus
2,012
package org.jboss.as.console.client.standalone; import com.google.gwt.core.client.Scheduler; import com.google.gwt.event.shared.EventBus; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.inject.Inject; import com.gwtplatform.mvp.client.Presenter; import com.gwtplatform.mvp.client.View; import com...
1,863
github-java-corpus
2,012
package org.jboss.as.console.client.standalone; import java.util.List; /** * @author Heiko Braun * @date 6/7/11 */ public interface StandaloneServer { String getName(); void setName(String name); String getReleaseVersion(); void setReleaseVersion(String version); String getReleaseCodename();...
126
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,605
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made a...
552
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,536
github-java-corpus
2,012
package org.jboss.as.console.client.standalone.runtime; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.user.client.ui.ScrollPanel; import com.google.gwt.user.client.ui.TreeItem; import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.Widget; import org.jboss.as.consol...
1,097
github-java-corpus
2,012
package org.jboss.as.console.client.standalone.runtime; import com.google.gwt.user.client.ui.LayoutPanel; import com.google.gwt.user.client.ui.SplitLayoutPanel; import com.google.gwt.user.client.ui.Widget; import com.gwtplatform.mvp.client.ViewImpl; import org.jboss.as.console.client.Console; import org.jboss.as.conso...
400
github-java-corpus
2,012
package org.jboss.as.console.client.standalone.runtime; import com.google.gwt.dom.client.Style; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.HorizontalPanel; import com.google.gwt....
1,359
github-java-corpus
2,012
package org.jboss.as.console.client.standalone.runtime; import com.google.gwt.core.client.Scheduler; import com.google.gwt.event.shared.EventBus; import com.google.inject.Inject; import com.gwtplatform.mvp.client.Presenter; import com.gwtplatform.mvp.client.annotations.NameToken; import com.gwtplatform.mvp.client.anno...
913
github-java-corpus
2,012
package org.jboss.as.console.client.standalone.runtime; import com.google.gwt.core.client.Scheduler; import com.google.gwt.event.shared.EventBus; import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.user.client.Timer; import com.google.inject.Inject; import com.gwtplatform.mvp.client.Presenter; import co...
928
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
648
github-java-corpus
2,012
package org.jboss.as.console.client.standalone; import com.google.gwt.cell.client.TextCell; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google...
1,400
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,246
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
326
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
366
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
269
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,227
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
935
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
510
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
249
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
318
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
312
github-java-corpus
2,012
package org.jboss.as.console.client; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.CssResource; /** * @author Heiko Braun * @date 3/7/12 */ public interface ConsoleResources extends ClientBundle { public static final ConsoleR...
104
github-java-corpus
2,012
package org.jboss.as.console.rebind; /* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * T...
1,461
github-java-corpus
2,012
package org.jboss.as.console.rebind.forms; import java.util.List; /** * @author Heiko Braun * @date 9/23/11 */ public class AddressDeclaration { List<String[]> address; public AddressDeclaration(List<String[]> address) { this.address = address; } public List<String[]> getAddress() { ...
77
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
3,999
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
890
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
722
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
2,296
github-java-corpus
2,012
package org.jboss.as.console.server.proxy; import java.io.IOException; /** * @author Heiko Braun * @date 4/27/12 */ public class ServiceUnavailableException extends IOException { private String retryAfter; public ServiceUnavailableException(String retryAfter) { super(); this.retryAfter = ...
85
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
596
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
3,665
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
4,757
github-java-corpus
2,012
package org.jboss.as.console.server.proxy; import java.io.IOException; /** * @author Heiko Braun * @date 12/14/11 */ public class RedirectException extends IOException { String location; public RedirectException(String location) { this.location = location; } public String getLocation() {...
72
github-java-corpus
2,012
package org.jboss.as.console.server; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import java.util.List; import java.util.Pr...
716
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
1,444
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
391
github-java-corpus
2,012
package org.jboss.as.console.client.shared.runtime.naming; import com.google.gwt.junit.client.GWTTestCase; import com.google.gwt.user.cellview.client.CellTree; import com.google.gwt.view.client.SelectionModel; import com.google.gwt.view.client.SingleSelectionModel; import org.jboss.dmr.client.ModelNode; import org.ju...
990
github-java-corpus
2,012
package org.jboss.as.console.client.forms.modelAdapter; import org.jboss.as.console.client.widgets.forms.Address; import org.jboss.as.console.client.widgets.forms.Binding; import org.jboss.as.console.rebind.forms.AddressDeclaration; import org.jboss.as.console.rebind.forms.ApplicationMetaDataGenerator; import org.jbos...
246
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream...
941
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import com.chenlb.mmseg4j....
523
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.Properties;...
860
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWrite...
949
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Set; import java.util.TreeSet; import com.chenlb.mmseg4j.Dictionary; import com.chenlb.mmseg4j.Dictionary.FileLoading; import com.chenlb.mmseg4j.example.DicTransform.WriterRo...
334
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import junit.framework.TestCase; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.Token; import org.apache.lucene.analysis.TokenStream; public class AnalyzerT...
1,399
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.IOException; import junit.framework.TestCase; import com.chenlb.mmseg4j.example.Complex; public class ComplexSegTest extends TestCase { Complex segW; protected void setUp() throws Exception { segW = new Complex(); //ComplexSeg.setShowChunk(true); } ...
802
github-java-corpus
2,012
package com.chenlb.mmseg4j; public class TestUtil { public static void printlnChunk(Chunk chunk) { System.out.println(chunk+" -> "+chunk.toFactorString()); } }
41
github-java-corpus
2,012
package com.chenlb.mmseg4j.lucene; import java.io.IOException; import junit.framework.TestCase; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.index.CorruptIndexException; import org.apache.lucene.ind...
610
github-java-corpus
2,012
package com.chenlb.mmseg4j; import com.chenlb.mmseg4j.CharNode.KeyTree; import junit.framework.TestCase; public class KeyTreeTest extends TestCase { protected void setUp() throws Exception { super.setUp(); } public void testMatch() { char[] w = "为什么".toCharArray(); KeyTree kt = new KeyTree()...
234
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Colle...
1,878
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.File; import junit.framework.TestCase; public class DictionaryTest extends TestCase { protected void setUp() throws Exception { super.setUp(); } private void printMemory() { Runtime rt = Runtime.getRuntime(); long total = rt.totalMemory(); long f...
490
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.IOException; import junit.framework.TestCase; import com.chenlb.mmseg4j.example.MaxWord; public class MaxWordSegTest extends TestCase { MaxWord segW; protected void setUp() throws Exception { segW = new MaxWord(); } public void testEffect() throws IO...
658
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.IOException; import java.io.StringReader; import junit.framework.TestCase; public class MMSegTest extends TestCase { protected void setUp() throws Exception { super.setUp(); } public void testNext() throws IOException { String txt = ""; txt = "京华时报...
447
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.IOException; import com.chenlb.mmseg4j.example.Simple; import junit.framework.TestCase; public class SimpleSegTest extends TestCase { Simple segW; protected void setUp() throws Exception { segW = new Simple(); } public void testEffect() throws IOExce...
530