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) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on 25/08/2005
*
... | fabioz/Pydev | plugins/org.python.pydev/tests_codecompletion/com/python/pydev/codecompletion/participant/CompletionParticipantTest.java | Java | epl-1.0 | 8,997 |
package treehou.se.habit.ui.util;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
i... | pravussum/3House | mobile/src/main/java/treehou/se/habit/ui/util/CategoryPickerFragment.java | Java | epl-1.0 | 5,601 |
/*******************************************************************************
* Copyright 2009 Regents of the University of Minnesota. All rights
* reserved.
* Copyright 2009 Mayo Foundation for Medical Education and Research.
* All rights reserved.
*
* This program is made available under the terms of the Ecl... | jmchilton/TINT | projects/TropixPersistence/src/service-api/edu/umn/msi/tropix/persistence/service/ITraqQuantitationAnalysisService.java | Java | epl-1.0 | 1,827 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on May 24, 2005
... | bobwalker99/Pydev | plugins/org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited/ProjectModulesManager.java | Java | epl-1.0 | 22,376 |
/**
*
*/
package com.coin.arbitrage.huobi.util;
/**
* @author Frank
*
*/
public enum DepthType {
STEP0("step0"),
STEP1("step1"),
STEP2("step2"),
STEP3("step3"),
STEP4("step4"),
STEP5("step5");
private String depth;
private DepthType(String depth) {
this.depth = depth;
}
... | zzzzwwww12/BuyLowSellHigh | BuyLowSellHigh/src/main/java/com/coin/arbitrage/huobi/util/DepthType.java | Java | epl-1.0 | 375 |
/*******************************************************************************
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2020, Deep Blue C Technology Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of th... | debrief/debrief | org.mwc.debrief.legacy/src/Debrief/Tools/Tote/StartTote.java | Java | epl-1.0 | 1,752 |
/**
*/
package org.liquibase.xml.ns.dbchangelog.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.Min... | Treehopper/EclipseAugments | liquibase-editor/eu.hohenegger.xsd.liquibase/src-gen/org/liquibase/xml/ns/dbchangelog/impl/AndTypeImpl.java | Java | epl-1.0 | 23,515 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/xmlattribute/imports/XmlAttributeImportsTestCases.java | Java | epl-1.0 | 2,290 |
/**
* Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités,
Univ. Paris 06 - CNRS UMR 7606 (LIP6)
*
* 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 av... | lhillah/pnmlframework | pnmlFw-PTNet/src/fr/lip6/move/pnml/ptnet/hlapi/TransitionHLAPI.java | Java | epl-1.0 | 11,212 |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates, Frank Schwarz. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribut... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/ddlgeneration/DDLTablePerClassTestSuite.java | Java | epl-1.0 | 3,927 |
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | elucash/eclipse-oxygen | org.eclipse.jface.text/src/org/eclipse/jface/text/rules/FastPartitioner.java | Java | epl-1.0 | 24,915 |
package mesfavoris.bookmarktype;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.util.Optional;
import mesfavoris.model.Bookmark;
public abstract class AbstractBookmarkMarkerPropertiesProvider implements IBookmarkMarkerAttributesProvider {
protected Optional<Stri... | cchabanois/mesfavoris | bundles/mesfavoris/src/mesfavoris/bookmarktype/AbstractBookmarkMarkerPropertiesProvider.java | Java | epl-1.0 | 675 |
/*******************************************************************************
* Copyright (c) 2000, 2008 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... | neelance/jface4ruby | jface4ruby/src/org/eclipse/jface/text/source/OverviewRuler.java | Java | epl-1.0 | 39,538 |
package org.cohorte.studio.eclipse.ui.node.project;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.Map;
import javax.inject.Inject;
import javax.json.Json;
import javax.json.JsonArrayBuilder;
import javax.json.JsonBuilderFactory... | cohorte/cohorte-studio | org.cohorte.studio.eclipse.ui.node/src/org/cohorte/studio/eclipse/ui/node/project/CNodeContentManager.java | Java | epl-1.0 | 4,320 |
/**
* Copyright (c) 2014 - 2022 Frank Appel
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Fran... | fappel/xiliary | com.codeaffine.eclipse.swt/src/com/codeaffine/eclipse/swt/util/ActionScheduler.java | Java | epl-1.0 | 753 |
/**
* Copyright (c) 2010-2013, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | jenskastensson/openhab | bundles/io/org.openhab.io.habmin/src/main/java/org/openhab/io/habmin/services/events/EventResource.java | Java | epl-1.0 | 7,435 |
/*******************************************************************************
* Copyright (c) 2014 Pivotal Software, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availa... | oxmcvusd/eclipse-integration-gradle | org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/modelmanager/ModelBuilder.java | Java | epl-1.0 | 1,069 |
/*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | michele-loreti/jResp | core/org.cmg.jresp.pastry/pastry-2.1/src/org/mpisws/p2p/transport/peerreview/commitment/CommitmentProtocolImpl.java | Java | epl-1.0 | 27,337 |
/*******************************************************************************
* Copyright (c) 2017 TypeFox GmbH (http://www.typefox.io) 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 d... | miklossy/xtext-core | org.eclipse.xtext/src/org/eclipse/xtext/formatting2/regionaccess/internal/StringBasedTextRegionAccessDiffBuilder.java | Java | epl-1.0 | 10,636 |
/**
*/
package org.eclipse.papyrus.RobotML.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.papyrus.RobotML.RobotMLPackage;
import org.eclipse.papyrus.RobotML.RoboticMiddleware;
import org.eclipse.papy... | RobotML/RobotML-SDK-Juno | plugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java | Java | epl-1.0 | 3,660 |
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | gorkem/java-language-server | org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/contentassist/JavadocCompletionProposal.java | Java | epl-1.0 | 10,626 |
package mx.com.cinepolis.digital.booking.commons.exception;
/**
* Clase con los códigos de errores para las excepciones
* @author rgarcia
*
*/
public enum DigitalBookingExceptionCode
{
/** Error desconocido */
GENERIC_UNKNOWN_ERROR(0),
/***
* CATALOG NULO
*/
CATALOG_ISNULL(1),
/**
* Paging R... | sidlors/digital-booking | digital-booking-commons/src/main/java/mx/com/cinepolis/digital/booking/commons/exception/DigitalBookingExceptionCode.java | Java | epl-1.0 | 7,193 |
package com.temenos.soa.plugin.uml2dsconverter.utils;
// General String utilities
public class StringUtils {
/**
* Turns the first character of a string in to an uppercase character
* @param source The source string
* @return String Resultant string
*/
public static String upperInitialCharacter(String sour... | junejosheeraz/UML2DS | com.temenos.soa.plugin.uml2dsconverter/src/com/temenos/soa/plugin/uml2dsconverter/utils/StringUtils.java | Java | epl-1.0 | 938 |
/******************************************************************************
* Copyright (c) 2000-2015 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... | alovassy/titan.EclipsePlug-ins | org.eclipse.titan.designer/src/org/eclipse/titan/designer/AST/TTCN3/values/expressions/Hex2OctExpression.java | Java | epl-1.0 | 6,252 |
/*
* Copyright (c) 2013 Red Hat, Inc. and/or its affiliates.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
* ... | Maarc/windup-as-a-service | windup_0_7/windup-engine/src/main/java/org/jboss/windup/interrogator/impl/XmlInterrogator.java | Java | epl-1.0 | 3,422 |
package de.uks.beast.editor.util;
public enum Fonts
{
//@formatter:off
HADOOP_MASTER_TITEL ("Arial", 10, true, true),
HADOOP_SLAVE_TITEL ("Arial", 10, true, true),
NETWORK_TITEL ("Arial", 10, true, true),
CONTROL_CENTER_TITEL ("Arial", 10, true, true),
HADOOP_MASTER_PROPERTY ("Arial", 8,... | fujaba/BeAST | de.uks.beast.editor/src/de/uks/beast/editor/util/Fonts.java | Java | epl-1.0 | 1,163 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | DavidGutknecht/elexis-3-base | bundles/org.apache.solr/src/org/apache/solr/client/solrj/request/SolrPing.java | Java | epl-1.0 | 3,236 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 202... | DavidGutknecht/elexis-3-base | bundles/at.medevit.elexis.tarmed.model/src-gen/ch/fd/invoice450/request/XtraDrugType.java | Java | epl-1.0 | 5,592 |
/*******************************************************************************
* Copyright (c) 2001, 2005 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... | ttimbul/eclipse.wst | bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/NullMemento.java | Java | epl-1.0 | 1,336 |
/*******************************************************************************
* Copyright (c) 2013-2015 UAH Space Research Group.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... | parraman/micobs | mclev/es.uah.aut.srg.micobs.mclev/src/es/uah/aut/srg/micobs/mclev/library/mclevlibrary/MMCLEVVersionedItemComponent.java | Java | epl-1.0 | 4,916 |
package org.eclipse.scout.widgets.heatmap.client.ui.form.fields.heatmapfield;
import java.util.Collection;
import org.eclipse.scout.rt.client.ui.form.fields.IFormField;
public interface IHeatmapField extends IFormField {
String PROP_VIEW_PARAMETER = "viewParameter";
String PROP_HEAT_POINT_LIST = "heatPointList... | BSI-Business-Systems-Integration-AG/org.thethingsnetwork.zrh.monitor | ttn_monitor/org.eclipse.scout.widgets.heatmap.client/src/main/java/org/eclipse/scout/widgets/heatmap/client/ui/form/fields/heatmapfield/IHeatmapField.java | Java | epl-1.0 | 817 |
/*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | inocybe/odl-bgpcep | bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/nlri/TeLspNlriParser.java | Java | epl-1.0 | 8,515 |
/**
*/
package WTSpec4M.presentation;
import org.eclipse.emf.common.ui.URIEditorInput;
import org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.edit.ui.action.LoadResourceAction;
import org.eclipse.emf.edit.ui.util.EditUIUtil;
import org.ec... | mondo-project/mondo-demo-wt | MONDO-Collab/org.mondo.wt.cstudy.metamodel.online.editor/src/WTSpec4M/presentation/WTSpec4MEditorAdvisor.java | Java | epl-1.0 | 14,965 |
import java.sql.*;
public class ConnessioneDB {
static {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTra... | nicolediana/progetto | ServletExample/src/ConnessioneDB.java | Java | epl-1.0 | 1,248 |
package com.huihuang.utils;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
public class BeanToMap<K, V> {
private BeanToMap() {
}
@SuppressWarnings("unchecked")
public static <K, V> Map<K, V> bean2Map(Object javaBean) {
Map<K, V> ret = n... | yc654084303/QuickConnQuickConnect | QuickConnectPay/src/com/huihuang/utils/BeanToMap.java | Java | epl-1.0 | 1,034 |
/**
* Copyright (c) 2015 SK holdings Co., Ltd. All rights reserved.
* This software is the confidential and proprietary information of SK holdings.
* You shall not disclose such confidential information and shall use it only in
* accordance with the terms of the license agreement you entered into with SK holdings.
... | SK-HOLDINGS-CC/NEXCORE-UML-Modeler | nexcore.alm.common/src/nexcore/alm/common/excel/ExcelException.java | Java | epl-1.0 | 1,457 |
/*******************************************************************************
* Copyright (c) 2009 Andrey Loskutov.
* 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... | iloveeclipse/anyedittools | AnyEditTools/src/de/loskutov/anyedit/actions/replace/ReplaceWithAction.java | Java | epl-1.0 | 9,434 |
/*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.aesh.complete;
import org.jboss.aesh.console.AeshContext;
import org.jboss.aesh.parser.Parser;
import org.jboss.aesh.ter... | aslakknutsen/aesh | src/main/java/org/jboss/aesh/complete/CompleteOperation.java | Java | epl-1.0 | 7,366 |
package dao.inf;
// Generated 27/11/2014 02:39:51 AM by Hibernate Tools 3.4.0.CR1
import java.util.List;
import javax.naming.InitialContext;
import model.Query;
import model.QueryId;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
impo... | mhersc1/SIGAE | src/main/java/dao/inf/QueryDAO.java | Java | epl-1.0 | 590 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package klaper.expr.util;
import java.util.List;
import klaper.expr.Atom;
import klaper.expr.Binary;
import klaper.expr.Div;
import klaper.expr.Exp;
import klaper.expr.ExprPackage;
import klaper.expr.Expression;
import klaper.expr.Minus;
import klaper.expr.Mult;
impor... | aciancone/klapersuite | klapersuite.metamodel.klaper/src/klaper/expr/util/ExprSwitch.java | Java | epl-1.0 | 14,296 |
package critterbot.actions;
public class XYThetaAction extends CritterbotAction {
private static final long serialVersionUID = -1434106060178637255L;
private static final int ActionValue = 30;
public static final CritterbotAction NoMove = new XYThetaAction(0, 0, 0);
public static final CritterbotAction TurnLe... | amw8/rlpark | rlpark.plugin.critterbot/jvsrc/critterbot/actions/XYThetaAction.java | Java | epl-1.0 | 1,202 |
package mx.com.cinepolis.digital.booking.persistence.dao.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.interceptor.Interceptors;
import javax.persistence.EntityManager;
import javax.persistence.Pe... | sidlors/digital-booking | digital-booking-persistence/src/main/java/mx/com/cinepolis/digital/booking/persistence/dao/impl/ScreenDAOImpl.java | Java | epl-1.0 | 12,056 |
/**
*/
package TaxationWithRoot;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Tax Card</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <... | viatra/VIATRA-Generator | Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/Tax_Card.java | Java | epl-1.0 | 32,297 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | sonatype/nexus-public | plugins/nexus-repository-maven/src/main/java/org/sonatype/nexus/repository/maven/internal/orient/package-info.java | Java | epl-1.0 | 1,002 |
/*******************************************************************************
* Copyright (c) 2010, 2012 Tasktop Technologies
* Copyright (c) 2010, 2011 SpringSource, a division of VMware
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Pu... | Tasktop/code2cloud.server | com.tasktop.c2c.server/com.tasktop.c2c.server.profile.web.ui/src/main/java/com/tasktop/c2c/server/profile/web/ui/client/place/UserAccountPlace.java | Java | epl-1.0 | 3,244 |
package com.openMap1.mapper.converters;
import java.util.Iterator;
import org.eclipse.emf.common.util.EList;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.openMap1.mapper.ElementDef;
import com.openMap1.mapper.MappedStructure;
import com.openMap1.mapper.core.... | openmapsoftware/mappingtools | openmap-mapper-lib/src/main/java/com/openMap1/mapper/converters/FACEWrapper.java | Java | epl-1.0 | 11,744 |
package org.matmaul.freeboxos.ftp;
import org.matmaul.freeboxos.internal.Response;
public class FtpResponse {
public static class FtpConfigResponse extends Response<FtpConfig> {}
}
| MatMaul/freeboxos-java | src/org/matmaul/freeboxos/ftp/FtpResponse.java | Java | epl-1.0 | 184 |
/* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008, by Barak Naveh and Con... | arcanefoam/jgrapht | jgrapht-core/src/main/java/org/jgrapht/graph/specifics/Specifics.java | Java | epl-1.0 | 2,800 |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class FileLogger extends MyLoggerImpl {
private String fileName;
public FileLogger(String fileName) {
super();
this.fileName = fileName;
}
@Override
public void log(int level, String message) ... | irin4eto/HackBulgaria_JavaScript | Candidacy/SimpleLogger/src/FileLogger.java | Java | gpl-2.0 | 1,200 |
/**
* 项目名: java-code-tutorials-tools
* 包名: net.fantesy84.common.util
* 文件名: IPUtils.java
* Copy Right © 2015 Andronicus Ge
* 时间: 2015年11月9日
*/
package net.fantesy84.common.util;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Log... | fantesy84/java-code-tutorials | java-code-tutorials-tools/src/main/java/net/fantesy84/common/util/IPUtils.java | Java | gpl-2.0 | 2,924 |
/* UnknownTypeException.java -- Thrown by an unknown type.
Copyright (C) 2012 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; ... | penberg/classpath | javax/lang/model/type/UnknownTypeException.java | Java | gpl-2.0 | 3,277 |
package com.citypark.api.task;
import com.citypark.api.parser.CityParkStartPaymentParser;
import android.content.Context;
import android.os.AsyncTask;
import android.text.format.Time;
public class StopPaymentTask extends AsyncTask<Void, Void, Boolean> {
private Context context;
private String sessionId;
private ... | kruzel/citypark-android | src/com/citypark/api/task/StopPaymentTask.java | Java | gpl-2.0 | 1,144 |
package newpackage;
public class DaneWejsciowe {
float wartosc;
String argument;
public DaneWejsciowe( String argument,float wartosc) {
this.wartosc = wartosc;
this.argument = argument;
}
}
| Zajcew/SystemEkspertowy | System Ekspertowy/src/newpackage/DaneWejsciowe.java | Java | gpl-2.0 | 213 |
/**
* AshtavargaChartData.java
* Created On 2006, Mar 31, 2006 5:12:23 PM
* @author E. Rajasekar
*/
package app.astrosoft.beans;
import java.util.EnumMap;
import app.astrosoft.consts.AshtavargaName;
import app.astrosoft.consts.AstrosoftTableColumn;
import app.astrosoft.consts.Rasi;
import app.astrosoft.core.Asht... | erajasekar/Astrosoft | src/app/astrosoft/beans/AshtaVargaChartData.java | Java | gpl-2.0 | 2,069 |
package mcmod.nxs.animalwarriors.lib;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemArmor;
public class ArmorHelper extends ItemArmor {
public ArmorHelper(ArmorMaterial material, int type, int layer)
{
super(material, type, layer);
}
public ItemArmor setNameAndTab(String name, Cr... | AlphaSwittle-Team/AnimalWarriors | src/main/java/mcmod/nxs/animalwarriors/lib/ArmorHelper.java | Java | gpl-2.0 | 489 |
package org.scada_lts.dao.model.multichangehistory;
import java.util.Objects;
/**
* @author grzegorz.bylica@abilit.eu on 16.10.2019
*/
public class MultiChangeHistoryValues {
private int id;
private int userId;
private String userName;
private String viewAndCmpIdentyfication;
private String in... | SCADA-LTS/Scada-LTS | src/org/scada_lts/dao/model/multichangehistory/MultiChangeHistoryValues.java | Java | gpl-2.0 | 3,725 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License");
* you may not use... | sencko/NALB | nalb2013/src/org/apache/fontbox/cff/charset/CFFExpertCharset.java | Java | gpl-2.0 | 8,359 |
package com.starfarers.dao;
import java.util.List;
public interface BaseDao<T> {
public void create(T entity);
public T save(T entity);
public void save(List<T> entities);
public void remove(T entity);
public T find(Integer id);
public List<T> findAll();
public <P> T findBy(String attribute, P parameter... | Zweanslord/starfarers | src/main/java/com/starfarers/dao/BaseDao.java | Java | gpl-2.0 | 325 |
package agaroyun.view;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import javax.swing.JPanel;
import agaroyun.Model.GameObject;
import agaroyun.Model.Player;
/**
* draws GameObjects to panel
* @author varyok... | by-waryoq/LYKJava2017Basics | src/agaroyun/view/GamePanel.java | Java | gpl-2.0 | 916 |
package net.sf.memoranda.util;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import net.sf.memoranda.ui.AppFrame;
/**
* <p>
* Title:
* </p>
* <p>
* Description:
* </p>
* <p>
* Copyright: Copyright (c) 2002
* </p>
* <p>
* Company:
* </p>
*
* @author unascribed
* @version 1.0... | cst316/spring16project-Fortran | src/net/sf/memoranda/util/Context.java | Java | gpl-2.0 | 845 |
package org.emulinker.kaillera.controller.v086.action;
import java.util.*;
import org.apache.commons.logging.*;
import org.emulinker.kaillera.access.AccessManager;
import org.emulinker.kaillera.controller.messaging.MessageFormatException;
import org.emulinker.kaillera.controller.v086.V086Controller;
import org.emulin... | monospacesoftware/emulinker | src/org/emulinker/kaillera/controller/v086/action/GameOwnerCommandAction.java | Java | gpl-2.0 | 4,749 |
package net.senmori.customtextures.events;
import net.senmori.customtextures.util.MovementType;
import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerEvent;
import com.sk89q.worldguard.protection.regions.ProtectedRegion;
/**
* event that is triggered after a player entered a WorldGuard re... | Senmori/CustomTextures | src/main/java/net/senmori/customtextures/events/RegionEnteredEvent.java | Java | gpl-2.0 | 851 |
/*
* 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 sv.edu.uesocc.ingenieria.disenio2_2015.pymesell.presentacion.pymesellv1desktopclient;
/**
*
* @author David
*/
public class... | girondave/Proyecto_Disenio2_2015-PymeSell_v1 | PymeSellV1DesktopClient/src/java/sv/edu/uesocc/ingenieria/disenio2_2015/pymesell/presentacion/pymesellv1desktopclient/Main.java | Java | gpl-2.0 | 496 |
package org.booleanfloat.traveler.links;
import org.booleanfloat.traveler.Location;
import org.booleanfloat.traveler.interfaces.Traversable;
import java.util.ArrayList;
import java.util.concurrent.Callable;
public class OneWayLink {
public OneWayLink(Location start, Location end) {
this(start, end, new A... | BooleanFloat/Traveler | src/org/booleanfloat/traveler/links/OneWayLink.java | Java | gpl-2.0 | 662 |
public class trace {
public void mnonnullelements(int[] a) {
int i = 0;
//@ assert i == 0 && \nonnullelements(a);
return ;
}
public void mnotmodified(int i) {
//@ assert \not_modified(i);
i = 4;
//@ assert i == 4 && \not_modified(i);
... | shunghsiyu/OpenJML_XOR | OpenJML/testfiles/escTraceBS/trace.java | Java | gpl-2.0 | 342 |
/**
*
*/
package org.sylvani.io.voice.http;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.emf.common.util.EList;
import ... | hkuhn42/sylvani | org.sylvani.io/src/main/java/org/sylvani/io/voice/http/RecognitionRelayServlet.java | Java | gpl-2.0 | 1,853 |
class Class3_Sub28 extends Class3 {
static Class94[] aClass94Array2566 = new Class94[200];
static int anInt2567 = -1;
private static Class94 aClass94_2568 = Class3_Sub4.buildString("Started 3d Library");
long aLong2569;
Class3_Sub28 aClass3_Sub28_2570;
static int anInt2571;
static int an... | Lmctruck30/RiotScape-Client | src/Class3_Sub28.java | Java | gpl-2.0 | 4,615 |
package lionse.client.stage;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Label... | agemor/lionse | src/lionse/client/stage/Character.java | Java | gpl-2.0 | 10,099 |
package com.lami.tuomatuo.mq.zookeeper.server;
import com.lami.tuomatuo.mq.zookeeper.jmx.ZKMBeanInfo;
/**
* This class implements the data tree MBean
*
* Created by xujiankang on 2017/3/19.
*/
public class DataTreeBean implements DataTreeMXBean, ZKMBeanInfo{
public DataTree dataTree;
public DataTreeBea... | jackkiexu/tuomatuo | tuomatuo-mq/src/main/java/com/lami/tuomatuo/mq/zookeeper/server/DataTreeBean.java | Java | gpl-2.0 | 1,052 |
import tests.util.*;
import java.util.Map;
// Test case for Issue 134:
// http://code.google.com/p/checker-framework/issues/detail?id=134
// Handling of generics from different enclosing classes.
// TODO: revisit with nested types in 1.3.
// @skip-test
class GenericTest4 {
public interface Foo {}
class Outer<O>... | biddyweb/checker-framework | framework/tests/framework/GenericTest4.java | Java | gpl-2.0 | 939 |
package com.carpoolsophia;
import java.util.concurrent.ExecutionException;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import andro... | cernier/carpoolsophia | carpoolsophia/src/main/java/com/carpoolsophia/ProfileFragment.java | Java | gpl-2.0 | 4,190 |
package com.yh.admin.bo;
import java.util.Date;
import com.yh.platform.core.bo.BaseBo;
public class UserAgent extends BaseBo {
private static final long serialVersionUID = 2715416587055228708L;
private Long userAgentOid;
private Long systemPositionOid;
private String userId; // 被代理人
private ... | meijmOrg/Repo-test | freelance-admin/src/java/com/yh/admin/bo/UserAgent.java | Java | gpl-2.0 | 1,512 |
package org.rebecalang.modeltransformer.ros.timedrebeca;
import java.util.HashMap;
import java.util.Map;
import org.rebecalang.compiler.modelcompiler.corerebeca.CoreRebecaTypeSystem;
import org.rebecalang.compiler.modelcompiler.corerebeca.objectmodel.BinaryExpression;
import org.rebecalang.compiler.modelcompiler.core... | rebeca-lang/org.rebecalang.modeltransformer | src/main/java/org/rebecalang/modeltransformer/ros/timedrebeca/TimedRebeca2ROSExpressionTransformer.java | Java | gpl-2.0 | 12,240 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pt.jkaiui.core.messages;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import pt.jkaiui.core.KaiString;
import pt.jkaiui.manager.I_InMessage;
/**
*
* @author yuu@akron
*/
public class Conne... | yuuakron/jKaiUI_Custom | src/pt/jkaiui/core/messages/ConnectedArena.java | Java | gpl-2.0 | 731 |
// Test for method java.util.IllegalFormatPrecisionException.getClass().getFields()
// Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com>
// This file is part of Mauve.
// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// th... | niloc132/mauve-gwt | src/main/java/gnu/testlet/java/util/IllegalFormatPrecisionException/classInfo/getFields.java | Java | gpl-2.0 | 3,040 |
package com.mmm.product.domain;
import java.io.Serializable;
public class ShippingDetails implements Serializable{
private static final long serialVersionUID = 5941389959992371612L;
}
| Lnjena/mmm.com | mmm-spring-boot/src/main/java/com/mmm/product/domain/ShippingDetails.java | Java | gpl-2.0 | 189 |
package org.jiserte.bioformats.readers.phylip;
import org.jiserte.bioformats.readers.faults.AlignmentReadingFault;
public class FirstBlockLinePhylipFault extends AlignmentReadingFault {
public FirstBlockLinePhylipFault() {
super();
this.setMessage("Sequences in the first block of data must have a descriptio... | javieriserte/XI-bio-formats | XI-Bio-Formats/src/org/jiserte/bioformats/readers/phylip/FirstBlockLinePhylipFault.java | Java | gpl-2.0 | 378 |
/*
* Freeplane - mind map editor
* Copyright (C) 2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev
*
* This file is modified by Felix Natter in 2013.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | freeplane/freeplane | freeplane/src/main/java/org/freeplane/core/resources/components/ButtonProperty.java | Java | gpl-2.0 | 1,600 |
package com.mikesantiago.mariofighter;
import static com.mikesantiago.mariofighter.GlobalVariables.PPM;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.... | Luigifan/MarioFighter | core/src/com/mikesantiago/mariofighter/PlayerOne.java | Java | gpl-2.0 | 5,195 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/quercus/src/com/caucho/quercus/lib/spl/OuterIterator.java | Java | gpl-2.0 | 1,187 |
package cz.vutbr.fit.xfekia00;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.LinkedList;
/**
* jedno vykonanie skriptu sa uklada ako polozka historie
* @author Filip Fekiac
*/
public class HistoryItem {
private final String usedDatabase; // pouzity databazovy system
private... | waresko18/TempJDBC | src-gui/src/cz/vutbr/fit/xfekia00/HistoryItem.java | Java | gpl-2.0 | 1,674 |
package org.lastbamboo.common.util.mina.decode.binary;
import org.littleshoot.mina.common.ByteBuffer;
import org.littleshoot.mina.filter.codec.ProtocolDecoderOutput;
import org.littleshoot.util.mina.DecodingState;
/**
* Decoding state for reading a single unsigned int.
*/
public abstract class UnsignedIntDecodingSt... | adamfisk/littleshoot-client | common/util/mina/src/main/java/org/lastbamboo/common/util/mina/decode/binary/UnsignedIntDecodingState.java | Java | gpl-2.0 | 1,151 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-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(... | vishwaAbhinav/OpenNMS | opennms-config/src/main/java/org/opennms/netmgt/config/datacollection/MibObj.java | Java | gpl-2.0 | 15,302 |
package org.mo.com.io;
public class FLinkInput
{
}
| favedit/MoPlatform | mo-1-common/src/lang-java/org/mo/com/io/FLinkInput.java | Java | gpl-2.0 | 52 |
package com.app.labeli;
import com.app.labeli.member.Member;
import net.tools.*;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import an... | asso-labeli/labeli-android-app | src/com/app/labeli/FragmentConnection.java | Java | gpl-2.0 | 3,863 |
package teammates.test.cases.action;
import org.testng.annotations.Test;
import teammates.common.datatransfer.DataBundle;
import teammates.common.datatransfer.attributes.FeedbackQuestionAttributes;
import teammates.common.datatransfer.attributes.FeedbackResponseAttributes;
import teammates.common.datatransfer.attribu... | Gorgony/teammates | src/test/java/teammates/test/cases/action/InstructorFeedbackSubmissionEditSaveActionTest.java | Java | gpl-2.0 | 34,801 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | BIORIMP/biorimp | BIO-RIMP/test_data/code/cio/src/main/java/org/apache/commons/io/monitor/FileEntry.java | Java | gpl-2.0 | 7,542 |
package com.lj.learning.dao;
// THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS
// KEEP INCLUDES - put your custom includes here
// KEEP INCLUDES END
/**
* Entity mapped to table "SHEET".
*/
public class Sheet implements java.io.Serializable {
private Long id;
/** Not-null value. *... | wbhqf3/test | Learning/app/src/main/java/com/lj/learning/dao/Sheet.java | Java | gpl-2.0 | 1,601 |
public class ValueGenerator {
}
| DB-SE/isp2014.marcus.kamieth | Algorithms_DataStructures_AspectJ/src/base/ValueGenerator.java | Java | gpl-2.0 | 35 |
package remasterkit;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.border.TitledBorder;
import javax.swing.b... | anugrahbsoe/RemasterKit | app.remasterkit/src/remasterkit/Menu_Utama.java | Java | gpl-2.0 | 6,973 |
package com.algebraweb.editor.client;
import com.google.gwt.user.client.ui.Button;
/**
* A button for the control panel. Will be styled accordingly.
*
* @author Patrick Brosi
*
*/
public class ControlPanelButton extends Button {
public ControlPanelButton(String desc) {
super();
this.addStyleName("controllp... | patrickbr/ferryleaks | src/com/algebraweb/editor/client/ControlPanelButton.java | Java | gpl-2.0 | 573 |
package com.omnicrola.panoptes.ui.autocomplete;
import static org.easymock.EasyMock.expect;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import com.omnicrola.panoptes.control.DataController;
import com.... | Omnicrola/Panoptes | Panoptes.Test/src/com/omnicrola/panoptes/ui/autocomplete/CardNumberProviderTest.java | Java | gpl-2.0 | 3,813 |
package com.rideon.web.security;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.impl.client.DefaultHttpClient;
import org.springframework.web.client.RestTemplate;
public class ClientAuthenticator {
public ClientAuthenticator() {
... | vilasmaciel/rideon | rideon-client/src/main/java/com/rideon/web/security/ClientAuthenticator.java | Java | gpl-2.0 | 1,128 |
/*
* Copyright 2006-2020 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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) an... | tomas-pluskal/mzmine3 | src/main/java/io/github/mzmine/parameters/parametertypes/ranges/DoubleRangeParameter.java | Java | gpl-2.0 | 5,669 |
/*
* RapidMiner
*
* Copyright (C) 2001-2008 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 Lice... | ntj/ComplexRapidMiner | src/com/rapidminer/gui/tools/ProgressUtils.java | Java | gpl-2.0 | 3,354 |
package org.mo.jfa.face.database.connector;
import org.mo.web.core.container.AContainer;
import org.mo.web.core.webform.IFormPage;
import org.mo.web.protocol.context.IWebContext;
public interface IConnectorAction
{
String catalog(IWebContext context,
@AContainer(name = IFormPage.Page) FConnectorP... | favedit/MoPlatform | mo-4-web/src/web-face/org/mo/jfa/face/database/connector/IConnectorAction.java | Java | gpl-2.0 | 890 |
/*
* *************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | sungsoo/esper | esper/src/test/java/com/espertech/esper/epl/join/rep/TestRepositoryImpl.java | Java | gpl-2.0 | 4,571 |
package doodle;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
/**
* A poll is made up of two or more time slots, which are voted on by poll
* invitees. A time slot is defined by a start datetime and optionally an end
*... | jonasrmichel/jms-doodle-poll | joram-jms/samples/src/joram/doodle/TimeSlot.java | Java | gpl-2.0 | 3,355 |
package tim.prune.threedee;
import java.awt.event.InputEvent;
/*
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistribution of source... | activityworkshop/GpsPrune | src/tim/prune/threedee/UprightOrbiter.java | Java | gpl-2.0 | 10,939 |
/**
* 对公众平台发送给公众账号的消息加解密示例代码.
*
* @copyright Copyright (c) 1998-2014 Tencent Inc.
*/
// ------------------------------------------------------------------------
package com.weixin.sdk.encrypt;
import java.security.MessageDigest;
import java.util.Arrays;
/**
* SHA1 class
*
* 计算公众平台的消息签名接口.
... | teabo/wholly-framework | wholly-demo/wholly_weixin/src/main/java/com/weixin/sdk/encrypt/SHA1.java | Java | gpl-2.0 | 1,592 |