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.hibernate.test.annotations.derivedidentities.e1.a;
import java.io.Serializable;
/**
* @author Emmanuel Bernard
*/
public class DependentId implements Serializable {
String name;
long emp; // corresponds to PK type of Employee
public DependentId() {
}
public DependentId(String name, long emp) {
... | ControlSystemStudio/cs-studio | thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/annotations/src/test/java/org/hibernate/test/annotations/derivedidentities/e1/a/DependentId.java | Java | epl-1.0 | 562 |
/**
* 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.fmiweather/src/main/java/org/openhab/binding/fmiweather/internal/client/exception/FMIUnexpectedResponseException.java | Java | epl-1.0 | 1,163 |
/*******************************************************************************
* Copyright (c) 2019 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... | kgibm/open-liberty | dev/com.ibm.ws.jpa_spec20_fat/test-applications/querylockmode/src/com/ibm/ws/jpa/fvt/jpa20/querylockmode/model/Entity0007.java | Java | epl-1.0 | 6,454 |
/*******************************************************************************
* Copyright (c) 2011, 2014 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... | OpenLiberty/open-liberty | dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/internal/EJBLinkReferenceFactoryImpl.java | Java | epl-1.0 | 2,261 |
/*******************************************************************************
* Copyright (c) 2017 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.common.encoder/src/com/ibm/ws/common/internal/encoder/package-info.java | Java | epl-1.0 | 843 |
/*******************************************************************************
* Copyright (c) 2012 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.messaging.common/src/com/ibm/ws/sib/admin/JsMonitoredComponent.java | Java | epl-1.0 | 1,499 |
/**
* Copyright (c) 2014 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... | innoq/smarthome | bundles/io/org.eclipse.smarthome.io.rest.sitemap/src/main/java/org/eclipse/smarthome/io/rest/sitemap/internal/beans/MappingBean.java | Java | epl-1.0 | 763 |
/**
* 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.velbus/src/main/java/org/openhab/binding/velbus/internal/packets/VelbusSensorReadoutRequestPacket.java | Java | epl-1.0 | 1,284 |
package sft.integration.extend;
import org.junit.Ignore;
@Ignore
public class Extend {
}
| slezier/SimpleFunctionalTest | sft-core/src/test/java/sft/integration/extend/Extend.java | Java | epl-1.0 | 91 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 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
it under the terms of the GNU Affero General Public License as
publ... | xstory61/server | src/net/server/channel/handlers/AcceptFamilyHandler.java | Java | gpl-2.0 | 1,942 |
/*
* #%L
* Fork of JAI Image I/O Tools.
* %%
* Copyright (C) 2008 - 2012 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or without
* modification, ... | ximenesuk/bioformats | components/forks/jai/src/com/sun/media/imageio/plugins/pnm/PNMImageWriteParam.java | Java | gpl-2.0 | 4,970 |
/**
* ****************************************************************************
* Copyright 2013 EMBL-EBI
* <p/>
* 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
* <p/>
* http://www.a... | xubo245/CloudSW | src/main/java/htsjdk/samtools/cram/encoding/ExternalLongEncoding.java | Java | gpl-2.0 | 2,301 |
package net.wisedream.common.tm;
/**
* Created by pseudo on 4/15/15.
*/
public interface ContextualKeys {
String OBJ_SOCKET="socket";
}
| holymonk/jfiler | jfiler/src/main/java/net/wisedream/common/tm/ContextualKeys.java | Java | gpl-2.0 | 143 |
package blep.modtech.machine.cable;
import blep.modtech.util.LogHelper;
import cofh.api.energy.EnergyStorage;
import cofh.api.energy.IEnergyProvider;
import cofh.api.energy.IEnergyReceiver;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
im... | TheBlepTeam/Modular-Technology-1.7 | src/main/java/blep/modtech/machine/cable/TileEntityPowerCable.java | Java | gpl-2.0 | 4,600 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2017 Paco Avila & Josep Llort
* <p>
* No bytes were intentionally harmed during the development of this application.
* <p>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | Beau-M/document-management-system | src/main/java/com/openkm/rest/util/GrantedRole.java | Java | gpl-2.0 | 1,649 |
/* BasicConstraints.java -- the basic constraints extension.
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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... | unofficial-opensource-apple/gcc_40 | libjava/gnu/java/security/x509/ext/BasicConstraints.java | Java | gpl-2.0 | 4,137 |
//==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford, formerly University of Birmingham)
// * Christian von Essen <christian.vonessen@imag.fr> (VERIMAG)
//
//------------------------... | bharathk005/prism-4.2.1-src-teaser-patch | src/jdd/JDDNode.java | Java | gpl-2.0 | 2,952 |
/**
* Copyright (C) 1998-2008 TENCENT Inc.All Rights Reserved.
*
* FileName??DefaultPrinter.java
*
* Description??????????????????
* History??
* ?汾?? ???? ???? ?????????????
* 1.0 bevisdeng 2010-10-22 Create
*/
... | vvdeng/vportal | src/com/paipai/verticalframework/ui/printer/ConfigPrinter.java | Java | gpl-2.0 | 2,823 |
/*
* 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 ... | netroby/hotspot9 | test/runtime/memory/LargePages/TestLargePageSizeInBytes.java | Java | gpl-2.0 | 2,456 |
/*
* (c) Copyright 2009 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License.
*
* For redistributing this software or a derivative work under a license other
* than the GPL... | raphaelfeng/benerator | src/org/databene/domain/finance/CreditCardNumber.java | Java | gpl-2.0 | 2,138 |
package com.ullarah.urocket.function;
import org.bukkit.Material;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
public class RemoveInventoryItems {
/**
* Removes a number of material items from an inventory
*
* @param inventory the inventory object
* @param mat... | Ullarah/MinecraftPlugins | uRocket/src/main/java/com/ullarah/urocket/function/RemoveInventoryItems.java | Java | gpl-2.0 | 1,110 |
/*
* Copyright (c) 2010, 2016, 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 ... | teamfx/openjfx-9-dev-rt | modules/javafx.controls/src/test/java/test/javafx/scene/control/TableViewTest.java | Java | gpl-2.0 | 229,266 |
/*
* MessageSender.java
*
* Created on May 21, 2007, 9:02 PM
*
*/
package eunomia.plugin.gui.hostDetails;
import java.io.IOException;
/**
*
* @author Mikhail Sosonkin
*/
public interface MessageSender {
public void sendObject(Object o) throws IOException;
}
| nologic/nabs | client/trunk/modules/hostDetails/src/eunomia/plugin/gui/hostDetails/MessageSender.java | Java | gpl-2.0 | 291 |
package org.fix4j.test.plumbing;
/**
* Simple Supplier interface.
*/
public interface Supplier<M> {
/**
* @param timeoutInMillis
* @return null if timeout is reached before the next object becomes available. Non-null if
* an object becomes available before timeout is reached.
*/
M get(lo... | fix4j/fix4j-assert | fix4j-assert-core/src/main/java/org/fix4j/test/plumbing/Supplier.java | Java | gpl-2.0 | 343 |
/*
* 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... | DigitalLabApp/Gramy | Telegram-master/TMessagesProj/src/main/java/org/telegram/messenger/volley/Cache.java | Java | gpl-2.0 | 2,852 |
/*
* Copyright (C) 2016-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with ... | matthesrieke/subverse | consumer-mqtt/src/test/java/org/n52/subverse/consume/mqtt/PahoMqttConsumerTestDisabled.java | Java | gpl-2.0 | 2,182 |
/*
* Created on Oct 24, 2004
* Original filename was FlowLayoutVertical2.java
*
* Firemox is a turn based strategy simulator
* Copyright (C) 2003-2007 Fabrice Daugan
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License a... | JoeyLeeuwinga/Firemox | src/main/java/net/sf/firemox/ui/layout/FlowLayoutVertical2.java | Java | gpl-2.0 | 4,357 |
/**
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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 S... | smalyshev/blazegraph | bigdata/src/test/com/bigdata/btree/TestFindChild.java | Java | gpl-2.0 | 6,158 |
/*
* #%L
* Fork of Apache Jakarta POI.
* %%
* Copyright (C) 2008 - 2016 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | bramalingam/bioformats | components/forks/poi/src/loci/poi/hssf/util/RKUtil.java | Java | gpl-2.0 | 3,295 |
package teammates.ui.webapi;
import teammates.common.datatransfer.attributes.CourseAttributes;
import teammates.common.exception.EntityDoesNotExistException;
import teammates.common.exception.EntityNotFoundException;
import teammates.common.exception.UnauthorizedAccessException;
import teammates.common.util.Const;
imp... | xpdavid/teammates | src/main/java/teammates/ui/webapi/BinCourseAction.java | Java | gpl-2.0 | 1,553 |
/*
* Copyright (C) 2012-2021 52°North Spatial Information Research GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with libraries which are l... | EHJ-52n/SOS | webapp/src/test/java/org/n52/sos/service/it/functional/AbstractObservationEncodingsTest.java | Java | gpl-2.0 | 5,693 |
/*
* *************************************************************************
* FileUtils.java
* **************************************************************************
* Copyright © 2015 VLC authors and VideoLAN
* Author: Geoffrey Métais
*
* This program is free software; you can redistribute it and/or ... | Apolunor/vlc-android-sdk | vlc-android/src/org/videolan/vlc/util/FileUtils.java | Java | gpl-2.0 | 11,504 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00028.java | Java | gpl-2.0 | 2,274 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | SpoonLabs/astor | examples/chart_11/source/org/jfree/chart/axis/NumberTick.java | Java | gpl-2.0 | 3,549 |
package br.edu.utfpr.dv.sigeu.jsfbeans;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import javax.inject.Named;
import javax.servlet.http.HttpServletRequest... | sigeu-deseg/sigeu-deseg | sigeu/src/br/edu/utfpr/dv/sigeu/jsfbeans/CancelaReservaBean.java | Java | gpl-2.0 | 4,302 |
/*
* 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/attribute/EntryAttribute.java | Java | gpl-2.0 | 2,076 |
package edu.stanford.nlp.stats;
import edu.stanford.nlp.io.RecordIterator;
import edu.stanford.nlp.util.Pair;
import edu.stanford.nlp.util.logging.Redwood;
import java.util.function.IntToDoubleFunction;
import java.util.function.ToIntFunction;
import java.util.*;
import java.io.*;
/**
* A {@code DataSeries} repres... | rupenp/CoreNLP | src/edu/stanford/nlp/stats/DataSeries.java | Java | gpl-2.0 | 10,776 |
/*
* Tiled Map Editor, (c) 2004-2006
*
* 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.
*
* Adam Turk <atur... | bjorn/tiled-java | src/tiled/mapeditor/util/cutter/BorderTileCutter.java | Java | gpl-2.0 | 1,048 |
/*
* @test
* @bug 6707044
* @summary uncommon_trap of ifnull bytecode leaves garbage on expression stack
* @run main/othervm -Xbatch LuceneCrash
*/
public class LuceneCrash {
public static void main(String[] args) throws Throwable {
new LuceneCrash().crash();
}
private Object alwaysNull;
final void ... | shchiu/hotspot | test/compiler/6707044/LuceneCrash.java | Java | gpl-2.0 | 862 |
/*
* Copyright 2002-2012 the original author or authors.
*
* 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 ap... | deathspeeder/class-guard | spring-framework-3.2.x/spring-expression/src/main/java/org/springframework/expression/spel/ast/BeanReference.java | Java | gpl-2.0 | 2,236 |
/**
Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved.
Contact:
SYSTAP, LLC DBA Blazegraph
2501 Calvert ST NW #106
Washington, DC 20008
licenses@blazegraph.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gener... | blazegraph/database | bigdata-core/bigdata-rdf/src/java/com/bigdata/rdf/internal/impl/BlobIV.java | Java | gpl-2.0 | 12,073 |
/*
* StringInputStream.java
*
* Copyright (C) 2003-2004 Peter Graves
* $Id$
*
* 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 ... | logicmoo/jrelisp-abcl-ws | TheRealDiffernce/lisp/StringInputStream.java | Java | gpl-2.0 | 4,600 |
/*
* dotimes.java
*
* Copyright (C) 2003-2006 Peter Graves
* $Id$
*
* 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 vers... | logicmoo/jrelisp-abcl-ws | TheRealDiffernce/lisp/dotimes.java | Java | gpl-2.0 | 13,615 |
/*
* Bitcoin-JSON-RPC-Client License
*
* Copyright (c) 2013, Mikhail Yevchenko.
*
* 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 r... | mrtexaznl/medcommerce | src/medcommerce/src/com/azazar/bitcoin/jsonrpcclient/BitcoinJSONRPCClient.java | Java | gpl-2.0 | 32,399 |
import javax.print.Doc;
/**
* Created by cu on 11.12.2014.
*/
public class Hospital {
Patient[] patient = new Patient[10];
Doctor[] doctors = new Doctor[10];
}
| andykravets/TeachingJavaMaterials | m2-hospital/src/Hospital.java | Java | gpl-2.0 | 172 |
package uk.co.mould.matt.data.tenses;
public final class PresentConditional extends MoodAndTense {
@Override
public String getMood() {
return "conditional";
}
@Override
public String getTense() {
return "present";
}
}
| mattmould-bbc/frenchverbinator | core/src/main/java/uk/co/mould/matt/data/tenses/PresentConditional.java | Java | gpl-2.0 | 260 |
/* Copyright (C) 2003-2011 JabRef 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 Foundation; either version 2 of the License, or
(at your option) any later version.
This progr... | robymus/jabref | src/main/java/net/sf/jabref/importer/fileformat/PdfXmpImporter.java | Java | gpl-2.0 | 2,073 |
package org.openyu.cms.guestbook.dao;
import java.util.List;
import org.openyu.cms.app.dao.AppLogDao;
import org.openyu.cms.guestbook.log.GuestbookLog;
import org.openyu.commons.dao.inquiry.Inquiry;
public interface GuestbookLogDao extends AppLogDao
{
// --------------------------------------------------
// Guestb... | mixaceh/openyu-cms | openyu-cms-core/src/main/java/org/openyu/cms/guestbook/dao/GuestbookLogDao.java | Java | gpl-2.0 | 1,128 |
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintStream;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JFra... | kiranbarnana/TechPlayers-master | Release/__ExecuteProcess.java | Java | gpl-2.0 | 3,602 |
/**
* OWASP Benchmark Project v1.2beta
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The OWASP Benchmark is free software: you can redistribu... | marylinh/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest02732.java | Java | gpl-2.0 | 2,167 |
/*******************************************************************************
* 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-services/src/test/java/org/opennms/netmgt/capsd/SNMP4JV2IfSnmpCollectorTest.java | Java | gpl-2.0 | 1,487 |
package szu.wifichat.android.activity.message;
import szu.wifichat.android.entity.Message;
import szu.wifichat.android.util.FileUtils;
import szu.wifichat.android.util.ImageUtils;
import szu.wifichat.android.view.HandyTextView;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.c... | ldy0556/svntest | src/szu/wifichat/android/activity/message/FileMessageItem.java | Java | gpl-2.0 | 6,482 |
/*
* Copyright (c) 1996, 2008, 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 ... | openjdk/jdk7u | jdk/src/share/classes/java/awt/event/ContainerEvent.java | Java | gpl-2.0 | 5,694 |
package de.tudarmstadt.ukp.experiments.pythagoras.featureExtractors;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
/**
* Counts syllables in words.
*
* This class is based on the methods of 'syll_en' and 'syll_de'
* in Linux'Style' command (a part of 'diction' package).
... | UKPLab/pythagoras | src/main/java/de/tudarmstadt/ukp/experiments/pythagoras/featureExtractors/WordSyllableCounter.java | Java | gpl-3.0 | 2,971 |
/*
* Copyright (C) 2013 - 2014 Alexander "Evisceration" Martinz
*
* 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.... | Romascu/FullDeviceControl-Custom | app/src/main/java/org/namelessrom/devicecontrol/utils/ShellOutput.java | Java | gpl-3.0 | 1,086 |
/*
* This file is part of ADDIS (Aggregate Data Drug Information System).
* ADDIS is distributed from http://drugis.org/.
* Copyright © 2009 Gert van Valkenhoef, Tommi Tervonen.
* Copyright © 2010 Gert van Valkenhoef, Tommi Tervonen, Tijs Zwinkels,
* Maarten Jacobs, Hanno Koeslag, Florin Schimbinschi, Ahmad Kamal,... | gertvv/addis | application/src/main/java/org/drugis/addis/gui/knowledge/DrugsKnowledge.java | Java | gpl-3.0 | 2,371 |
/**
* Nombre: AdaptadorDrawer.java
* Version: 1.0
* Autor: Sergio Soro
* Fecha: 3-4-2015
* Descripcion: Este fichero implementa un adaptador para la lista del Drawer.
*/
package com.hyenatechnologies.wallapet.AdaptadoresListas;
import android.app.Activity;
import android.view.LayoutInflater;
import android.vi... | piraces/Wallapet | app/src/main/java/com/hyenatechnologies/wallapet/AdaptadoresListas/AdaptadorDrawer.java | Java | gpl-3.0 | 2,957 |
package at.tyron.vintagecraft.WorldGen.Layer;
import at.tyron.vintagecraft.Interfaces.IGenLayerSupplier;
import at.tyron.vintagecraft.WorldGen.Noise.GenLayerNoise;
public class GenLayerWeightedNoise extends GenLayerNoise {
IGenLayerSupplier[] genlayersuppliers;
/*int[] weights;
int[] colors;*/
int wei... | nanakisan/vintagecraft | src/main/java/at/tyron/vintagecraft/WorldGen/Layer/GenLayerWeightedNoise.java | Java | gpl-3.0 | 3,918 |
package cn.nukkit.block;
import cn.nukkit.utils.BlockColor;
/**
* Created by Snake1999 on 2016/1/11.
* Package cn.nukkit.block in project nukkit
*/
public abstract class BlockPressurePlate extends BlockTransparent {
protected BlockPressurePlate() {
this(0);
}
protected BlockPressurePlate(int ... | JupiterDevelopmentTeam/JupiterDevelopmentTeam | src/main/java/cn/nukkit/block/BlockPressurePlate.java | Java | gpl-3.0 | 589 |
/*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 Free
* Software Foundation; either version 3 of the License, or (at your option)
* any late... | bcdev/beam | beam-pixel-extraction/src/main/java/org/esa/beam/pixex/output/ProductIdentifier.java | Java | gpl-3.0 | 2,655 |
package com.nauktis.solarflux.reference;
public final class Reference {
public static final String MOD_ID = "SolarFlux";
public static final String MOD_NAME = "Solar Flux";
public static final String VERSION = "@VERSION@";
public static final String GUI_FACTORY = "com.nauktis.solarflux.config.Configur... | Lagiacrus24/SolarFlux | src/main/java/com/nauktis/solarflux/reference/Reference.java | Java | gpl-3.0 | 531 |
/*
* Symphony - A modern community (forum/SNS/blog) platform written in Java.
* Copyright (C) 2012-2017, b3log.org & hacpai.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 ve... | caoyingde/luosh | src/main/java/org/b3log/symphony/service/LivenessMgmtService.java | Java | gpl-3.0 | 3,430 |
/*****************************************************************************
*
* Copyright (C) Zenoss, Inc. 2008, all rights reserved.
*
* This content is made available according to terms specified in
* License.zenoss under the directory where your Zenoss product is installed.
*
******************************... | krull/docker-zenoss4 | init_fs/usr/local/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.12.1.egg/ZenPacks/zenoss/ZenJMX/src/main/java/com/zenoss/zenpacks/zenjmx/ZenJmxService.java | Java | gpl-3.0 | 11,651 |
/*
* Copyright (C) 2013-2015 F(X)yz,
* Sean Phillips, Jason Pollastrini and Jose Pereda
* 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 3 of the L... | gbivins/FXyz | src/org/fxyz/tools/Cutaway.java | Java | gpl-3.0 | 10,514 |
/*
*
* Copyright (c) 2014 Eduardo Corzo
* 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 ... | educorzo/Siabra-Privacity | src/conexionSiabra/ConexionSiabra.java | Java | gpl-3.0 | 5,725 |
package com.reyls.testmod.client.gui;
import java.util.Set;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import cpw.mods.fml.client.IModGuiFactory;
public class GuiFactory implements IModGuiFactory {
@Override
public void initialize(Minecraft minecraftInstance) {
// TODO Aut... | MrRiegel/Testmod | src/main/java/com/reyls/testmod/client/gui/GuiFactory.java | Java | gpl-3.0 | 780 |
// $Id: PropPanelDependency.java 41 2010-04-03 20:04:12Z marcusvnac $
// Copyright (c) 1996-2007 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 grant... | ckaestne/LEADT | workspace/argouml_critics/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelDependency.java | Java | gpl-3.0 | 4,309 |
package com.scythe.instrumenter.analysis.task;
public interface Task {
public void start();
public void end();
public long getStartTime();
public long getEndTime();
public String asString();
}
| thomasdeanwhite/instrumentation | client/src/main/java/com/scythe/instrumenter/analysis/task/Task.java | Java | gpl-3.0 | 203 |
package de.metas.ui.web.view.template;
import java.util.List;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.UnaryOperator;
import org.adempiere.util.lang.SynchronizedMutable;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Immutable... | metasfresh/metasfresh-webui | src/main/java/de/metas/ui/web/view/template/SynchronizedRowsIndexHolder.java | Java | gpl-3.0 | 2,567 |
package test;
import org.junit.Test;
import static org.fest.assertions.Assertions.assertThat;
import play.mvc.Content;
import static play.test.Helpers.contentType;
import static play.test.Helpers.contentAsString;
/**
*
* Simple (JUnit) tests that can call all parts of a play app. If you are interested in mocking a... | eduardgamiao/surferpedia | test/test/ApplicationTest.java | Java | gpl-3.0 | 831 |
package com.oocl.mnlbc.model;
public class User implements java.io.Serializable {
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = usern... | MNLBC/Group2Projects | 3. Lance Jasper Lopez/W5D3_Homework/Number2-3/W5D3_2/src/com/oocl/mnlbc/model/User.java | Java | gpl-3.0 | 1,125 |
package com.cnblog.clarck;
/**
* 测试类
*
* @author clarck
*
*/
public class Client {
public static void main(String[] args) {
Facede facede = new Facede();
facede.methodA();
facede.methodB();
}
}
| cuiqunhao/DesignPatterns | FacedePattern/src/com/cnblog/clarck/Client.java | Java | gpl-3.0 | 219 |
package com.earth2me.essentials;
import com.google.common.base.Charsets;
import com.google.common.io.Files;
import org.bukkit.Bukkit;
import java.io.File;
import java.io.IOException;
import java.util.Locale;
import java.util.UUID;
import java.util.logging.Level;
public class EssentialsUserConf extends EssentialsConf... | Bssentials/Bssentials | EssentialsBridge/src/main/java/com/earth2me/essentials/EssentialsUserConf.java | Java | gpl-3.0 | 2,149 |
/* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2014, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | clumsy/htm.java | src/test/java/org/numenta/nupic/integration/AbstractTemporalMemoryTest.java | Java | gpl-3.0 | 5,049 |
package net.minecraft.server.integrated;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.Futures;
import com.mojang.authlib.GameProfileRepository;
import com.mojang.authlib.minecraft.MinecraftSessionService;
import com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService;
import jav... | Severed-Infinity/technium | build/tmp/recompileMc/sources/net/minecraft/server/integrated/IntegratedServer.java | Java | gpl-3.0 | 15,935 |
package eu.siacs.conversations.generator;
import android.os.Bundle;
import android.util.Base64;
import android.util.Log;
import org.whispersystems.libsignal.IdentityKey;
import org.whispersystems.libsignal.ecc.ECPublicKey;
import org.whispersystems.libsignal.state.PreKeyRecord;
import org.whispersystems.libsignal.st... | moparisthebest/Conversations | src/main/java/eu/siacs/conversations/generator/IqGenerator.java | Java | gpl-3.0 | 16,812 |
/**
* This file is part of ankus.
*
* ankus 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.
*
* ankus is distributed in the hop... | onycom-ankus-lite/ankus_lite | ankus-lite-web/src/main/java/com/ankus/model/rest/FileInfo.java | Java | gpl-3.0 | 2,681 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.totsp.crossword.web.wave;
import com.totsp.gwittir.client.beans.annotations.Introspectable;
/**
*
* @author kebernet
*/
@Introspectable
public class Play {
private String responder;
private bool... | rappazzo/shortyz | web/src/main/java/com/totsp/crossword/web/wave/Play.java | Java | gpl-3.0 | 2,474 |
/*
* Ref-Finder
* Copyright (C) <2015> <PLSE_UCLA>
*
* 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.... | SoftwareEngineeringToolDemos/FSE-2010-Ref-Finder | code/bin/serp/util/WeakKeyMap.java | Java | gpl-3.0 | 1,194 |
/**
* This file is part of Graylog.
*
* Graylog 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.
*
* Graylog is distributed in t... | hellasmoon/graylog2-server | graylog2-server/src/main/java/org/graylog2/rest/models/configuration/responses/TextField.java | Java | gpl-3.0 | 1,264 |
package com.uaq.vo;
public class MyRequestInputVO {
private String attributeName;
private String attributeValue;
public String getAttributeName() {
return attributeName;
}
public void setAttributeName(String attributeName) {
this.attributeName = attributeName;
}
public String getAttributeValue() {
ret... | pritam176/UAQ | UaqDeptSites/src/com/uaq/vo/MyRequestInputVO.java | Java | gpl-3.0 | 446 |
package jna;
/* Copyright (c) 2007 Timothy Wall, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option... | jsanchezp/e-edd | es.ucm.fdi.edd.core/src/jna/W32Errors.java | Java | gpl-3.0 | 770 |
/*
* 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 ... | ogreyesp/JCLAL | src/main/java/net/sf/jclal/evaluation/method/HoldOut.java | Java | gpl-3.0 | 5,822 |
package edu.berkeley.nlp.syntax.binarization;
import edu.berkeley.nlp.syntax.Tree;
/**
* Binarize a tree around the head symbol. That is, when there is an n-ary
* rule, with n > 2, we split it into a series of binary rules with titles
* like [AT]JJ-R (if JJ is the head of the rule). The right part of the
* symbol... | aria42/prototype-sequence-modeling | src/edu/berkeley/nlp/syntax/binarization/HeadBinarizer.java | Java | gpl-3.0 | 699 |
package games.strategy.engine.data;
import games.strategy.engine.data.properties.GameProperties;
import games.strategy.triplea.delegate.AbstractMoveDelegate;
import games.strategy.triplea.delegate.PoliticsDelegate;
import games.strategy.triplea.delegate.TechnologyDelegate;
import games.strategy.triplea.delegate.battle... | triplea-game/triplea | game-app/game-core/src/main/java/games/strategy/engine/data/GameState.java | Java | gpl-3.0 | 2,208 |
package mainCity.gui;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
public class Building implements Gui{
Rectangle rectangle = new Rectangle();
int xLocation, yLocation;
int width, heig... | marcuseng/simcity | src/mainCity/gui/Building.java | Java | gpl-3.0 | 1,625 |
/*
* Copyright (c) 2009 Levente Farkas
* Copyright (c) 2007, 2008 Wayne Meissner
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2000 Wim Taymans <wtay@chello.be>
* 2005 Wim Taymans <wim@fluendo.com>
*
* This file is part of gstreamer-java.
*
* This code ... | guiseco/gst1-java-core | src/org/freedesktop/gstreamer/GstObject.java | Java | gpl-3.0 | 6,506 |
/*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 Free
* Software Foundation; either version 3 of the License, or (at your option)
* any late... | seadas/beam | beam-meris-cloud/src/test/java/org/esa/beam/operator/cloud/CloudPNTest.java | Java | gpl-3.0 | 2,249 |
/*
* Copyright (c) 2012 Ronny Röhricht
*
* This file is part of Moloko.
*
* Moloko 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 la... | RobbiNespu/moloko | src/dev/drsoran/moloko/auth/IRtmWebLoginFragmentListener.java | Java | gpl-3.0 | 1,088 |
package com.adintellig.ella.model.master;
public class Task {
private String startTime;
private String description;
private String state;
private String status;
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String ge... | mayanhui/ella | src/main/java/com/adintellig/ella/model/master/Task.java | Java | gpl-3.0 | 683 |
/*
* File : $Source: /alkacon/cvs/alkacon/com.alkacon.opencms.formgenerator/src/com/alkacon/opencms/formgenerator/dialog/CmsFormListDialog.java,v $
* Date : $Date: 2010/09/17 12:49:30 $
* Version: $Revision: 1.7 $
*
* This file is part of the Alkacon OpenCms Add-On Module Package
*
* Copyright (c) 2010 Alkac... | gallardo/alkacon-oamp | com.alkacon.opencms.formgenerator/src/com/alkacon/opencms/formgenerator/dialog/CmsFormListDialog.java | Java | gpl-3.0 | 11,928 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package rbac;
import database.ConnectionPool;
import database.DBUtil;
import java.sql.Connection;
import java.sql.PreparedStatement;... | lujx1994/YanodaOA | src/rbac/RbacInitialize.java | Java | gpl-3.0 | 7,261 |
package com.intellectualcrafters.configuration;
/**
* Various settings for controlling the input and output of a {@link
* Configuration}.
*/
class ConfigurationOptions {
private final Configuration configuration;
private char pathSeparator = '.';
private boolean copyDefaults = false;
protected ... | manuelgu/PlotSquared | Core/src/main/java/com/intellectualcrafters/configuration/ConfigurationOptions.java | Java | gpl-3.0 | 2,949 |
package com.mifos.mifosxdroid.login;
import com.mifos.api.DataManager;
import com.mifos.mifosxdroid.base.Presenter;
import com.mifos.objects.User;
import javax.inject.Inject;
import rx.Subscriber;
import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
/**
* Created... | coderaashir/android-client | mifosng-android/src/main/java/com/mifos/mifosxdroid/login/LoginPresenter.java | Java | mpl-2.0 | 1,890 |
//////////////////////////////////////////////////////////////////////////////////
// //
// 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 t... | TiWinDeTea/Raoul-the-Game | src/main/java/com/github/tiwindetea/raoulthegame/listeners/game/map/FogResetListener.java | Java | mpl-2.0 | 947 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/electronicprescribinginpatientform/IFormUILogicCode.java | Java | agpl-3.0 | 2,229 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace/Admin/src/ims/admin/forms/ldaplogin/GenForm.java | Java | agpl-3.0 | 32,358 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Scheduling/src/ims/scheduling/forms/reasontextdialog/Logic.java | Java | agpl-3.0 | 4,177 |
package info.nightscout.androidaps.plugins.PumpDanaRKorean.comm;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import info.nightscout.androidaps.Config;
import info.nightscout.androidaps.plugins.PumpDanaR.comm.MessageBase;
import info.nightscout.androidaps.plugins.PumpDanaRKorean.DanaRKoreanPlugin;
public... | samihusseingit/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/comm/MsgStatus.java | Java | agpl-3.0 | 2,021 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Assessment/src/ims/assessment/domain/impl/GraphicAssessmentsForSpecialtyImpl.java | Java | agpl-3.0 | 2,326 |