repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
rhusar/JGroups | src/org/jgroups/blocks/ReplCache.java | 27762 | package org.jgroups.blocks;
import org.jgroups.*;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.ManagedOperation;
import org.jgroups.logging.Log;
import org.jgroups.logging.LogFactory;
import org.jgroups.util.*;
import java.io.*;
import java.lang.reflect.Method;
import java.util.*;
i... | apache-2.0 |
fertroya/openas2 | src/main/java/org/openas2/processor/sender/AsynchMDNSenderModule.java | 6171 | package org.openas2.processor.sender;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import javax.mail.Header;
import org.apache.commons.logging.Log;
imp... | bsd-2-clause |
jason-p-pickering/chailmis-android | app/src/test/java/org/clintonhealthaccess/lmis/app/services/CategoryServiceTest.java | 3648 | /*
* Copyright (c) 2014, ThoughtWorks
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of con... | bsd-2-clause |
Galigeo/mapfish-print | core/src/test/java/org/mapfish/print/processor/map/scalebar/ScalebarGraphicTest.java | 8084 | package org.mapfish.print.processor.map.scalebar;
import static org.junit.Assert.assertEquals;
import java.awt.Dimension;
import java.io.File;
import java.net.URI;
import org.geotools.referencing.CRS;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
impor... | bsd-2-clause |
DarkStorm652/Minecraft-GUI-API | src/org/darkstorm/minecraft/gui/listener/SliderListener.java | 220 | package org.darkstorm.minecraft.gui.listener;
import org.darkstorm.minecraft.gui.component.Slider;
public interface SliderListener extends ComponentListener {
public void onSliderValueChanged(Slider slider);
}
| bsd-2-clause |
NCIP/cadsr-semantic-tools | software/SIW/src/java/gov/nih/nci/ncicb/cadsr/loader/ui/ModeSelectionPanelDescriptor.java | 4065 | /*
* Copyright 2000-2003 Oracle, Inc. This software was developed in conjunction with the National Cancer Institute, and so to the extent government employees are co-authors, any rights in such works shall be subject to Title 17 of the United States Code, section 105.
*
Redistribution and use in source and binar... | bsd-3-clause |
ravikumar10/genyris | src/org/genyris/core/Pair.java | 7449 | // Copyright 2008 Peter William Birch <birchb@genyis.org>
//
// This software may be used and distributed according to the terms
// of the Genyris License, in the file "LICENSE", incorporated herein by reference.
//
package org.genyris.core;
import java.io.StringWriter;
import org.genyris.exception.AccessException;
im... | bsd-3-clause |
ksclarke/basex | basex-tests/src/test/java/org/basex/qt3ts/op/OpSubtractDates.java | 24691 | package org.basex.qt3ts.op;
import org.basex.tests.bxapi.*;
import org.basex.tests.qt3ts.*;
/**
* Tests for the subtract-dates() function.
*
* @author BaseX Team 2005-15, BSD License
* @author Leo Woerteler
*/
@SuppressWarnings("all")
public class OpSubtractDates extends QT3TestSet {
/**
*
* **********... | bsd-3-clause |
dushmis/Oracle-Cloud | PaaS-SaaS_HealthCareApp/DoctorPatientCRMExtension/HealthCare/HealthCareWSProxyClient/src/com/oracle/ptsdemo/healthcare/wsclient/osc/opty/generated/GetOpportunityResponse.java | 1582 |
package com.oracle.ptsdemo.healthcare.wsclient.osc.opty.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java ... | bsd-3-clause |
ksthesis/gatk | src/test/java/org/broadinstitute/hellbender/utils/activityprofile/ActivityProfileUnitTest.java | 24058 | package org.broadinstitute.hellbender.utils.activityprofile;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.samtools.reference.ReferenceSequenceFile;
import org.broadinstitute.hellbender.engine.AssemblyRegion;
import org.broadinstitute.hellbender.utils.*;
import org.broadinstitute.hellbender.utils.fasta.CachingIn... | bsd-3-clause |
TreeBASE/treebasetest | treebase-core/src/test/java/org/cipres/treebase/dao/study/PackageTestSuite.java | 1251 | package org.cipres.treebase.dao.study;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* The class <code>PackageTestSuite</code> builds a suite that can be used to run all of the tests
* within its package as well as within any subpackages of its package.
*
* @generatedBy CodePro at 1... | bsd-3-clause |
rahulmutt/ghcvm | rts/src/main/java/eta/runtime/apply/Function5.java | 510 | package eta.runtime.apply;
import eta.runtime.stg.Closure;
import eta.runtime.stg.StgContext;
public class Function5 extends Function {
public int arity() { return 5; }
@Override
public Closure apply6(StgContext context, Closure p1, Closure p2, Closure p3, Closure p4, Closure p5, Closure p6) {
bo... | bsd-3-clause |
ctsidev/SecureWise | wise/src/edu/ucla/wise/commons/WiseConstants.java | 2788 | /**
* Copyright (c) 2014, Regents of the University of California
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice... | bsd-3-clause |
dushmis/Oracle-Cloud | PaaS_SaaS_Accelerator_RESTFulFacade/XJC_Beans/src/com/oracle/xmlns/apps/crmcommon/interactions/interactionservice/types/ProcessInteractionAssociation.java | 4291 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 20... | bsd-3-clause |
Team597/FRC-2014-StartLifter-Code | src/edu/team597/support/CheesyVisionServer.java | 4666 | package edu.team597.support;
/**
* @author Tom Bottiglieri
* Team 254, The Cheesy Poofs
*/
import edu.wpi.first.wpilibj.Timer;
import java.io.IOException;
import java.io.InputStream;
import java.util.Vector;
import javax.microedition.io.Connector;
import javax.microedition.io.ServerSocketConnection;
import javax.m... | bsd-3-clause |
mou4e/zirconium | testing/android/junit/java/src/org/chromium/testing/local/JunitTestMain.java | 3775 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.testing.local;
import org.junit.runner.JUnitCore;
import org.junit.runner.Request;
import org.junit.runner.RunWith;
import java.io.... | bsd-3-clause |
dushmis/Oracle-Cloud | PaaS-SaaS_HealthCareApp/DoctorPatientCRMExtension/HealthCare/HealthCareWSProxyClient/src/com/oracle/ptsdemo/healthcare/wsclient/osc/salesparty/generated/CreateOrganizationPartyAsync.java | 1729 |
package com.oracle.ptsdemo.healthcare.wsclient.osc.salesparty.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p... | bsd-3-clause |
cameronbraid/rox | src/main/java/com/flat502/rox/server/SSLSessionPolicy.java | 1296 | package com.flat502.rox.server;
import java.nio.channels.SocketChannel;
import com.flat502.rox.processing.SSLSession;
/**
* A very simple accept policy interface.
* <p>
* An instance of this interface may be associated with an instance
* of {@link com.flat502.rox.server.HttpRpcServer}. After a new SSL ... | bsd-3-clause |
msf-oca-his/dhis-core | dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java | 35862 | package org.hisp.dhis.reporttable;
/*
* Copyright (c) 2004-2018, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the ... | bsd-3-clause |
LWJGL-CI/lwjgl3 | modules/lwjgl/opus/src/generated/java/org/lwjgl/util/opus/OpusFileCallbacks.java | 14770 | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.opus;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.... | bsd-3-clause |
octoblu/alljoyn | alljoyn/alljoyn_java/src/org/alljoyn/bus/ifaces/Properties.java | 3060 | /*
* Copyright (c) 2009-2011, 2014 AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE S... | isc |
selvasingh/azure-sdk-for-java | sdk/applicationinsights/mgmt-v2015_05_01/src/main/java/com/microsoft/azure/management/applicationinsights/v2015_05_01/implementation/ComponentsInner.java | 73618 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.applicationinsights.v2015_05_01.implementation;
... | mit |
Azure/azure-sdk-for-java | sdk/eventhubs/microsoft-azure-eventhubs-eph/src/test/java/com/microsoft/azure/eventprocessorhost/PerTestSettings.java | 8213 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.azure.eventprocessorhost;
import java.util.ArrayList;
import java.util.concurrent.ScheduledExecutorService;
import com.microsoft.azure.eventhubs.AzureActiveDirectoryTokenProvider;
public class PerTe... | mit |
rbaradari/cobertura-plugin | src/test/java/hudson/plugins/cobertura/CoberturaPublisherTest.java | 2164 | package hudson.plugins.cobertura;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class CoberturaPublisherTest {
@Test
public void testGetOnlyStable() {
CoberturaPublisher testObjectTrue = new CoberturaPublisher(null, true, false, false, false, false, false, false, null, 0);
Cobertura... | mit |
archmagece/bs-oauth-java | src/main/java/org/beansugar/oauth/o10a/builder/api/FlickrApi.java | 781 | package org.beansugar.oauth.o10a.builder.api;
import org.beansugar.oauth.o10a.model.Token10a;
public class FlickrApi extends DefaultApi10a {
private static final String AUTHORIZE_URL = "https://www.flickr.com/services/oauth/authorize?oauth_token=%s";
private static final String REQUEST_TOKEN_RESOURCE = "https://www... | mit |
Maxwolf/MineAPI.Java | src/main/java/mineapi/furnace/FurnaceRecipeComponent.java | 2428 | package mineapi.furnace;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import mineapi.mod.ModLoader;
import net.minecraft.item.ItemStack;
public class FurnaceRecipeComponent
{
@Expose
@SerializedName("ItemName")
private String itemName;
@Expose
@S... | mit |
webratio/typescript.java | eclipse/ts.eclipse.ide.ui/src/ts/eclipse/ide/ui/hover/ProblemTypeScriptHover.java | 4362 | /**
* Copyright (c) 2015-2016 Angelo ZERR.
* 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
*
* Contributor... | mit |
Grinch/SpongeCommon | src/main/java/org/spongepowered/common/data/processor/data/tileentity/StructureDataProcessor.java | 7763 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | mit |
popitsch/varan-gie | src/org/broad/igv/ui/util/IndefiniteProgressMonitor.java | 2776 | /*
* The MIT License (MIT)
*
* Copyright (c) 2007-2015 Broad Institute
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... | mit |
akochurov/mxcache | mxcache-runtime/src/main/java/com/maxifier/mxcache/caches/DoubleCache.java | 420 | /*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.caches;
/**
* THIS IS GENERATED CLASS! DON'T EDIT IT MANUALLY!
*
* GENERATED FROM P2PCache.template
*
* @author Andrey Yakoushin (andrey.yakoushin@maxifier.com)
* @author Alexander Kochurov (alexander.koc... | mit |
dntoll/MyWebServer | tests/se/lnu/http/SharedFolderTest.java | 983 | package se.lnu.http;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URL;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class SharedFolderTest {
private SharedFolder sut;
@Before
public void ... | mit |
map-reduce-ka-tadka/slim-map-reduce | src/main/java/com/examples/meanFlight/MeanFlight.java | 539 | package com.examples.meanFlight;
import java.io.IOException;
import com.main.Context;
/**
* Example Implementation of slim Map Reduce
* Generate Mean Average Ticket Price by Carrier
* @author Deepen Mehta
*
*/
public class MeanFlight {
public static void main(String[] args) throws NumberFormatException, IOExcept... | mit |
HenryLoenwind/EnderCore | src/main/java/com/enderio/core/common/tweaks/InfiniBow.java | 1261 | package com.enderio.core.common.tweaks;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.mi... | cc0-1.0 |
phxql/smarthome | bundles/core/org.eclipse.smarthome.core.extension.sample/src/main/java/org/eclipse/smarthome/core/extension/sample/internal/SampleExtensionService.java | 3046 | /**
* Copyright (c) 2014-2016 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... | epl-1.0 |
kaloyan-raev/che | plugins/plugin-maven/che-plugin-maven-server/src/main/java/org/eclipse/che/plugin/maven/server/core/project/MavenModelReader.java | 9706 | /*******************************************************************************
* Copyright (c) 2012-2016 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 ... | epl-1.0 |
maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/lambdaExpression18_in/A_test326.java | 308 | package lambdaExpression18_in;
import java.io.IOException;
@FunctionalInterface
interface FI {
int foo(int i) throws IOException;
default FI method(FI i1) throws InterruptedException {
/*[*/if (i1 == null)
throw new InterruptedException();
return x -> {
throw new IOException();
};/*]*/
}
} | epl-1.0 |
akervern/che | ide/commons-gwt/src/test/java/org/eclipse/che/ide/util/TextUtilsTest.java | 823 | /*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | epl-1.0 |
crapo/sadlos2 | com.ge.research.sadl/src-gen/com/ge/research/sadl/sadl/impl/LiteralListImpl.java | 3727 | /**
*/
package com.ge.research.sadl.sadl.impl;
import com.ge.research.sadl.sadl.LiteralList;
import com.ge.research.sadl.sadl.LiteralValue;
import com.ge.research.sadl.sadl.SadlPackage;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
i... | epl-1.0 |
sguan-actuate/birt | UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ReportEngineCreator.java | 1158 | /*******************************************************************************
* Copyright (c) 2012 Actuate Corporation.
* 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 avai... | epl-1.0 |
openhab/openhab2 | bundles/org.openhab.binding.neato/src/main/java/org/openhab/binding/neato/internal/handler/NeatoHandler.java | 6624 | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | epl-1.0 |
slemeur/che | core/che-core-api-core/src/main/java/org/eclipse/che/api/core/websocket/WebSocketMessageReceiver.java | 1407 | /*******************************************************************************
* Copyright (c) 2012-2016 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 ... | epl-1.0 |
ControlSystemStudio/cs-studio | applications/alarm/alarm-plugins/org.csstudio.alarm.beast.ui.globaltable/src/org/csstudio/alarm/beast/ui/globaltable/GlobalAlarmTableView.java | 7281 | /*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* 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, an... | epl-1.0 |
ModelWriter/Demonstrations | org.eclipse.rmf.reqif10/src/org/eclipse/rmf/reqif10/impl/AttributeDefinitionDateImpl.java | 9651 | /**
* Copyright (c) 2013 itemis AG 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
*
* Contributors:
* ... | epl-1.0 |
fabioz/Pydev | plugins/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ast/adapters/IASTNodeAdapter.java | 1369 | /******************************************************************************
* Copyright (C) 2006-2011 IFS Institute for Software 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 distribut... | epl-1.0 |
boniatillo-com/PhaserEditor | source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java | 2654 | /*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation 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, an... | epl-1.0 |
sguan-actuate/birt | engine/org.eclipse.birt.report.engine.emitter.config.postscript/src/org/eclipse/birt/report/engine/emitter/config/postscript/PostscriptEmitterDescriptor.java | 13748 | /*******************************************************************************
* Copyright (c) 2008 Actuate Corporation.
* 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 availabl... | epl-1.0 |
sguan-actuate/birt | UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/script/util/ScriptDebugUtil.java | 8403 | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* 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 availabl... | epl-1.0 |
IBM-MIL/IBM-Ready-App-for-Retail | automatedUITests/Android_Automated_UI_Testing/src/test/Testtest.java | 1009 | package test;
import android.os.RemoteException;
import com.android.uiautomator.core.UiObject;
import com.android.uiautomator.core.UiObjectNotFoundException;
import com.android.uiautomator.core.UiScrollable;
import com.android.uiautomator.core.UiSelector;
public class Testtest extends UiTest {
public Testtest(... | epl-1.0 |
md-5/jdk10 | test/jdk/java/io/Serializable/records/ConstructorAccessTest.java | 4737 | /*
* Copyright (c) 2019, 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 Softwa... | gpl-2.0 |
loveyoupeng/rt | modules/graphics/src/main/java/com/sun/javafx/scene/text/TextLine.java | 2742 | /*
* Copyright (c) 2012, 2014, 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 ... | gpl-2.0 |
rex-xxx/mt6572_x201 | external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/ChildCollisionShape.java | 1514 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.jme3.bullet.collision.shapes.infos;
import com.jme3.bullet.collision.shapes.BoxCollisionShape;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.export.*;
import com.jme3.math.Matrix3f;... | gpl-2.0 |
qoswork/opennmszh | opennms-dao/src/main/java/org/opennms/netmgt/dao/OnmsDao.java | 3710 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
rex-xxx/mt6572_x201 | tools/motodev/src/plugins/android/src/com/motorola/studio/android/adt/StudioDeviceChangeListener.java | 3177 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
erpcya/adempierePOS | base/src/org/eevolution/model/I_I_ProductPlanning.java | 19329 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
GiGatR00n/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/ai/instance/aturamSkyFortress/ShulackGuidedBombAI2.java | 4749 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 3 of the License, or
* (at your option) any lat... | gpl-2.0 |
SpoonLabs/astor | examples/math_74/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java | 26086 | /*
* 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 may ... | gpl-2.0 |
GiGatR00n/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/quest/danaria/_20093FIAWOLFalsityIsAWayOfLife.java | 9573 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 3 of the License, or
* (at your option) any later ver... | gpl-2.0 |
GiGatR00n/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/database/mysql5/MySQL5OldNamesDAO.java | 3146 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 3 of the License, or
* (at your option) any lat... | gpl-2.0 |
nologic/nabs | client/trunk/shared/libraries/jfreechart-1.0.5/tests/org/jfree/data/statistics/junit/DefaultBoxAndWhiskerCategoryDatasetTests.java | 5018 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | gpl-2.0 |
staltz/Telegram | TMessagesProj/src/main/java/org/telegram/ui/GalleryImageViewer.java | 47755 | /*
* This is the source code of Telegram for Android v. 1.3.2.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013.
*/
package org.telegram.ui;
import android.content.Intent;
import android.graphics.Po... | gpl-2.0 |
hexbinary/landing | src/main/java/org/oscarehr/common/dao/IncomingLabRulesDao.java | 3562 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
sumairsh/adempiere | base/src/org/compiere/model/X_M_InventoryLineMA.java | 5197 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
SONIAGroup/S.O.N.I.A. | src/icaro/gestores/gestorOrganizacion/comportamiento/AccionesSemanticasGestorOrganizacion.java | 26070 | /*
* Copyright 2001 Telef�nica I+D. All rights reserved
*/
package icaro.gestores.gestorOrganizacion.comportamiento;
//import icaro.infraestructura.corba.ORBDaemonExec;
import icaro.infraestructura.entidadesBasicas.NombresPredefinidos;
import icaro.infraestructura.entidadesBasicas.comunicacion.EventoRecAgte;
import... | gpl-2.0 |
usevalue/MagicSpells | src/com/nisovin/magicspells/spells/targeted/RotateSpell.java | 1772 | package com.nisovin.magicspells.spells.targeted;
import org.bukkit.Location;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import com.nisovin.magicspells.spelleffects.EffectPosition;
import com.nisovin.magicspells.spells.TargetedEntitySpell;
import com.nisovin.magicspells.spells.TargetedSpel... | gpl-3.0 |
red13dotnet/keepass2android | src/java/KP2AKdbLibrary/src/com/keepassdroid/stream/LEDataOutputStream.java | 3614 | /*
* Copyright 2010 Brian Pellin.
*
* This file is part of KeePassDroid.
*
* KeePassDroid 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 option)... | gpl-3.0 |
niclabs/Skandium | src-examples/cl/niclabs/skandium/examples/strassen/Operands.java | 942 | /* Skandium: A Java(TM) based parallel skeleton library.
*
* Copyright (C) 2009 NIC Labs, Universidad de Chile.
*
* Skandium 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 3... | gpl-3.0 |
arraydev/snap-engine | snap-pixel-extraction/src/main/java/org/esa/snap/pixex/aggregators/MedianAggregatorStrategy.java | 1592 | package org.esa.snap.pixex.aggregators;
import org.esa.snap.pixex.calvalus.ma.Record;
import java.util.Arrays;
/**
* {@inheritDoc}
* <p>
* Retrieves the median value for a record.
* If the record contains an even number of values, the mean of the left and the right median is taken.
*/
public class MedianAggrega... | gpl-3.0 |
sheldonkhall/grakn | grakn-graql/src/main/java/ai/grakn/graql/internal/gremlin/spanningtree/Arborescence.java | 3426 | /*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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 3 of the License, or
* (at your option) any... | gpl-3.0 |
obiba/onyx | onyx-modules/onyx-jade/onyx-jade-core/src/main/java/org/obiba/onyx/jade/core/wicket/wizard/OutputParametersStep.java | 4204 | /*******************************************************************************
* Copyright 2008(c) The OBiBa Consortium. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU Gene... | gpl-3.0 |
andrewzagor/goit | SortCollection/Guitar.java | 246 | package CollectionMusicInstrument;
/**
* Created by ZahornyiAI on 23.03.2016.
*/
public class Guitar extends MusicalInstrument {
public Guitar(String name, int quantity, int price) {
super(name, quantity, price);
}
}
| gpl-3.0 |
ceskaexpedice/kramerius | search/src/java/cz/incad/Kramerius/exts/menu/context/impl/adm/items/ApplyMovingWallItem.java | 662 | package cz.incad.Kramerius.exts.menu.context.impl.adm.items;
import java.io.IOException;
import cz.incad.Kramerius.exts.menu.context.impl.AbstractContextMenuItem;
import cz.incad.Kramerius.exts.menu.context.impl.adm.AdminContextMenuItem;
public class ApplyMovingWallItem extends AbstractContextMenuItem implements Adm... | gpl-3.0 |
AuScope/EOI-TCP | src/test/java/org/auscope/portal/mineraloccurrence/TestMiningActivityFilter.java | 8090 | package org.auscope.portal.mineraloccurrence;
import org.auscope.portal.core.test.PortalTestClass;
import org.auscope.portal.server.domain.ogc.AbstractFilterTestUtilities;
import org.junit.Test;
import org.w3c.dom.Document;
/**
* User: Mathew Wyatt
* Date: 25/03/2009
* Time: 9:07:20 AM
*/
public class TestMiningA... | gpl-3.0 |
linqingyicen/projectforge-webapp | src/main/java/org/projectforge/web/common/PhoneNumberValidator.java | 1626 | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | gpl-3.0 |
CosmicDan-Minecraft/AncientWarfare2_CosmicDanFork | src/main/java/net/shadowmage/ancientwarfare/structure/api/TemplateRule.java | 5289 | /**
Copyright 2012-2013 John Cummens (aka Shadowmage, Shadowmage4513)
This software is distributed under the terms of the GNU General Public License.
Please see COPYING for precise license information.
This file is part of Ancient Warfare.
Ancient Warfare is free software: you can redistribute it and/or m... | gpl-3.0 |
ferronrsmith/easyrec | easyrec-core/src/main/java/org/easyrec/util/core/Security.java | 8400 | /**Copyright 2010 Research Studios Austria Forschungsgesellschaft mBH
*
* This file is part of easyrec.
*
* easyrec 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 3 of the License, or
* ... | gpl-3.0 |
Impact2585/Lib2585 | src/org/impact2585/lib2585/ExecutorBasedRobot.java | 1813 | package org.impact2585.lib2585;
import java.io.Serializable;
import edu.wpi.first.wpilibj.IterativeRobot;
/**
* Robot that uses executers This is the equivelant of a main class in WPILib.
*/
public abstract class ExecutorBasedRobot extends IterativeRobot implements Serializable {
private static final long serial... | gpl-3.0 |
oka-haist/codeHere | tinyVirtualMachine/VMUndoMod/src/mv/view/StatusPanel.java | 2286 | package mv.view;
import java.awt.Color;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import mv.controller.Controller;
import mv.model.OperandStack.Data;
@SuppressWarnings("serial")
public class StatusPanel extends JPanel implements mv.model.ControlUnit.Observer,
... | gpl-3.0 |
psy-herolte/android_device_samsung_hero-common | doze/src/org/lineageos/settings/doze/ProximitySensor.java | 2971 | /*
* Copyright (c) 2015 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | gpl-3.0 |
yangsong19/DayPo | src/org/json/JSONException.java | 632 | package org.json;
/**
* The JSONException is thrown by the JSON.org classes then things are amiss.
* @author JSON.org
* @version 2
*/
public class JSONException extends Exception {
private Throwable cause;
/**
* Constructs a JSONException with an explanatory message.
* @param message... | gpl-3.0 |
PoweRGbg/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/driver/MedtronicPumpStatus.java | 14862 | package info.nightscout.androidaps.plugins.pump.medtronic.driver;
import org.joda.time.LocalDateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.Map;
import info.nightscout.a... | agpl-3.0 |
iris-scrum-1/IRIS | interaction-core/src/main/java/com/temenos/interaction/core/command/InteractionContext.java | 9983 | package com.temenos.interaction.core.command;
/*
* #%L
* interaction-core
* %%
* Copyright (C) 2012 - 2013 Temenos Holdings N.V.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundati... | agpl-3.0 |
brtonnies/rapidminer-studio | src/main/java/com/rapidminer/gui/new_plotter/engine/jfreechart/legend/SmartLegendTitle.java | 6443 | /**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | agpl-3.0 |
JordanReiter/railo | railo-java/railo-core/src/railo/runtime/db/OLDDCStack.java | 2614 | package railo.runtime.db;
import java.sql.SQLException;
import java.util.Map;
import railo.runtime.op.Caster;
class OLDDCStack {
private Item item;
private Map transactionItem=null;
private DatasourceConnectionPool pool;
OLDDCStack(DatasourceConnectionPool pool) {
this.pool=pool;
}
public synchronized voi... | lgpl-2.1 |
attatrol/checkstyle | src/test/java/com/puppycrawl/tools/checkstyle/checks/sizes/ExecutableStatementCountCheckTest.java | 6183 | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2015 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | lgpl-2.1 |
fifa0329/vassal | src/VASSAL/counters/DynamicProperty.java | 15033 | /*
* $Id$
*
* Copyright (c) 2000-2006 by Rodney Kinney, Brent Easton
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License (LGPL) as published by the Free Software Foundation.
*
* This library is distributed in the hope that it... | lgpl-2.1 |
JordanReiter/railo | railo-java/railo-core/src/railo/runtime/sql/SQLParserException.java | 150 | package railo.runtime.sql;
public class SQLParserException extends Exception {
public SQLParserException(String message) {
super(message);
}
}
| lgpl-2.1 |
mediaworx/opencms-core | src-gwt/org/opencms/ade/containerpage/client/ui/CmsToolbarPublishButton.java | 2118 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | lgpl-2.1 |
jdpadrnos/MinecraftForge | src/main/java/net/minecraftforge/fml/relauncher/Side.java | 1398 | /*
* Minecraft Forge
* Copyright (c) 2016.
*
* 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it will... | lgpl-2.1 |
ggiudetti/opencms-core | src/org/opencms/gwt/shared/CmsUploadFileBean.java | 4656 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* 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 th... | lgpl-2.1 |
harveyt/sonar-cxx-plugin | src/test/java/org/sonar/plugins/cxx/valgrind/ValgrindFrameTest.java | 3364 | /*
* Sonar Cxx Plugin, open source software quality management tool.
* Copyright (C) 2010 - 2011, Neticoa SAS France - Tous droits reserves.
* Author(s) : Franck Bonin, Neticoa SAS France.
*
* Sonar Cxx Plugin is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... | lgpl-3.0 |
Alfresco/community-edition | projects/data-model/source/java/org/alfresco/repo/search/impl/querymodel/impl/BaseConstraint.java | 1672 | /*
* #%L
* Alfresco Data model classes
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided u... | lgpl-3.0 |
fernandospr/javapns-jdk16 | src/main/java/javapns/notification/management/WiFiPayload.java | 975 | package javapns.notification.management;
import org.json.*;
/**
* An MDM payload for Wi-Fi.
*
* @author Sylvain Pedneault
*/
public class WiFiPayload extends MobileConfigPayload {
public WiFiPayload(int payloadVersion, String payloadOrganization, String payloadIdentifier, String payloadDisplayName, String SSID... | lgpl-3.0 |
blindlf/SudokuExplainer | src/main/java/diuf/sudoku/solver/rules/NakedSingle.java | 1378 | /*
* Project: Sudoku Explainer
* Copyright (C) 2006-2007 Nicolas Juillerat
* Available under the terms of the Lesser General Public License (LGPL)
*/
package diuf.sudoku.solver.rules;
import java.util.*;
import diuf.sudoku.*;
import diuf.sudoku.solver.*;
/**
* Implementation of the Naked Single solving techniq... | lgpl-3.0 |
Neil5043/Minetweak | src/main/java/net/minecraft/src/EnchantmentData.java | 630 | package net.minecraft.src;
public class EnchantmentData extends WeightedRandomItem
{
/** Enchantment object associated with this EnchantmentData */
public final Enchantment enchantmentobj;
/** Enchantment level associated with this EnchantmentData */
public final int enchantmentLevel;
public Ench... | lgpl-3.0 |
MesquiteProject/MesquiteCore | Source/mesquite/trees/ScaleSelBranchLengths/ScaleSelBranchLengths.java | 3540 | /* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Per... | lgpl-3.0 |
isa-group/FaMA | reasoner_choco_2/src/es/us/isa/ChocoReasoner/questions/ChocoSetQuestion.java | 2214 | /*
This file is part of FaMaTS.
FaMaTS 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 3 of the License, or
(at your option) any later version.
FaMaTS is distri... | lgpl-3.0 |
Alfresco/community-edition | projects/data-model/source/java/org/alfresco/repo/search/impl/querymodel/impl/functions/FTSRange.java | 3154 | /*
* #%L
* Alfresco Data model classes
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided u... | lgpl-3.0 |
marijevdgeest/molgenis | molgenis-data-annotators/src/main/java/org/molgenis/data/annotation/impl/datastructures/HGNCLocations.java | 698 | package org.molgenis.data.annotation.impl.datastructures;
/**
* Created by jvelde on 1/30/14.
*/
public class HGNCLocations
{
String hgnc;
Long start;
Long end;
String chrom;
public HGNCLocations(String hgnc, Long start, Long end, String chrom)
{
this.hgnc = hgnc;
this.start = start;
this.end = end;
... | lgpl-3.0 |
MesquiteProject/MesquiteCore | Source/mesquite/distance/PDistance/PDistance.java | 7876 | /* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Per... | lgpl-3.0 |
lstNull/QuickSand | core/src/main/java/com/blundell/quicksand/act/Act.java | 627 | package com.blundell.quicksand.act;
/**
* An Act is our abstraction away from Animations and Transitions, allowing us to treat them both as equals
*/
public interface Act {
int getId();
boolean isFirst();
boolean isLast(); // TODO smells like I should have a first class collection? (and call monitor o... | apache-2.0 |