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) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Core/src/ims/core/forms/vitalsignsvisualacuity/AccessLogic.java | Java | agpl-3.0 | 2,415 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/ILocationVoCollection.java | Java | agpl-3.0 | 8,154 |
/*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* it... | erdincay/ejb | src/com/lp/server/schema/opentrans_2_1/OT2CATALOGREFERENCE.java | Java | agpl-3.0 | 5,193 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/OCRR/src/ims/ocrr/forms/importresultsdialog/GlobalContext.java | Java | agpl-3.0 | 7,536 |
/*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2015 Alejandro P. Revilla
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... | imam-san/jPOS-1 | jpos/src/main/java/org/jpos/tlv/packager/PackagerErrorHandler.java | Java | agpl-3.0 | 1,095 |
/*
* ToroDB
* Copyright © 2014 8Kdata Technology (www.8kdata.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | teoincontatto/engine | kvdocument/core/src/main/java/com/torodb/kvdocument/values/KvMongoObjectId.java | Java | agpl-3.0 | 2,252 |
/*
* RapidMiner
*
* Copyright (C) 2001-2014 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ... | rapidminer/rapidminer-5 | src/com/rapidminer/gui/security/UserCredential.java | Java | agpl-3.0 | 1,872 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/careuk/vo/beans/ReviewPatientElectiveListVoBean.java | Java | agpl-3.0 | 4,840 |
package net.opengis.gml.v_3_1_1.profiles.gmlsfprofile.v_1_0_0;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Curve is a 1-dimensional primitive. Curves ar... | christer155/OpenEMap-Search-services | search-lm-api/src/main/java/net/opengis/gml/v_3_1_1/profiles/gmlsfprofile/v_1_0_0/CurveType.java | Java | agpl-3.0 | 2,278 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/spinalinjuries/vo/lookups/SplintWearRegime.java | Java | agpl-3.0 | 4,932 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2014 VoltDB Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to... | zheguang/voltdb | tests/test_apps/measure-overhead/src/measureoverhead/procedures/MO_ROMP.java | Java | agpl-3.0 | 1,574 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/DomainObjects/src/ims/core/admin/pas/domain/objects/PendingEmergencyAdmission.java | Java | agpl-3.0 | 28,042 |
package org.asimba.engine.cluster;
import javax.naming.Context;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
public class MockInitialContextRule implements TestRule {
private final Context context;
MockInitialContextRule(Context context) {
... | GluuFederation/Asimba | asimba-engine-cluster-jgroups/src/test/java/org/asimba/engine/cluster/MockInitialContextRule.java | Java | agpl-3.0 | 1,022 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/RefMan/src/ims/RefMan/forms/theatretrackingconfig/AccessLogic.java | Java | agpl-3.0 | 2,557 |
////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2018 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | jonmbake/checkstyle | src/test/java/com/puppycrawl/tools/checkstyle/checks/imports/ImportControlCheckTest.java | Java | lgpl-2.1 | 18,328 |
/*
*
* 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 version.
*
* This library is distributed in the hope that ... | codelibs/jcifs | src/main/java/jcifs/internal/smb1/com/ServerData.java | Java | lgpl-2.1 | 1,416 |
package org.skyve.impl.web.faces.converters.select;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
public class TriStateCheckboxBooleanConverter implements Converter {
@Override
public Object getAsObject(FacesContext context, UIComponent comp... | skyvers/skyve | skyve-web/src/main/java/org/skyve/impl/web/faces/converters/select/TriStateCheckboxBooleanConverter.java | Java | lgpl-2.1 | 716 |
package org.intermine.webservice.server.output;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List... | drhee/toxoMine | intermine/web/test/src/org/intermine/webservice/server/output/JSONObjFormatterTest.java | Java | lgpl-2.1 | 6,231 |
/*
* JOSSO: Java Open Single Sign-On
*
* Copyright 2004-2009, Atricore, Inc.
*
* This 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 opt... | atricore/josso1 | agents/josso-liferay6-agent/src/main/java/org/josso/liferay6/agent/LiferayLocalSession.java | Java | lgpl-2.1 | 1,740 |
/*
* LensKit, an open source recommender systems toolkit.
* Copyright 2010-2016 LensKit Contributors. See CONTRIBUTORS.md.
* Work on LensKit has been funded by the National Science Foundation under
* grants IIS 05-34939, 08-08692, 08-12148, and 10-17697.
*
* This program is free software; you can redistribute it... | kluver/lenskit | lenskit-eval/src/test/java/org/lenskit/eval/traintest/predict/RMSEPredictMetricTest.java | Java | lgpl-2.1 | 3,440 |
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | pbondoer/xwiki-platform | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/stats/impl/xwiki/XWikiStatsStoreItem.java | Java | lgpl-2.1 | 1,462 |
package org.molgenis.util;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
public class RegexUtilsTest
{
private String javaCronJobRegex;
private String javaCommaSeparatedEmailListRegex;
@Befor... | ChaoPang/molgenis | molgenis-util/src/test/java/org/molgenis/util/RegexUtilsTest.java | Java | lgpl-3.0 | 1,756 |
/* KIARA - Middleware for efficient and QoS/Security-aware invocation of services and exchange of messages
*
* Copyright (C) 2015 German Research Center for Artificial Intelligence (DFKI)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... | Fiware/i2nd.KIARA | src/main/java/org/fiware/kiara/ps/rtps/writer/timedevent/PeriodicHeartbeat.java | Java | lgpl-3.0 | 5,535 |
package org.zywx.wbpalmstar.plugin.uexmultiHttp;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
public class BodyFileSource implements BodySource {
private File mFile;
pri... | Git-tl/appcan-plugin-xmlhttpmgr-android | uexXmlHttpMgr/src/org/zywx/wbpalmstar/plugin/uexmultiHttp/BodyFileSource.java | Java | lgpl-3.0 | 1,453 |
/*
Copyright (C) 2013 Raquel Pau and Albert Coroleu.
Walkmod is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Walkmod ... | rpau/walkmod-core | src/main/java/org/walkmod/conf/providers/xml/AddConfigurationParameterXMLAction.java | Java | lgpl-3.0 | 9,646 |
/*
* SyntaxUtilities.java - Utility functions used by syntax colorizing
* Copyright (C) 1999 Slava Pestov
*
* You may use and modify this package for any purpose. Redistribution is
* permitted, in both source and binary form, provided that this notice
* remains intact in all source distributions of this package.
... | nativelibs4java/JNAerator | ochafik-swing/src/main/java/com/ochafik/swing/syntaxcoloring/SyntaxUtilities.java | Java | lgpl-3.0 | 4,851 |
/*
* LuoYing is a program used to make 3D RPG game.
* Copyright (c) 2014-2016 Huliqing <31703299@qq.com>
*
* This file is part of LuoYing.
*
* LuoYing 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 Softwar... | guyue123/ly | ly-kernel/src/name/huliqing/luoying/layer/service/TaskServiceImpl.java | Java | lgpl-3.0 | 2,314 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License... | FenixEdu/fenixedu-academic | src/main/java/org/fenixedu/academic/domain/reports/StatusAndApprovalReportFile.java | Java | lgpl-3.0 | 8,438 |
/*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2003,2004 University of Maryland
*
* 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, ... | simeshev/parabuild-ci | 3rdparty/findbugs086src/src/java/edu/umd/cs/findbugs/detect/WaitInLoop.java | Java | lgpl-3.0 | 2,950 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package orgomg.cwm.objectmodel.relationships;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumer... | dresden-ocl/dresdenocl | plugins/org.dresdenocl.tools.CWM/src/orgomg/cwm/objectmodel/relationships/AggregationKind.java | Java | lgpl-3.0 | 6,030 |
/*
* SonarQube CSS Plugin
* Copyright (C) 2013-2016 Tamas Kende and David RACODON
* mailto: kende.tamas@gmail.com and david.racodon@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software ... | SonarCommunity/sonar-css | css-frontend/src/main/java/org/sonar/css/model/pseudo/pseudoidentifier/standard/Fullscreen.java | Java | lgpl-3.0 | 1,229 |
package org.perfectable.persistable.test;
import org.perfectable.persistable.Identifier;
import org.perfectable.persistable.InvalidReference;
import org.perfectable.persistable.serialization.ClassBasedSeparator;
import org.perfectable.persistable.serialization.Serializer;
import org.perfectable.persistable.serializati... | nivertius/perfectable-incubation | persistable/src/test/java/org/perfectable/persistable/test/PersistenceFunctionalTest.java | Java | lgpl-3.0 | 5,411 |
package es.uvigo.esei.sing.bdbm.environment;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
public enum SequenceType {
NUCLEOTIDE("Nucleotide", "nucleotides", "nucl", new char[] {
'A', 'C', 'T', 'G',
'U', 'R', 'Y', 'K',
'K', '... | mrjato/BDBM | api/es/uvigo/esei/sing/bdbm/environment/SequenceType.java | Java | lgpl-3.0 | 2,775 |
package br.com.etyllica.ui.selection;
public enum ResizerEvent {
MOVE, SCALE, ROTATION, FLIP;
}
| etyllica/etyllica | src/main/java/br/com/etyllica/ui/selection/ResizerEvent.java | Java | lgpl-3.0 | 98 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | teryk/sonarqube | sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java | Java | lgpl-3.0 | 5,053 |
package com.horstmann.violet;
public class SequenceDiagramGraph
{
static
{
EDGE_PROTOTYPES[0] = new CallEdge();
}
}
| SergiyKolesnikov/fuji | examples/Violet/SequenceCallEdge/com/horstmann/violet/SequenceDiagramGraph.java | Java | lgpl-3.0 | 151 |
package my.edu.unikl.week1;
import java.util.*;
public class Cworkdowhile {
private static Scanner sc;
public static void main(String[] args)
{//class for input
sc = new Scanner(System.in);
//declare variable
double test,quiz,assignment,project,T,Q,A,P,totalcw;
int student=0;
//input
Syste... | najashark/oop | AoopSept2015Lo1/src/my/edu/unikl/week1/Cworkdowhile.java | Java | unlicense | 1,461 |
//tag::include[]
package org.hibernate.validator.referenceguide.chapter06.crossparameter;
//end::include[]
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.ConstraintTarget;
import javax.valid... | shahramgdz/hibernate-validator | documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssert.java | Java | apache-2.0 | 1,037 |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | jk1/intellij-community | python/src/com/jetbrains/python/inspections/PyDictDuplicateKeysInspection.java | Java | apache-2.0 | 6,939 |
/*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... | intrack/BoofCV-master | main/ip/test/boofcv/abst/filter/derivative/TestImageHessian_Reflection.java | Java | apache-2.0 | 1,782 |
/**
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... | CSchulz/arquillian-extension-warp | impl/src/main/java/org/jboss/arquillian/warp/WarpProperties.java | Java | apache-2.0 | 1,121 |
/*
Copyright 2013 Paul LeBeau, Cave Rock Software Ltd.
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 applicabl... | robinxdroid/XDroidAnimation | XDroidAnimation/src/com/xdroid/animation/anim/svg/SVG.java | Java | apache-2.0 | 67,175 |
package com.nortal.jroad.client.treasury;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;
import javax.xml.soap.SOAPMessage;
import javax.xml.tran... | nortal/j-road | client-service/treasury/src/main/java/com/nortal/jroad/client/treasury/TreasuryXTeeServiceImpl.java | Java | apache-2.0 | 3,585 |
/*
* Copyright 2017 Stowarzyszenie Na4Łapy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | na4lapy/na4lapy-android | app/src/test/java/pl/kodujdlapolski/na4lapy/service/user/UserModuleTest.java | Java | apache-2.0 | 1,419 |
/**
* Copyright (C) 2012-2015 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | greese/dasein-cloud-digitalocean | src/main/java/org/dasein/cloud/digitalocean/compute/DOImage.java | Java | apache-2.0 | 21,656 |
/*
* 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 ... | mdunker/usergrid | stack/services/src/test/java/org/apache/usergrid/services/GroupServiceIT.java | Java | apache-2.0 | 3,258 |
/*
* Copyright 2007 - 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 ... | Recombine/jailer | src/main/net/sf/jailer/database/StatisticRenovator.java | Java | apache-2.0 | 988 |
package com.mossle.card.persistence.domain;
// Generated by Hibernate Tools
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
imp... | xuhuisheng/lemon | src/main/java/com/mossle/card/persistence/domain/CardInfo.java | Java | apache-2.0 | 5,868 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2016, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | arquillian/arquillian-governor | jira/src/main/java/org/arquillian/extension/governor/jira/impl/JiraGovernorClient.java | Java | apache-2.0 | 5,852 |
/*
* 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 ... | gyfora/flink | flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/catalog/CatalogSchemaTable.java | Java | apache-2.0 | 6,075 |
/*
* Copyright 2021 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | marques-work/gocd | domain/src/test/java/com/thoughtworks/go/domain/ArtifactPlanTypeTest.java | Java | apache-2.0 | 1,169 |
package squidpony.squidgrid.gui.gdx;
import squidpony.squidmath.Coord;
/**
* A container that keeps tracks of the sizes of margins and cells. It is at the
* screen-level, i.e. it is intended to keep track of the full screen, not of a
* nested panel. Given the screen's size and the desired cell size, it computes
*... | BenMcLean/SquidLib | squidlib/src/main/java/squidpony/squidgrid/gui/gdx/ScreenSizeManager.java | Java | apache-2.0 | 3,989 |
package aQute.bnd.make.calltree;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.lang.reflect.Modifier;
import java.util.Collection;
import java.util.Comparator;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
impo... | psoreide/bnd | biz.aQute.bndlib/src/aQute/bnd/make/calltree/CalltreeResource.java | Java | apache-2.0 | 5,431 |
package com.mall.pojo;
import java.util.Date;
public class Order {
private String orderId;
private String payment;
private Integer paymentType;
private String postFee;
private Integer status;
private Date createTime;
private Date updateTime;
private Date payme... | sailingfruit/mall-1 | mybatis-generator/src/main/java/com/mall/pojo/Order.java | Java | apache-2.0 | 3,719 |
import yuku.alkitab.util.Ari;
import yuku.alkitabconverter.util.KjvUtils;
import yuku.bintex.BintexReader;
import yuku.bintex.ValueMap;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.util... | Jaden-J/androidbible | RpbTester/src/RpbTester.java | Java | apache-2.0 | 7,023 |
/*
*
* 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"); ... | adufilie/flex-falcon | compiler/src/org/apache/flex/compiler/fxg/logging/FXGLoggerFactory.java | Java | apache-2.0 | 1,312 |
/*
* $Id: ELIterateTag.java 471754 2006-11-06 14:55:09Z husted $
*
* 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 ... | shuliangtao/struts-1.3.10 | src/el/src/main/java/org/apache/strutsel/taglib/logic/ELIterateTag.java | Java | apache-2.0 | 9,322 |
/*
* Copyright 2013-2017 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... | orange-cloudfoundry/cf-java-client | cloudfoundry-client/src/test/java/org/cloudfoundry/client/v2/featureflags/ListFeatureFlagsRequestTest.java | Java | apache-2.0 | 855 |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/... | ksdperera/carbon-dashboards | components/dashboards/org.wso2.carbon.dashboards.core/src/main/java/org/wso2/carbon/dashboards/core/internal/DashboardImporter.java | Java | apache-2.0 | 5,866 |
/*
* 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 ... | apache/cocoon | blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/library/Library.java | Java | apache-2.0 | 7,647 |
/*
* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | aws/aws-dynamodb-session-tomcat | src/test/java/com/amazonaws/services/dynamodb/sessionmanager/SessionStorageIntegrationTest.java | Java | apache-2.0 | 2,996 |
/*******************************************************************************
* Copyright (c) 2006-2010 eBay Inc. All Rights Reserved.
* 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
*
... | vthangathurai/SOA-Runtime | codegen/turmeric-maven-plugin/src/main/java/org/ebayopensource/turmeric/plugins/maven/GenErrorLibraryMojo.java | Java | apache-2.0 | 7,946 |
/*
* 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 ... | apache/tomcat | java/org/apache/catalina/util/XMLWriter.java | Java | apache-2.0 | 6,273 |
/**
* 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... | merlimat/pulsar | pulsar-client-kafka-compat/pulsar-client-kafka_0_8/src/main/java/org/apache/kafka/clients/producer/PulsarClientKafkaConfig.java | Java | apache-2.0 | 8,192 |
/*
* Copyright 2014-2016 CyberVision, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | forGGe/kaa | server/node/src/test/java/org/kaaproject/kaa/server/node/service/initialization/KaaNodeInitializationServiceTest.java | Java | apache-2.0 | 7,113 |
/*
* 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 ... | pdxrunner/geode | geode-dunit/src/main/java/org/apache/geode/test/junit/rules/ClientCacheRule.java | Java | apache-2.0 | 2,426 |
/*
* 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 ... | Fabryprog/camel | components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/utils/XStreamUtils.java | Java | apache-2.0 | 5,329 |
// Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | mayl8822/binnavi | src/main/java/com/google/security/zynamics/binnavi/ZyGraph/Menus/CodeNode/GotoSectionAction.java | Java | apache-2.0 | 1,756 |
/**
* (c) Copyright 2012 WibiData, Inc.
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* 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... | iafek/kiji-mapreduce | kiji-mapreduce/src/main/java/org/kiji/mapreduce/input/package-info.java | Java | apache-2.0 | 1,969 |
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | lhong375/aura | aura-impl/src/main/java/org/auraframework/impl/root/parser/handler/DocumentationDefHandler.java | Java | apache-2.0 | 3,884 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | miniway/presto | presto-resource-group-managers/src/test/java/io/prestosql/plugin/resourcegroups/TestFileResourceGroupConfigurationManager.java | Java | apache-2.0 | 9,364 |
package io.vertx.ext.web.validation;
import io.vertx.core.VertxException;
import io.vertx.core.json.JsonObject;
/**
* Represents an exception while processing a request with {@link ValidationHandler}. Possible failures could be:
* <ul>
* <li>{@link ParameterProcessorException}: Failure while processing the reque... | vert-x3/vertx-web | vertx-web-validation/src/main/java/io/vertx/ext/web/validation/BadRequestException.java | Java | apache-2.0 | 1,154 |
package org.hl7.fhir.instance.model.valuesets;
/*
Copyright (c) 2011+, HL7, 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:
* Redistributions of source code must retain th... | cementsuf/hapi-fhir | hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/TestscriptOperationCodes.java | Java | apache-2.0 | 10,622 |
package com.linkedin.common.urn;
import com.linkedin.common.FabricType;
import com.linkedin.data.template.Custom;
import com.linkedin.data.template.DirectCoercer;
import com.linkedin.data.template.TemplateOutputCastException;
import java.net.URISyntaxException;
import static com.linkedin.common.urn.UrnUtils.toFabric... | mars-lan/WhereHows | li-utils/src/main/javaPegasus/com/linkedin/common/urn/DataProcessUrn.java | Java | apache-2.0 | 2,825 |
/*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | LucidDB/luciddb | farrago/src/net/sf/farrago/fennel/rel/FennelUnionRule.java | Java | apache-2.0 | 2,949 |
/*
* 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... | QBNemo/spring-mvc-showcase | src/main/java/org/springframework/web/servlet/mvc/multiaction/NoSuchRequestHandlingMethodException.java | Java | apache-2.0 | 2,737 |
/*
* 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 ... | tgroh/incubator-beam | sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServices.java | Java | apache-2.0 | 6,273 |
/**
* 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... | kevinearls/camel | components/camel-schematron/src/test/java/org/apache/camel/component/schematron/SchematronProducerTest.java | Java | apache-2.0 | 4,526 |
package pocketknife.internal.codegen.builder;
import pocketknife.BundleBuilder;
import pocketknife.Data;
import pocketknife.FragmentBuilder;
import pocketknife.IntentBuilder;
import pocketknife.Key;
import pocketknife.internal.codegen.BaseProcessor;
import pocketknife.internal.codegen.BundleFieldBinding;
import pocket... | MaTriXy/pocketknife | pocketknife-compiler/src/main/java/pocketknife/internal/codegen/builder/BuilderProcessor.java | Java | apache-2.0 | 16,461 |
/*
* Copyright 2016-2020 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | GovernmentCommunicationsHeadquarters/Gaffer | core/serialisation/src/main/java/uk/gov/gchq/gaffer/serialisation/implementation/MapSerialiser.java | Java | apache-2.0 | 7,982 |
package answers.chapter3;
import java.util.Arrays;
import java.util.List;
public class ForEach05 {
public ForEach05() {
List<String> texts = Arrays.asList(
"Peter Piper picked",
"a peck of pickled peppers",
"A peck of pickled peppers",
... | gobjapan/LambdaOkeiko | src/answers/chapter3/ForEach05.java | Java | apache-2.0 | 2,173 |
/**
* 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 n... | jsrudani/HadoopHDFSProject | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/Application.java | Java | apache-2.0 | 16,828 |
package com.irwin13.dw;
import com.sun.jersey.api.client.Client;
import io.dropwizard.testing.junit.DropwizardAppRule;
import org.hamcrest.MatcherAssert;
import org.junit.Rule;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
/**
* Created by irwin on 25/02/2015.
*/
public class CalculatorResourceTest... | irwin13/jersey-world | dw-lab/src/test/java/com/irwin13/dw/CalculatorResourceTest.java | Java | apache-2.0 | 827 |
/*
* Copyright (C) 2013 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... | manuelmagix/android_packages_apps_Settings | src/com/android/settings/applications/ProcStatsEntry.java | Java | apache-2.0 | 15,126 |
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | mschenck/aurora | src/main/java/org/apache/aurora/scheduler/configuration/ConfigurationManager.java | Java | apache-2.0 | 13,621 |
/*
* 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 ... | Fabryprog/camel | components/camel-stomp/src/test/java/org/apache/camel/component/stomp/StompConsumerTest.java | Java | apache-2.0 | 2,636 |
/*
*
* 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"); ... | adufilie/flex-falcon | compiler/src/org/apache/flex/compiler/internal/fxg/dom/IFillNode.java | Java | apache-2.0 | 1,308 |
/*
* 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 ... | apache/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/dataflow/BinaryTokenizerOperatorDescriptor.java | Java | apache-2.0 | 4,567 |
package com.hubspot.singularity;
import com.hubspot.mesos.Resources;
import com.hubspot.mesos.SingularityMesosArtifact;
import com.hubspot.singularity.SingularityPendingRequest.PendingType;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;
public class SingularityPe... | hs-jenkins-bot/Singularity | SingularityBase/src/main/java/com/hubspot/singularity/SingularityPendingRequestBuilder.java | Java | apache-2.0 | 7,735 |
/*
* 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 ... | mdunker/usergrid | chop/webapp/src/test/java/org/apache/usergrid/chop/webapp/ChopUiTestUtils.java | Java | apache-2.0 | 17,808 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | jk1/intellij-community | plugins/ant/src/com/intellij/lang/ant/dom/AntDomPattern.java | Java | apache-2.0 | 9,495 |
/*
* Copyright 2009 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 applicab... | szpak/spock | spock-core/src/main/java/org/spockframework/compiler/AstUtil.java | Java | apache-2.0 | 12,833 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | mmaracic/elasticsearch | core/src/main/java/org/elasticsearch/search/aggregations/bucket/range/date/DateRangeAggregatorBuilder.java | Java | apache-2.0 | 8,929 |
/**
* 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... | kevinearls/camel | components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/async/MyAsyncProducer.java | Java | apache-2.0 | 2,853 |
/*******************************************************************************
* Copyright 2013 DIMA Research Group, TU Berlin (http://www.dima.tu-berlin.de)
*
* 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 ... | TU-Berlin-DIMA/oligos | src/test/java/de/tu_berlin/dima/oligos/db/TPCHDerby.java | Java | apache-2.0 | 1,658 |
package org.commcare.core.graph.c3;
import org.commcare.core.graph.model.GraphData;
import org.json.JSONException;
/**
* Legend-related configuration for C3.
*
* Created by jschweers on 11/16/2015.
*/
public class LegendConfiguration extends Configuration {
public LegendConfiguration(GraphData data... | dimagi/commcare-core | src/main/java/org/commcare/core/graph/c3/LegendConfiguration.java | Java | apache-2.0 | 619 |
/**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
*
* 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
*
* Unle... | fx19880617/pinot-1 | pinot-core/src/main/java/com/linkedin/pinot/core/query/aggregation/function/AggregationFunction.java | Java | apache-2.0 | 4,125 |
package org.fastcatsearch.ir.index;
public class IndexFieldOption {
public static final int STORE_POSITION = 1 << 1;
private int optionValue;
public IndexFieldOption() {
}
public IndexFieldOption(int optionValue){
this.optionValue = optionValue;
}
public int value(){
return optionValue;
}
p... | fastcat-co/fastcatsearch | core/src/main/java/org/fastcatsearch/ir/index/IndexFieldOption.java | Java | apache-2.0 | 610 |
// ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | neeph/OpenGTSFull | src/org/opengts/war/report/DBDataRowAdapter.java | Java | apache-2.0 | 2,857 |
public class PoolThread extends Thread {
private BlockingQueue taskQueue = null;
private boolean isStopped = false;
public PoolThread(BlockingQueue queue){
taskQueue = queue;
}
public void run(){
while(!isStopped()){
try{
Runnable runnable = (Runn... | JavaEEBoy/Dummy | PoolThread.java | Java | apache-2.0 | 762 |