bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void write(String s) throws IOException { this.write(s,0,s.length()); } | public void write(int b) throws IOException { this.write(s,0,s.length()); } | 1,122,281 |
public void write(String s) throws IOException { this.write(s,0,s.length()); } | public void write(String s) throws IOException { if ((_cpos + 1) > CSIZE) cflush(); _cbuf[_cpos] = (char) b; _cpos++; } | 1,122,282 |
private UIComponent getSearchPanel() { String ref = LIST_ARTICLES_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(SEARCH_PUBLISHED_FROM_ID); em.addErrorMessage(SEARCH_PUBLISHED_TO_ID); mai... | private UIComponent getSearchPanel() { String ref = LIST_ARTICLES_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(SEARCH_PUBLISHED_FROM_ID); em.addErrorMessage(SEARCH_PUBLISHED_TO_ID); mai... | 1,122,284 |
private UIComponent getViewArticlePanel() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer c = new WFContainer(); c.setStyleAttribute("padding", "10px"); c.setId(VIEW_ARTICLE_PANEL_ID); c.add(WFUtil.getTextVB(ref + "case.publishedFromDate")); c.add(new WFPlainOut... | private UIComponent getViewArticlePanel() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer c = new WFContainer(); c.setStyleAttribute("padding", "10px"); c.setId(VIEW_ARTICLE_PANEL_ID); c.add(WFUtil.getTextVB(ref + "case.publishedFromDate")); c.add(new WFPlainOut... | 1,122,285 |
public void processAction(ActionEvent event) { if (event.getComponent().getId().equals(LIST_BUTTON_ID)) { WFUtil.invoke(LIST_ARTICLES_BEAN_ID, "list"); return; } else if (event.getComponent().getId().equals(VIEW_ARTICLE_BACK_BUTTON_ID)) { WFComponentSelector cs = (WFComponentSelector) event.getComponent().find... | public void processAction(ActionEvent event) { if (event.getComponent().getId().equals(LIST_BUTTON_ID)) { WFUtil.invoke(LIST_ARTICLES_BEAN_ID, "list"); return; } else if (event.getComponent().getId().equals(VIEW_ARTICLE_BACK_BUTTON_ID)) { WFComponentSelector cs = (WFComponentSelector) event.getComponent().find... | 1,122,286 |
public void processAction(ActionEvent event) { if (event.getComponent().getId().equals(LIST_BUTTON_ID)) { WFUtil.invoke(LIST_ARTICLES_BEAN_ID, "list"); return; } else if (event.getComponent().getId().equals(VIEW_ARTICLE_BACK_BUTTON_ID)) { WFComponentSelector cs = (WFComponentSelector) event.getComponent().find... | public void processAction(ActionEvent event) { if (event.getComponent().getId().equals(LIST_BUTTON_ID)) { WFUtil.invoke(LIST_ARTICLES_BEAN_ID, "list"); return; } else if (event.getComponent().getId().equals(VIEW_ARTICLE_BACK_BUTTON_ID)) { WFComponentSelector cs = (WFComponentSelector) event.getComponent().find... | 1,122,287 |
public DisplayedDocument(Shell shell, Dispatcher dispatcher) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document document = new Document(); Note root = new Note("root", document, ""); // SashForm SashForm sashForm = new SashForm(shell, ... | public DisplayedDocument(Shell shell, Dispatcher dispatcher) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document document = new Document(); Note root = new Note("root", document, ""); // SashForm SashForm sashForm = new SashForm(shell, ... | 1,122,288 |
public DisplayedDocument(Shell shell, Dispatcher dispatcher) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document document = new Document(); Note root = new Note("root", document, ""); // SashForm SashForm sashForm = new SashForm(shell, ... | public DisplayedDocument(Shell shell, Dispatcher dispatcher) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document document = new Document(); Note root = new Note("root", document, ""); // SashForm SashForm sashForm = new SashForm(shell, ... | 1,122,289 |
public NoteTree(Composite parent, Dispatcher d) { // Tree and context menu. tree = new Tree(parent, SWT.MULTI); // Text editor for renaming tree nodes. treeEditor = new TreeEditor(tree); treeEditor.grabHorizontal = true; treeEditor.minimumWidth = 50; // Events. tree.addListener(SWT.MouseDoubleClick, new ... | public NoteTree(Composite parent, Dispatcher d) { // Tree and context menu. tree = new Tree(parent, SWT.MULTI); // Text editor for renaming tree nodes. treeEditor = new TreeEditor(tree); treeEditor.grabHorizontal = true; treeEditor.minimumWidth = 50; // Events. tree.addListener(SWT.MouseDoubleClick, new ... | 1,122,290 |
public TreeController(DisplayedDocument displayedDocument) { super(displayedDocument); } | public TreeController(DisplayedDocument displayedDocument) { super(displayedDocument); } | 1,122,293 |
public static long getUrlLastModified(URL u) { String protocol = u.getProtocol(); if (protocol.equals("file")) { // We're going to use the File mechanism instead File f = new File(u.getFile()); return f.lastModified(); } else if (protocol.equals("jar")) { // We'll ... | public static long getUrlLastModified(URL u) { String protocol = u.getProtocol(); if (protocol.equals("file")) { // We're going to use the File mechanism instead File f = new File(u.getFile()); return f.lastModified(); } else if (protocol.equals("jar")) { // We'll ... | 1,122,294 |
public static void copy(File destinationDir) throws IOException { File cssOutputDir = new File(destinationDir, "css"); File imagesOutputDir = new File(destinationDir, "images"); File jsOutputDir = new File(destinationDir, "js"); destinationDir.mkdirs(); cssOutputDir.mkdir(); imagesOutputDir.mkdir(); jsOutputDir... | public static void copy(File destinationDir) throws IOException { File cssOutputDir = new File(destinationDir, "css"); File imagesOutputDir = new File(destinationDir, "images"); File jsOutputDir = new File(destinationDir, "js"); destinationDir.mkdirs(); cssOutputDir.mkdir(); imagesOutputDir.mkdir(); jsOutputDir... | 1,122,295 |
private static Vector getListOfFiles(File file, boolean recursive) { Vector ret = new Vector(); if (file.isFile()) { ret.add(file.getAbsolutePath()); } else if (file.isDirectory()) { File[] files = file.listFiles(new FileFilter() { public boolean accept(File pathname) { r... | private static Vector getListOfFiles(File file, boolean recursive) { Vector ret = new Vector(); if (file.isFile()) { ret.add(file.getAbsolutePath()); } else if (file.isDirectory()) { File[] files = file.listFiles(new FileFilter() { public boolean accept(File pathname) { r... | 1,122,297 |
public boolean accept(File pathname) { return pathname.getAbsolutePath().endsWith(".java"); } | public boolean accept(File pathname) { return pathname.getAbsolutePath().endsWith(".java"); } | 1,122,298 |
public boolean waitForUnsatisfiedConditions(ServiceName serviceName, Set conditions) throws UnsatisfiedConditionsException { throw new UnsatisfiedConditionsException("Unsatisfied start conditions", serviceName, conditions); } | public boolean waitForUnsatisfiedConditions(ServiceName serviceName, Set conditions) throws UnsatisfiedConditionsException { throw new UnsatisfiedConditionsException("Unsatisfied stop conditions", serviceName, conditions); } | 1,122,299 |
public ForcedStopException(ServiceName serviceName, Set unsatisfiedConditions) { super("Forced stop and ignored unsatisfied conditons:" + " serviceName=" + serviceName + ", unsatisfiedConditions=" + unsatisfiedConditions); this.serviceName = serviceName; this.unsat... | public ForcedStopException(ServiceName serviceName, Set unsatisfiedConditions) { super("Forced stop and ignored unsatisfied conditons:" + " serviceName=" + serviceName + ", unsatisfiedConditions=" + unsatisfiedConditions); this.serviceName = serviceName; this.unsat... | 1,122,300 |
public UnsatisfiedConditionsException(String message, ServiceName serviceName, Set unsatisfiedConditions) { super(message + ": serviceName=" + serviceName + ": unsatisfiedConditions=" + unsatisfiedConditions); this.serviceName = serviceName; this.unsatisfiedConditions = unsatisfiedConditions; ... | public UnsatisfiedConditionsException(String message, ServiceName serviceName, Set unsatisfiedConditions) { super(message + ": serviceName=" + serviceName + ": unsatisfiedConditions=" + unsatisfiedConditions); this.serviceName = serviceName; this.unsatisfiedConditions = Collections.unmodifiable... | 1,122,301 |
public Main(String[] args) throws IOException { Copyright.print(System.out); System.out.println("Cobertura coverage check"); LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("branch", LongOpt.REQUIRED_ARGUMENT, null, 'b'); longOpts[1] = new LongOpt("line", LongOpt.REQUIRED_ARGUMENT, null, 'l')... | public Main(String[] args) throws IOException { Header.print(System.out); System.out.println("Cobertura coverage check"); LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("branch", LongOpt.REQUIRED_ARGUMENT, null, 'b'); longOpts[1] = new LongOpt("line", LongOpt.REQUIRED_ARGUMENT, null, 'l'); ... | 1,122,303 |
public SpringServiceFactory(RootBeanDefinition beanDefinition, Map objectNameMap) throws Exception { this.beanDefinition = beanDefinition; this.objectNameMap = objectNameMap; extractDependencies(beanDefinition); } | public SpringServiceFactory(RootBeanDefinition beanDefinition, Map objectNameMap) throws Exception { this.beanDefinition = beanDefinition; this.objectNameMap = objectNameMap; dependencies = SpringUtil.extractDependencies(beanDefinition, objectNameMap); } | 1,122,304 |
public Object createService(final ServiceContext serviceContext) throws Exception { Object service = null; try { ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); ServiceContext oldServiceContext = ServiceContextThreadLocal.get(); try { ... | public Object createService(final ServiceContext serviceContext) throws Exception { Object service = null; try { ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); ServiceContext oldServiceContext = ServiceContextThreadLocal.get(); try { ... | 1,122,305 |
void visitBeanDefinition(BeanDefinition beanDefinition) throws BeansException; | void visitBeanDefinition(String beanName, BeanDefinition beanDefinition, Object data) throws BeansException; | 1,122,306 |
public void visitBeanDefinition(BeanDefinition beanDefinition) throws BeansException { visitConstructorArgumentValues(beanDefinition.getConstructorArgumentValues()); visitMutablePropertyValues(beanDefinition.getPropertyValues()); } | public void visitBeanDefinition(BeanDefinition beanDefinition) throws BeansException { visitConstructorArgumentValues(beanDefinition.getConstructorArgumentValues()); visitMutablePropertyValues(beanDefinition.getPropertyValues()); } | 1,122,307 |
public void visitRuntimeBeanReference(RuntimeBeanReference beanReference) throws BeansException { } | public void visitRuntimeBeanReference(RuntimeBeanReference beanReference, Object data) throws BeansException { } | 1,122,308 |
public Collection<ChatRoom> getStaleChatRooms() { final List<ChatRoom> staleRooms = new ArrayList<ChatRoom>(); for (ChatRoom chatRoom : getChatRooms()) { long lastActivity = chatRoom.getLastActivity(); long currentTime = System.currentTimeMillis(); long diff = currentT... | public Collection<ChatRoom> getStaleChatRooms() { final List<ChatRoom> staleRooms = new ArrayList<ChatRoom>(); for (ChatRoom chatRoom : getChatRooms()) { long lastActivity = chatRoom.getLastActivity(); long currentTime = System.currentTimeMillis(); long diff = currentT... | 1,122,310 |
public void useTabDefault(final ChatRoom room) { final int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); final JLabel titleLabel = tab.getTitleLabel(); Font font = titleLabel.getFont(); titleLabel.setForeground(Color.blac... | public void useTabDefault(final ChatRoom room) { final int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); final JLabel titleLabel = tab.getTitleLabel(); titleLabel.setForeground(Color.black); Font newFont = fon... | 1,122,312 |
public void useTabDefault(final ChatRoom room) { final int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); final JLabel titleLabel = tab.getTitleLabel(); Font font = titleLabel.getFont(); titleLabel.setForeground(Color.blac... | public void useTabDefault(final ChatRoom room) { final int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); final JLabel titleLabel = tab.getTitleLabel(); Font font = titleLabel.getFont(); titleLabel.setForeground(Color.blac... | 1,122,313 |
public KernelErrorsError(List errors) { assert errors != null : "errors is null"; assert !errors.isEmpty() : "errors is empty"; assert assertAllErrors(errors); this.errors = Collections.unmodifiableList(errors); } | public KernelErrorsError(List errors) { assert errors != null : "errors is null"; assert !errors.isEmpty() : "errors is empty"; assert assertAllErrors(errors); this.errors = Collections.unmodifiableList(errors); } | 1,122,314 |
protected Java getJava() { if (java == null) { java = (Java)getProject().createTask("java"); java.setTaskName(getTaskName()); java.setClassname(getClassName()); java.setFork(true); java.setDir(getProject().getBaseDir()); /** * We replace %20 with a space character because, for some * reason, when w... | protected Java getJava() { if (java == null) { java = (Java)getProject().createTask("java"); java.setTaskName(getTaskName()); java.setClassname(getClassName()); java.setFork(true); java.setDir(getProject().getBaseDir()); /** * We replace %20 with a space character because, for some * reason, when w... | 1,122,316 |
public ComponentMap(Settings initProps) { _config = initProps; } | public ComponentMap(Settings initProps) { _config = initProps; } | 1,122,318 |
public void load(String namelist, String suffix) { load(tokenize(namelist), suffix); } | public void load(String namelist, String suffix) { load(tokenize(namelist), suffix); } | 1,122,319 |
public static void main(String arg[]) { try { EncodingCache ec = new EncodingCache("UTF8", 11, 3); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String s; while ((s = in.readLine()) != null) { s = s.intern(); Sys... | public static void main(String arg[]) { try { EncodingCache ec = new EncodingCache("UTF16-LE", 11, 3); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String s; while ((s = in.readLine()) != null) { s = s.intern(); ... | 1,122,320 |
public static void main(String arg[]) { try { EncodingCache ec = new EncodingCache("UTF8", 11, 3); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String s; while ((s = in.readLine()) != null) { s = s.intern(); Sys... | public static void main(String arg[]) { try { EncodingCache ec = new EncodingCache("UTF8", 11, 3); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String s; while ((s = in.readLine()) != null) { s = s.intern(); Sys... | 1,122,321 |
public TreeContextMenuController(DisplayedDocument displayedDocument) { super(displayedDocument); } | public TreeContextMenuController(DisplayedDocument displayedDocument) { super(displayedDocument); } | 1,122,322 |
protected Method getMethod(String methodDescriptor) { String className = getClass().getCanonicalName(); if (!methodDescriptor.startsWith(className)) return null; int separator = className.length(); try { return getClass().getMethod(methodDescriptor.substring(separator + 1), METHOD_ARGS); } catch (NoSuchMethodEx... | protected Method getMethod(String methodDescriptor) { String className = getClass().getCanonicalName(); if (!methodDescriptor.startsWith(className)) return null; int separator = className.length(); try { return getClass().getMethod(methodDescriptor.substring(separator + 1), METHOD_ARGS); } catch (NoSuchMethodEx... | 1,122,323 |
IncludeDirective(Object fileName) { _fileName = fileName; } | IncludeDirective(Macro fileName) { _fileName = fileName; } | 1,122,324 |
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | 1,122,325 |
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | 1,122,326 |
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | 1,122,327 |
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur... | 1,122,328 |
final public Object evaluate(Context context) throws InvalidContextException { Object fname = null; try { fname = (_fileName instanceof Macro) ? ((Macro) _fileName).evaluate(context) : _fileName; if (fname == null) { throw new InvalidContextException("Attempt to... | final public Object evaluate(Context context) throws InvalidContextException { Object fname = _fileName.evaluate(context); if (fname == null) { throw new InvalidContextException( "#include could not resolve filename: " + "target argument resolved to a null."); } try { fname = (_fileName inst... | 1,122,329 |
final public Object evaluate(Context context) throws InvalidContextException { Object fname = null; try { fname = (_fileName instanceof Macro) ? ((Macro) _fileName).evaluate(context) : _fileName; if (fname == null) { throw new InvalidContextException("Attempt to... | final public Object evaluate(Context context) throws InvalidContextException { Object fname = null; try { fname = (_fileName instanceof Macro) ? ((Macro) _fileName).evaluate(context) : _fileName; if (fname == null) { throw new InvalidContextException("Attempt to... | 1,122,330 |
public void commit() { LocalPreferences pref = SettingsManager.getLocalPreferences(); pref.setTimeDisplayedInChat(panel.getShowTime()); pref.setSpellCheckerEnabled(!panel.isSpellCheckerOn()); pref.setChatRoomNotifications(!panel.isGroupChatNotificationsOn()); pref.setHideChatHisto... | public void commit() { LocalPreferences pref = SettingsManager.getLocalPreferences(); pref.setTimeDisplayedInChat(panel.getShowTime()); pref.setSpellCheckerEnabled(!panel.isSpellCheckerOn()); pref.setChatRoomNotifications(!panel.isGroupChatNotificationsOn()); pref.setHideChatHisto... | 1,122,331 |
public RubyFile(IRuby runtime, String path, final Reader reader) { this(runtime, path, new InputStream() { public int read() throws IOException { return reader.read(); } }); } | public RubyFile(IRuby runtime, String path, final Reader reader) { this(runtime, path, new InputStream() { public int read() throws IOException { return reader.read(); } }); } | 1,122,332 |
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets... | public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("--destination"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i... | 1,122,333 |
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets... | public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("--ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSet... | 1,122,334 |
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets... | public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets... | 1,122,335 |
public Object get(Object key) { int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; Node last = null; Object nodeKey; synchronized (locks[hash]) { Node node = tab[hash]; while (node != null) { if (node.get() == key) { if (last != null) { ... | public Object get(Object key) { int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; Node last = null; synchronized (locks[hash]) { Node node = tab[hash]; while (node != null) { if (node.get() == key) { if (last != null) { ... | 1,122,336 |
public void put(Object key, Object value) { processQueue(); if (key == null) { return; } if (value == null) { remove(key); return; } int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; boolean found = false; synchronized (locks[hash]) {... | public void put(Object key, Object value) { processQueue(); if (key == null) { return; } if (value == null) { remove(key); return; } int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; synchronized (locks[hash]) { Node node = t... | 1,122,337 |
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo... | public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (baseDir == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directory... | 1,122,338 |
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo... | public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); baseDir = new File("."); } directory... | 1,122,339 |
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo... | public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo... | 1,122,340 |
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo... | public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo... | 1,122,341 |
protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase... | protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase... | 1,122,342 |
protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase... | protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase... | 1,122,343 |
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets... | protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets... | 1,122,344 |
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets... | protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets... | 1,122,345 |
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets... | protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets... | 1,122,346 |
public void run() { try { processDirectory(classLoader, "", directory); } catch (Exception e) { log.error("Failed to deploy services: " + e, e); } } | public void run() { try { String name = ""; if (applicationContext != null) { name = applicationContext.getDisplayName(); } processDirectory(name, classLoader, applicationContext, baseDir); } catch (Exception e) { log.error("Failed to deploy services: " + e, e); } ... | 1,122,347 |
public Wiki(String propertiesFilename) throws Exception { if (propertiesFilename == null) propertiesFilename = DEFAULT_PROPERTIES; create(propertiesFilename); _dateStarted = new Date(); } | public Wiki(String propertiesFilename) throws Exception { if (propertiesFilename == null) propertiesFilename = DEFAULT_PROPERTIES; create(propertiesFilename); _dateStarted = new Date(); } | 1,122,348 |
public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile().getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "--forma... | public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile().getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "--forma... | 1,122,349 |
public void testXMLReportWithNonSourceLines() throws Exception { ProjectData projectData = new ProjectData(); // Adding line to the project data that hasn't been yet marked as source line ClassData cd = projectData.getOrCreateClassData(XMLReport.class.getName()); cd.touch(7777); File reportDir = File.createTempF... | public void testXMLReportWithNonSourceLines() throws Exception { ProjectData projectData = new ProjectData(); // Adding line to the project data that hasn't been yet marked as source line ClassData cd = projectData.getOrCreateClassData(XMLReport.class.getName()); cd.touch(7777); File reportDir = File.createTempF... | 1,122,350 |
public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; } | public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; } | 1,122,351 |
public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; } | public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; } | 1,122,352 |
public XMLReport(Coverage coverage, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage... | public XMLReport(CoverageReport coverage, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<co... | 1,122,353 |
public boolean isInstanceOf(Object obj, String className) { try { return (obj != null && className != null) && (obj.getClass().isAssignableFrom( context.getBroker().classForName(className))); } catch (ClassNotFoundException cnfe) { context.getBroker().getLog("... | public boolean isInstanceOf(Object obj, String className) { try { return (obj != null && className != null) && (obj.getClass().isAssignableFrom( context.getBroker().classForName(className))); } catch (ClassNotFoundException cnfe) { context.getBroker().getLog("... | 1,122,354 |
private final int jjMoveStringLiteralDfa0_3(){ switch(curChar) { case 34: return jjStopAtPos(0, 24); case 35: return jjStartNfaWithStates_3(0, 23, 0); case 36: return jjStopAtPos(0, 20); case 39: return jjStopAtPos(0, 25); case 40: return jjStopAtPos(... | private final int jjMoveStringLiteralDfa0_3(){ switch(curChar) { case 34: return jjStopAtPos(0, 24); case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_3(0x4000L); case 36: return jjStopAtPos(0, 20); case 39: return jjStopAtPos(0, 25); case 40: ... | 1,122,355 |
private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x26000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | 1,122,357 |
private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | 1,122,358 |
private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | 1,122,359 |
private final int jjMoveStringLiteralDfa1_4(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(0, active0); return 1; } switch(curChar) { case 35: if ((active0 & 0x20000L) != 0L) return jjStopAtPos(1, 17); ... | private final int jjMoveStringLiteralDfa1_4(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(0, active0); return 1; } switch(curChar) { case 35: if ((active0 & 0x20000L) != 0L) return jjStopAtPos(1, 17); ... | 1,122,361 |
private final int jjMoveStringLiteralDfa2_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(1, active0); return 2; } switch(curChar) { case 101: ... | private final int jjMoveStringLiteralDfa2_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(1, active0); return 2; } switch(curChar) { case 101: ... | 1,122,363 |
private final int jjMoveStringLiteralDfa3_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(2, active0); return 3; } switch(curChar) { case 100: ... | private final int jjMoveStringLiteralDfa3_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(2, active0); return 3; } switch(curChar) { case 100: ... | 1,122,365 |
private final int jjMoveStringLiteralDfa4_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(3, active0); return 4; } switch(curChar) { case 105: ... | private final int jjMoveStringLiteralDfa4_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(3, active0); return 4; } switch(curChar) { case 105: ... | 1,122,367 |
private final int jjMoveStringLiteralDfa5_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(4, active0); return 5; } switch(curChar) { case 110: ... | private final int jjMoveStringLiteralDfa5_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(4, active0); return 5; } switch(curChar) { case 110: ... | 1,122,368 |
private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x800000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L... | private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x804000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L... | 1,122,369 |
public NoteTab(final CTabFolder parent, Listener l, DisplayedNote displayedNote) { this.displayedNote = displayedNote; tabItem = new CTabItem(parent, SWT.NONE); tabItem.setText(displayedNote.getName()); tabItem.setData(this); tabItem.addDisposeListener(this); text = new Text(parent, SWT.MULTI | SWT.WRAP); text.... | public NoteTab(final CTabFolder parent, Listener l, DisplayedNote displayedNote) { this.displayedNote = displayedNote; tabItem = new CTabItem(parent, SWT.NONE); tabItem.setText(displayedNote.getName()); tabItem.setData(this); tabItem.addDisposeListener(this); text = new Text(parent, SWT.MULTI | SWT.WRAP); text.... | 1,122,371 |
public void widgetDisposed(DisposeEvent e) { text.dispose(); displayedNote.setTab(null); } | public void widgetDisposed(DisposeEvent e) { text.dispose(); displayedNote.tabDisposed(); } | 1,122,372 |
LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | 1,122,373 |
LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | 1,122,374 |
public String getUsername() { return usernameField.getText(); } | public String getUsername() { return StringUtils.escapeNode(usernameField.getText().toLowerCase()); } | 1,122,375 |
public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | 1,122,376 |
public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | 1,122,377 |
private void dumpClasses(SourceFileData sourceFileData) { Iterator it = sourceFileData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } } | private void dumpClasses(SourceFileData sourceFileData) { Iterator it = sourceFileData.getClasses().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } } | 1,122,378 |
private void dumpLines(ClassData classData) { dumpLines(classData.getChildren()); } | private void dumpLines(ClassData classData) { dumpLines(classData.getLines()); } | 1,122,379 |
private void dumpPackages(ProjectData projectData) { println("<packages>"); increaseIndentation(); Iterator it = projectData.getChildren().iterator(); while (it.hasNext()) { dumpPackage((PackageData)it.next()); } decreaseIndentation(); println("</packages>"); } | private void dumpPackages(ProjectData projectData) { println("<packages>"); increaseIndentation(); Iterator it = projectData.getPackages().iterator(); while (it.hasNext()) { dumpPackage((PackageData)it.next()); } decreaseIndentation(); println("</packages>"); } | 1,122,380 |
private void dumpSourceFiles(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClasses((SourceFileData)it.next()); } decreaseIndentation(); println("</classes>"); } | private void dumpSourceFiles(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getSourceFiles().iterator(); while (it.hasNext()) { dumpClasses((SourceFileData)it.next()); } decreaseIndentation(); println("</classes>"); } | 1,122,381 |
public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | 1,122,383 |
public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | 1,122,384 |
public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | 1,122,385 |
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException { ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory ... | public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException { ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory ... | 1,122,386 |
public void loadGBean(org.apache.geronimo.gbean.GBeanData gbeanData, ClassLoader classLoader) throws org.apache.geronimo.kernel.GBeanAlreadyExistsException { ObjectName objectName = gbeanData.getName(); GBeanDefinition geronimoBeanDefinition = GeronimoUtil.createGeronimoBeanDefinition(gbeanData, class... | public void loadGBean(org.apache.geronimo.gbean.GBeanData gbeanData, ClassLoader classLoader) throws org.apache.geronimo.kernel.GBeanAlreadyExistsException { ObjectName objectName = gbeanData.getName(); GBeanDefinition geronimoBeanDefinition = GeronimoUtil.createGeronimoBeanDefinition(gbeanData, class... | 1,122,387 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 1,122,389 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 1,122,390 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 1,122,391 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 1,122,392 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 1,122,393 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GeronimoServiceFactory serviceFactory) { RootBeanDefinition beanDefinition = serviceFactory.getBeanDefinition(); Set persistentProperties = serviceFactory.getPersistentProperties(); // add the normal properties Set attributeInfos = new HashSet(); Property... | 1,122,394 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = beanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Proper... | 1,122,395 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 1,122,396 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 1,122,397 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.