repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
specify/specify6 | src/edu/ku/brc/specify/tools/export/CmdAppBase.java | 13017 | /**
*
*/
package edu.ku.brc.specify.tools.export;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import ... | gpl-2.0 |
fin-nick/fj | util/jlft2/src/jimmLangFileTool/LGFileSubset.java | 2216 | /*******************************************************************************
JimmLangFileTool - Simple Java GUI for editing/comparing Jimm language files
Copyright (C) 2005 Jimm Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
a... | gpl-2.0 |
xstory61/server | src/server/expeditions/MapleExpeditionType.java | 2190 | /*
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 Genera... | gpl-2.0 |
huangyaoming/wxtest | src/com/byhealth/wechat/mysdk/process/in/executor/InWechatTextMsgExecutor.java | 1776 | package com.byhealth.wechat.mysdk.process.in.executor;
import com.byhealth.wechat.base.admin.entity.RespMsgActionEntity;
import com.byhealth.wechat.config.MsgTemplateConstants;
import com.byhealth.wechat.mysdk.constants.WechatReqMsgtypeConstants;
import com.byhealth.wechat.mysdk.context.WechatContext;
import com.byhea... | gpl-2.0 |
uw-loci/visbio | src/main/java/loci/visbio/VisBio.java | 4536 | /*
* #%L
* VisBio application for visualization of multidimensional biological
* image data.
* %%
* Copyright (C) 2002 - 2014 Board of Regents of the University of
* Wisconsin-Madison.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | gpl-2.0 |
arthurmelo88/palmetalADP | palmetal_to_lbrk/base/src/org/adempierelbr/model/MLBRTaxConfigProduct.java | 2274 | /******************************************************************************
* Copyright (C) 2011 Kenos Assessoria e Consultoria de Sistemas Ltda *
* Copyright (C) 2011 Ricardo Santana *
* This program is free software; you can redistribute it and/or modify it ... | gpl-2.0 |
mbabic/HeadphoneController | src/ca/mbabic/headphonecontroller/statemachine/HCStateMachine.java | 4900 | /*
* TODO: license
*/
package ca.mbabic.headphonecontroller.statemachine;
import java.lang.Thread.State;
import java.util.concurrent.Semaphore;
import android.util.Log;
import ca.mbabic.headphonecontroller.services.MediaButtonListenerService;
/**
* State machine keeping track of the state of the but... | gpl-2.0 |
mcberg2016/graal-core | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java | 7960 | /*
* Copyright (c) 2012, 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 ... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest12371.java | 3211 | /**
* 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/... | gpl-2.0 |
guodongxiaren/JFC | src/layout/SignUpPanel.java | 1277 | package layout;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import swing.Sample;
@SuppressWarnings("serial")
public ... | gpl-2.0 |
baijian/root-tools | RootTools2/src/main/java/com/rarnu/tools/neo/activity/MainActivity.java | 3185 | package com.rarnu.tools.neo.activity;
import android.Manifest;
import android.app.AlertDialog;
import android.app.Fragment;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import com.rarnu.tools.neo.R;
import com.rarnu.tools.neo.api.NativeAPI;
import com.rarnu.tools.neo.bas... | gpl-2.0 |
zhanglei920802/ypgl | src/xzd/mobile/android/common/ImageUtils.java | 18019 | package xzd.mobile.android.common;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
imp... | gpl-2.0 |
DanielCoutoVale/TranslogToolset | src/org/uppermodel/translog/TranslogDocument_0_1_0.java | 4381 | package org.uppermodel.translog;
import java.util.LinkedList;
import java.util.List;
import org.uppermodel.translog.v0v1v0.Event;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import ... | gpl-2.0 |
marchold/DashAndDittosPlayground | PlaygroundFree/src/com/catglo/dashplaygroundfree/MenuExecutor.java | 973 | package com.catglo.dashplaygroundfree;
import java.util.LinkedList;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.gr... | gpl-2.0 |
ifellows/Deducer | org/org/rosuda/deducer/widgets/event/RKeyListener.java | 420 | package org.rosuda.deducer.widgets.event;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
public class RKeyListener extends RListener implements KeyListener{
public void keyPressed(KeyEvent arg0) {
eventOccured(arg0,"keyPressed");
}
public void keyReleased(KeyEvent arg0) {
eventOccured(arg... | gpl-2.0 |
BayCEER/bayeos-xmlrpc | src/main/java/org/apache/xmlrpc/SessionHandler.java | 156 | package org.apache.xmlrpc;
public interface SessionHandler {
void checkSession(Integer SessionId, Integer UserId) throws InvalidSessionException;
}
| gpl-2.0 |
jpelc/java-design-patterns | factory-method/src/main/java/jpelc/learning/designpatterns/factorymethod/WeaponType.java | 324 | package jpelc.learning.designpatterns.factorymethod;
public enum WeaponType {
SHORT_SWORD("short sword"), SPEAR("spear"), AXE("axe"), UNDEFINED("");
private String title;
WeaponType(String title) {
this.title = title;
}
@Override
public String toString() {
return title;
... | gpl-2.0 |
shevek/qemu-java | qemu-qapi/src/main/java/org/anarres/qemu/qapi/api/NFSServer.java | 1832 | package org.anarres.qemu.qapi.api;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java... | gpl-2.0 |
wnoisephx/fred-official | src/freenet/node/PacketFormat.java | 1733 | package freenet.node;
import java.util.List;
import java.util.Vector;
import freenet.io.comm.Peer;
public interface PacketFormat {
boolean handleReceivedPacket(byte[] buf, int offset, int length, long now, Peer replyTo);
/**
* Maybe send something. A SINGLE PACKET. Don't send everything at once, for two reason... | gpl-2.0 |
Thomashuet/Biocham | gui/modelData/ParamTableRules.java | 32668 | package fr.inria.contraintes.biocham.modelData;
import fr.inria.contraintes.biocham.BiochamDynamicTree;
import fr.inria.contraintes.biocham.BiochamMainFrame;
import fr.inria.contraintes.biocham.BiochamModel;
import fr.inria.contraintes.biocham.BiochamModelElement;
import fr.inria.contraintes.biocham.WorkbenchArea;
imp... | gpl-2.0 |
WorldsBestCoder/PlanetSimulation | src/drawing/Collision.java | 3059 | package drawing;
import math.VectorMath;
/**
*
* @author Mark Traquair - Started in 2013/14
*/
public class Collision {
VectorMath math = new VectorMath();
private boolean doTheMath(Point point1, Point point2){
//This is the dot product of point 2 - point1
return ((poi... | gpl-2.0 |
hgdev-ch/toposuite-android | app/src/main/java/ch/hgdev/toposuite/transfer/SaveStrategy.java | 1754 | package ch.hgdev.toposuite.transfer;
import android.content.Context;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* Interface implementing the Strategy design pattern in order to provide an
* easy way to save an object into a file.
*
* @author HGdev
*/
public interface S... | gpl-2.0 |
mohlerm/hotspot_cached_profiles | test/gc/g1/TestG1TraceEagerReclaimHumongousObjects.java | 3815 | /*
* Copyright (c) 2014, 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 ... | gpl-2.0 |
ahuarte47/SOS | core/api/src/main/java/org/n52/sos/service/operator/ServiceOperatorRepository.java | 6805 | /**
* Copyright (C) 2012-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... | gpl-2.0 |
gerhard2202/Culinaromancy | src/main/java/gerhard2202/culinaromancy/item/ItemGourmetChicken.java | 856 | package gerhard2202.culinaromancy.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.MobEffects;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.world.World;
import java.util.Random;
public class ItemGourmetChicken extends ItemCulinaro... | gpl-2.0 |
iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/service/base/inscription_criteria_lkpLocalServiceClpInvoker.java | 9411 | /**
* Copyright (c) 2000-2012 Liferay, Inc. 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)
* any later... | gpl-2.0 |
Jotschi/jogl2-example | src/main/java/demos/nehe/lesson27/Lesson27.java | 562 | package demos.nehe.lesson27;
import demos.common.GLDisplay;
import demos.common.LessonNativeLoader;
/**
* @author Abdul Bezrati
*/
public class Lesson27 extends LessonNativeLoader {
public static void main(String[] args) {
GLDisplay neheGLDisplay = GLDisplay
.createGLDisplay("Lesson 27: Shadows");... | gpl-2.0 |
vs49688/RAFTools | src/main/java/net/vs49688/rafview/cli/commands/RamInfo.java | 1855 | /*
* RAFTools - Copyright (C) 2016 Zane van Iperen.
* Contact: zane@zanevaniperen.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2, and only
* version 2 as published by the Free Software Foundation.
*
* This... | gpl-2.0 |
vexorian/kawigi-edit | kawigi/cmd/SettingAction.java | 4485 | package kawigi.cmd;
import kawigi.properties.*;
import kawigi.widget.*;
import kawigi.editor.*;
import javax.swing.*;
import java.awt.event.*;
/**
* Action implementation for setting actions.
*
* This class really serves two purposes. The first is to implement actions
* that are related to settings but... | gpl-2.0 |
VK2012/AppCommonFrame | app/src/main/java/com/vk/libs/appcommontest/gankio/mvp/data/requestbody/LoginInfoReqParam.java | 2960 | package com.vk.libs.appcommontest.gankio.mvp.data.requestbody;
/**
* Created by VK on 2017/2/8.<br/>
* - 登录
*/
public class LoginInfoReqParam {
/*
URL: /user/login.action
param:
{
account: ‘admin’,
password: ‘admin123’
}
*/
// {"j_mobile_mid":"864895022552002","j_pic_code":... | gpl-2.0 |
tincent/libtincent | appdemo/src/com/tincent/demo/adapter/AdBannerAdapter.java | 4595 | package com.tincent.demo.adapter;
import java.util.ArrayList;
import java.util.List;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.assist.FailReason;
import com.nostra13.universalimageloader.c... | gpl-2.0 |
christianchristensen/resin | modules/webbeans/src/javax/enterprise/inject/spi/ProcessManagedBean.java | 1495 | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
TKPROG/MiSeLoR | src/de/tkprog/MiSeLoR/MiSeLoR.java | 5164 | package de.tkprog.MiSeLoR;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util... | gpl-2.0 |
intranda/goobi-viewer-core | goobi-viewer-core/src/test/java/io/goobi/viewer/model/cms/CMSStaticPageTest.java | 1546 | /**
* This file is part of the Goobi viewer - a content presentation and management application for digitized objects.
*
* Visit these websites for more information.
* - http://www.intranda.com
* - http://digiverso.com
*
* This program is free software; you can redistribute it and/or modify it ... | gpl-2.0 |
PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/kernel/modules/context/audioobject/AudioObjectBasicInfoContent.java | 5655 | /*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | gpl-2.0 |
PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/gui/views/dialogs/ExtendedToolTip.java | 4283 | /*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | gpl-2.0 |
CleverCloud/Quercus | quercus/src/main/java/com/caucho/quercus/env/JavaCalendarValue.java | 1904 | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
Shashi-Bhushan/General | cp-trials/src/main/java/in/shabhushan/cp_trials/bits/CountBits.java | 392 | package in.shabhushan.cp_trials.bits;
/**
* Leetcode solution for
* https://leetcode.com/problems/counting-bits/submissions/
*/
class CountBits {
public static int[] countBits(int num) {
int[] n = new int[num + 1];
for (int i = 1; i < num + 1; i++) {
if (i % 2 == 0) {
n[i] = n[i / 2];
... | gpl-2.0 |
derekprovance/Freemind | plugins/map/JCursorMapViewer.java | 9023 | /*FreeMind - A Program for creating and viewing Mindmaps
*Copyright (C) 2000-2011 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
*
*See COPYING for Details
*
*This program is free software; you can redistribute it and/or
*modify it under the terms of the GNU General Public License
... | gpl-2.0 |
dousha/MySpigotPlugins | RandomCraft/src/main/java/io/github/dousha/randomCraft/randomcraft/ItemDescription.java | 815 | package io.github.dousha.randomCraft.randomcraft;
import java.util.HashMap;
// WHY DOESN'T JAVA HAVE A STRUCT
public class ItemDescription implements Cloneable{
public boolean type; // false = in, true = out, I would use #define in c/c++!
public String itemname;
@Deprecated
public int itemid;
public boolean isM... | gpl-2.0 |
glelouet/RPG | Model/src/main/java/fr/lelouet/rpg/model/Character.java | 312 | package fr.lelouet.rpg.model;
import fr.lelouet.rpg.model.character.CharStats;
public class Character extends CharStats {
public Character(RPGGame system) {
super(system);
}
/**
*
* @return true if this character is an avatar
*/
public boolean isPlayer() {
return true;
}
public int lvl;
}
| gpl-2.0 |
rdanieli/heatmapGPS | hmGPS/ejb/src/main/java/com/eng/univates/bd/OcorrenciaBD.java | 598 | package com.eng.univates.bd;
import java.util.List;
import javax.ejb.Remote;
import com.eng.univates.pojo.Filter;
import com.eng.univates.pojo.Ocorrencia;
import com.eng.univates.pojo.Usuario;
import com.vividsolutions.jts.geom.Point;
@Remote
public interface OcorrenciaBD extends CrudBD<Ocorrencia, Integer> {
publ... | gpl-2.0 |
itsazzad/zanata-server | zanata-war/src/main/java/org/zanata/file/FileSystemPersistService.java | 5646 | /*
* Copyright 2013, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | gpl-2.0 |
thecodinglive/hanbit-gradle-book-example | ch06/src/main/java/info/thecodinglive/service/TeamServiceImpl.java | 902 | package info.thecodinglive.service;
import info.thecodinglive.model.Team;
import info.thecodinglive.repository.TeamDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;... | gpl-2.0 |
adamfisk/littleshoot-client | common/sip/stack/src/main/java/org/lastbamboo/common/sip/stack/message/header/SipHeaderFactoryImpl.java | 7606 | package org.lastbamboo.common.sip.stack.message.header;
import java.io.IOException;
import java.net.InetAddress;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.id.uuid.UUID;
import org.apac... | gpl-2.0 |
Unit4TechProjects/ChoiceOptimization | testing/TestSchedule.java | 3494 | package testing;
/**
* Copyright (C) 2015 Matthew Mussomele
*
* This file is part of ChoiceOptimizationAlgorithm
*
* ChoiceOptimizationAlgorithm 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, e... | gpl-2.0 |
kaisenlean/rentavoz3 | src/main/java/co/innovate/rentavoz/services/ciudad/CiudadService.java | 887 | /**
*
*/
package co.innovate.rentavoz.services.ciudad;
import java.util.List;
import co.innovate.rentavoz.model.Ciudad;
import co.innovate.rentavoz.model.Departamento;
import co.innovate.rentavoz.services.GenericService;
/**
* @author <a href="mailto:elmerdiazlazo@gmail.com">Elmer Jose Diaz Lazo</a>
* @project ... | gpl-2.0 |
konqi/fit-precinct | src/main/java/de/konqi/fitapi/common/importer/Importer.java | 252 | package de.konqi.fitapi.common.importer;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by konqi on 08.05.2016.
*/
public interface Importer {
void importFromStream(String userEmail, InputStream is) throws IOException;
}
| gpl-2.0 |
TheTypoMaster/Scaper | openjdk/jdk/test/javax/management/modelmbean/UnserializableTargetObjectTest.java | 7371 | /*
* Copyright 2005 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... | gpl-2.0 |
PimvanGurp/advanced-java | src/nl/HAN/ASD/APP/dataStructures/MyArrayList.java | 6537 | package nl.HAN.ASD.APP.dataStructures;
import com.google.gag.annotation.disclaimer.WrittenWhile;
import java.util.*;
/**
* Created by Pim van Gurp, 9/9/2015.
*/
@SuppressWarnings({"NullableProblems", "ConstantConditions"})
public class MyArrayList<T> implements List<T>, Iterable<T> {
/**
* Amount of eleme... | gpl-2.0 |
proyectos-fiuba-romera/nilledom | src/test/java/test/mdauml/umldraw/shared/NoteElementTest.java | 2826 | /**
* Copyright 2007 Wei-ju Wu
*
* This file is part of TinyUML.
*
* TinyUML 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.
*... | gpl-2.0 |
Icenowy/metatheme | toolkits/java/metatheme/MetaThemeMenuItemUI.java | 6011 | /*
* This file is part of MetaTheme.
* Copyright (c) 2004 Martin Dvorak <jezek2@advel.cz>
*
* MetaTheme 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 opt... | gpl-2.0 |
smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/fsub_ST5_ST1.java | 2064 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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.
This progra... | gpl-2.0 |
Dasfaust/WebMarket | src/main/java/com/survivorserver/Dasfaust/WebMarket/mojang/http/HttpBody.java | 316 | package com.survivorserver.Dasfaust.WebMarket.mojang.http;
public class HttpBody {
private String bodyString;
public HttpBody(String bodyString) {
this.bodyString = bodyString;
}
public byte[] getBytes() {
return bodyString != null ? bodyString.getBytes() : new byte[0];
}
}
| gpl-2.0 |
Contourdynamics/smartcommunication | src/org/contourdynamics/cms/repository/StatusCodeRepos.java | 792 | package org.contourdynamics.cms.repository;
import javax.enterprise.context.ApplicationScoped;
import org.apache.deltaspike.data.api.EntityManagerConfig;
import org.apache.deltaspike.data.api.EntityRepository;
import org.apache.deltaspike.data.api.Repository;
import org.apache.deltaspike.data.api.AbstractEntityReposi... | gpl-2.0 |
specify/specify6 | src/edu/ku/brc/specify/tools/schemalocale/SchemaLocalizerDlg.java | 43764 | /* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | gpl-2.0 |
henwist/OOM_lab2 | src/grupp07/model/Player.java | 1814 | /*
* 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 grupp07.model;
import java.util.ArrayList;
import javafx.scene.paint.Color;
import javafx.util.Pair;
/**
*
* @... | gpl-2.0 |
mzorz/WordPress-Android | WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationDismissBroadcastReceiver.java | 1155 | package org.wordpress.android.ui.notifications;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.NotificationManagerCompat;
import org.wordpress.android.push.GCMMessageService;
/*
* Clears the notification map when a user dismisse... | gpl-2.0 |
inspiraCode/scspro | scspro-parent/scspro_service/src/main/java/com/nowgroup/scspro/service/cat/StorageService.java | 279 | package com.nowgroup.scspro.service.cat;
import com.nowgroup.scspro.dto.cat.Storage;
import com.nowgroup.scspro.dto.geo.State;
import com.nowgroup.scspro.service.BaseService;
public interface StorageService extends BaseService<Storage> {
State getStateInStorage(int id);
}
| gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest11613.java | 2984 | /**
* 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/... | gpl-2.0 |
wangchangshuai/fei_Q | server/src/server/thread/systemSettingsThread/setting_dealingThread.java | 1584 | package server.thread.systemSettingsThread;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.Socket;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashMap;
import server.serverMain.serverMain;
i... | gpl-2.0 |
rjsingh/graal | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java | 3269 | /*
* Copyright (c) 2009, 2011, 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 ... | gpl-2.0 |
toannh/demo | src/main/java/net/demo/model/UserRole.java | 836 | package net.demo.model;
import javax.persistence.*;
/**
* Created by toannh on 10/9/14.
*/
@Entity
@Table(name = "USER_ROLE")
public class UserRole {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
private String username;
private String role;
@OneToOne(cascade = CascadeType.ALL... | gpl-2.0 |
expleeve/GoF23 | src/gof/behaviour/mediator/Colleague1.java | 218 | package gof.behaviour.mediator;
public class Colleague1 extends Colleague {
public Colleague1(Mediator m){
super(m);
}
@Override
public void action() {
System.out.println("Colleague1");
}
}
| gpl-2.0 |
MyRealityCoding/maze | maze/src/org/globalgamejam/maze/tweens/SpriteTween.java | 1020 | package org.globalgamejam.maze.tweens;
import aurelienribon.tweenengine.TweenAccessor;
import com.badlogic.gdx.graphics.g2d.Sprite;
public class SpriteTween implements TweenAccessor<Sprite> {
public static final int BOUNCE = 1;
public static final int ALPHA = 2;
public static final int ROTATION = 3;
@Override
... | gpl-2.0 |
pollorijas/SellPotato | SellPotato/app/src/main/java/sellpotato/sellpotato/Model/IGoogleApiMaps.java | 333 | package sellpotato.sellpotato.Model;
/**
* @author Freddy
* @version 1.0
* @created 08-ene-2015 19:29:24
*/
public class IGoogleApiMaps {
public IGoogleApiMaps(){
}
public void finalize() throws Throwable {
}
public void DibujarRuta(){
}
public double CombertirDireccionPunto(){
return 0;
}
}//end I... | gpl-2.0 |
aroychoudhury/fileanalytics | src/main/java/org/abhishek/fileanalytics/lifecycle/Destroyable.java | 165 | /* Copyright 2015 Roychoudhury, Abhishek */
package org.abhishek.fileanalytics.lifecycle;
public interface Destroyable {
void destroy();
boolean destroyed();
}
| gpl-2.0 |
fyffyt/LearnJava | src/com/test/JUnit/CalculatorTest.java | 882 | package com.test.JUnit;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
public class CalculatorTest {
private static Calculator calculator = new Calculator();
@Before
public void setUp() throws Exception {
calculator.clear();
... | gpl-2.0 |
ivanmarban/spring-boot-movies-restful | src/main/java/com/github/ivanmarban/movies/MovieRestController.java | 1466 | package com.github.ivanmarban.movies;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
public class MovieRestController {
@Autowired
private MovieRepository repo;
@RequestMapping(value = ... | gpl-2.0 |
zbutfly/albus | core/src/main/java/net/butfly/bus/invoker/Invoker.java | 729 | package net.butfly.bus.invoker;
import net.butfly.albacore.service.Service;
import net.butfly.albacore.utils.async.Options;
import net.butfly.bus.Request;
import net.butfly.bus.Response;
import net.butfly.bus.config.bean.InvokerConfig;
import net.butfly.bus.context.Token;
import net.butfly.bus.policy.Routeable;
publi... | gpl-2.0 |
FallenGiter/killjava | src/spring/aop/Main.java | 736 | package spring.aop;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Main {
public static void main(String[] args) {
// ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring/aop/aop-proxy.xml");
// ClassPathXmlApplicationContext ctx = new Clas... | gpl-2.0 |
favedit/MoPlatform | mo-3-logic/src/logic-java/org/mo/logic/process/ILogicProcessConsole.java | 204 | package org.mo.logic.process;
import org.mo.com.xml.IXmlObject;
import org.mo.eng.store.IXmlConfigConsole;
public interface ILogicProcessConsole
extends
IXmlConfigConsole<IXmlObject>
{
}
| gpl-2.0 |
smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/shrd_Ed_Gd_Ib_mem.java | 2407 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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.
This progra... | gpl-2.0 |
dbfit/dbfit | dbfit-java/sqlserver/src/main/java/dbfit/environment/SqlServerEnvironment.java | 10073 | package dbfit.environment;
import dbfit.annotations.DatabaseEnvironment;
import dbfit.api.AbstractDbEnvironment;
import dbfit.util.DbParameterAccessor;
import dbfit.util.DbParameterAccessorsMapBuilder;
import dbfit.util.Direction;
import static dbfit.util.Direction.*;
import static dbfit.util.LangUtils.enquoteAndJoin;... | gpl-2.0 |
md-5/jdk10 | src/java.base/share/classes/sun/security/tools/keytool/Resources_ja.java | 45912 | /*
* Copyright (c) 2000, 2019, 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 ... | gpl-2.0 |
JoBeMa/Life2 | backoffice/clientws/a/engservice/holders/CategoryHolder.java | 555 | /**
* CategoryHolder.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package net.i2cat.csade.life2.backoffice.clientws.a.engservice.holders;
public final class CategoryHolder implements javax.xml.rpc.holders.Holder {
public net.i2cat.... | gpl-2.0 |
Lotusun/OfficeHelper | src/main/java/com/charlesdream/office/word/enums/WdLayoutMode.java | 2574 | package com.charlesdream.office.word.enums;
import com.charlesdream.office.BaseEnum;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* Specifies how text is laid out in the layout mode for the current document.
* <p>
*
* @author Charles Cui on 3/4/16.
* @since 1.0
*/
public enum W... | gpl-2.0 |
onlychoice/ws-xmpp-proxy | src/java/com/netease/xmpp/websocket/handler/NettyWebSocketChannelHandler.java | 12857 | package com.netease.xmpp.websocket.handler;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.channel.ChannelFuture;
import org.jboss.netty.channel.ChannelFutureListener;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.... | gpl-2.0 |
dynamo2/tianma | mycrm/src/main/java/com/dynamo2/myerp/crm/dao/entities/Person.java | 4328 | package com.dynamo2.myerp.crm.dao.entities;
// Generated Mar 20, 2012 11:10:03 AM by Hibernate Tools 3.4.0.CR1
import static javax.persistence.GenerationType.IDENTITY;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persi... | gpl-2.0 |
NationalLibraryOfNorway/Bibliotekstatistikk | old-and-depricated/annualstatistic/src/main/java/no/abmu/abmstatistikk/annualstatistic/service/SchemaReport.java | 10238 | /*
* Created on Dec 7, 2004
*
* This is the object given to the web-form.
* It's a mapping between the report as seen from the JSP-code to the
* way it's used in the service and domain layers.
*/
package no.abmu.abmstatistikk.annualstatistic.service;
import java.beans.XMLEncoder;
import java.io.OutputStream;
... | gpl-2.0 |
shaun2029/Wifi-Reset | src/uk/co/immutablefix/wifireset/NetTask.java | 628 | // Copyright 2013 Shaun Simpson shauns2029@gmail.com
package uk.co.immutablefix.wifireset;
import java.net.InetAddress;
import java.net.UnknownHostException;
import android.os.AsyncTask;
public class NetTask extends AsyncTask<String, Integer, String>
{
@Override
protected String doInBackground(String... par... | gpl-2.0 |
DIY-green/AndroidStudyDemo | DesignPatternStudy/src/main/java/com/cheng/zenofdesignpatterns/patterns/state/liftstate/OpenningState.java | 725 | package com.cheng.zenofdesignpatterns.patterns.state.liftstate;
/**
* 在电梯门开启的状态下能做什么事情
*/
public class OpenningState extends LiftState {
// 开启当然可以关闭了,我就想测试一下电梯门开关功能
@Override
public void close() {
// 状态修改
super.context.setLiftState(LiftContext.closeingState);
// 动作委托为CloseState来执行
super.context.getLiftSt... | gpl-2.0 |
mohlerm/hotspot_cached_profiles | test/gc/TestVerifySilently.java | 2959 | /*
* 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 ... | gpl-2.0 |
klst-com/metasfresh | de.metas.swat/de.metas.swat.base/src/main/java/de/metas/inoutcandidate/modelvalidator/M_InOutLine_Shipment.java | 1640 | package de.metas.inoutcandidate.modelvalidator;
/*
* #%L
* de.metas.swat.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 ... | gpl-2.0 |
the-fascinator/fascinator-portal | src/main/java/com/googlecode/fascinator/portal/services/PortalManager.java | 1896 | /*
* The Fascinator - Portal
* Copyright (C) 2008-2011 University of Southern Queensland
*
* 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... | gpl-2.0 |
malacroix/stimesheet | src/main/java/ca/lc/stimesheet/web/login/userdetails/TimesheetUserDetails.java | 883 | /**
*
*/
package ca.lc.stimesheet.web.login.userdetails;
import java.util.ArrayList;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import ca.lc.stimesheet.model.User;
/**
* @author Marc-Andre Lacroix
*
*/
public class TimesheetUserDetails extends org.springframework.security.cor... | gpl-2.0 |
diging/quadriga | Quadriga/src/main/java/edu/asu/spring/quadriga/dao/profile/impl/ProfileManagerDAO.java | 6447 | package edu.asu.spring.quadriga.dao.profile.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08472.java | 2918 | /**
* 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/... | gpl-2.0 |
Jacksson/mywms | server.app/los.inventory-ejb/src/de/linogistix/los/inventory/query/dto/OrderReceiptTO.java | 1492 | /*
* Copyright (c) 2006 - 2010 LinogistiX GmbH
*
* www.linogistix.com
*
* Project myWMS-LOS
*/
package de.linogistix.los.inventory.query.dto;
import java.util.Date;
import de.linogistix.los.inventory.model.LOSOrderRequestState;
import de.linogistix.los.inventory.model.OrderReceipt;
import de.linogistix.los... | gpl-2.0 |
SRF-Consulting/NDOR-IRIS | src/us/mn/state/dot/tms/SystemAttrEnum.java | 14208 | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2009-2015 Minnesota Department of Transportation
* Copyright (C) 2012 Iteris Inc.
* Copyright (C) 2014 AHMCT, University of California
* Copyright (C) 2015 SRF Consulting Group
*
* This program is free software; you can redistribute it and/o... | gpl-2.0 |
apostlez/algorithm-Exams | src/codejam2016_1st/Problem_4.java | 4964 | package codejam2016_1st;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Scanner;
import java.util.Stack;
class Pair {
int _node;
int _dist;
Pair(int node, int dist) {
_... | gpl-2.0 |
sidgleyandrade/fsmTestCompleteness | fsmTestCompleteness/src/com/usp/icmc/labes/fsm/FsmTransition.java | 2070 | package com.usp.icmc.labes.fsm;
public class FsmTransition extends FsmElement{
private FsmState from;
private String input;
private String output;
private FsmState to;
public FsmTransition(){
super();
}
public FsmTransition(FsmState f, String in, String out, FsmState t) {
this();
from = f;
to = ... | gpl-2.0 |
nachivpn/drogon | src/com/drogon/test/TestParser.java | 786 | package com.drogon.test;
import java.io.IOException;
import java.util.Iterator;
import com.drogon.core.Drogon;
/**
Contributors: Nachi
*/
public class TestParser {
public static void main(String[] args) {
String str = "Mozilla/5.0 (Linux; Android 4.4.2; SGH-T399N Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gec... | gpl-2.0 |
epigenome/iTagPlot | src/Transform/QuantileTransform.java | 1436 | /*
* 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 Transform;
import Objects.TagList;
import java.util.ArrayList;
import java.util.Collections;
/**
*
* @author... | gpl-2.0 |
kartoFlane/superluminal2 | src/java/com/kartoflane/superluminal2/components/interfaces/Redrawable.java | 300 | package com.kartoflane.superluminal2.components.interfaces;
import org.eclipse.swt.events.PaintEvent;
import org.eclipse.swt.events.PaintListener;
public interface Redrawable extends PaintListener
{
/**
* Calls paintControl if the object is visible.
*/
public void redraw( PaintEvent e );
}
| gpl-2.0 |
meijmOrg/Repo-test | freelance-admin/src/java/com/yh/admin/roles/service/RoleFuncService.java | 129 | package com.yh.admin.roles.service;
/**
*
* @author zhangqp
* @version 1.0, 16/08/23
*/
public class RoleFuncService {
}
| gpl-2.0 |
TheTypoMaster/Scaper | openjdk/jdk/src/share/classes/sun/io/ByteToCharISO8859_7.java | 1672 | /*
* Copyright 1996-2003 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 Fou... | gpl-2.0 |
fozziethebeat/S-Space | src/main/java/edu/ucla/sspace/graph/LabeledGraph.java | 4550 | /*
* Copyright 2011 David Jurgens
*
* This file is part of the S-Space package and is covered under the terms and
* conditions therein.
*
* The S-Space package 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 Soft... | gpl-2.0 |
cobexer/fullsync | fullsync-ui/src/main/java/net/sourceforge/fullsync/ui/SystemStatusPage.java | 5577 | /*
* 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... | gpl-2.0 |
shelan/jdk9-mirror | nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java | 32007 | /*
* Copyright (c) 2010, 2013, 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 ... | gpl-2.0 |