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 |
|---|---|---|---|---|---|
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | CleverCloud/Quercus | resin/src/main/java/com/caucho/config/j2ee/BeanName.java | Java | gpl-2.0 | 1,429 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package it.freedomotic.restapi.server.interfaces;
import it.freedomotic.model.object.EnvObject;
import org.restlet.resource.Get;
/**
*
* @author gpt
*/
public interface ObjectResource extends Freedomo... | akipta/freedomotic | tools/freedomotic-restapi-interfaces/src/main/java/it/freedomotic/restapi/server/interfaces/ObjectResource.java | Java | gpl-2.0 | 411 |
/*
* *************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | mobile-event-processing/Asper | source/src/com/espertech/esper/core/context/stmt/AIRegistryUtil.java | Java | gpl-2.0 | 1,123 |
/*
* Copyright (C) 2007-2014 Geometer Plus <contact@geometerplus.com>
*
* 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 ver... | xiaosea/easyreader | src/main/java/org/geometerplus/zlibrary/core/util/Base64InputStream.java | Java | gpl-2.0 | 5,501 |
/*
* Copyright (c) 2008, 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 ... | universsky/openjdk | langtools/test/tools/javap/T6622260.java | Java | gpl-2.0 | 7,123 |
/*
QueryJ
Copyright (C) 2002-today Jose San Leandro Armendariz
chous@acm-sl.org
This library 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;... | rydnr/queryj-rt | queryj-templates-deprecated/src/main/java/org/acmsl/queryj/templates/dao/CustomResultSetExtractorPropertyDecorator.java | Java | gpl-2.0 | 6,890 |
package modelo.persistencia.dao;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.Transaction;
import modelo.connection.SessionManager;
import modelo.dto.GenericDTO;
import modelo.dto.Users;
import modelo.interfaces.crud.Crud;
import ... | Juanjors/ProyectoWeb-JEE | locflickr/src/modelo/persistencia/dao/GenericDAO.java | Java | gpl-2.0 | 2,468 |
package com.variamos.dynsup.staticexprsup;
import java.util.Map;
import com.variamos.hlcl.model.expressions.HlclFactory;
import com.variamos.hlcl.model.expressions.Identifier;
import com.variamos.hlcl.model.expressions.IntNumericExpression;
/**
* Class to create the Number expression. Part of PhD work at U... | SPLA/VARIAMOS | com.variamos.dynsup/src/com/variamos/dynsup/staticexprsup/NumberNumericExpression.java | Java | gpl-2.0 | 936 |
package br.ifes.leds.sincap.gerenciaNotificacao.cln.cgt;
import br.ifes.leds.reuse.utility.Utility;
import br.ifes.leds.sincap.gerenciaNotificacao.cgd.CaptacaoRepository;
import br.ifes.leds.sincap.gerenciaNotificacao.cln.cdp.Captacao;
import br.ifes.leds.sincap.gerenciaNotificacao.cln.cdp.dto.CaptacaoDTO;
import org.... | asleao/sincap-entities | src/main/java/br/ifes/leds/sincap/gerenciaNotificacao/cln/cgt/AplCaptacao.java | Java | gpl-2.0 | 1,809 |
package org.aksw.limes.core.controller;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.aksw.limes.core.evaluation.evaluator.EvaluatorFactory;
import org.aksw.limes.core.evaluation.evaluator.EvaluatorType;
import org.aksw.limes.core.evaluation.qualititativeMeasures... | AKSW/LIMES-CORE | limes-core/src/main/java/org/aksw/limes/core/controller/MLPipeline.java | Java | gpl-2.0 | 6,863 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-webapp/src/main/java/org/opennms/web/controller/inventory/RancidReportExecController.java | Java | gpl-2.0 | 6,853 |
/*
* Copyright (c) 2011, 2018, 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 ... | md-5/jdk10 | test/jdk/sun/tools/jcmd/TestJcmdDefaults.java | Java | gpl-2.0 | 3,611 |
package fr.univavignon.tools.log;
/*
* CommonTools
* Copyright 2010-19 Vincent Labatut
*
* This file is part of CommonTools.
*
* CommonTools 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
* Foundatio... | CompNet/BiblioProcess | src/fr/univavignon/tools/log/HierarchicalLoggerManager.java | Java | gpl-2.0 | 3,136 |
/*
* Copyright (C) 2007 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... | google/desugar_jdk_libs | jdk11/src/libcore/luni/src/main/java/java/nio/NIOAccess.java | Java | gpl-2.0 | 2,759 |
package com.espertech.esper.example.ohlc;
import java.util.Date;
public class OHLCTick
{
private String ticker;
private double price;
private long timestamp;
public OHLCTick(String ticker, double price, long timestamp)
{
this.ticker = ticker;
this.price = price;
... | intelie/esper | examples/ohlcpluginview/src/main/java/com/espertech/esper/example/ohlc/OHLCTick.java | Java | gpl-2.0 | 861 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2008-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tharindum/opennms_dashboard | opennms-webapp/src/main/java/org/opennms/web/event/BaseAcknowledgeServlet.java | Java | gpl-2.0 | 3,468 |
/**
* Copyright (C) 2011 - 2013 Eric Van Dewoestine
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This ... | euclio/eclim | org.eclim.jdt/java/org/eclim/eclipse/EclimClasspathInitializer.java | Java | gpl-3.0 | 10,894 |
/*
* Copyright (C) 2006 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... | syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/view/WindowManagerPolicy.java | Java | gpl-3.0 | 51,298 |
package net.wizardsoflua.testenv.net;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.UndeclaredThrowableException;
import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.min... | wizards-of-lua/wizards-of-lua | src/test/java/net/wizardsoflua/testenv/net/LeftClickEntityAction.java | Java | gpl-3.0 | 1,895 |
/*
* All Sigmah code is released under the GNU General Public License v3
* See COPYRIGHT.txt and LICENSE.txt.
*/
package org.sigmah.server.util;
import java.util.*;
public class XmlElement {
private String name;
private String namespace = null;
private StringBuilder innerText = new StringBui... | spMohanty/sigmah_svn_to_git_migration_test | sigmah/src/main/java/org/sigmah/server/util/XmlElement.java | Java | gpl-3.0 | 3,348 |
/* Copyright (C) 2003-2013 Runtime Revolution Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITH... | LiveCodeSteven/livecode | engine/src/java/com/runrev/android/BusyIndicator.java | Java | gpl-3.0 | 2,747 |
/*
* This file is part of OpenDS (Open Source Driving Simulator).
* Copyright (C) 2015 Rafael Math
*
* OpenDS 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
* ... | deamin/Capstone2015-PurpleOcean2-1 | OpenDS3.0/src/eu/opends/audio/AudioCenter.java | Java | gpl-3.0 | 4,558 |
/*
* Copyright (C) 2016-2021 David Rubio Escares / Kodehawa
*
* Mantaro is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* M... | Mantaro/MantaroBot | src/main/java/net/kodehawa/mantarobot/commands/currency/profile/inventory/InventorySort.java | Java | gpl-3.0 | 2,762 |
/**
*
*/
package org.javahispano.javaleague.client.service;
import java.util.List;
import org.javahispano.javaleague.shared.domain.FrameWork;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* @author adou
*
*/
public interface FrameWorkServiceAsync {
void getFrameWorks(AsyncCallback<List<FrameWork>... | alfonsodou/javaLeagueBootstrap | src/org/javahispano/javaleague/client/service/FrameWorkServiceAsync.java | Java | gpl-3.0 | 399 |
package com.ardublock.translator.block.rokenbok;
import com.ardublock.translator.Translator;
import com.ardublock.translator.block.TranslatorBlock;
import com.ardublock.translator.block.exception.BlockException;
import com.ardublock.translator.block.exception.SocketNullException;
import com.ardublock.translator.block.... | Aerospacesmith/ardublock | src/main/java/com/ardublock/translator/block/rokenbok/motor.java | Java | gpl-3.0 | 2,277 |
/*
* This file is part of HoloAPI.
*
* HoloAPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* HoloAPI is distributed in th... | khmMinecraftProjects/HoloAPI | src/main/java/com/dsh105/holoapi/util/LogicUtil.java | Java | gpl-3.0 | 2,490 |
package net.sourceforge.seqware.common.model;
/**
* <p>
* SampleReportRow class.
* </p>
*
* @author boconnor
* @version $Id: $Id
*/
public class SampleReportRow {
private Integer rowId;
private Study study;
private Sample childSample;
private Workflow workflow;
private SequencerRun sequenc... | SeqWare/seqware | seqware-common/src/main/java/net/sourceforge/seqware/common/model/SampleReportRow.java | Java | gpl-3.0 | 4,455 |
package me.killje.servercaster.core.converter;
import java.util.Collection;
import mkremins.fanciful.FancyMessage;
import org.bukkit.entity.Player;
/**
*
* @author Patrick Beuks (killje) and Floris Huizinga (Flexo013)
*/
public class Builder {
private Converter converter;
private final Collection<? extend... | killje/ServerCasterOld | core/src/main/java/me/killje/servercaster/core/converter/Builder.java | Java | gpl-3.0 | 827 |
/*******************************************************************************
*Copyright (c) 2009 Eucalyptus Systems, Inc.
*
* 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, only ver... | 1ukash/eucalyptus-fork-2.0 | clc/modules/msgs/src/main/java/com/eucalyptus/system/Threads.java | Java | gpl-3.0 | 12,303 |
/*
* Copyright (C) 2012 Krawler Information Systems Pvt Ltd
* All rights reserved.
*
* 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 optio... | mobilipia/Deskera-Accounting | Maven_Accounting_Libs/mavenAccPaymentMethods/src/main/java/com/krawler/hql/accounting/DefaultPaymentMethod.java | Java | gpl-3.0 | 1,772 |
package com.algaworks.pedidovenda.controller;
import java.io.Serializable;
import java.util.List;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;
import com.algaworks.pedidovenda.model.Produto;
import com.algaworks.pedidovenda.repository.Produtos;
import com.algaworks.pedid... | fabriciobizotto/webprogramming | PedidoVendasSpring/src/main/java/com/algaworks/pedidovenda/controller/PesquisaProdutosBean.java | Java | gpl-3.0 | 1,562 |
package nu.nethome.home.items.net.wemo;
import nu.nethome.home.impl.InternalEvent;
import nu.nethome.home.impl.LocalHomeItemProxy;
import nu.nethome.home.item.HomeItemProxy;
import nu.nethome.home.system.HomeService;
import org.junit.Before;
import org.junit.Test;
import static nu.nethome.home.items.net.wemo.WemoBrid... | NetHome/NetHomeServer | home-items/core-items/src/test/java/nu/nethome/home/items/net/wemo/WemoLampTest.java | Java | gpl-3.0 | 3,013 |
package net.wizardsoflua.wol.file;
public enum FileSection {
SHARED, PERSONAL
}
| wizards-of-lua/wizards-of-lua | src/main/java/net/wizardsoflua/wol/file/FileSection.java | Java | gpl-3.0 | 83 |
package dna.profiler.datatypes.benchmarkresults;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map.Entry;
import java.util.TreeMap;
import com.google.common.base.Joiner;
import dna.profiler.datatypes.ComparableEntry;
import dna.profiler.datatypes.ComparableEntryMap;
import dna.profiler.da... | marcel-stud/DNA | src/dna/profiler/datatypes/benchmarkresults/BenchmarkingResult.java | Java | gpl-3.0 | 5,406 |
/*
* Zettelkasten - nach Luhmann
* Copyright (C) 2001-2015 by Daniel Lüdecke (http://www.danielluedecke.de)
*
* Homepage: http://zettelkasten.danielluedecke.de
*
*
* 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... | RalfBarkow/Zettelkasten | src/main/java/de/danielluedecke/zettelkasten/CFontChooser.java | Java | gpl-3.0 | 25,469 |
package com.v5kf.java.websocket.handshake;
public interface ClientHandshake extends Handshakedata {
/**returns the HTTP Request-URI as defined by http://tools.ietf.org/html/rfc2616#section-5.1.2*/
public String getResourceDescriptor();
}
| Chyrain/V5ClientSDK-Android | V5KFClient_Voice_Map/src/com/v5kf/java/websocket/handshake/ClientHandshake.java | Java | gpl-3.0 | 241 |
/*
* Copyright 2016 Substance Mobile
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Substance-Project/GEM | mobile/src/main/java/com/animbus/music/media/stable/ServiceHelper.java | Java | gpl-3.0 | 2,106 |
/*
* Copyright (c) 2018 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | obiba/mica2 | mica-search/src/main/java/org/obiba/mica/dataset/search/rest/variable/PublishedDatasetVariablesSearchResource.java | Java | gpl-3.0 | 7,280 |
/*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | automenta/adams-core | src/main/java/adams/core/DefaultCompare.java | Java | gpl-3.0 | 2,044 |
package is.idega.block.nationalregister.business;
import javax.ejb.CreateException;
import com.idega.business.IBOHome;
import java.rmi.RemoteException;
public interface NationalRegisterDeceasedBusinessHome extends IBOHome {
public NationalRegisterDeceasedBusiness create() throws CreateException, RemoteException;
} | idega/is.idega.block.nationalregister | src/java/is/idega/block/nationalregister/business/NationalRegisterDeceasedBusinessHome.java | Java | gpl-3.0 | 320 |
/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at... | covers1624/ForestryLegacy | forestry_common/cultivation/forestry/cultivation/OvergrowthStrict.java | Java | gpl-3.0 | 947 |
/*
* Copyright (C) 2012 Krawler Information Systems Pvt Ltd
* All rights reserved.
*
* 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 optio... | vdt/Deskera-Accounting | Maven_Accounting_Libs/mavenAccReceiptModule/src/main/java/com/krawler/spring/accounting/receipt/accReceiptImpl.java | Java | gpl-3.0 | 19,144 |
/**
*
*/
package org.sigmah.server.handler;
/*
* #%L
* Sigmah
* %%
* Copyright (C) 2010 - 2016 URD
* %%
* 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 3 of the
* ... | Raphcal/sigmah | src/main/java/org/sigmah/server/handler/GetSitesCountHandler.java | Java | gpl-3.0 | 1,687 |
/*
* Copyright 2016 Traveler's Notebook: Monster Tales project authors
*
* This file is part of monsters
*
* monsters 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
... | spring-studio-2016/monsters | core/src/main/java/edu/bsu/storygame/core/view/GameStyle.java | Java | gpl-3.0 | 9,113 |
package com.integreight.onesheeld.shields.controller;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Build;
import android.util.Base64;
import android.widget.To... | Dnet3/CustomAndroidOneSheeld | oneSheeld/src/main/java/com/integreight/onesheeld/shields/controller/EmailShield.java | Java | gpl-3.0 | 20,409 |
/*
* $Id$
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restrictions in its use, it is expected that appropriate
* ... | kernsuite-debian/lofar | JAVA/GUI/Plotter/src/gov/noaa/pmel/sgt/swing/prop/GeoDateDialog.java | Java | gpl-3.0 | 41,964 |
/*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team 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... | HolodeckOne-Minecraft/WorldEdit | worldedit-core/src/main/java/com/sk89q/worldedit/internal/helper/MCDirections.java | Java | gpl-3.0 | 5,294 |
package ch.raffael.mddoclet.core.options;
import java.util.ArrayList;
import java.util.List;
import com.google.common.collect.ImmutableList;
import ch.raffael.nullity.Nullable;
/**
* Represents an option and its arguments.
*
* @author Raffael Herzog
*/
public final class Option {
private final String name... | Abnaxos/pegdown-doclet | core/src/main/java/ch/raffael/mddoclet/core/options/Option.java | Java | gpl-3.0 | 2,653 |
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.host;
import org.ovirt.engine.core.common.businessentities.VDS;
import org.ovirt.engine.ui.common.place.PlaceRequestFactory;
import org.ovirt.engine.ui.common.presenter.AbstractSubTabPresenter;
import org.ovirt.engine.ui.common.uicommon.model.SearchableDe... | jtux270/translate | ovirt/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/presenter/tab/host/SubTabHostInterfacePresenter.java | Java | gpl-3.0 | 4,398 |
package ch.heia.mobiledev.treasurehunt;
import android.app.FragmentManager;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream... | mertenats/heia | mobile-applications/TI_II/TreasureHunt/app/src/main/java/ch/heia/mobiledev/treasurehunt/NavigationHomeActivity.java | Java | gpl-3.0 | 4,232 |
/*
* This file is part of ARSnova Backend.
* Copyright (C) 2012-2019 The ARSnova Team and Contributors
*
* ARSnova Backend 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,... | thm-projects/arsnova-backend | src/main/java/de/thm/arsnova/model/migration/v2/Content.java | Java | gpl-3.0 | 18,398 |
package org.dclayer.exception.net.parse;
/**
* an Exception which is thrown when a message with an unsupported message type is received
*/
public class UnsupportedMessageTypeException extends ParseException {
/**
* creates a new {@link UnsupportedMessageTypeException}
* @param type the invalid message type th... | sblit/dcl | src/org/dclayer/exception/net/parse/UnsupportedMessageTypeException.java | Java | gpl-3.0 | 462 |
package cn.nukkit.entity.passive;
import cn.nukkit.entity.EntityAgeable;
import cn.nukkit.entity.EntityCreature;
import cn.nukkit.entity.data.ByteEntityData;
import cn.nukkit.level.format.FullChunk;
import cn.nukkit.nbt.tag.CompoundTag;
/**
* author: MagicDroidX
* Nukkit Project
*/
public abstract class EntityAnim... | 2300206764/Nukkit | src/main/java/cn/nukkit/entity/passive/EntityAnimal.java | Java | gpl-3.0 | 822 |
package org.overture.codegen.tests.output.util;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.List;
import org.junit.Assert;
import org.junit.Before;
import org.overture.ast.analysis.AnalysisException;
import org.overture.ast.node.INode;
import org.o... | LasseBP/overture | core/codegen/javagen/src/test/java/org/overture/codegen/tests/output/util/SpecificationTestBase.java | Java | gpl-3.0 | 4,469 |
/*
* Copyright 2016 Paul Gestwicki
*
* This file is part of The Social Startup Game
*
* The Social Startup Game 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... | doctor-g/social-startup-game | java/src/test/java/edu/bsu/cybersec/java/LogCollectorTest.java | Java | gpl-3.0 | 1,780 |
/*
* Copyright (c) 2007, 2008 Wayne Meissner
* Copyright (C) 2004 Wim Taymans <wim@fluendo.com>
*
* This file is part of gstreamer-java.
*
* This code is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3 only, as
* published by the Fr... | guiseco/gst1-java-core | src/org/freedesktop/gstreamer/Message.java | Java | gpl-3.0 | 3,607 |
/*
* Copyright (c) 2014 OpenSilk Productions LLC
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This prog... | michalliu/syncthing-silk | common-core/src/main/java/org/opensilk/common/core/util/VersionUtils.java | Java | gpl-3.0 | 2,293 |
package eu.fayder.restcountries.v2.domain;
/**
* Created by fayder on 24/02/2017.
*/
public class Contribution {
private int amount;
private String token;
public int getAmount() {
return amount;
}
public String getToken() {
return token;
}
@Override
public String t... | fayder/restcountries | src/main/java/eu/fayder/restcountries/v2/domain/Contribution.java | Java | mpl-2.0 | 431 |
/**
* Copyright (c) 2013-2015 by The SeedStack authors. All rights reserved.
*
* This file is part of SeedStack, An enterprise-oriented full development stack.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You... | jin19910624/seed | jms-support/core/src/main/java/org/seedstack/seed/jms/internal/JmsPlugin.java | Java | mpl-2.0 | 16,922 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/RefMan/src/ims/RefMan/domain/PatientDiagnosisDialog.java | Java | agpl-3.0 | 2,946 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Core/src/ims/core/forms/questionselectnew/GlobalContext.java | Java | agpl-3.0 | 9,879 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/intraoperativecasedetailsdialog/BaseAccessLogic.java | Java | agpl-3.0 | 6,233 |
/*
* ThunderNetwork - Server Client Architecture to send Off-Chain Bitcoin Payments
* Copyright (C) 2015 Mats Jerratsch <matsjj@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software... | josephyzhou/thundernetwork | thunder-server/src/main/java/network/thunder/server/database/objects/Payment.java | Java | agpl-3.0 | 32,151 |
package es.tid.pce.computingEngine;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Inet4Address;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedList;
import java.util... | asgamb/netphony-pce | src/main/java/es/tid/pce/computingEngine/SingleDomainIniProcessorThread.java | Java | agpl-3.0 | 16,493 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2017 VoltDB Inc.
*
* 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... | migue/voltdb | tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/procedures/Summarize_Replica.java | Java | agpl-3.0 | 3,430 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Therapies/src/ims/therapies/forms/mobilisations/Handlers.java | Java | agpl-3.0 | 12,528 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/AssessmentQuestionGroupListVo.java | Java | agpl-3.0 | 6,905 |
/*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* it... | erdincay/lpclientpc | src/com/lp/client/personal/ReportPersonalliste.java | Java | agpl-3.0 | 9,575 |
package javax.media;
/**
*
* Complete.
* Note: JMF will call close if open() fails. Observed on a Demultiplexer.
* @author Ken Larson
*
*/
public interface PlugIn extends Controls
{
public static int BUFFER_PROCESSED_OK = 0;
public static int BUFFER_PROCESSED_FAILED = 1;
public static int INPUT_BUFFER_NOT_C... | AlienQueen/alienlabs-skeleton-for-wicket-spring-hibernate | lib/fmj/src/javax/media/PlugIn.java | Java | agpl-3.0 | 555 |
/*********************************************************************************************
*
* 'EditorNavigationControls.java, in plugin ummisco.gama.ui.modeling, is part of the source code of the GAMA modeling
* and simulation platform. (c) 2007-2016 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Visit https://githu... | gama-platform/gama.cloud | ummisco.gama.ui.modeling_web/src/msi/gama/lang/gaml/ui/editor/toolbar/EditorToolbar.java | Java | agpl-3.0 | 6,871 |
/*
OrpheusMS: MapleStory Private Server based on OdinMS
Copyright (C) 2012 Aaron Weiss <aaron@deviant-core.net>
Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
... | coder-han/Orpheus | src/net/server/handlers/channel/UseChairHandler.java | Java | agpl-3.0 | 1,686 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/clinical/vo/domain/ClinicalCorrespondenceVoAssembler.java | Java | agpl-3.0 | 30,133 |
/*
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | auroreallibe/Silverpeas-Core | core-web/src/main/java/org/silverpeas/core/webapi/admin/AdminWebService.java | Java | agpl-3.0 | 3,488 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/emergency/vo/beans/TrackingAreaForWhiteBoardConfigVoBean.java | Java | agpl-3.0 | 5,299 |
/*
* ToroDB
* Copyright © 2014 8Kdata Technology (www.8kdata.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | teoincontatto/engine | mongodb/repl/src/main/java/com/torodb/mongodb/repl/OplogApplierService.java | Java | agpl-3.0 | 1,370 |
/*
* RapidMiner
*
* Copyright (C) 2001-2013 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as pub... | aborg0/RapidMiner-Unuk | src/com/rapidminer/io/process/rules/SetParameterRule.java | Java | agpl-3.0 | 2,390 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/SpinalInjuries/src/ims/spinalinjuries/forms/patientproblemlist/BaseAccessLogic.java | Java | agpl-3.0 | 4,033 |
package co.smartreceipts.android;
import javax.inject.Inject;
public class ExtraInitializerFireDepartmentImpl implements ExtraInitializer {
@Inject
public ExtraInitializerFireDepartmentImpl() {
}
@Override
public void init() {
/* no-op */
}
}
| wbaumann/SmartReceiptsLibrary | app/src/fireDepartmentFlavor/java/co/smartreceipts/android/ExtraInitializerFireDepartmentImpl.java | Java | agpl-3.0 | 289 |
package fr.inria.spirals.repairnator.process.inspectors.properties.machineInfo;
public class MachineInfo {
private String hostName;
private int numberCPU;
private long freeMemory;
private long totalMemory;
public MachineInfo() {}
public String getHostName() {
return hostName;
}
... | Spirals-Team/librepair | src/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/inspectors/properties/machineInfo/MachineInfo.java | Java | agpl-3.0 | 893 |
/*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* i... | erdincay/ejb | src/org/w3/_2000/_09/xmldsig_/TransformType.java | Java | agpl-3.0 | 5,163 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/scheduling/vo/domain/BookingAppointment_RIE_OutcomeVoAssembler.java | Java | agpl-3.0 | 35,909 |
/*
* Copyright (C) 2000 - 2014 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | ebonnet/Silverpeas-Components | processManager/processManager-library/src/main/java/org/silverpeas/processmanager/ProcessManagerFatalException.java | Java | agpl-3.0 | 2,261 |
package net.minecraft.network.play.server;
import java.io.IOException;
import net.minecraft.network.INetHandler;
import net.minecraft.network.Packet;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.play.INetHandlerPlayClient;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftfo... | trixmot/mod1 | build/tmp/recompileMc/sources/net/minecraft/network/play/server/S31PacketWindowProperty.java | Java | lgpl-2.1 | 2,066 |
package org.jcsp.net2.mobile;
import org.jcsp.lang.Alternative;
import org.jcsp.lang.CSProcess;
import org.jcsp.lang.Guard;
import org.jcsp.net2.JCSPNetworkException;
import org.jcsp.net2.NetAltingChannelInput;
import org.jcsp.net2.NetChannel;
import org.jcsp.net2.NetChannelLocation;
import org.jcsp.net2.NetC... | rickb777/jcsp | src/org/jcsp/net2/mobile/MessageBox.java | Java | lgpl-2.1 | 4,402 |
package com.sun.media;
public interface ExclusiveUse
{
public boolean isExclusive();
}
| champtar/fmj-sourceforge-mirror | src.stubs/com/sun/media/ExclusiveUse.java | Java | lgpl-2.1 | 92 |
/*******************************************************************************
* Copyright (c) 2012 György Orosz, Attila Novák.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is ... | zsoltgere/purepos | src/main/java/hu/ppke/itk/nlpg/purepos/model/internal/IntVocabulary.java | Java | lgpl-3.0 | 1,614 |
/**
* @author : Paul Taylor
* <p/>
* Version @version:$Id: ChannelTypes.java 339 2007-08-06 16:04:38Z paultaylor $
* <p/>
* Jaudiotagger Copyright (C)2004,2005
* <p/>
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as ... | jacky8hyf/musique | dependencies/jaudiotagger/src/main/java/org/jaudiotagger/tag/id3/valuepair/ChannelTypes.java | Java | lgpl-3.0 | 1,941 |
package co.flyver.androidrc.Server;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://mD.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | flyver/Flyver-Apps | HelloFlyver/FlyverServer/src/androidTest/java/co/flyver/androidrc/Server/ApplicationTest.java | Java | lgpl-3.0 | 358 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | PierreR/sonarqube | sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java | Java | lgpl-3.0 | 4,101 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.dresdenocl.language.ocl;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Invariant Exp CS</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.dresdenocl.language.... | dresden-ocl/dresdenocl | plugins/org.dresdenocl.language.ocl/src-gen/org/dresdenocl/language/ocl/InvariantExpCS.java | Java | lgpl-3.0 | 2,543 |
/*
* Copyright (C) 2008 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... | Git-tl/appcan-plugin-hexagonal-android | uexHexagonal/src/org/zywx/wbpalmstar/plugin/uexhexagonal/TouchRotateActivity.java | Java | lgpl-3.0 | 4,082 |
/*
* otr4j, the open source java otr library.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*
* SPDX-License-Identifier: LGPL-3.0-only
*/
package net.java.otr4j.session.state;
import net.java.otr4j.api.OtrException;
import net.java.otr4j.api.TLV;
import net.java.otr4j.io.ErrorMessage... | cobratbq/otr4j | src/main/java/net/java/otr4j/session/state/AbstractCommonState.java | Java | lgpl-3.0 | 3,950 |
package org.cy3sbml.styles;
import java.io.InputStream;
import java.util.Set;
import org.cy3sbml.SBML;
import org.cy3sbml.archive.ArchiveReaderTask;
import org.cytoscape.session.events.SessionLoadedEvent;
import org.cytoscape.session.events.SessionLoadedListener;
import org.cytoscape.task.read.LoadVizmapFileTaskFacto... | tpfau/cy3sbml | src/main/java/org/cy3sbml/styles/StyleManager.java | Java | lgpl-3.0 | 2,820 |
package net.minecraft.network.packet;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
public class Packet30Entity extends Packet
{
/** The ID of this entity. */
public int entityId;
/** The X axis relative movement. */
public byte xPosition;
/** The Y axis relati... | HATB0T/RuneCraftery | forge/mcp/src/minecraft/net/minecraft/network/packet/Packet30Entity.java | Java | lgpl-3.0 | 2,122 |
package comportamentos;
import java.io.FileReader;
import java.io.IOException;
import java.util.Scanner;
public class LeituraArquivo{
static String correlacao;
static String tendencia;
public static String leituraCorrelacao() throws IOException{
Scanner scanner = new Scanner(new FileReader("../calculoPear... | cleitoncsg/paradigmaMultiAgente | roboVelc/src/comportamentos/LeituraArquivo.java | Java | lgpl-3.0 | 720 |
package com.vistatec.ocelot.ui;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.util.List;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import j... | vistatec/ocelot | src/main/java/com/vistatec/ocelot/ui/OcelotToolBar.java | Java | lgpl-3.0 | 6,465 |
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License... | joansmith/sonarqube | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/Xoo2.java | Java | lgpl-3.0 | 1,367 |
/*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.tools.attach;
public class AttachNotSupportedException extends Exception {
static final lo... | NavidK0/Carbon | src/main/java/com/sun/tools/attach/AttachNotSupportedException.java | Java | lgpl-3.0 | 486 |
/*
* Copyright 2009-2014 PrimeTek.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | salviof/SBJSFComp | htmlOffiline/Volverine/tag/src/main/java/org/primefaces/adamantium/service/CarService.java | Java | lgpl-3.0 | 2,594 |
package nullEngine.object.component.graphics.light;
import math.Vector4f;
import nullEngine.object.GameComponent;
/**
* A component that represents an orthogonal light
*/
public class DirectionalLight extends GameComponent {
private Vector4f lightColor;
private Vector4f direction;
/**
* Create a new direction... | minecraftwarlock/Null-Engine | Game Engine/src/nullEngine/object/component/graphics/light/DirectionalLight.java | Java | lgpl-3.0 | 1,197 |