code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.18 at 0... | DavidGutknecht/elexis-3-base | bundles/at.medevit.elexis.tarmed.model/src-gen/ch/fd/invoice440/request/CompanyType.java | Java | epl-1.0 | 5,377 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | sleshchenko/che | wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/search/server/impl/SearchResultEntry.java | Java | epl-1.0 | 1,751 |
package test;
/**
* StringÊÇ×Ö·û´®¶ÔÏóÀ࣬ÇÒÊDz»¿É±äµÄ¡£
* ËüÓÐÒ»¸öºÜÖØÒªµÄÌØÐÔ£¬¾ÍÊÇÔÚ¶¨Òå×Ö·û´®³£Á¿Ê±£¬ÓÃÁËÒ»¸ö»º³å³Ø£¡
* @author gu
*
*/
public class TestString {
public static void main(String[] args) {
String str1 = new String("abc"); //·²ÊÇnew³öÀ´µÄ¶ÔÏó¶¼ÊÇÔڶѿռäÖпª±ÙеÄÄÚ´æ
... | guhanjie/test-for-apply | src/test/TestString.java | Java | epl-1.0 | 642 |
package org.jboss.windup.graph.typedgraph;
import com.tinkerpop.blueprints.Vertex;
import com.tinkerpop.frames.Property;
import com.tinkerpop.frames.modules.javahandler.JavaHandler;
import com.tinkerpop.frames.modules.javahandler.JavaHandlerContext;
import com.tinkerpop.frames.modules.typedgraph.TypeValue;
/**
*
*... | bradsdavis/windup | graph/tests/src/test/java/org/jboss/windup/graph/typedgraph/TestFooSubModel.java | Java | epl-1.0 | 829 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | GazeboHub/ghub-portal-doc | doc/modelio/GHub Portal/mda/JavaDesigner/res/java/tomcat/java/org/apache/tomcat/util/net/SocketStatus.java | Java | epl-1.0 | 992 |
/**
* Copyright (c) 2012, 2016 Sme.UP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.smeup.s... | smeup/asup | org.smeup.sys.db.core/src/org/smeup/sys/db/core/QTableProvider.java | Java | epl-1.0 | 865 |
/*******************************************************************************
* Copyright (c) 2012-2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | codenvy/che-core | platform-api/che-core-api-dto/src/main/java/org/eclipse/che/dto/generator/DtoImpl.java | Java | epl-1.0 | 17,115 |
/**
* Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on Oct 28, 2006
... | aptana/Pydev | tests/org.python.pydev.tests/src/org/python/pydev/plugin/nature/PythonNatureStoreTest.java | Java | epl-1.0 | 5,941 |
/* ****************************************************************************
* FontInfo.java
* ****************************************************************************/
/* J_LZ_COPYRIGHT_BEGIN *******************************************************
* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserve... | mcarlson/openlaszlo | WEB-INF/lps/server/src/org/openlaszlo/compiler/FontInfo.java | Java | epl-1.0 | 8,728 |
package com.fnacmod.fnac;
//This code is copyright SoggyMustache, Link1234Gamer and Andrew_Playz
public class Reference {
public static final String MOD_ID = "fnac";
public static final String MOD_NAME = "Five Nights at Candy's Mod";
public static final String VERSION = "1.0";
public static final String CLIEN... | Link1234Gamer/Five-Nights-at-Candy-s-Mod | src/main/java/com/fnacmod/fnac/Reference.java | Java | epl-1.0 | 466 |
package uk.ac.brighton.jamss;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.sound.midi.InvalidMidiDataException;
import javax.sound.midi.MidiSystem;
import javax.sound.midi.MidiUnavailableException;
import javax.sound.m... | NickLW/JamSS | src/uk/ac/brighton/jamss/MidiPlayer.java | Java | epl-1.0 | 4,026 |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved.
* The contents of this file are made available under the terms
* of the GNU Lesser General Public License (LGPL) Version 2.1 that
* accompanies this distributi... | neelance/swt4ruby | swt4ruby/src/linux-x86_64/org/eclipse/swt/internal/gtk/GtkFixed.java | Java | epl-1.0 | 958 |
/*******************************************************************************
* Copyright (c) 2015 Whizzo Software, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availab... | whizzosoftware/hobson-hub-rules | src/test/java/com/whizzosoftware/hobson/rules/condition/PresenceArrivalConditionClassTest.java | Java | epl-1.0 | 2,537 |
package org.allmyinfo.result;
import org.eclipse.jdt.annotation.NonNull;
public final class ValidStringResult implements StringResult
{
private final String value;
public ValidStringResult(final @NonNull String value)
{
this.value = value;
}
@Override
public boolean isPresent()
{
return true;
}
@Overr... | sschafer/atomic | org.allmyinfo.result/src/org/allmyinfo/result/ValidStringResult.java | Java | epl-1.0 | 432 |
/*******************************************************************************
* Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com>
* Copyright (C) 2006, Shawn O. Pearce <spearce@spearce.org>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms o... | spearce/egit | org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java | Java | epl-1.0 | 6,918 |
/*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SEARCH Group, Incorporated - initial API and implementation
*
*/
... | info-sharing-environment/NIEM-Modeling-Tool | plugins/org.search.niem.uml.ui.acceptance_tests/src/test/java/org/search/niem/uml/ui/acceptance_tests/UIUtils.java | Java | epl-1.0 | 2,407 |
/**
* Copyright (c) 2015 Bosch Software Innovations GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
... | stormc/hawkbit | hawkbit-repository/hawkbit-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/TargetManagementSearchTest.java | Java | epl-1.0 | 41,642 |
/**
* Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités,
Univ. Paris 06 - CNRS UMR 7606 (LIP6)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is av... | lhillah/pnmlframework | pnmlFw-SNNet/src/fr/lip6/move/pnml/symmetricnet/dots/impl/DotImpl.java | Java | epl-1.0 | 6,595 |
/* COPYRIGHT-ENEA-SRC-R2 *
**************************************************************************
* Copyright (C) 2005-2007 by Enea Software AB.
* All rights reserved.
*
* This Software is furnished under a software license agreement and
* may be used only in accordance with the terms of such agreement.
* An... | debabratahazra/OptimaLA | Optima/com.ose.cdt.launch/src/com/ose/cdt/launch/internal/DebugActionDelegate.java | Java | epl-1.0 | 7,388 |
/**
*
*/
package com.eclipsesource.gerrit.plugins.fileattachment.api.entities;
/**
* Represents an JSON entity that is passed between the client and the server.
* This is the base interface that should be used for all JSON entities.
*
* @author Florian Zoubek
*
*/
public interface JsonEntity {
}
| theArchonius/gerrit-attachments | src/main/java/com/eclipsesource/gerrit/plugins/fileattachment/api/entities/JsonEntity.java | Java | epl-1.0 | 308 |
package org.jboss.windup.config.iteration;
import java.nio.file.Path;
import javax.inject.Inject;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.forge.arquillian.AddonDependency;
import org.jboss.forge.arquillian.AddonDependencies;
import org... | lincolnthree/windup | config/tests/src/test/java/org/jboss/windup/config/iteration/RuleIterationOverDefaultListVariableTest.java | Java | epl-1.0 | 6,208 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | sleshchenko/che | plugins/plugin-debugger/che-plugin-debugger-ide/src/main/java/org/eclipse/che/plugin/debugger/ide/configuration/DebugConfigurationsGroup.java | Java | epl-1.0 | 2,088 |
/**
* Copyright (c) 2016-2019 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | cschwer/com.zsmartsystems.zigbee | com.zsmartsystems.zigbee.console.ember/src/main/java/com/zsmartsystems/zigbee/console/ember/EmberConsoleNcpValueCommand.java | Java | epl-1.0 | 4,666 |
/*******************************************************************************
* <copyright> Copyright (c) 2014 - 2021 Bauhaus Luftfahrt e.V.. All rights reserved. This program and the accompanying
* materials are made available under the terms of the GNU General Public License v3.0 which accompanies this distribut... | BauhausLuftfahrt/PAXelerate | com.paxelerate.execution/src/com/paxelerate/execution/actions/ExportResultsAction.java | Java | epl-1.0 | 2,961 |
/*******************************************************************************
* Copyright (c) 2014 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available a... | gorindn/ice | src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/MeshComponent.java | Java | epl-1.0 | 13,129 |
package org.eclipse.jet.compiled;
import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;
public class _jet_Erroresql_0 implements JET2Template {
private static final String ... | ot4i/service-facade-mq-request-response-pattern | src/com.ibm.etools.mft.pattern.sen/jet2java/org/eclipse/jet/compiled/_jet_Erroresql_0.java | Java | epl-1.0 | 18,882 |
/*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | qqbbyq/controller | opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/SnapshotManagerTest.java | Java | epl-1.0 | 27,087 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/model/dataobject/SDODataObjectGetDataObjectConversionTest.java | Java | epl-1.0 | 5,453 |
package org.bitspilani.pearl;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;
public class TillDeaf extends Activity {
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
g... | kostajaitachi/Pearl-14 | Pearl'14/src/org/bitspilani/pearl/TillDeaf.java | Java | epl-1.0 | 623 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | utils/eclipselink.utils.workbench/utility/source/org/eclipse/persistence/tools/workbench/utility/events/AWTChangeNotifier.java | Java | epl-1.0 | 8,323 |
package com.odcgroup.mdf.integration;
import org.osgi.framework.BundleContext;
import com.odcgroup.workbench.core.AbstractActivator;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractActivator {
// The plug-in ID
public static final String PLUGIN_ID = "com.odcgr... | debabratahazra/DS | designstudio/components/domain/core/com.odcgroup.mdf.integration/src/main/java/com/odcgroup/mdf/integration/Activator.java | Java | epl-1.0 | 1,113 |
/**
* Copyright (c) 2011 - 2015, Lunifera GmbH (Gross Enzersdorf), Loetz KG (Heidelberg)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/leg... | lunifera/lunifera-ecview | org.lunifera.ecview.core.extension.editparts/src/org/lunifera/ecview/core/ui/core/editparts/extension/IEnumOptionsGroupEditpart.java | Java | epl-1.0 | 653 |
/**
*/
package com.tocea.codewatch.architecture;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Method</b></em>'.
* <!-- end-user-doc -->
*
*
* @see com.tocea.codewatch.architecture.ArchitecturePackage#getMethod()
* @model
* @generated
*/
public interface Method extends Analyse... | Tocea/Architecture-Designer | com.tocea.scertify.architecture.mm/src/com/tocea/codewatch/architecture/Method.java | Java | epl-1.0 | 343 |
package fmautorepair.mutationoperators.features;
import org.apache.log4j.Logger;
import de.ovgu.featureide.fm.core.Feature;
import de.ovgu.featureide.fm.core.FeatureModel;
import fmautorepair.mutationoperators.FMMutator;
/** transform And to or */
public class AndToOr extends FeatureMutator {
private static Logger... | fmselab/fmautorepair | fmautorepair.mutation/src/fmautorepair/mutationoperators/features/AndToOr.java | Java | epl-1.0 | 883 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.obeonetwork.dsl.east_adl.structure.functional_analysis_architecture.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
im... | ObeoNetwork/EAST-ADL-Designer | plugins/org.obeonetwork.dsl.eastadl/src/org/obeonetwork/dsl/east_adl/structure/functional_analysis_architecture/impl/FunctionalAnalysisArchitectureImpl.java | Java | epl-1.0 | 25,068 |
/**
* Copyright (c) 2016-2017 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | zsmartsystems/com.zsmartsystems.zwave | com.zsmartsystems.zwave/src/main/java/com/zsmartsystems/zwave/commandclass/impl/CommandClassHumidityControlSetpointV1.java | Java | epl-1.0 | 39,425 |
/*******************************************************************************
* Copyright 2009 Regents of the University of Minnesota. All rights
* reserved.
* Copyright 2009 Mayo Foundation for Medical Education and Research.
* All rights reserved.
*
* This program is made available under the terms of the Ecl... | jmchilton/TINT | projects/TropixStorageCore/src/api/edu/umn/msi/tropix/storage/core/StorageManager.java | Java | epl-1.0 | 2,764 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | utils/eclipselink.utils.workbench/mappingsmodel/source/org/eclipse/persistence/tools/workbench/mappingsmodel/handles/MWAttributeHandle.java | Java | epl-1.0 | 5,578 |
/*******************************************************************************
* Copyright (c) 2014 Bruno Medeiros and other Contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | happyspace/goclipse | plugin_ide.ui/src-lang/melnorme/util/swt/components/fields/SpinnerNumberField.java | Java | epl-1.0 | 2,850 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package ucm.map;
import core.COREModel;
import org.eclipse.emf.common.util.EList;
import urncore.IURNDiagram;
import urncore.UCMmodelElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>UC Mmap</b></em>'.
* <!-- end-user-doc -->
*... | gmussbacher/seg.jUCMNav | src/ucm/map/UCMmap.java | Java | epl-1.0 | 2,263 |
/**
*
*/
package com.eclipsesource.gerrit.plugins.fileattachment.api.test.converter;
import java.util.ArrayList;
import java.util.List;
import org.hamcrest.CoreMatchers;
import org.junit.Assert;
import org.junit.Test;
import com.eclipsesource.gerrit.plugins.fileattachment.api.AttachmentTarget;
import com.eclipses... | theArchonius/gerrit-attachments | src/test/java/com/eclipsesource/gerrit/plugins/fileattachment/api/test/converter/BaseAttachmentTargetResponseEntityReaderTest.java | Java | epl-1.0 | 12,234 |
/*******************************************************************************
* Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBFromXSDTestCases.java | Java | epl-1.0 | 51,899 |
/*
* $Id$
*
* Copyright (c) 2004-2005 by the TeXlapse Team.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package... | rondiplomatico/texlipse | source/net/sourceforge/texlipse/properties/BibColoringPreferencePage.java | Java | epl-1.0 | 2,392 |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/Helper.java | Java | epl-1.0 | 92,748 |
package com.odcgroup.page.model.widgets.matrix.impl;
import com.odcgroup.page.metamodel.MetaModel;
import com.odcgroup.page.metamodel.WidgetLibrary;
import com.odcgroup.page.metamodel.WidgetTemplate;
import com.odcgroup.page.metamodel.util.MetaModelRegistry;
import com.odcgroup.page.model.Widget;
import com.odcgroup.p... | debabratahazra/DS | designstudio/components/page/core/com.odcgroup.page.model/src/main/java/com/odcgroup/page/model/widgets/matrix/impl/MatrixFactory.java | Java | epl-1.0 | 5,946 |
package com.odcgroup.t24.enquiry.editor.part;
import org.eclipse.draw2d.IFigure;
import org.eclipse.gef.EditPolicy;
import com.google.common.base.Joiner;
import com.odcgroup.t24.enquiry.editor.policy.EnquiryEditorComponentEditPolicy;
import com.odcgroup.t24.enquiry.enquiry.SelectionCriteria;
import com.odcgroup.t24.e... | debabratahazra/DS | designstudio/components/t24/ui/com.odcgroup.t24.enquiry.editor/src/main/java/com/odcgroup/t24/enquiry/editor/part/SelectionCriteriaEditPart.java | Java | epl-1.0 | 1,040 |
package de.simonscholz.junit4converter.converters;
import org.eclipse.jdt.core.dom.AST;
import org.eclipse.jdt.core.dom.MethodDeclaration;
import org.eclipse.jdt.core.dom.SimpleType;
import org.eclipse.jdt.core.dom.Type;
import org.eclipse.jdt.core.dom.TypeDeclaration;
import org.eclipse.jdt.core.dom.rewrite.AS... | WtfJoke/codemodify | de.simonscholz.codemodify/src/de/simonscholz/junit4converter/converters/StandardModuleTestCaseConverter.java | Java | epl-1.0 | 2,841 |
/**
* Copyright (c) 2014 Kay Erik Münch.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.spdx.org/licenses/EPL-1.0
*
* Contributors:
* Kay Erik ... | KayErikMuench/reqiftools | reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/types/complex/EnumeratedAttributeValue.java | Java | epl-1.0 | 1,520 |
/*
* Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package or... | opendaylight/controller | opendaylight/md-sal/samples/clustering-test-app/karaf-cli/src/main/java/org/opendaylight/clustering/it/karaf/cli/odl/mdsal/lowlevel/control/IsClientAbortedCommand.java | Java | epl-1.0 | 1,563 |
/*******************************************************************************
* Copyright (c) 2010, 2012 Tasktop Technologies
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... | Tasktop/code2cloud.server | com.tasktop.c2c.server/com.tasktop.c2c.server.developer.support/src/main/java/com/tasktop/c2c/server/developer/support/LocalServicesWebRunner.java | Java | epl-1.0 | 2,350 |
/*
* Renjin : JVM-based interpreter for the R language for the statistical analysis
* Copyright © 2010-2019 BeDataDriven Groep B.V. and contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... | bedatadriven/renjin | core/src/main/java/org/renjin/compiler/ir/tac/functions/ClosureDefinitionTranslator.java | Java | gpl-2.0 | 1,957 |
/*
* Copyright (c) 1998-2008 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | moriyoshi/quercus-gae | src/main/java/com/caucho/quercus/lib/gettext/expr/MulExpr.java | Java | gpl-2.0 | 1,273 |
//Auto generated file
//Do not edit this file
package org.sisiya.ui.standart;
import org.sql2o.Connection;
import org.sql2o.Query;
import java.util.List;
import org.sisiya.ui.Application;
import java.util.Date;
public class System_service_alert extends Model{
//Fields
protected int id;
protected int... | erdalmutlu1/sisiya2 | ui/web/src/main/java/org/sisiya/ui/standart/System_service_alert.java | Java | gpl-2.0 | 8,129 |
package owuor.f8th.adapters;
import java.util.List;
import owuor.f8th.R;
import owuor.f8th.ContentProvider.F8thContentProvider;
import owuor.f8th.database.NotificationsTable;
import owuor.f8th.types.F8th;
import owuor.f8th.types.Notification;
import android.content.Context;
import android.graphics.Color;
import andro... | owuorJnr/f8th | src/owuor/f8th/adapters/NotificationAdapter.java | Java | gpl-2.0 | 2,832 |
package org.xiaotian.config;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.log4j.Logger;
import org.xiaotian.config.bean.ConfigFile;
import org.xiaotian.config.bean.ConfigFiles;
import org.xiaotian.extend.CMyFile;
/**
* 按照指定方式(配置文件plugin和mapping.xml在同一目录)读写... | xiaotian15/meister | meister-config-server/src/main/java/org/xiaotian/config/ConfigFilesFinder.java | Java | gpl-2.0 | 4,912 |
package com.shinydev.wrappers;
import au.com.bytecode.opencsv.CSVReader;
import com.shinydev.justcoin.model.JustcoinTransaction;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.FileReader;
import java.io.IOException;
import java... | nakedpony/justcoin-ripple-checker | src/main/java/com/shinydev/wrappers/JustcoinWrapper.java | Java | gpl-2.0 | 2,350 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | CleverCloud/Quercus | resin/src/main/java/com/caucho/env/thread/ThreadTask.java | Java | gpl-2.0 | 2,251 |
/*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/gui/views/menus/ApplicationMenuBar.java | Java | gpl-2.0 | 3,100 |
/*
* Copyright 2006-2016 The MZmine 3 Development Team
*
* This file is part of MZmine 3.
*
* MZmine 3 is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at your opti... | DrewG/mzmine3 | src/main/java/io/github/mzmine/modules/featuretable/renderers/RtRenderer.java | Java | gpl-2.0 | 1,988 |
// **********************************************************************
//
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | joshmoore/zeroc-ice | java/src/IceInternal/OutgoingConnectionFactory.java | Java | gpl-2.0 | 37,163 |
/**
* Exception class for illegal phone number format strings.
* @author Jonathan Hinkle
*/
package net.sf.memoranda;
/**
* This class is thrown when a string is not a valid phone number format.
*
* @author Jonathan Hinkle
*
*/
@SuppressWarnings("serial")
public class IllegalPhoneNumberException extends Ille... | cst316/spring16project-Team-Chicago | src/net/sf/memoranda/IllegalPhoneNumberException.java | Java | gpl-2.0 | 614 |
import org.checkerframework.checker.nullness.qual.*;
import org.checkerframework.dataflow.qual.Pure;
class Node {
int id;
@Nullable Node next;
Node(int id, @Nullable Node next) {
this.id = id;
this.next = next;
}
}
class SubEnumerate {
protected @Nullable Node current;
public... | Jianchu/checker-framework | checker/tests/nullness/EnsuresNonNullIfInheritedTest.java | Java | gpl-2.0 | 934 |
/*
* Copyright (C) 2013-2016 Parallel and Reconfigurable Computing Group, University of Auckland.
*
* Authors: <http://homepages.engineering.auckland.ac.nz/~parallel/ParallelIT/People.html>
*
* This file is part of Pyjama, a Java implementation of OpenMP-like directive-based
* parallelisation compiler and its r... | ParallelAndReconfigurableComputing/Pyjama | src/pj/pr/task/VirtualTarget.java | Java | gpl-2.0 | 1,193 |
/**
* <p>Title: ClipboardListener.java</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: NASA Ames Research Center</p>
* @author Ronald Mak & Luca Severini <lucaseverini@mac.com>
* @version 2.0
*/
package rope1401;
import java.awt.*;
import java.awt.datatransfer.*;
public cla... | lucaseverini/ROPE | src/rope1401/ClipboardListener.java | Java | gpl-2.0 | 1,713 |
package com.lgvalle.beaufitulphotos.fivehundredpxs.model;
import com.lgvalle.beaufitulphotos.R;
/**
* Created by luis.gonzalez on 23/07/14.
* Enum to represent service features
*/
public enum Feature {
Popular("popular", R.string.feature_popular),
HighestRated("highest_rated", R.string.feature_highest_rated);
... | lgvalle/Beautiful-Photos | app/src/main/java/com/lgvalle/beaufitulphotos/fivehundredpxs/model/Feature.java | Java | gpl-2.0 | 553 |
/**
* Copyright (C) 2007-2016 52North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with ... | 52North/triturus | src/main/java/org/n52/v3d/triturus/gisimplm/GmSimpleElevationGrid.java | Java | gpl-2.0 | 17,502 |
package spiridon.carorder.caritems;
public class AlloyRimsCarItem extends CarItem {
@Override
public double getPrice() {
return 100;
}
@Override
public String getName() {
// TODO Auto-generated method stub
return "Jante Aliaj";
}
}
| sorelmitra/edu | carorder/src/spiridon/carorder/caritems/AlloyRimsCarItem.java | Java | gpl-2.0 | 248 |
/**
*
*/
package edu.ku.brc.specify.tools.export;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import ... | specify/specify6 | src/edu/ku/brc/specify/tools/export/CmdAppBase.java | Java | gpl-2.0 | 13,017 |
/*******************************************************************************
JimmLangFileTool - Simple Java GUI for editing/comparing Jimm language files
Copyright (C) 2005 Jimm Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
a... | fin-nick/fj | util/jlft2/src/jimmLangFileTool/LGFileSubset.java | Java | gpl-2.0 | 2,216 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | xstory61/server | src/server/expeditions/MapleExpeditionType.java | Java | gpl-2.0 | 2,190 |
package com.byhealth.wechat.mysdk.process.in.executor;
import com.byhealth.wechat.base.admin.entity.RespMsgActionEntity;
import com.byhealth.wechat.config.MsgTemplateConstants;
import com.byhealth.wechat.mysdk.constants.WechatReqMsgtypeConstants;
import com.byhealth.wechat.mysdk.context.WechatContext;
import com.byhea... | huangyaoming/wxtest | src/com/byhealth/wechat/mysdk/process/in/executor/InWechatTextMsgExecutor.java | Java | gpl-2.0 | 1,776 |
/*
* #%L
* VisBio application for visualization of multidimensional biological
* image data.
* %%
* Copyright (C) 2002 - 2014 Board of Regents of the University of
* Wisconsin-Madison.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | uw-loci/visbio | src/main/java/loci/visbio/VisBio.java | Java | gpl-2.0 | 4,536 |
/******************************************************************************
* Copyright (C) 2011 Kenos Assessoria e Consultoria de Sistemas Ltda *
* Copyright (C) 2011 Ricardo Santana *
* This program is free software; you can redistribute it and/or modify it ... | arthurmelo88/palmetalADP | palmetal_to_lbrk/base/src/org/adempierelbr/model/MLBRTaxConfigProduct.java | Java | gpl-2.0 | 2,274 |
/*
* TODO: license
*/
package ca.mbabic.headphonecontroller.statemachine;
import java.lang.Thread.State;
import java.util.concurrent.Semaphore;
import android.util.Log;
import ca.mbabic.headphonecontroller.services.MediaButtonListenerService;
/**
* State machine keeping track of the state of the but... | mbabic/HeadphoneController | src/ca/mbabic/headphonecontroller/statemachine/HCStateMachine.java | Java | gpl-2.0 | 4,900 |
/*
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | mcberg2016/graal-core | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java | Java | gpl-2.0 | 7,960 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest12371.java | Java | gpl-2.0 | 3,211 |
package layout;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import swing.Sample;
@SuppressWarnings("serial")
public ... | guodongxiaren/JFC | src/layout/SignUpPanel.java | Java | gpl-2.0 | 1,277 |
package com.rarnu.tools.neo.activity;
import android.Manifest;
import android.app.AlertDialog;
import android.app.Fragment;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import com.rarnu.tools.neo.R;
import com.rarnu.tools.neo.api.NativeAPI;
import com.rarnu.tools.neo.bas... | baijian/root-tools | RootTools2/src/main/java/com/rarnu/tools/neo/activity/MainActivity.java | Java | gpl-2.0 | 3,185 |
package xzd.mobile.android.common;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
imp... | zhanglei920802/ypgl | src/xzd/mobile/android/common/ImageUtils.java | Java | gpl-2.0 | 18,019 |
package org.uppermodel.translog;
import java.util.LinkedList;
import java.util.List;
import org.uppermodel.translog.v0v1v0.Event;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import ... | DanielCoutoVale/TranslogToolset | src/org/uppermodel/translog/TranslogDocument_0_1_0.java | Java | gpl-2.0 | 4,381 |
package com.catglo.dashplaygroundfree;
import java.util.LinkedList;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.gr... | marchold/DashAndDittosPlayground | PlaygroundFree/src/com/catglo/dashplaygroundfree/MenuExecutor.java | Java | gpl-2.0 | 973 |
package org.rosuda.deducer.widgets.event;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
public class RKeyListener extends RListener implements KeyListener{
public void keyPressed(KeyEvent arg0) {
eventOccured(arg0,"keyPressed");
}
public void keyReleased(KeyEvent arg0) {
eventOccured(arg... | ifellows/Deducer | org/org/rosuda/deducer/widgets/event/RKeyListener.java | Java | gpl-2.0 | 420 |
package org.apache.xmlrpc;
public interface SessionHandler {
void checkSession(Integer SessionId, Integer UserId) throws InvalidSessionException;
}
| BayCEER/bayeos-xmlrpc | src/main/java/org/apache/xmlrpc/SessionHandler.java | Java | gpl-2.0 | 156 |
package jpelc.learning.designpatterns.factorymethod;
public enum WeaponType {
SHORT_SWORD("short sword"), SPEAR("spear"), AXE("axe"), UNDEFINED("");
private String title;
WeaponType(String title) {
this.title = title;
}
@Override
public String toString() {
return title;
... | jpelc/java-design-patterns | factory-method/src/main/java/jpelc/learning/designpatterns/factorymethod/WeaponType.java | Java | gpl-2.0 | 324 |
package org.anarres.qemu.qapi.api;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java... | shevek/qemu-java | qemu-qapi/src/main/java/org/anarres/qemu/qapi/api/NFSServer.java | Java | gpl-2.0 | 1,832 |
package freenet.node;
import java.util.List;
import java.util.Vector;
import freenet.io.comm.Peer;
public interface PacketFormat {
boolean handleReceivedPacket(byte[] buf, int offset, int length, long now, Peer replyTo);
/**
* Maybe send something. A SINGLE PACKET. Don't send everything at once, for two reason... | wnoisephx/fred-official | src/freenet/node/PacketFormat.java | Java | gpl-2.0 | 1,733 |
package fr.inria.contraintes.biocham.modelData;
import fr.inria.contraintes.biocham.BiochamDynamicTree;
import fr.inria.contraintes.biocham.BiochamMainFrame;
import fr.inria.contraintes.biocham.BiochamModel;
import fr.inria.contraintes.biocham.BiochamModelElement;
import fr.inria.contraintes.biocham.WorkbenchArea;
imp... | Thomashuet/Biocham | gui/modelData/ParamTableRules.java | Java | gpl-2.0 | 32,668 |
package drawing;
import math.VectorMath;
/**
*
* @author Mark Traquair - Started in 2013/14
*/
public class Collision {
VectorMath math = new VectorMath();
private boolean doTheMath(Point point1, Point point2){
//This is the dot product of point 2 - point1
return ((poi... | WorldsBestCoder/PlanetSimulation | src/drawing/Collision.java | Java | gpl-2.0 | 3,059 |
package ch.hgdev.toposuite.transfer;
import android.content.Context;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* Interface implementing the Strategy design pattern in order to provide an
* easy way to save an object into a file.
*
* @author HGdev
*/
public interface S... | hgdev-ch/toposuite-android | app/src/main/java/ch/hgdev/toposuite/transfer/SaveStrategy.java | Java | gpl-2.0 | 1,754 |
/*
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | mohlerm/hotspot_cached_profiles | test/gc/g1/TestG1TraceEagerReclaimHumongousObjects.java | Java | gpl-2.0 | 3,815 |
/**
* Copyright (C) 2012-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | ahuarte47/SOS | core/api/src/main/java/org/n52/sos/service/operator/ServiceOperatorRepository.java | Java | gpl-2.0 | 6,805 |
package gerhard2202.culinaromancy.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.MobEffects;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.world.World;
import java.util.Random;
public class ItemGourmetChicken extends ItemCulinaro... | gerhard2202/Culinaromancy | src/main/java/gerhard2202/culinaromancy/item/ItemGourmetChicken.java | Java | gpl-2.0 | 856 |
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/service/base/inscription_criteria_lkpLocalServiceClpInvoker.java | Java | gpl-2.0 | 9,411 |
package demos.nehe.lesson27;
import demos.common.GLDisplay;
import demos.common.LessonNativeLoader;
/**
* @author Abdul Bezrati
*/
public class Lesson27 extends LessonNativeLoader {
public static void main(String[] args) {
GLDisplay neheGLDisplay = GLDisplay
.createGLDisplay("Lesson 27: Shadows");... | Jotschi/jogl2-example | src/main/java/demos/nehe/lesson27/Lesson27.java | Java | gpl-2.0 | 562 |
/*
* RAFTools - Copyright (C) 2016 Zane van Iperen.
* Contact: zane@zanevaniperen.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2, and only
* version 2 as published by the Free Software Foundation.
*
* This... | vs49688/RAFTools | src/main/java/net/vs49688/rafview/cli/commands/RamInfo.java | Java | gpl-2.0 | 1,855 |
package kawigi.cmd;
import kawigi.properties.*;
import kawigi.widget.*;
import kawigi.editor.*;
import javax.swing.*;
import java.awt.event.*;
/**
* Action implementation for setting actions.
*
* This class really serves two purposes. The first is to implement actions
* that are related to settings but... | vexorian/kawigi-edit | kawigi/cmd/SettingAction.java | Java | gpl-2.0 | 4,485 |
package com.vk.libs.appcommontest.gankio.mvp.data.requestbody;
/**
* Created by VK on 2017/2/8.<br/>
* - 登录
*/
public class LoginInfoReqParam {
/*
URL: /user/login.action
param:
{
account: ‘admin’,
password: ‘admin123’
}
*/
// {"j_mobile_mid":"864895022552002","j_pic_code":... | VK2012/AppCommonFrame | app/src/main/java/com/vk/libs/appcommontest/gankio/mvp/data/requestbody/LoginInfoReqParam.java | Java | gpl-2.0 | 2,960 |
package com.tincent.demo.adapter;
import java.util.ArrayList;
import java.util.List;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.assist.FailReason;
import com.nostra13.universalimageloader.c... | tincent/libtincent | appdemo/src/com/tincent/demo/adapter/AdBannerAdapter.java | Java | gpl-2.0 | 4,595 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | christianchristensen/resin | modules/webbeans/src/javax/enterprise/inject/spi/ProcessManagedBean.java | Java | gpl-2.0 | 1,495 |
package de.tkprog.MiSeLoR;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util... | TKPROG/MiSeLoR | src/de/tkprog/MiSeLoR/MiSeLoR.java | Java | gpl-2.0 | 5,164 |