repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
mfietz/AntennaPod | core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java | 1708 | package de.danoeh.antennapod.core;
import android.content.Context;
import de.danoeh.antennapod.core.cast.CastManager;
import de.danoeh.antennapod.core.preferences.PlaybackPreferences;
import de.danoeh.antennapod.core.preferences.SleepTimerPreferences;
import de.danoeh.antennapod.core.preferences.UserPreferences;
impo... | mit |
wesleyegberto/study-ocjp | src/construtores/ConstrutorTesteDrive.java | 449 | package construtores;
public class ConstrutorTesteDrive {
public static void main(String[] args) {
// Construtor c1 = new Construtor();
// System.out.println("--c1\n" + c1.getNomeERg() + "\n\n");
Construtor c2 = new Construtor("Odair");
System.out.println("--c2\n" + c2.getNomeERg() + "\n\n");
... | mit |
Veaer/Glass | glass/src/main/java/com/veaer/glass/viewpager/PagerTrigger.java | 1762 | package com.veaer.glass.viewpager;
import android.support.v4.view.ViewPager;
import com.veaer.glass.trigger.Trigger;
/**
* Created by Veaer on 15/11/18.
*/
public class PagerTrigger extends Trigger implements ViewPager.OnPageChangeListener {
private ColorProvider colorProvider;
private int startPosition, e... | mit |
aenon/OnlineJudge | leetcode/1.Array_String/125.valid_palindrome.java | 423 | /* 125.valid_palindrome
*/
public class Solution {
public int[] twoSum(int[] nums, int target) {
for (int i = 0; i < nums.length; i++) {
int ni = nums[i];
for (int j = i + 1; j < nums.length; j++) {
int nj = nums[j];
if (ni + nj == target) {
return new int[] {i, j... | mit |
kz/balances-android | app/src/main/java/in/iamkelv/balances/alarms/SchedulingService.java | 5935 | package in.iamkelv.balances.alarms;
import android.app.IntentService;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.support.v4.app.Notificati... | mit |
wrpinheiro/easy-factory | core/src/main/java/com/thecodeinside/easyfactory/core/Attribute.java | 795 | package com.thecodeinside.easyfactory.core;
/**
* A factory's attribute.
*
* @author Wellington Pinheiro <wellington.pinheiro@gmail.com>
*
* @param <T> type of the attribute
*/
public class Attribute<T> {
private String id;
private T value;
public String getId() {
return this.id;
}
... | mit |
nbv3/voogasalad_CS308 | src/com/syntacticsugar/vooga/gameplayer/objects/items/bullets/SlowBullet.java | 465 | package com.syntacticsugar.vooga.gameplayer.objects.items.bullets;
import com.syntacticsugar.vooga.gameplayer.event.implementations.SlowEvent;
import com.syntacticsugar.vooga.gameplayer.objects.GameObjectType;
public class SlowBullet extends AbstractBullet {
public SlowBullet(BulletParams params, double speedDecrea... | mit |
grinning/war-tommybranch | war/src/main/java/com/tommytony/war/job/ResetCursorJob.java | 2006 | package com.tommytony.war.job;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import com.tommytony.war.War;
import com.tommytony.war.volume.BlockInfo;
public class ResetCursorJob implements Runnable {
private final Block cornerBlock;
private final BlockInfo[] originalCursorBlocks;
private fina... | mit |
jeremyje/android-beryl | beryl/src/org/beryl/app/AndroidVersion.java | 6414 | package org.beryl.app;
/** Convenience class for retrieving the current Android version that's running on the device.
*
* Code example on how to use AndroidVersion to load a multi-versioned class at runtime for backwards compatibility without using reflection.
* <pre class="code"><code class="java">
import org.bery... | mit |
zporky/langs-and-paradigms | projects/EJULOK/Java/prognyelvek/src/main/java/bence/prognyelvek/contexts/ContextFactory.java | 224 | package bence.prognyelvek.contexts;
import java.util.List;
/**
* @param <T> Input token type.
* @param <O> Output token type.
*/
public interface ContextFactory<T, O> {
Context<T, O> getInstance(List<T> tokens);
}
| mit |
tomaskir/netxms-config-repository | src/test/java/sk/atris/netxms/confrepo/tests/service/database/DatabaseTest.java | 992 | package sk.atris.netxms.confrepo.tests.service.database;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import sk.atris.netxms.confrepo.exceptions.DatabaseException;
import sk.atris.netxms.confrepo.service.database.DbConnectionManager;
import sk.atris.netxms.confrepo.service.database.DbObjectH... | mit |
lathspell/java_test | java_test_spring_aop/src/test/java/de/lathspell/test/service/BarTest.java | 1425 | package de.lathspell.test.service;
import lombok.extern.slf4j.Slf4j;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... | cc0-1.0 |
samirprakash/spring-aop | src/com/sp/jb/service/ShapeService.java | 482 | package com.sp.jb.service;
import com.sp.jb.model.Circle;
import com.sp.jb.model.Triangle;
public class ShapeService {
private Circle circle;
private Triangle triangle;
public Circle getCircle() {
return circle;
}
public void setCircle(Circle circle) {
this.circle = circle;
... | cc0-1.0 |
sebhoss/memoization.java | memoization-core/src/main/java/de/xn__ho_hia/memoization/map/ConcurrentMapBasedDoubleBinaryOperatorMemoizer.java | 1887 | /*
* This file is part of memoization.java. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of memoization.java,
* including this file, may be copied, modified, propagated, or distributed ... | cc0-1.0 |
SigmaOne/DesignPatterns | src/main/java/patterns/behavioral/command/Command.java | 150 | package patterns.behavioral.command;
// General interface for all the commands
public abstract class Command {
public abstract void execute();
}
| cc0-1.0 |
MeasureAuthoringTool/clinical_quality_language | Src/java/tools/cql-parsetree/src/main/java/org/cqframework/cql/tools/parsetree/Main.java | 1105 | package org.cqframework.cql.tools.parsetree;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.ParserRuleContext;
import org.cqframework.cql.gen.cqlLexer;
import org.cqframework.cql.gen.cqlParser;
import java.io.FileInputStream;
import java.io.IOE... | cc0-1.0 |
mtstv/accesscontroltool | accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/validators/Validators.java | 3216 | /*
* (C) Copyright 2015 Netcentric AG.
*
* 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 biz.netcentric.cq.t... | epl-1.0 |
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/annotations/Cache.java | 5380 | /*******************************************************************************
* 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. ... | epl-1.0 |
trajano/app-ms | ms-common-impl/src/main/java/net/trajano/ms/vertx/beans/package-info.java | 92 | /**
* Java Beans.
*
* @author Archimedes Trajano
*/
package net.trajano.ms.vertx.beans;
| epl-1.0 |
ModelWriter/Deliverables | WP2/D2.5.2_Generation/Jeni/src/edu/stanford/nlp/lm/TestSRILM.java | 639 | package edu.stanford.nlp.lm;
import java.io.File;
import java.util.Arrays;
/**
* This is a simple test of srilm.
* @author Alexandre Denis
*
*/
public class TestSRILM
{
/**
* @param args
*/
public static void main(String[] args)
{
SRILanguageModel model = new SRILanguageModel(new File("resources/rankin... | epl-1.0 |
DaanielZ/DToolsZ | DToolsZ/src/daanielz/tools/commands/WorkbenchCmd.java | 978 | package daanielz.tools.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import daanielz.tools.Utils;
public class WorkbenchCmd implements CommandExecutor {
public boolean onCommand(CommandSender sender... | epl-1.0 |
NABUCCO/org.nabucco.framework.base | org.nabucco.framework.base.impl.service/src/main/man/org/nabucco/framework/base/impl/service/timer/Timer.java | 3676 | /*
* Copyright 2012 PRODYNA AG
*
* Licensed under the Eclipse Public License (EPL), Version 1.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.opensource.org/licenses/eclipse-1.0.php or
* http://www.nabucco.org/License... | epl-1.0 |
argocasegeo/argocasegeo | src/org/argouml/application/api/PluggableProjectWriter.java | 1869 | // Copyright (c) 1996-2002 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
// and this paragraph app... | epl-1.0 |
aporo69/junit-issue-1167 | poc/src/main/java/org/junit/runners/fix/v411/Parameterized.java | 13537 | package org.junit.runners.fix.v411;
import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Field;
import java.text.MessageFormat;
import java.util.A... | epl-1.0 |
adolfosbh/cs2as | org.xtext.example.delphi/src-gen/org/xtext/example/delphi/tx/AbstractInvocation.java | 4339 | /**
* This file was copied and re-packaged automatically by
* org.xtext.example.delphi.build.GenerateCS2AST
* from
* ..\..\org.eclipse.qvtd\plugins\org.eclipse.qvtd.runtime\src\org\eclipse\qvtd\runtime\evaluation\AbstractInvocation.java
*
* Do not edit this file.
*/
/***********************************... | epl-1.0 |
rahulopengts/myhome | bundles/model/org.openhab.model.sitemap/src/org/openhab/model/sitemap/internal/SitemapProviderImpl.java | 1935 | /**
* Copyright (c) 2010-2015, openHAB.org 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... | epl-1.0 |
dhuebner/che | wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/project/server/DtoConverter.java | 11509 | /*******************************************************************************
* 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 |
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/json/namespaces/DifferentNamespacesTestCases.java | 3331 | /*******************************************************************************
* 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... | epl-1.0 |
BOTlibre/BOTlibre | botlibre-web/source/org/botlibre/web/rest/IssueTrackerConfig.java | 1868 | /******************************************************************************
*
* Copyright 2013-2019 Paphus Solutions Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | epl-1.0 |
NABUCCO/org.nabucco.framework.base | org.nabucco.framework.base.facade.datatype/src/main/man/org/nabucco/framework/base/facade/datatype/NByteArray.java | 4346 | /*
* Copyright 2012 PRODYNA AG
*
* Licensed under the Eclipse Public License (EPL), Version 1.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.opensource.org/licenses/eclipse-1.0.php or
* http://www.nabucco.org/License... | epl-1.0 |
DavidGutknecht/elexis-3-base | bundles/ch.elexis.docbox.ws.client/src-gen/ch/docbox/ws/cdachservicesv2/GetInboxClinicalDocuments.java | 1395 |
package ch.docbox.ws.cdachservicesv2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.hl7.v3.CE;
/**
* <p>Java-Klasse für anonymous complex type.
*
* <p>Das fol... | epl-1.0 |
DavidGutknecht/elexis-3-base | bundles/at.medevit.elexis.tarmed.model/src-gen/ch/fd/invoice440/request/CompanyType.java | 5377 | //
// 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... | epl-1.0 |
sleshchenko/che | wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/search/server/impl/SearchResultEntry.java | 1751 | /*
* 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... | epl-1.0 |
guhanjie/test-for-apply | src/test/TestString.java | 642 | package test;
/**
* StringÊÇ×Ö·û´®¶ÔÏóÀ࣬ÇÒÊDz»¿É±äµÄ¡£
* ËüÓÐÒ»¸öºÜÖØÒªµÄÌØÐÔ£¬¾ÍÊÇÔÚ¶¨Òå×Ö·û´®³£Á¿Ê±£¬ÓÃÁËÒ»¸ö»º³å³Ø£¡
* @author gu
*
*/
public class TestString {
public static void main(String[] args) {
String str1 = new String("abc"); //·²ÊÇnew³öÀ´µÄ¶ÔÏó¶¼ÊÇÔڶѿռäÖпª±ÙеÄÄÚ´æ
... | epl-1.0 |
bradsdavis/windup | graph/tests/src/test/java/org/jboss/windup/graph/typedgraph/TestFooSubModel.java | 829 | 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;
/**
*
*... | epl-1.0 |
GazeboHub/ghub-portal-doc | doc/modelio/GHub Portal/mda/JavaDesigner/res/java/tomcat/java/org/apache/tomcat/util/net/SocketStatus.java | 992 | /*
* 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... | epl-1.0 |
smeup/asup | org.smeup.sys.db.core/src/org/smeup/sys/db/core/QTableProvider.java | 865 | /**
* 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... | epl-1.0 |
codenvy/che-core | platform-api/che-core-api-dto/src/main/java/org/eclipse/che/dto/generator/DtoImpl.java | 17115 | /*******************************************************************************
* 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 ... | epl-1.0 |
aptana/Pydev | tests/org.python.pydev.tests/src/org/python/pydev/plugin/nature/PythonNatureStoreTest.java | 5941 | /**
* 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
... | epl-1.0 |
mcarlson/openlaszlo | WEB-INF/lps/server/src/org/openlaszlo/compiler/FontInfo.java | 8728 | /* ****************************************************************************
* FontInfo.java
* ****************************************************************************/
/* J_LZ_COPYRIGHT_BEGIN *******************************************************
* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserve... | epl-1.0 |
Link1234Gamer/Five-Nights-at-Candy-s-Mod | src/main/java/com/fnacmod/fnac/Reference.java | 466 | 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... | epl-1.0 |
NickLW/JamSS | src/uk/ac/brighton/jamss/MidiPlayer.java | 4026 | 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... | epl-1.0 |
neelance/swt4ruby | swt4ruby/src/linux-x86_64/org/eclipse/swt/internal/gtk/GtkFixed.java | 958 | /*******************************************************************************
* 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... | epl-1.0 |
whizzosoftware/hobson-hub-rules | src/test/java/com/whizzosoftware/hobson/rules/condition/PresenceArrivalConditionClassTest.java | 2537 | /*******************************************************************************
* 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... | epl-1.0 |
sschafer/atomic | org.allmyinfo.result/src/org/allmyinfo/result/ValidStringResult.java | 432 | 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... | epl-1.0 |
spearce/egit | org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java | 6918 | /*******************************************************************************
* 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... | epl-1.0 |
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 | 2407 | /*
* 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
*
*/
... | epl-1.0 |
stormc/hawkbit | hawkbit-repository/hawkbit-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/TargetManagementSearchTest.java | 41642 | /**
* 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
... | epl-1.0 |
lhillah/pnmlframework | pnmlFw-SNNet/src/fr/lip6/move/pnml/symmetricnet/dots/impl/DotImpl.java | 6595 | /**
* 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... | epl-1.0 |
debabratahazra/OptimaLA | Optima/com.ose.cdt.launch/src/com/ose/cdt/launch/internal/DebugActionDelegate.java | 7388 | /* 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... | epl-1.0 |
theArchonius/gerrit-attachments | src/main/java/com/eclipsesource/gerrit/plugins/fileattachment/api/entities/JsonEntity.java | 308 | /**
*
*/
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 {
}
| epl-1.0 |
lincolnthree/windup | config/tests/src/test/java/org/jboss/windup/config/iteration/RuleIterationOverDefaultListVariableTest.java | 6208 | 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... | epl-1.0 |
sleshchenko/che | plugins/plugin-debugger/che-plugin-debugger-ide/src/main/java/org/eclipse/che/plugin/debugger/ide/configuration/DebugConfigurationsGroup.java | 2088 | /*
* 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... | epl-1.0 |
cschwer/com.zsmartsystems.zigbee | com.zsmartsystems.zigbee.console.ember/src/main/java/com/zsmartsystems/zigbee/console/ember/EmberConsoleNcpValueCommand.java | 4666 | /**
* 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... | epl-1.0 |
BauhausLuftfahrt/PAXelerate | com.paxelerate.execution/src/com/paxelerate/execution/actions/ExportResultsAction.java | 2961 | /*******************************************************************************
* <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... | epl-1.0 |
gorindn/ice | src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/MeshComponent.java | 13129 | /*******************************************************************************
* 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... | epl-1.0 |
ot4i/service-facade-mq-request-response-pattern | src/com.ibm.etools.mft.pattern.sen/jet2java/org/eclipse/jet/compiled/_jet_Erroresql_0.java | 18882 | 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 ... | epl-1.0 |
qqbbyq/controller | opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/SnapshotManagerTest.java | 27087 | /*
* 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... | epl-1.0 |
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/model/dataobject/SDODataObjectGetDataObjectConversionTest.java | 5453 | /*******************************************************************************
* 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. ... | epl-1.0 |
kostajaitachi/Pearl-14 | Pearl'14/src/org/bitspilani/pearl/TillDeaf.java | 623 | 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... | epl-1.0 |
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 | 8323 | /*******************************************************************************
* 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. ... | epl-1.0 |
debabratahazra/DS | designstudio/components/domain/core/com.odcgroup.mdf.integration/src/main/java/com/odcgroup/mdf/integration/Activator.java | 1113 | 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... | epl-1.0 |
lunifera/lunifera-ecview | org.lunifera.ecview.core.extension.editparts/src/org/lunifera/ecview/core/ui/core/editparts/extension/IEnumOptionsGroupEditpart.java | 653 | /**
* 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... | epl-1.0 |
Orjuwan-alwadeai/mondo-hawk | plugins-server/org.hawk.service.api/src-gen/org/hawk/service/api/InvalidQuery.java | 11697 | /**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.hawk.service.api;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apa... | epl-1.0 |
Tocea/Architecture-Designer | com.tocea.scertify.architecture.mm/src/com/tocea/codewatch/architecture/Method.java | 343 | /**
*/
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... | epl-1.0 |
fmselab/fmautorepair | fmautorepair.mutation/src/fmautorepair/mutationoperators/features/AndToOr.java | 883 | 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... | epl-1.0 |
ObeoNetwork/EAST-ADL-Designer | plugins/org.obeonetwork.dsl.eastadl/src/org/obeonetwork/dsl/east_adl/structure/functional_analysis_architecture/impl/FunctionalAnalysisArchitectureImpl.java | 25068 | /**
* <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... | epl-1.0 |
zsmartsystems/com.zsmartsystems.zwave | com.zsmartsystems.zwave/src/main/java/com/zsmartsystems/zwave/commandclass/impl/CommandClassHumidityControlSetpointV1.java | 39425 | /**
* 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
*/... | epl-1.0 |
jmchilton/TINT | projects/TropixStorageCore/src/api/edu/umn/msi/tropix/storage/core/StorageManager.java | 2764 | /*******************************************************************************
* 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... | epl-1.0 |
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 | 5578 | /*******************************************************************************
* 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. ... | epl-1.0 |
happyspace/goclipse | plugin_ide.ui/src-lang/melnorme/util/swt/components/fields/SpinnerNumberField.java | 2850 | /*******************************************************************************
* 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... | epl-1.0 |
gmussbacher/seg.jUCMNav | src/ucm/map/UCMmap.java | 2263 | /**
* <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 -->
*... | epl-1.0 |
theArchonius/gerrit-attachments | src/test/java/com/eclipsesource/gerrit/plugins/fileattachment/api/test/converter/BaseAttachmentTargetResponseEntityReaderTest.java | 12234 | /**
*
*/
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... | epl-1.0 |
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBFromXSDTestCases.java | 51899 | /*******************************************************************************
* 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... | epl-1.0 |
rondiplomatico/texlipse | source/net/sourceforge/texlipse/properties/BibColoringPreferencePage.java | 2392 | /*
* $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... | epl-1.0 |
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/Helper.java | 92748 | /*******************************************************************************
* 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... | epl-1.0 |
debabratahazra/DS | designstudio/components/page/core/com.odcgroup.page.model/src/main/java/com/odcgroup/page/model/widgets/matrix/impl/MatrixFactory.java | 5946 | 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... | epl-1.0 |
debabratahazra/DS | designstudio/components/t24/ui/com.odcgroup.t24.enquiry.editor/src/main/java/com/odcgroup/t24/enquiry/editor/part/SelectionCriteriaEditPart.java | 1040 | 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... | epl-1.0 |
WtfJoke/codemodify | de.simonscholz.codemodify/src/de/simonscholz/junit4converter/converters/StandardModuleTestCaseConverter.java | 2841 | 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... | epl-1.0 |
KayErikMuench/reqiftools | reqifcompiler/src/main/java/de/kay_muench/reqif10/reqifcompiler/types/complex/EnumeratedAttributeValue.java | 1520 | /**
* 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 ... | epl-1.0 |
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 | 1563 | /*
* 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... | epl-1.0 |
Tasktop/code2cloud.server | com.tasktop.c2c.server/com.tasktop.c2c.server.developer.support/src/main/java/com/tasktop/c2c/server/developer/support/LocalServicesWebRunner.java | 2350 | /*******************************************************************************
* 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... | epl-1.0 |
bedatadriven/renjin | core/src/main/java/org/renjin/compiler/ir/tac/functions/ClosureDefinitionTranslator.java | 1957 | /*
* 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... | gpl-2.0 |
moriyoshi/quercus-gae | src/main/java/com/caucho/quercus/lib/gettext/expr/MulExpr.java | 1273 | /*
* 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... | gpl-2.0 |
erdalmutlu1/sisiya2 | ui/web/src/main/java/org/sisiya/ui/standart/System_service_alert.java | 8129 | //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... | gpl-2.0 |
owuorJnr/f8th | src/owuor/f8th/adapters/NotificationAdapter.java | 2832 | 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... | gpl-2.0 |
xiaotian15/meister | meister-config-server/src/main/java/org/xiaotian/config/ConfigFilesFinder.java | 4912 | 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在同一目录)读写... | gpl-2.0 |
nakedpony/justcoin-ripple-checker | src/main/java/com/shinydev/wrappers/JustcoinWrapper.java | 2350 | 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... | gpl-2.0 |
CleverCloud/Quercus | resin/src/main/java/com/caucho/env/thread/ThreadTask.java | 2251 | /*
* 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... | gpl-2.0 |
PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/gui/views/menus/ApplicationMenuBar.java | 3100 | /*
* 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... | gpl-2.0 |
serusisergio/CheckEngine | app/src/main/java/it/unica/checkengine/Sommo.java | 11304 | package it.unica.checkengine;
import android.util.Log;
/**
* Created by Stefano on 28/01/2015.
*/
public final class Sommo {
public final static void ave(){
String testo = ".\n,.....................................,,...,.,,,,..,,..............................................,.............,......\n" +
... | gpl-2.0 |
DrewG/mzmine3 | src/main/java/io/github/mzmine/modules/featuretable/renderers/RtRenderer.java | 1988 | /*
* 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... | gpl-2.0 |
joshmoore/zeroc-ice | java/src/IceInternal/OutgoingConnectionFactory.java | 37163 | // **********************************************************************
//
// 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.
//
// ***************************************************... | gpl-2.0 |
cst316/spring16project-Team-Chicago | src/net/sf/memoranda/IllegalPhoneNumberException.java | 614 | /**
* 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... | gpl-2.0 |
Jianchu/checker-framework | checker/tests/nullness/EnsuresNonNullIfInheritedTest.java | 934 | 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... | gpl-2.0 |
ParallelAndReconfigurableComputing/Pyjama | src/pj/pr/task/VirtualTarget.java | 1193 | /*
* 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... | gpl-2.0 |
lucaseverini/ROPE | src/rope1401/ClipboardListener.java | 1713 | /**
* <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... | gpl-2.0 |
lgvalle/Beautiful-Photos | app/src/main/java/com/lgvalle/beaufitulphotos/fivehundredpxs/model/Feature.java | 553 | 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);
... | gpl-2.0 |
52North/triturus | src/main/java/org/n52/v3d/triturus/gisimplm/GmSimpleElevationGrid.java | 17502 | /**
* 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 ... | gpl-2.0 |
sorelmitra/edu | carorder/src/spiridon/carorder/caritems/AlloyRimsCarItem.java | 248 | 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";
}
}
| gpl-2.0 |