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 org.smeup.sys.os.scde.cron;
import org.eclipse.emf.ecore.EObject;
import org.smeup.sys.os.scde.QScheduleEntry;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Cron Schedule Entry</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <... | smeup/asup | org.smeup.sys.os.scde.cron/src/org/smeup/sys/os/scde/cron/QCronScheduleEntry.java | Java | epl-1.0 | 5,250 |
/*******************************************************************************
* 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. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/tools/schemaframework/VarrayDefinition.java | Java | epl-1.0 | 5,445 |
/******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
* 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 avail... | eroslevi/titan.EclipsePlug-ins | org.eclipse.titan.designer/src/org/eclipse/titan/designer/AST/TTCN3/attributes/InternalPortTypeAttribute.java | Java | epl-1.0 | 958 |
/*******************************************************************************
* Copyright (c) 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, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.tests.jpaconfig_jpa_3.0_fat/fat/src/com/ibm/ws/jpa/tests/jpaconfig/FATSuite.java | Java | epl-1.0 | 1,509 |
/*******************************************************************************
* Copyright (c) 2009 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/src/org/eclipse/xtext/resource/impl/AbstractResourceDescription.java | Java | epl-1.0 | 3,057 |
/**
* Copyright (c) 2006 Borland Software 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contribut... | ghillairet/gmf-tooling-gwt-runtime | org.eclipse.gmf.runtime.lite.gwt/src/org/eclipse/gmf/runtime/gwt/parts/IDiagramOutlineHost.java | Java | epl-1.0 | 1,010 |
/*******************************************************************************
* 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/xmlmarshaller/structureValidation/group/nestedGroup/GroupWithNestedGroupTestCases.java | Java | epl-1.0 | 3,112 |
package br.com.drogaria.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import br.com.drogaria.domain.Fabricante;
import br.com.drogaria.factory.ConexaoFactory;
public class FabricanteDAO {
public void salvar(F... | victorluissantos/drogaria | JavaSource/br/com/drogaria/dao/FabricanteDAO.java | Java | epl-1.0 | 3,597 |
package rlpark.plugin.irobot.internal.statemachine;
import java.util.Arrays;
public class DataNode implements SerialLinkNode {
private int dataRead = 0;
final byte[] data;
public DataNode(int dataSize) {
data = new byte[dataSize];
}
@Override
public void start() {
dataRead = 0;
}
@Override
... | amw8/rlpark | rlpark.plugin.irobot/src/rlpark/plugin/irobot/internal/statemachine/DataNode.java | Java | epl-1.0 | 664 |
/*
* Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. 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.h... | opendaylight/netvirt | aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/recovery/AclInterfaceRecoveryHandler.java | Java | epl-1.0 | 2,518 |
package hu.bme.mit.trainbenchmark.benchmark.neo4j.transformations;
import hu.bme.mit.trainbenchmark.benchmark.neo4j.driver.Neo4jDriver;
import hu.bme.mit.trainbenchmark.benchmark.neo4j.matches.Neo4jMatch;
import hu.bme.mit.trainbenchmark.constants.RailwayOperation;
import hu.bme.mit.trainbenchmark.neo4j.Neo4jConstants... | FTSRG/trainbenchmark | trainbenchmark-tool-neo4j/src/main/java/hu/bme/mit/trainbenchmark/benchmark/neo4j/transformations/Neo4jCypherTransformation.java | Java | epl-1.0 | 1,024 |
package Model;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.JOptionPane;
public abstract class FileComponent {
protected String name;
private String uID;
private int size;
private Date creationDate;
private Date modificationDate;
private FileCompon... | johanb21/FileSystem | FileSystem/src/Model/FileComponent.java | Java | epl-1.0 | 2,128 |
/*
* 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... | NABUCCO/org.nabucco.framework.common.authorization | org.nabucco.framework.common.authorization.ui.rcp/src/main/gen/org/nabucco/framework/common/authorization/ui/rcp/list/group/view/AuthorizationGroupListViewWidgetFactory.java | Java | epl-1.0 | 2,142 |
package com.abstratt.kirra;
import java.util.function.Supplier;
public class KirraException extends RuntimeException {
public static enum Kind {
ELEMENT_NOT_FOUND, ENTITY, EXTERNAL, OBJECT_NOT_FOUND, SCHEMA, VALIDATION, AUTHORIZATION, INTERNAL, AUTHENTICATION
}
private static final long ... | abstratt/kirra | com.abstratt.kirra.api/src/main/java/com/abstratt/kirra/KirraException.java | Java | epl-1.0 | 1,591 |
package org.jboss.shrinkwrap.descriptor.api.connector10;
import org.jboss.shrinkwrap.descriptor.api.Child;
/**
* This interface defines the contract for the <code> config-property </code> xsd type
* @author <a href="mailto:ralf.battenfeld@bluewin.ch">Ralf Battenfeld</a>
* @author <a href="mailto:alr@jboss.org">An... | forge/javaee-descriptors | api/src/main/java/org/jboss/shrinkwrap/descriptor/api/connector10/ConfigProperty.java | Java | epl-1.0 | 4,799 |
package ch.elexis.core.serial;
import java.util.ArrayList;
import java.util.List;
import ch.elexis.core.serial.Connection.ComPortListener;
public class TestComPortListener implements ComPortListener {
private List<String> chunks;
public TestComPortListener(){
chunks = new ArrayList<>();
}
@Override
publ... | elexis/elexis-3-core | tests/ch.elexis.core.serial.test/src/ch/elexis/core/serial/TestComPortListener.java | Java | epl-1.0 | 502 |
/*
* $Id: Checkbox.java 1571 2015-02-28 05:42:25Z PSpeed42@gmail.com $
*
* Copyright (c) 2012-2012 jMonkeyEngine
* 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 o... | noncom/lemur | java/com/simsilica/lemur/Checkbox.java | Java | epl-1.0 | 6,554 |
package com.xored.q7.quality.mockups.issues.parts;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.layout.GridLayoutFactory;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.custom.CTabItem;
import org.e... | xored/q7.quality.mockups | plugins/com.xored.q7.quality.mockups.issues/src/com/xored/q7/quality/mockups/issues/parts/RCPTT531_BrowserDialogWithTabFolder.java | Java | epl-1.0 | 2,597 |
/*
* This file is part of the XASDI project (http://x10-lang.org/xasdi/).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* 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.... | x10-lang/xasdi | src/bridge/src/com/ibm/xasdi_bridge/simulator/RegionListener.java | Java | epl-1.0 | 1,731 |
/*
* 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... | NABUCCO/org.nabucco.framework.importing | org.nabucco.framework.importing.facade.service/src/main/gen/org/nabucco/framework/importing/facade/service/produce/ProduceImporting.java | Java | epl-1.0 | 2,064 |
/*******************************************************************************
* Copyright 2009 Regents of the University of Minnesota. All rights
* reserved.
* Copyright 2009 Mayo Foundation for Medical Education and Research.
* All rights reserved.
*
* This program is made available under the terms of the Ecl... | jmchilton/TINT | projects/TropixPersistence/src/dao-impl-hibernate/edu/umn/msi/tropix/persistence/dao/hibernate/TropixPersistenceTemplate.java | Java | epl-1.0 | 2,860 |
/*
* Copyright (c) 2012-2014 NEC 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 available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendayl... | opendaylight/vtn | coordinator/java/vtn-javaapi/src/org/opendaylight/vtn/javaapi/reflect/AnnotationReflect.java | Java | epl-1.0 | 5,578 |
/*
* AutoRefactor - Eclipse plugin to automatically refactor Java code bases.
*
* Copyright (C) 2014 Jean-Noël Rouvignac - initial API and implementation
*
* 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 Soft... | TIYdoc/AutoRefactor | samples/src/test/java/org/autorefactor/refactoring/rules/samples/test/package-info.java | Java | epl-1.0 | 1,320 |
/*
* Copyright (c) 2017 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/yangtools | parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/parser/stmt/rfc7950/LeafrefStatementTest.java | Java | epl-1.0 | 3,215 |
/*******************************************************************************
* 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 ... | codenvy/che-core | platform-api/che-core-api-builder/src/main/java/org/eclipse/che/api/builder/internal/DependencyCollector.java | Java | epl-1.0 | 1,729 |
/*
* generated by Xtext
*/
package com.lowcoupling.mdpm.lng.pbs;
import org.eclipse.xtext.junit4.GlobalRegistries;
import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento;
import org.eclipse.xtext.junit4.IInjectorProvider;
import org.eclipse.xtext.junit4.IRegistryConfigurator;
import com.google.inject.Inj... | smoczek/mdpm | com.lowcoupling.mdpm.lng.pbs.tests/src-gen/com/lowcoupling/mdpm/lng/pbs/PBSInjectorProvider.java | Java | epl-1.0 | 1,224 |
/**
* Measurement Tool implementation using Kieker.
*/
package de.uka.ipd.sdq.beagle.measurement.kieker;
| Beagle-PSE/Beagle | Kieker Measurement Tool/src/main/java/de/uka/ipd/sdq/beagle/measurement/kieker/package-info.java | Java | epl-1.0 | 107 |
/*******************************************************************************
* Copyright (c) 2016 Obeo.
* 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
* h... | nlepine/M2Doc | plugins/org.obeonetwork.m2doc/src/org/obeonetwork/m2doc/parser/DocumentParser.java | Java | epl-1.0 | 3,022 |
package com.odcgroup.page.ui.command.grid;
import com.odcgroup.page.model.widgets.Grid;
import com.odcgroup.page.model.widgets.GridRow;
import com.odcgroup.page.ui.command.BaseCommand;
/**
* @author atr
* @since DS 1.40.0
*/
public class GridInsertRowBelowCommand extends BaseCommand {
private Grid grid;
privat... | debabratahazra/DS | designstudio/components/page/ui/com.odcgroup.page.ui/src/main/java/com/odcgroup/page/ui/command/grid/GridInsertRowBelowCommand.java | Java | epl-1.0 | 865 |
/*******************************************************************************
* Copyright (c) 2009, 2014 IBM Corp.
*
* 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 v1.0 which accompany ... | yanjiangbo06/libraryDemo | commonlibrary/src/main/java/cn/com/venvy/mqttv3/MqttTopic.java | Java | epl-1.0 | 8,425 |
/*
* $Id: ElementSelector.java 1058 2013-07-27 09:29:52Z PSpeed42@gmail.com $
*
* Copyright (c) 2012-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistribu... | noncom/lemur | java/com/simsilica/lemur/style/ElementSelector.java | Java | epl-1.0 | 2,937 |
/*
* Copyright (c) [2012] - [2017] 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:
* ... | codenvy/codenvy | plugins/plugin-hosted/codenvy-machine-hosted/src/main/java/com/codenvy/machine/RemoteDockerNode.java | Java | epl-1.0 | 4,358 |
package com.yipsilon.osgi.internal;
import java.io.File;
import java.io.FileFilter;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeSet;
import com.yipsilon.osgi.BundleException;
import com.yipsilon.osgi.IBundle;
import com.yipsi... | uniquejava/mini_osgi | src/com/yipsilon/osgi/internal/Framework.java | Java | epl-1.0 | 24,321 |
/**
* 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.... | msiedlarek/openhab2 | addons/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/handler/ZWaveControllerHandler.java | Java | epl-1.0 | 13,757 |
/*******************************************************************************
* Copyright (c) 2007, 2011 David Green 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... | elelpublic/wikitext-all | src/org.eclipse.mylyn.wikitext.twiki.core/src/org/eclipse/mylyn/internal/wikitext/twiki/core/token/IconReplacementToken.java | Java | epl-1.0 | 1,803 |
package org.springsource.ide.eclipse.commons.browser;
/**
* Allows generic function calls from StsBrowser embedded javascript call.
*
* @author Miles Parker
* @author Kris De Volder
*/
public interface IBrowserToEclipseFunction {
public void call(String argument);
}
| spring-projects/eclipse-integration-commons | org.springsource.ide.eclipse.commons.browser/src/org/springsource/ide/eclipse/commons/browser/IBrowserToEclipseFunction.java | Java | epl-1.0 | 275 |
package org.arguslab.icc_implicit_nosrc_sink;
import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
public class FooActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... | fgwei/ICC-Bench | icc_implicit_nosrc_sink/src/main/java/org/arguslab/icc_implicit_nosrc_sink/FooActivity.java | Java | epl-1.0 | 490 |
/**
* Copyright (c) 2012, 2014 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
*
*
* Contribu... | asupdev/asup | org.asup.db.core.jtds/src/org/asup/db/core/jtds/JtdsActivator.java | Java | epl-1.0 | 1,209 |
package com.intuit.tank.script;
/*
* #%L
* JSF Support Beans
* %%
* Copyright (C) 2011 - 2015 Intuit 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
*... | rkadle/Tank | web/web_support/src/test/java/com/intuit/tank/script/CopyBufferTest.java | Java | epl-1.0 | 3,602 |
/*
* 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 version.
*
* This program is distributed in the hope that it will be use... | ahmedmoustafa/JAligner | src/jaligner/matrix/MatrixGenerator.java | Java | gpl-2.0 | 1,876 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.oliveira.controleloja.datamodels;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.p... | pauloholiveira/projetospessoais | ControleLoja_Models/src/br/com/oliveira/controleloja/datamodels/ProdutoStatus.java | Java | gpl-2.0 | 2,655 |
/*
* Copyright (c) 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 Softwa... | dmlloyd/openjdk-modules | nashorn/src/jdk.scripting.nashorn.shell/share/classes/module-info.java | Java | gpl-2.0 | 1,416 |
/*
* Copyright (c) 1998-2011 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... | dlitz/resin | modules/resin/src/com/caucho/amber/expr/BooleanColumnExpr.java | Java | gpl-2.0 | 4,195 |
/*
* This file is part of the ZoRa project: http://www.photozora.org.
*
* ZoRa 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 versi... | bdaum/zoraPD | com.bdaum.zoom.core/src/com/bdaum/zoom/core/CatalogAdapter.java | Java | gpl-2.0 | 2,806 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package model;
/**
*
* @author ocid
*/
public class Room {
private String roomId = null ; // Id ruangan
private String name = null ; // Nama ruangan
private String description = null ; // Deskripsi ten... | putdesrobb/SMARTLAMP_d3if3603_kelompok4 | src/model/Room.java | Java | gpl-2.0 | 1,934 |
/**
* Copyright (c) 2013, iquesters - All Rights Reserved.
*/
package org.iq.ums.action.option;
import org.iq.action.Action;
import org.iq.action.SubmitAction;
/**
* @author Sam
*
*/
@Action(id = "OptionUpdateSA")
public class OptionUpdateSA extends SubmitAction {
/**
*
*/
private stat... | iquesters/core | src/org/iq/ums/action/option/OptionUpdateSA.java | Java | gpl-2.0 | 636 |
package yushijinhun.advancedcommands.util;
import java.io.CharArrayWriter;
import java.io.PrintWriter;
public final class ExceptionHelper {
public static String exceptionToString(Throwable e) {
CharArrayWriter out = new CharArrayWriter();
e.printStackTrace(new PrintWriter(out));
return out.toString().replace(... | yushijinhun/AdvancedCommands | src/main/java/yushijinhun/advancedcommands/util/ExceptionHelper.java | Java | gpl-2.0 | 711 |
package edu.asu.spring.quadriga.web.login;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.AuthenticationEx... | diging/quadriga | Quadriga/src/main/java/edu/asu/spring/quadriga/web/login/RestAuthenticationEntryPoint.java | Java | gpl-2.0 | 1,027 |
package gvpl.common;
import gvpl.graph.GraphNode;
public class Value {
IVar _var = null;
GraphNode _node = null;
public Value(IVar var) {
_var = var;
}
public Value(GraphNode node) {
_node = node;
}
public String getName() {
if (_node != null)
return _node.getName();
else
return _var.getNam... | gstiebler/codemap | GraphGenerator/src/gvpl/common/Value.java | Java | gpl-2.0 | 705 |
/*
* Copyright (c) 1998, 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... | karianna/jdk8_tl | jdk/src/share/classes/sun/awt/image/NativeLibLoader.java | Java | gpl-2.0 | 2,769 |
package test.it.unibas.freesbee.ge.funzionali.l;
import it.unibas.freesbee.ge.messaggi.XmlJDomUtil;
import it.unibas.freesbee.ge.modello.ConsegnaEventoPubblicato;
import it.unibas.freesbee.ge.modello.FiltroData;
import it.unibas.freesbee.ge.modello.ISottoscrizione;
import it.unibas.freesbee.ge.persistenza.hibernate.DA... | donatellosantoro/freESBee | freesbeeGE/test/test/it/unibas/freesbee/ge/funzionali/l/Prelievo29.java | Java | gpl-2.0 | 10,769 |
package messages;
import utils.socket.IMessage;
public class ChangeUserEmailRequest implements IMessage {
private final String email;
public ChangeUserEmailRequest(String email) {
this.email = email;
}
public String getEmail() {
return this.email;
}
}
| SOSIEISTY/SOSIE | Common/src/messages/ChangeUserEmailRequest.java | Java | gpl-2.0 | 309 |
package br.com.procempa.dmweb.entity;
import java.io.Serializable;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.per... | cidadeportoalegre/edificapoa | ejb/src/main/java/br/com/procempa/dmweb/entity/CurvaNivelRuido.java | Java | gpl-2.0 | 1,319 |
/**
*
*/
/**
* @author Cassius
*
*/
package winternitz; | puodzius/winternitz_merkletree | winternitz/package-info.java | Java | gpl-2.0 | 61 |
package test1;
import java.awt.Point;
import javax.swing.JOptionPane;
public class Theorie {
public static void main(String[] args) {
// Bsp 5
String part, str = JOptionPane.showInputDialog("Bitte etwas eingeben");
System.out.println(str.substring(1, 4));
// Bsp 6
float y;
str = JOptionPa... | peterfuchs1/3JG | 3JG/src/test1/Theorie.java | Java | gpl-2.0 | 849 |
/**
* Copyright (C) 2010-2013 Eugen Feller, INRIA <eugen.feller@inria.fr>
*
* This file is part of Snooze, a scalable, autonomic, and
* energy-aware virtual machine (VM) management framework.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public L... | snoozesoftware/snoozenode | src/main/java/org/inria/myriads/snoozenode/exception/DispatchPlanException.java | Java | gpl-2.0 | 1,327 |
package org.collabthings.util;
import waazdoh.common.MStringID;
public class ShortHashID {
private final String id;
public ShortHashID(MStringID nid) {
String sid = nid.toString();
int hash = sid.hashCode();
this.id = Integer.toHexString(hash);
}
public String toString() {
return id;
}
}
| jeukku/collabthings | src/main/java/org/collabthings/util/ShortHashID.java | Java | gpl-2.0 | 308 |
/*
* Copyright (C) 2011 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... | alpha197/android_packages_apps_psxXtras | src/com/android/settings/widget/AnimatedImageView.java | Java | gpl-2.0 | 2,882 |
package org.vidogram.ui.b;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.HashMap;
import org.vidogram.messenger.a;
import org.vidogram.messenger.f.a;
import org.vidogram.messenger.r;
import org.vidogram.messenger.v;
import org.vido... | Robert0Trebor/robert | TMessagesProj/src/main/java/org/vidogram/ui/b/f.java | Java | gpl-2.0 | 12,675 |
package moe.paga.mdb5.func;
import java.util.function.BiFunction;
import moe.paga.mdb5.Location;
import moe.paga.mdb5.Size;
import moe.paga.mdb5.Location.Quadrant;
/**
* Compute Mandelbrot set using <code>double</code> and escape time algorithm.
*
* @author johnchen902
*/
public class MandelbrotDouble implement... | johnchen902/Mandelbrot-V | src/moe/paga/mdb5/func/MandelbrotDouble.java | Java | gpl-2.0 | 1,094 |
package restaurant.service.dao;
import restaurant.model.Ingredient;
import java.util.List;
public interface IngredientServiceDao {
void saveOrUpdate(Ingredient ingredient);
List<Ingredient> getAllIngredients();
Ingredient findByName(String name);
Ingredient findById(Integer id);
}
| Zakharovm/My_works | EnterpriseCourse/FinalProjectEE/src/main/java/restaurant/service/dao/IngredientServiceDao.java | Java | gpl-2.0 | 306 |
package corgis.finance.domain;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
/**
*
*/
public class Correction {
// Money paid to othe... | RealTimeWeb/datasets | datasets/java/finance/src/corgis/finance/domain/Correction.java | Java | gpl-2.0 | 5,660 |
package edu.stanford.nlp.sentiment;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Collec... | sriharshaanp/Projects | PredictingSuccessOfNovel/Sentiment/SentimentPipeline.java | Java | gpl-2.0 | 17,217 |
package com.qddagu.app.meetreader.ui;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.qddagu.app.meetreader.R;
import com.qddagu.app.meetreader.adapter.ListViewDownloadAdapter;
import com.qddagu.app.meetreader.util.Downloader.Info;
import com.qddagu.app.meetreader.util.MultiDownloa... | ChuJianan/iMeeting_Android | src/com/qddagu/app/meetreader/ui/DownloadActivity.java | Java | gpl-2.0 | 1,638 |
package untitledscape.clanchat;
import java.util.ArrayList;
import java.util.List;
import java.io.*;
import untitledscape.Engine;
import untitledscape.Server;
import untitledscape.clanchat.ClanList;
import untitledscape.clanchat.InChat;
import untitledscape.players.Player;
import untitledscape.util.Misc;
import untit... | Earbuds/UntitledScape | UntitledScape/untitledscape/clanchat/ClanMain.java | Java | gpl-2.0 | 9,231 |
package dist.esper.experiment2.data;
public class NodesParameter {
public int numWay;
public int nodeCount=0;
public int nodeCountPerType=0;
public double equalRatio=0;
public double implyRatio=0;
public NodesParameter(int numWay){
this.numWay = numWay;
}
public NodesParameter(int numWay, in... | HoratiusTang/EsperDist | EsperDist2/experiment2/dist/esper/experiment2/data/NodesParameter.java | Java | gpl-2.0 | 737 |
/*
* Copyright 2006 - 2013
* Stefan Balev <stefan.balev@graphstream-project.org>
* Julien Baudry <julien.baudry@graphstream-project.org>
* Antoine Dutot <antoine.dutot@graphstream-project.org>
* Yoann Pigné <yoann.pigne@graphstream-project.org>
* Guilhelm Savin <guilhelm.savin... | prismsoul/gedgraph | sources/prismsoul.genealogy.gedgraph/gs-algo/org/graphstream/algorithm/generator/lcf/PappusGraphGenerator.java | Java | gpl-2.0 | 2,313 |
package org.glassfish.fighterfish.jpaservice.managed;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.transaction.Synchronization;
import javax.transaction.TransactionSynchronizationRegistry;
import org.glassfish.fighterfish.jpaservice.util.Tes... | O-Thor/glassfish-figthterfish-osgi-jpa | src/test/java/org/glassfish/fighterfish/jpaservice/managed/ManagedPersistenceContextManagerTest.java | Java | gpl-2.0 | 9,069 |
/**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | sungsoo/esper | esper/src/main/java/com/espertech/esper/epl/expression/ExprDotNodeUtility.java | Java | gpl-2.0 | 14,971 |
/**
* Distribution License:
* JSword is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License, version 2.1 as published by
* the Free Software Foundation. This program is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; wi... | truhanen/JSana | JSana/src_others/org/crosswire/common/activate/Activator.java | Java | gpl-2.0 | 3,141 |
/*
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 34benma/openjdk | jaxp/test/javax/xml/jaxp/unittest/validation/OccursTest.java | Java | gpl-2.0 | 4,749 |
/*
Copyright 2014, Xavier Hardy, Clément Pique
This file is part of ecm-classifier.
ecm-classifier 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 ... | xavierhardy/ecm-clustering | src/Forme/FormeAbstraite.java | Java | gpl-2.0 | 1,328 |
/**
*
*/
package com.mobicongo.app.tours.fragments;
import android.database.Cursor;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockFragment;
impo... | MdelM/MobiTours | Android/MobiTours/src/com/mobicongo/app/tours/fragments/ZoneGeoMapFragment.java | Java | gpl-2.0 | 4,489 |
// Connect with connectstring "jdbc:gateway://localhost:5678" and give correct "user" and "password" in properties object.
//It should pass.when csqlserver is not runnig
import java.sql.*;
/**
*
* @author Nihar
*/
public class GwTest1 {
public static void main(String[] args)
{
try
{
... | mattibickel/csql | test/jdbc/network/Gateway/GwTest1.java | Java | gpl-2.0 | 873 |
package app.rpc.remote;
import java.io.IOException;
/**
* 已注册的服务对象
*
* @author yiyongpeng
*
*/
public interface ServiceObject extends InetObject {
void init();
Object getInstance();
void destroy();
Object getInvokeHandle();
String getHandle();
void invoke(int mid, Object[] arg... | yiyongpeng/app-rpc | app-rpc/src/app/rpc/remote/ServiceObject.java | Java | gpl-2.0 | 391 |
/*
* (c) copyright 2003-2009 Amichai Rothman
*
* This file is part of the Java TNEF package.
*
* The Java TNEF package 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 Licens... | jukka/jtnef | src/net/freeutils/tnef/MAPIProps.java | Java | gpl-2.0 | 6,911 |
package com.grupo03.hermes;
import android.app.Fragment;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.content.res.AssetManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.Bitmap... | FEDE0D/Hermes | project_comunicador/Hermes/app/src/main/java/com/grupo03/hermes/Pictograma.java | Java | gpl-2.0 | 7,367 |
package org.adoptopenjdk.lambda.tutorial.exercise4;
/*
* #%L
* lambda-tutorial
* %%
* Copyright (C) 2013 Adopt OpenJDK
* %%
* 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 versio... | jasonwee/lambda-tutorial | src/main/java/org/adoptopenjdk/lambda/tutorial/exercise4/Document.java | Java | gpl-2.0 | 2,311 |
package com.glimworm.common.database.xsd;
/**
* a kay / value pair as a string
* @author JC
*
*/
public class KeyValuePair {
public String key = null;
public String value = null;
public boolean selected = false;
public Object obj = null;
public KeyValuePair() {
key = "";
value = "";
selected = false;
... | jonathanrcarter/divv-amsterdam-parkingapi | src/com/glimworm/common/database/xsd/KeyValuePair.java | Java | gpl-2.0 | 2,208 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*;
/**
esta clase permite visualizar la vida del jugador en pantalla, es un actor ya que
estara cambiando con el juego, estara actuando*/
// salud Lista de imagenes que muestran la cantidad de salud
public class Sa... | ppoo14152/FunWithKinect | Proyecto/Salud.java | Java | gpl-2.0 | 1,242 |
/*
* This is the source code of Telegram for Android v. 5.x.x.
* 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-2018.
*/
package org.telegram.ui;
import android.Manifest;
import android.animation.An... | Telegram-FOSS-Team/Telegram-FOSS | TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java | Java | gpl-2.0 | 462,545 |
package org.openjump.core.ui.plugin.datastore.drillgis;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import com.vividsolutions.jump.datastore.jdbc.ValueConverter;
import com.vividsolutions.jump.datastore.jdbc.ValueConverterFactory;
import com.... | k255/openjump-drillgis-plugin | src/main/java/org/openjump/core/ui/plugin/datastore/drillgis/DrillgisResultSetConverter.java | Java | gpl-2.0 | 2,989 |
package com.acerete.httpserver;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
import com.acerete.exceptions.MalformedRequestException;
import com.acerete.services.message.request.Request;
import com.acerete.services.message.request.RequestMethod;
imp... | adriwankenobi/java-server | src/main/com/acerete/httpserver/ParamsFilter.java | Java | gpl-2.0 | 5,113 |
package test;
import static org.junit.Assert.*;
import org.junit.*;
import driver.*;
public class TestingFileMovement {
Directory A;
Directory B;
Directory C;
Directory A1;
Directory B1;
Directory C1;
Directory B11;
Directory C11;
File AFile;
File B1_1File;
File B1_2File;
File C1_1File;
File B11_1File... | 2nd47/UofT-Projects | CSC207/Java Virtual Shell/src/test/TestingFileMovement.java | Java | gpl-2.0 | 5,539 |
package com.charlesdream.office.word.enums;
import com.charlesdream.office.BaseEnum;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* Specifies to what the horizontal position of a frame, a shape, or a group of rows is relative.
* <p>
*
* @author Charles Cui on 3/5/2016.
* @since ... | Lotusun/OfficeHelper | src/main/java/com/charlesdream/office/word/enums/WdRelativeHorizontalPosition.java | Java | gpl-2.0 | 2,906 |
/*
* Copyright 2002 Sun Microsystems, Inc. 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 Software Foundati... | unktomi/form-follows-function | mjavac/langtools/test/tools/javac/generics/genericAbstract/A.java | Java | gpl-2.0 | 1,276 |
package psyco.entity;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "TypeTag")
public class TypeTag {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
int id;
@Basic
String name;
@Basic
Integer parent;
// @ManyToOne
// @JoinColumn(name = "parent")
// TypeTag parent;
@OneToMa... | psyco4j/asdf | src/main/java/psyco/entity/TypeTag.java | Java | gpl-2.0 | 1,041 |
/*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, Arm Limited. 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 L... | smarr/Truffle | compiler/src/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/StringUTF16Snippets.java | Java | gpl-2.0 | 7,528 |
package semantical;
import tables.Table;
import types.Type;
import errorMsg.ErrorMsg;
/**
* A type-checker. It maintains a symbol table and auxiliary information
* needed to type-check Kitten source code.
*
* @author <A HREF="mailto:fausto.spoto@univr.it">Fausto Spoto</A>
*/
public class TypeChecker {
/**
*... | HotMoka/Kitten | src/semantical/TypeChecker.java | Java | gpl-2.0 | 4,100 |
package com.dev4dev.web.api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
@RequestM... | tonyw/java_persentation | src/main/java/com/dev4dev/web/api/Users.java | Java | gpl-2.0 | 661 |
package com.lushprojects.circuitjs1.client;
public class ImportFromDropbox {
static CirSim sim;
ImportFromDropbox( CirSim asim ){
sim=asim;
// CirSim.console("importing");
doDropboxImport();
// CirSim.console("returned");
}
static public final native boolean isSupported()
/*-{
try {
// Bug in f... | billcollis/circuitjs1 | src/com/lushprojects/circuitjs1/client/ImportFromDropbox.java | Java | gpl-2.0 | 2,583 |
package com.qprogramming.tasq.account;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.spri... | q-programming/tasq | src/main/java/com/qprogramming/tasq/account/UserService.java | Java | gpl-2.0 | 2,006 |
/*
* Copyright (c) 2013, 2017, 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 ... | smarr/Truffle | substratevm/src/com.oracle.svm.core.posix/src/com/oracle/svm/core/posix/headers/Mman.java | Java | gpl-2.0 | 3,246 |
/**
* Copyright (C) 2002-2007 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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... | tectronics/reformationofeurope | src/net/sf/freecol/server/ai/AIUnit.java | Java | gpl-2.0 | 16,201 |
package br.ufrn.context.enviroment.gui;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import com.jgoodies.forms.layout.FormLayout;
import com.jgoodies.forms.layout.ColumnSpec;
import com.jgoodies.forms.layout.RowS... | adorilson/contextoolkit-enviroment-20121 | CTXEnviroment/src/br/ufrn/context/enviroment/gui/FormSensorTemperature.java | Java | gpl-2.0 | 3,378 |
package com.calsignlabs.apde.build.dag;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.SequenceInputStream;
import java.math.BigInteger;
import java.security.MessageDi... | Calsign/APDE | APDE/src/main/java/com/calsignlabs/apde/build/dag/ChecksumChangeNoticer.java | Java | gpl-2.0 | 7,037 |
package interdroid.swan.remote.cloud;
import android.util.Log;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
... | swandroid/swan-sense-studio | phone/src/main/java/interdroid/swan/remote/cloud/FirebaseMessageService.java | Java | gpl-2.0 | 3,585 |
package com.mrcode.action.customer;
import java.io.File;
import java.util.UUID;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
impo... | Uoor/xmu-2016-MrCode | src/com/mrcode/action/customer/PerfectInformationAction.java | Java | gpl-2.0 | 3,847 |
package converters;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import rep... | juandjara/AcmeSeries | src/main/java/converters/StringToRoleConverter.java | Java | gpl-2.0 | 851 |
public class BackTraceDriver {
public static void main(String args[]) throws Exception {
/* String extractedWords = BackTraceClass.identifyWordFromFrequencyMatrix();
System.out.println(extractedWords);*/
}
}
| aayushKumarJarvis/Semantic-Relationship | src/test/java/BackTraceDriver.java | Java | gpl-2.0 | 234 |