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 |
|---|---|---|---|---|---|
package at.fhj.swd14.pse.person;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.LinkedList;
import javax.faces.context.ExternalContext;
import org.mockito.Mockito;
import at.fhj.swd14.pse.department.DepartmentDto;
import at.fhj.swd14.pse.department.DepartmentServic... | chr-krenn/chr-krenn-fhj-ws2016-sd14-pse | frontend/frontend-impl/src/test/java/at/fhj/swd14/pse/person/PersonUtil.java | Java | mit | 3,076 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.edgeorder.fluent.models;
import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com... | Azure/azure-sdk-for-java | sdk/edgeorder/azure-resourcemanager-edgeorder/src/main/java/com/azure/resourcemanager/edgeorder/fluent/models/ConfigurationInner.java | Java | mit | 4,546 |
package com.celsius.tsp.solver;
import com.celsius.tsp.proto.TspService;
/**
* Service that solves {@link com.celsius.tsp.proto.TspService.TravellingSalesmanProblem}
* using a fully synchronous approach.
*
* @since 1.0.0
* @author marc.bramaud
*/
@FunctionalInterface
public interface TravellingSalesmanHeuristic... | sircelsius/tsp-solver | src/main/java/com/celsius/tsp/solver/TravellingSalesmanHeuristic.java | Java | mit | 710 |
package edu.clemson.cs;
import java.awt.*;
public abstract class MovablePiece extends ArcadeGamePiece {
protected Velocity _currentVelocity;
protected BricklesView _theView;
protected Point _leadingPoint;
public MovablePiece(PlayingField fieldPtr, Point initialLocation, Velocity initialVelocit... | bulletshot60/brickles | edu/clemson/cs/MovablePiece.java | Java | mit | 1,385 |
package com.microsoft.bingads.v12.api.test.entities.criterions.adgroup.age.read;
import java.util.Arrays;
import java.util.Collection;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameter;
import org.junit.runners.Parameterize... | bing-ads-sdk/BingAds-Java-SDK | src/test/java/com/microsoft/bingads/v12/api/test/entities/criterions/adgroup/age/read/BulkAdGroupAgeCriterionReadStatusTest.java | Java | mit | 1,769 |
package br.senai.sp.todolist.controller;
import java.net.URI;
import java.util.HashMap;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
impo... | wellchaves/ToDoList | ToDoList/src/br/senai/sp/todolist/controller/UsuarioRestController.java | Java | mit | 2,429 |
package com.javarush.test.level08.lesson11.home09;
import java.util.Date;
class Solution {
public static void main(String[] args) {
String s = "MAY 1 2013";
boolean a = isDateOdd(s);
}
@SuppressWarnings("deprecation")
private static boolean isDateOdd(String date) {
boolean bool;
Date date1 =... | ailyenko/JavaRush | src/com/javarush/test/level08/lesson11/home09/Solution.java | Java | mit | 638 |
package org.java_websocket.drafts;
import java.nio.ByteBuffer;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import org.java_websocket.WebSocket.Role;
import org.java_websocket.exceptions.IncompleteHandshakeException;
import org.java_websocket.exceptions.Inva... | zcoklin/web_socket | src/main/java/org/java_websocket/drafts/Draft.java | Java | mit | 10,643 |
/*
* Copyright 1997-2015 Optimatika (www.optimatika.se)
*
* 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
* to use, co... | jpalves/ojAlgo | src/org/ojalgo/matrix/store/operation/ModifyAll.java | Java | mit | 1,502 |
package com.showka.domain.u06;
import com.showka.domain.DomainRoot;
import com.showka.domain.u05.Uriage;
import com.showka.system.exception.SystemException;
import com.showka.value.AmountOfMoney;
import com.showka.value.TheDate;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 売掛.
*
*/
... | ShowKa/HanbaiKanri | src/main/java/com/showka/domain/u06/Urikake.java | Java | mit | 1,664 |
package com.machado.waco.fragments;
import java.util.ArrayList;
import java.util.List;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import android.app.Fragment;
import android.content.Context;
import android.os.AsyncTask;
import android.os... | admiralmachado/WaCO-Player | src/com/machado/waco/fragments/SearchFragment.java | Java | mit | 5,360 |
package com.thomasbenard.feedbackloop;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
runSimulation(1);
runSimulation(10);
runSimulation(100);
runSimulation(1000);
}
private static void runSimulation(int moveDistance) {... | thomasbenard/feedbackloop | src/main/java/com/thomasbenard/feedbackloop/Main.java | Java | mit | 1,011 |
package org.ry8.external.imagezoom.graphics;
import android.graphics.Bitmap;
/**
* Base interface used in the {@link org.ry8.external.imagezoom.ImageViewTouchBase} view
* @author alessandro
*
*/
public interface IBitmapDrawable {
Bitmap getBitmap();
}
| TodaShi/esy | src/org/ry8/external/imagezoom/graphics/IBitmapDrawable.java | Java | mit | 260 |
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------------... | microsoftgraph/msgraph-sdk-java | src/main/java/com/microsoft/graph/models/AlertFeedback.java | Java | mit | 839 |
package app.rackdon.com.securitycam.stream;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import ... | rackdon/securityCam-app | app/src/main/java/app/rackdon/com/securitycam/stream/MjpegView.java | Java | mit | 8,725 |
package com.primateer.daikoku.model;
import com.primateer.daikoku.Application;
import com.primateer.daikoku.R;
public class Nutrient {
public static abstract class Type extends ValueObject {
public final String id;
public final Unit defaultUnit;
protected Type(String id, Unit.Type unitType) {
this(id,Unit... | vaxr/daikoku | src/com/primateer/daikoku/model/Nutrient.java | Java | mit | 6,988 |
package ocp._00_utils;
public class DefaultExample implements Example {
@Override
public void run() {
System.out.println("No implementation for the given chapter");
}
} | davidkuhner/ocpj8-samples | ocp/_00_utils/DefaultExample.java | Java | mit | 174 |
package com.jaf.examples.redis.redisson.pool;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
import org.redisson.core.RBucket;
/**
* TODO
*
* @author liaozhicheng
* @... | walle-liao/jaf-examples | jaf-examples-redis/src/test/java/com/jaf/examples/redis/redisson/pool/StringTypeTests.java | Java | mit | 2,009 |
/*
* Copyright (C) 2009-2015 FBReader.ORG Limited <contact@fbreader.org>
*
* 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 Foundation; either version 2 of the License, or
* (at your option) any later ... | zhqhzhqh/FbreaderJ | app/src/main/java/org/geometerplus/android/fbreader/bookmark/EditBookmarkActivity.java | Java | mit | 8,927 |
package by.triumgroup.recourse.configuration;
import by.triumgroup.recourse.configuration.security.SecurityConfiguration;
import by.triumgroup.recourse.controller.exception.RestExceptionHandler;
import by.triumgroup.recourse.repository.CourseRepository;
import by.triumgroup.recourse.repository.LessonRepository;
import... | TriumGroup/ReCourse | src/main/java/by/triumgroup/recourse/configuration/MainConfiguration.java | Java | mit | 3,605 |
/*
* Copyright (c) 2016 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
im... | terebesirobert/mockito | src/main/java/org/mockito/ArgumentMatchers.java | Java | mit | 48,644 |
package examples.multiapps;
import com.vtence.molecule.WebServer;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import static com.vtence.molecule.testing.http.HttpResponseAssert.assertThat;
import... | testinfected/molecule | src/test/java/examples/multiapps/MultiAppsTest.java | Java | mit | 1,735 |
import org.junit.Test;
import java.util.ArrayList;
import static org.junit.Assert.*;
/**
* Created by Kyle Z on 2/10/2017.
*/
public class HashAlgorithmTest {
@Test
public void HT() throws Exception {
}
@Test
public void containsKey() throws Exception {
}
@Test
... | ECE-Engineer/MachineLearning-BigData-Project | 365/src/test/java/HashAlgorithmTest.java | Java | mit | 1,500 |
package com.wizzardo.servlet.war;
import com.wizzardo.servlet.WarBuilder;
import com.wizzardo.servlet.WarTest;
import org.junit.Test;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.ht... | wizzardo/http-servlet-api | src/test/java/com/wizzardo/servlet/war/TestContextParams.java | Java | mit | 1,932 |
package aes.base;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockAccess;
imp... | AesGH/Motive | src/aes/base/TileEntitySpecialRendererBase2.java | Java | mit | 5,151 |
package com.firebaseapp.wanderson_jackson.powerlogsignupapp.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.firebaseapp.wanderson_jackson.powerlogsignup... | Wandersonjack/materialswipelogin | app/src/main/java/com/firebaseapp/wanderson_jackson/powerlogsignupapp/fragments/CarFragment.java | Java | mit | 796 |
package tree.declarations;
import java.util.LinkedList;
import errors.CXInternalError;
import tree.TreeNode;
import tree.other.CommonDeclaration;
import tree.other.CommonSpecifiers;
import tree.other.CommonDeclarator;
import tree.symbols.TSSemicolon;
public class TDeclarationDSIDL extends TDeclaration implements Co... | sparber/CComprehensiveDatatypes | src/tree/declarations/TDeclarationDSIDL.java | Java | mit | 2,522 |
package com.andrewswan.cashflow.web;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.andrewswan.cashflow.domain.Person;
@RooWebScaffold(path = "person", formBac... | andrewswan/cash-flow | src/main/java/com/andrewswan/cashflow/web/PersonController.java | Java | mit | 423 |
package imj.clustering;
import static java.lang.Math.abs;
import static java.lang.Math.sqrt;
import static multij.tools.MathTools.square;
/**
* @author codistmonk (creation 2013-03-31)
*/
public abstract interface Distance {
public abstract double getDistance(double[] sample1, double[] sample2);
public abstra... | codistmonk/IMJ | src/imj/clustering/Distance.java | Java | mit | 4,471 |
package com.equinix.amphibia.test;
/**
*
* @author dgofman
*/
import com.equinix.amphibia.components.ProjectDialog;
import junit.framework.Test;
import junit.framework.TestCase;
import javax.swing.*;
import org.junit.Ignore;
public class AmphibiaTest extends BaseTest {
public AmphibiaTest(String name) throw... | equinix/amphibia | client/src/test/java/com/equinix/amphibia/test/AmphibiaTest.java | Java | mit | 2,456 |
// @formatter:off
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* Licensed under the MIT license. See License.txt in the project root.
* ---------------------------------------------------------
*
* ---------------------------------------------... | Microsoft/vso-httpclient-java | Rest/alm-tfs-client/src/main/generated/com/microsoft/alm/teamfoundation/core/webapi/WebApiProjectCollection.java | Java | mit | 1,375 |
package com.sap.openui5;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.net.URLConnection;
import java.util.HashMap;
import java.ut... | awolfish/timetableservices | client/src/main/java/com/sap/openui5/LessFilter.java | Java | mit | 13,634 |
package com.jetbrains.crucible.model;
import org.jetbrains.annotations.NotNull;
/**
* @author Kirill Likhodedov
*/
public class Repository {
@NotNull private final String myName;
@NotNull private final String myUrl;
public Repository(@NotNull String name, @NotNull String url) {
myName = name;
myUrl ... | ktisha/Crucible4IDEA | src/com/jetbrains/crucible/model/Repository.java | Java | mit | 458 |
package examples;
import ciayn.elements.Callable;
import ciayn.elements.Input;
import ciayn.elements.Output;
import ciayn.elements.signal.ReadingFloat;
import ciayn.elements.signal.Signal;
import ciayn.elements.signal.SignalFloat;
import ciayn.elements.signal.ValueFloat;
import ciayn.elements.signal.unit.Unit;
import ... | lki1354/Ciayn | src/examples/useSignal.java | Java | mit | 2,109 |
package com.teamw.ysm0622.app_when.group;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.gr... | TeamWHEN/WHEN | app/src/main/java/com/teamw/ysm0622/app_when/group/GroupManage.java | Java | mit | 22,331 |
package restaurant_haus.test.mock;
/**
* This is the base class for all mocks.
*
* @author Sean Turner
*
*/
public class Mock {
private String name;
public EventLog log = new EventLog();
public Mock(String name) {
this.name = name;
}
public String getName() {
return name;
}
public String toString... | Narwhalprime/simcity201-team-project | src/restaurant_haus/test/mock/Mock.java | Java | mit | 381 |
package com.everest.pontointeligente.api.entities;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumTyp... | rinaldo-santana/ponto-inteligente-api | src/main/java/com/everest/pontointeligente/api/entities/Funcionario.java | Java | mit | 5,335 |
package com.bkahlert.nebula.information;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.action.GroupMarker;
impor... | bkahlert/com.bkahlert.nebula | src/com/bkahlert/nebula/information/InformationControl.java | Java | mit | 8,459 |
/*
* The MIT License
*
* Copyright 2016 enlo.
*
* 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
* to use, copy, mo... | enlo/jmt-projects | jmt-core/src/main/java/info/naiv/lab/java/jmt/infrastructure/annotation/ServicePriority.java | Java | mit | 1,631 |
package mcjty.rftools.blocks.shield.filters;
import mcjty.rftools.network.ByteBufConverter;
import net.minecraft.entity.Entity;
import net.minecraft.nbt.NBTTagCompound;
public interface ShieldFilter extends ByteBufConverter {
public static final int ACTION_PASS = 0; // Entities that match this filter c... | Adaptivity/RFTools | src/main/java/mcjty/rftools/blocks/shield/filters/ShieldFilter.java | Java | mit | 839 |
package uk.ac.imperial.doc.jexpressions.expressions;
public class ExpressionWrapper extends AbstractExpression {
protected final AbstractExpression internalExpression;
public ExpressionWrapper(AbstractExpression internalExpression) {
super();
this.internalExpression = internalExpression;
}
@Override
public... | anton23/gpanalyser | src-jexpressions/uk/ac/imperial/doc/jexpressions/expressions/ExpressionWrapper.java | Java | mit | 980 |
package org.ethereum.db;
import org.ethereum.core.Genesis;
import org.ethereum.crypto.HashUtil;
import org.ethereum.datasource.HashMapDB;
import org.ethereum.core.Repository;
import org.ethereum.util.ByteUtil;
import org.ethereum.vm.DataWord;
import org.junit.Assert;
import org.junit.FixMethodOrder;
import org.junit... | gcc2ge/ethereumj | ethereumj-core/src/test/java/org/ethereum/db/RepositoryTest.java | Java | mit | 34,605 |
package ru.cheremin.scalarization.lab.misc;
import java.util.*;
import ru.cheremin.scalarization.AllocationScenario;
import ru.cheremin.scalarization.ScenarioRun;
import ru.cheremin.scalarization.infra.ScenarioRunArgs;
import ru.cheremin.scalarization.lab.Utils.Pool;
import static com.google.common.base.Precondition... | cheremin/scalarization | lab/src/main/java/ru/cheremin/scalarization/lab/misc/PreconditionsScenario.java | Java | cc0-1.0 | 3,963 |
package com.cenfotec.dondeEs.pojo;
import java.util.Date;
import java.util.List;
/**
* The persistent class for the event database table.
*
*/
public class EventPOJO {
private int eventId;
private String description;
private String image;
private String largeDescription;
private String name;
privat... | pigleth96/Softlutions | dondeEs/src/main/java/com/cenfotec/dondeEs/pojo/EventPOJO.java | Java | cc0-1.0 | 4,320 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2016.02.... | jamhgit/pesc-transcript-jar | pesccoltrn/src/main/java/org/pesc/core/coremain/v1_14/PellAwardResponseType.java | Java | cc0-1.0 | 6,336 |
package exceptions;
/**
* @author maikol_beto
*/
public class DiferentTypesComparationException extends Exception {
public DiferentTypesComparationException() {
super("Error: Los tipos de datos que desea comparar en la operacion"
+ " WHERE son incompatibles");
}
}
| e3r8ick/urSQL | urSQL/src/exceptions/DiferentTypesComparationException.java | Java | cc0-1.0 | 317 |
/*
* Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com>
* Copyright (C) 2006-2008, Shawn O. Pearce <spearce@spearce.org>
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distributio... | forge/plugin-undo | src/main/jgit/org/jboss/forge/jgit/storage/file/ByteWindow.java | Java | epl-1.0 | 4,971 |
package org.gemoc.scenario.xdsml.functionscenario.adapters.functionscenariomt.activity;
import fr.inria.diverse.melange.adapters.EObjectAdapter;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.gemoc.scenario.xdsml.functionscenario.adapters.function... | smadelenat/CapellaModeAutomata | Semantic/Scenario/org.gemoc.scenario.xdsml/src-gen/org/gemoc/scenario/xdsml/functionscenario/adapters/functionscenariomt/activity/ActivityExchangeAdapter.java | Java | epl-1.0 | 13,068 |
package ch.elexis.core.findings.fhir.model.service;
import java.util.Optional;
import javax.persistence.EntityManager;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.comp... | elexis/elexis-3-core | bundles/ch.elexis.core.findings.fhir.model/src/ch/elexis/core/findings/fhir/model/service/FindingsModelService.java | Java | epl-1.0 | 5,335 |
/*
* 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... | inocybe/odl-bgpcep | bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/RouteOriginIpv4EcHandlerTest.java | Java | epl-1.0 | 2,313 |
/*******************************************************************************
* Copyright (c) 2008 itemis AG (http://www.itemis.eu) 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 distr... | miklossy/xtext-core | org.eclipse.xtext.util/src/org/eclipse/xtext/util/TailWriter.java | Java | epl-1.0 | 1,674 |
/*
* Copyright (C) 2006, 2007 Dennis Hunziker, Ueli Kistler
* Copyright (C) 2007 Reto Schuettel, Robin Stocker
*
* IFS Institute for Software, HSR Rapperswil, Switzerland
*
*/
package org.python.pydev.refactoring.ast.visitors.context;
import org.python.pydev.editor.codecompletion.revisited.visitors.Abstract... | smkr/pyclipse | plugins/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ast/visitors/context/ScopeVariablesVisitor.java | Java | epl-1.0 | 3,281 |
/*******************************************************************************
* Copyright (c) 2007-2008, G. Weirich and Elexis
* 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 a... | DavidGutknecht/elexis-3-base | bundles/ch.berchtold.privatrechnung/src/ch/berchtold/emanuel/privatrechnung/data/Importer.java | Java | epl-1.0 | 7,426 |
/**
*/
package de.cooperateproject.eabridge.eaobjectmodel;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Method</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are s... | Cooperate-Project/EnterpriseArchitectBridge | bundles/de.cooperateproject.eabridge.eaobjectmodel/src-gen/de/cooperateproject/eabridge/eaobjectmodel/Method.java | Java | epl-1.0 | 29,297 |
/*******************************************************************************
* Portions created by Sebastian Thomschke are copyright (c) 2005-2011 Sebastian
* Thomschke.
*
* All Rights Reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0... | msche/oval | src/main/java/net/sf/oval/constraint/EqualToFieldCheck.java | Java | epl-1.0 | 5,349 |
package org.eclipse.xtext.parser.terminalrules;
/**
* Initialization support for running Xtext languages
* without equinox extension registry
*/
public class Bug317840TestLanguageStandaloneSetup extends Bug317840TestLanguageStandaloneSetupGenerated{
public static void doSetup() {
new Bug317840TestLanguageStan... | miklossy/xtext-core | org.eclipse.xtext.tests/src/org/eclipse/xtext/parser/terminalrules/Bug317840TestLanguageStandaloneSetup.java | Java | epl-1.0 | 378 |
/**
* Eclipse Public License - v 1.0
*
* THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
* OF THE
* PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
*
* 1. DEFINITIONS
*
* "Contribution" means:
*
* a) in ... | RodriguesJ/Atem | src/com/runescape/server/revised/actor/entity/BehaviorType.java | Java | epl-1.0 | 11,742 |
/**
* Copyright (c) 2010-2021 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.... | MikeJMajor/openhab2-addons-dlinksmarthome | bundles/org.openhab.binding.teleinfo/src/main/java/org/openhab/binding/teleinfo/internal/dto/cbemm/evoicc/FrameCbemmEvolutionIccEjpOption.java | Java | epl-1.0 | 1,515 |
/*******************************************************************************
* 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 | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/mappings/directtofield/typeattribute/TypeAttributeCustomAddTestCases.java | Java | epl-1.0 | 1,799 |
package com.example.util;
import java.io.IOException;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apa... | PaiGaVR/Orders | src/com/example/util/HttpUtil.java | Java | epl-1.0 | 3,433 |
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_main_0 implements JET2Template {
private static final String _jetn... | ot4i/message-splitter-mq-oneway-xml-pattern | src/com.ibm.etools.mft.pattern.mbi/jet2java/org/eclipse/jet/compiled/_jet_main_0.java | Java | epl-1.0 | 55,172 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | sonatype/nexus-public | components/nexus-security/src/main/java/org/sonatype/nexus/security/user/UserExists.java | Java | epl-1.0 | 1,605 |
// Copyright (c) 1996-99 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 appea... | argocasegeo/argocasegeo | src/org/argouml/uml/ui/UMLAttributesListModel.java | Java | epl-1.0 | 8,775 |
/*******************************************************************************
* Copyright (c) 2016 Florian Zoubek.
* 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
... | theArchonius/mervin | plugins/at.bitandart.zoubek.mervin/src/at/bitandart/zoubek/mervin/review/explorer/DiffCounterComparator.java | Java | epl-1.0 | 2,173 |
package com.redhat.ceylon.eclipse.core.model;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.IJavaElement;
import com.redhat.ceylon.model.typechecker.model.Declaration;
import com.redhat.ceylon.model.typ... | rohitmohan96/ceylon-ide-eclipse | plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/model/CeylonBinaryUnit.java | Java | epl-1.0 | 4,602 |
/**
*
*/
package com.googlecode.pennybank.swing.view.category;
import javax.swing.JComboBox;
import com.googlecode.pennybank.App;
import com.googlecode.pennybank.model.category.entity.Category;
import com.googlecode.pennybank.swing.controller.category.CategoryComboBoxListener;
import com.googlecode.pennybank.swing... | spenap/pennybank | src/main/java/com/googlecode/pennybank/swing/view/category/CategoriesComboBox.java | Java | epl-1.0 | 1,220 |
package de.ptb.epics.eve.editor;
import org.apache.log4j.Logger;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IWorkbenchPart;
/**
*
*
* @author Marcus Michalsky
* @since 1.1
*/
public class SelectionTracker implements ISelectionListener {
privat... | eveCSS/eveCSS | bundles/de.ptb.epics.eve.editor/src/de/ptb/epics/eve/editor/SelectionTracker.java | Java | epl-1.0 | 633 |
package com.onexy.pss.service.impl;
import java.util.List;
import com.onexy.pss.domain.Employee;
import com.onexy.pss.service.IEmployeeService;
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements
IEmployeeService {
@Override
public boolean findByName(String name) {
String hql = "sele... | OneXY/pss | src/main/java/com/onexy/pss/service/impl/EmployeeServiceImpl.java | Java | epl-1.0 | 1,588 |
/**
* Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) 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.htm... | maieralex/smarthome | extensions/binding/org.eclipse.smarthome.binding.digitalstrom/src/main/java/org/eclipse/smarthome/binding/digitalstrom/internal/digitalSTROMLibary/digitalSTROMStructure/DetailedGroupInfo.java | Java | epl-1.0 | 910 |
/*******************************************************************************
* Copyright 2012 Google Inc. All Rights Reserved.
*
* 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 ... | gwt-plugins/gwt-eclipse-plugin | plugins/com.gwtplugins.gdt.eclipse.suite.update/src/com/google/gdt/eclipse/suite/update/FeatureUpdateCheckersMap.java | Java | epl-1.0 | 2,420 |
/*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | michele-loreti/jResp | core/org.cmg.jresp.pastry/pastry-2.1/src/rice/persistence/Catalog.java | Java | epl-1.0 | 6,949 |
/*
*******************************************************************************
* Copyright (c) 2014 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 avai... | whizzosoftware/hobson-hub-api | src/main/java/com/whizzosoftware/hobson/api/plugin/PluginManager.java | Java | epl-1.0 | 7,080 |
/**
* 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... | mattnl/openhab | bundles/binding/org.openhab.binding.maxcube/src/main/java/org/openhab/binding/maxcube/internal/message/S_Command.java | Java | epl-1.0 | 3,160 |
/**
* Copyright (c) 2014-2018 committers of YAKINDU 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
*
* Con... | Yakindu/statecharts | test-plugins/org.yakindu.sct.generator.c.test/src/org/yakindu/sct/generator/c/test/AllCSpecificTests.java | Java | epl-1.0 | 1,030 |
/*
* 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-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/branch/BranchViewImpl.java | Java | epl-1.0 | 9,107 |
/*******************************************************************************
* Copyright (c) 2016 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, and is a... | elucash/eclipse-oxygen | org.eclipse.jdt.core/src/org/eclipse/jdt/internal/compiler/ast/ModuleStatement.java | Java | epl-1.0 | 846 |
/*******************************************************************************
* Copyright (c) 2012, 2014 Pivotal Software, 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 ... | oxmcvusd/eclipse-integration-gradle | org.springsource.ide.eclipse.gradle.ui/src/org/springsource/ide/eclipse/gradle/ui/actions/RefreshSourceFoldersAction.java | Java | epl-1.0 | 1,765 |
/**
* 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... | Mark-Booth/daq-eclipse | uk.ac.diamond.org.apache.activemq/org/apache/activemq/command/ConsumerControl.java | Java | epl-1.0 | 3,588 |
/*******************************************************************************
* Copyright (c) 2013-2015 UAH Space Research Group.
* 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... | parraman/micobs | mclev/es.uah.aut.srg.micobs.mclev/src/es/uah/aut/srg/micobs/mclev/mclevslib/MStringParamSLSPSwitch.java | Java | epl-1.0 | 1,002 |
/**
* 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-addons | org.lunifera.ecview.semantic.uimodel/src/org/lunifera/ecview/semantic/uimodel/UiField.java | Java | epl-1.0 | 1,676 |
/*******************************************************************************
* Copyright (c) 2019, 2021 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... | kgibm/open-liberty | dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/suite/TlsTests.java | Java | epl-1.0 | 1,464 |
/*-
*******************************************************************************
* Copyright (c) 2015 Diamond Light Source Ltd.
* 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... | willrogers/dawnsci | org.eclipse.dawnsci.nexus/src/org/eclipse/dawnsci/nexus/impl/NXshapeImpl.java | Java | epl-1.0 | 1,992 |
package eu.mondo.sam.core.publishers;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import eu.mondo.sam.core.results.BenchmarkResult;
import eu.mondo.sam.core.results.formatters.FormatException;
import eu.mondo.sam.core.results.formatters.ResultFormatter;
public class File... | FTSRG/mondo-sam | eu.mondo.sam.core/src/main/java/eu/mondo/sam/core/publishers/FilePublisher.java | Java | epl-1.0 | 2,745 |
package com.genuitec.piplug.tools.ui.views;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerComparator;
import com.genuitec.piplug.tools.model.PiPlugExtension;
public class ExtensionNameComparator extends ViewerComparator {
@Override
public int compare(Viewer viewer, ... | Genuitec/piplug | com.genuitec.piplug.tools.ui/src/com/genuitec/piplug/tools/ui/views/ExtensionNameComparator.java | Java | epl-1.0 | 472 |
/*
* 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 ... | DavidGutknecht/elexis-3-base | bundles/org.apache.solr/src/org/apache/solr/client/solrj/io/eval/ConversionEvaluator.java | Java | epl-1.0 | 6,450 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | sonatype/nexus-public | components/nexus-common/src/main/java/org/sonatype/nexus/common/guice/TypeConverterSupport.java | Java | epl-1.0 | 2,304 |
/*
* Copyright (c) 2013 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.... | opendaylight/bgpcep | pcep/base-parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/PCEPErrorObjectParser.java | Java | epl-1.0 | 4,833 |
/*****************************************************************************
* Copyright (c) 2012 CEA LIST.
*
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the CeCILL-C Free Software License v1.0
* which accompanies this distribution, and is ava... | RobotML/RobotML-SDK-Juno | plugins/robotml/org.eclipse.papyrus.robotml.diagram.interfacedef/src-gen/org/eclipse/papyrus/robotml/diagram/interfacedef/preferences/CommentPreferencePage.java | Java | epl-1.0 | 1,123 |
/**
* Copyright (c) 2010-2014, 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... | PlegmaLabs/openhab | bundles/binding/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/SonosZonePlayer.java | Java | epl-1.0 | 54,954 |
/**
* Copyright (c) 2010-2021 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.... | paulianttila/openhab2 | bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/handler/EnOceanClassicDeviceHandler.java | Java | epl-1.0 | 10,512 |
/**
* DB Systel GmbH / i.S.A. Dresden GmbH & Co. KG (c) 2010
*/
package org.flowr.ant.tasks;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.PropertyHelper;
/**
* Ant task evaluating the lead part before a specified separator.
*<p>usage:</p>
* <pre>
* <tailString property="<i>result.p... | krasv/flowr | commons/ant/org.flowr.ant.tasks/src/main/java/org/flowr/ant/tasks/TailStringTask.java | Java | epl-1.0 | 1,637 |
//$Id: IndexedCollectionTest.java 18638 2010-01-26 20:11:51Z steve.ebersole@jboss.com $
package org.hibernate.test.annotations.indexcoll;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.hibernate.Hibernate;... | ControlSystemStudio/cs-studio | thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/annotations/src/test/java/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java | Java | epl-1.0 | 18,621 |
/*
* Copyright (c) 2013 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 or... | martinmathewhuawei/daylight-cisco-ctrl | opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/SetNwSrc.java | Java | epl-1.0 | 2,034 |
/*******************************************************************************
* Copyright (c) 2010, 2012 Tasktop Technologies
* Copyright (c) 2010, 2011 SpringSource, a division of VMware
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Pu... | Tasktop/code2cloud.server | com.tasktop.c2c.server/com.tasktop.c2c.server.profile.web.ui/src/main/java/com/tasktop/c2c/server/profile/web/ui/client/presenter/AbstractProfilePresenter.java | Java | epl-1.0 | 1,611 |
/*******************************************************************************
* Copyright (c) 2013 EclipseSource 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 ava... | xeviox-com/blackstrap | src/com/xeviox/commons/conditions/Clauses.java | Java | epl-1.0 | 4,145 |
/**
* Copyright (c) 2016 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Ob... | ObeoNetwork/M2Doc | plugins/org.obeonetwork.m2doc/src-gen/org/obeonetwork/m2doc/template/IGenerateable.java | Java | epl-1.0 | 1,253 |
/*******************************************************************************
* Copyright (c) 2017 Red Hat, 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 avai... | djelinek/reddeer | plugins/org.eclipse.reddeer.swt/src/org/eclipse/reddeer/swt/api/CTabItem.java | Java | epl-1.0 | 1,464 |
package com.odcgroup.page.resource.exception;
import org.eclipse.emf.common.util.URI;
/**
* Thrown if a PageDSLResource is loaded and no root widget is present
*
* @author amc
*
*/
public class RootWidgetNullException extends PageDSLResourceLoadException {
private static final long serialVersionUID = -91319949... | debabratahazra/DS | designstudio/components/page/core/com.odcgroup.page.model.dsl/src/com/odcgroup/page/resource/exception/RootWidgetNullException.java | Java | epl-1.0 | 433 |
package app.yuanfresh.lijz.beans;
public class PingJia_Info {
private String goods_id; //商品ID
private String evaluate_score; //满意度
private String evaluate_comment; //评论内容
private String store_desccredit; //发货速度
private String store_servicecredit; //服务态度
private String ... | lijz36/YuanFresh | V_1.0/YuanFresh/src/app/yuanfresh/lijz/beans/PingJia_Info.java | Java | epl-1.0 | 2,160 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | sonatype/nexus-public | components/nexus-repository-services/src/main/java/org/sonatype/nexus/repository/search/query/SearchResultComponentGenerator.java | Java | epl-1.0 | 1,090 |