repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
Alexey1Gavrilov/dropwizard | dropwizard-jersey/src/test/java/io/dropwizard/jersey/errors/ErrorEntityWriterTest.java | 2886 | package io.dropwizard.jersey.errors;
import io.dropwizard.jersey.AbstractJerseyTest;
import io.dropwizard.jersey.DropwizardResourceConfig;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.servlet.ServletProperties;
import org.glassfish.jersey.test.DeploymentContext;
import org.glassfish.j... | apache-2.0 |
intrigus/VisEditor | Plugins/SpineRuntime/src/com/esotericsoftware/spine/attachments/Attachment.java | 2037 | /*
* Spine Runtimes Software License
* Version 2.3
*
* Copyright (c) 2013-2015, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to use, install, execute and perform the Spine
* Runtimes Software (the "Software") and deriv... | apache-2.0 |
msebire/intellij-community | python/gen/com/jetbrains/python/console/protocol/RowHeader.java | 11511 | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.jetbrains.python.console.protocol;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift... | apache-2.0 |
sdole/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DeleteNetworkAclEntryRequestMarshaller.java | 2365 | /*
* Copyright 2010-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 "l... | apache-2.0 |
yuri0x7c1/ofbiz-explorer | src/test/resources/apache-ofbiz-16.11.03/framework/base/src/main/java/org/apache/ofbiz/base/util/collections/MapStack.java | 4203 | /*******************************************************************************
* 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... | apache-2.0 |
WillJiang/WillJiang | src/apps/mailreader/src/main/java/mailreader2/Login.java | 1397 | /*
* $Id: Login.java 471756 2006-11-06 15:01:43Z 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 you und... | apache-2.0 |
jamespatriot/shiro-root | web/src/main/java/org/apache/shiro/web/env/EnvironmentLoader.java | 11381 | /*
* 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-2.0 |
goodwinnk/intellij-community | xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/TagNameReference.java | 6957 | /*
* 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... | apache-2.0 |
anomaly/closure-compiler | test/com/google/javascript/jscomp/NewTypeInferenceWithTypeSyntaxTranspilationTest.java | 6823 | /*
* Copyright 2015 The Closure Compiler 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 applicable... | apache-2.0 |
armstrongli/etcd4j | src/test/java/mousio/etcd4j/responses/EtcdKeysResponseParserTest.java | 16035 | package mousio.etcd4j.responses;
import io.netty.buffer.Unpooled;
import io.netty.handler.codec.http.DefaultHttpHeaders;
import io.netty.handler.codec.http.HttpHeaders;
import org.junit.Before;
import org.junit.Test;
import static mousio.etcd4j.EtcdUtil.convertDate;
import static mousio.etcd4j.responses.EtcdResponseD... | apache-2.0 |
michaelcapizzi/processors | src/main/java/org/maltparserx/core/syntaxgraph/reader/NegraReader.java | 16507 | package org.maltparserx.core.syntaxgraph.reader;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URL;
imp... | apache-2.0 |
objectiser/camel | examples/camel-example-transformer-cdi/src/main/java/org/apache/camel/example/transformer/cdi/MyRoutes.java | 1699 | /*
* 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-2.0 |
jludvice/fabric8 | fabric/fabric-zookeeper-commands/src/main/java/io/fabric8/zookeeper/commands/Create.java | 2701 | /**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat 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/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
gastaldi/wildfly-swarm | fractions/javaee/ejb/src/main/java/org/wildfly/swarm/ejb/detect/EJBPackageDetector.java | 974 | /**
* Copyright 2017 Red Hat, Inc, and individual contributors.
*
* 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 ... | apache-2.0 |
apache/oodt | resource/src/main/java/org/apache/oodt/cas/resource/mux/BackendManager.java | 2489 | /*
* 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-2.0 |
zhenyuy-fb/airlift | http-client/src/main/java/io/airlift/http/client/spnego/SpnegoAuthenticationStore.java | 2775 | package io.airlift.http.client.spnego;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import io.airlift.units.Duration;
import org.eclipse.jetty.client.api.Authentication;
import org.eclipse.jetty.client.api.AuthenticationStore;
import java.net.URI;
import java.util.concurrent.Time... | apache-2.0 |
ifunny/SmoothProgressBar | library-circular/src/main/java/fr.castorflex.android.circularprogressbar/PowerSaveModeDelegate.java | 1396 | package fr.castorflex.android.circularprogressbar;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import java.util.concurrent.TimeUnit;
/**
* Created by castorflex on 9/12/15.
*/
public class PowerSaveModeDelegate implements ... | apache-2.0 |
prabushi/devstudio-tooling-esb | plugins/org.wso2.developerstudio.visualdatamapper.diagram/src/org/wso2/developerstudio/datamapper/diagram/providers/assistants/DataMapperModelingAssistantProviderOfDataMapperRootEditPart.java | 2706 | package org.wso2.developerstudio.datamapper.diagram.providers.assistants;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.wso2.developerstudio.datamapper.diagram.providers.DataMapperElementTypes;
impor... | apache-2.0 |
reactualize/Force.com-Toolkit-for-Android | SampleApp/src/com/sforce/android/sample/SforceOAuthLogin.java | 2252 | package com.sforce.android.sample;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import com.sforce.android.soap.partner.BaseResponseListener;
import com.sforce.android.soap.partne... | bsd-3-clause |
bhav0904/eclipse-collections | eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/set/AbstractParallelUnsortedSetIterable.java | 4263 | /*
* Copyright (c) 2016 Goldman Sachs.
* 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 which accompany this distribution.
* The Eclipse Public License is available at http://www.ecli... | bsd-3-clause |
brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/ui/actions/NavigateActionGroup.java | 4070 | /*******************************************************************************
* Copyright (c) 2000, 2011 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... | mit |
bpowers/doppio | classes/special_test/StdIn.java | 482 | package classes.special_test;
import java.io.IOException;
public class StdIn {
public static void main(String[] args) {
for (int i=0; i<3; i++) {
int inChar;
System.out.println("Enter a Character (" + (2-i) + " left):");
try {
inChar = System.in.read();
System.out.print("You ente... | mit |
MarAvFe/Footballer | mysql-connector-java-5.1.37/src/com/mysql/jdbc/LoadBalancedConnection.java | 1420 | /*
Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is appl... | mit |
brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileVersioner.java | 3278 | /*******************************************************************************
* Copyright (c) 2000, 2011 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... | mit |
gcc2ge/ethereumj | ethereumj-core/src/test/java/org/ethereum/core/BloomTest.java | 1992 | package org.ethereum.core;
import org.ethereum.crypto.HashUtil;
import org.junit.Assert;
import org.junit.Test;
import org.spongycastle.util.encoders.Hex;
/**
* @author Roman Mandeleil
* @since 20.11.2014
*/
public class BloomTest {
@Test /// based on http://bit.ly/1MtXxFg
public void test1(){
b... | mit |
Mr-Eskildsen/openhab2-addons | addons/binding/org.openhab.binding.rfxcom.test/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComTemperatureRainMessageTest.java | 1633 | /**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* 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
*/... | epl-1.0 |
WelcomeHUME/svn-caucho-com-resin | modules/resin/src/com/caucho/jsp/java/JspOutput.java | 5096 | /*
* Copyright (c) 1998-2012 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 |
winiceo/my-oscgit-android | mygitosc/src/main/java/com/bill/mygitosc/utils/StringUtils.java | 244 | package com.bill.mygitosc.utils;
/**
* Created by liaobb on 2015/8/3.
*/
public class StringUtils {
public static boolean ignoreCaseContain(String s1, String s2) {
return s1.toLowerCase().indexOf(s2.toLowerCase()) >= 0;
}
}
| gpl-2.0 |
mdaniel/svn-caucho-com-resin | modules/resin/src/com/caucho/db/sql/DoubleNeqExpr.java | 2255 | /*
* Copyright (c) 1998-2012 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 |
mdaniel/svn-caucho-com-resin | modules/resin/src/com/caucho/rewrite/IfSecure.java | 1979 | /*
* Copyright (c) 1998-2012 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 |
nicodelpiano/prism | src/pta/parser/PTAParser.java | 23388 | /* Generated By:JavaCC: Do not edit this line. PTAParser.java */
package pta.parser;
import java.io.*;
import java.util.*;
import pta.*;
import prism.PrismLangException;
public class PTAParser implements PTAParserConstants {
//----------------------------------------------------------------------------------... | gpl-2.0 |
lawrancej/logisim | src/main/java/com/cburch/logisim/tools/AddTool.java | 18224 | /* Copyright (c) 2010, Carl Burch. License information is located in the
* com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */
package com.cburch.logisim.tools;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent... | gpl-3.0 |
testIT-LivingDoc/livingdoc-core | livingdoc-client/src/main/java/info/novatec/testit/livingdoc/server/rest/requests/GetSpecificationRepositoriesOfAssociatedProjectRequest.java | 446 | package info.novatec.testit.livingdoc.server.rest.requests;
import info.novatec.testit.livingdoc.server.domain.Repository;
public class GetSpecificationRepositoriesOfAssociatedProjectRequest {
public Repository repository;
public GetSpecificationRepositoriesOfAssociatedProjectRequest() {
}
public G... | gpl-3.0 |
mukadder/kc | coeus-impl/src/main/java/org/kuali/kra/institutionalproposal/dao/ojb/AllFundingProposalQueryCustomizer.java | 2282 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2016 Kuali, Inc.
*
* 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, eithe... | agpl-3.0 |
sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/framework/impl/LineItemObject.java | 2593 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* 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, eithe... | agpl-3.0 |
deerwalk/voltdb | third_party/java/src/com/google_voltpatches/common/collect/AbstractSortedKeySortedSetMultimap.java | 1658 | /*
* Copyright (C) 2012 The Guava 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 applicable law or agre... | agpl-3.0 |
sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/budget/framework/personnel/BudgetPersonSalaryDetails.java | 3833 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* 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, eithe... | agpl-3.0 |
kumarrus/voltdb | tests/testprocs/org/voltdb_testprocs/regressionsuites/catchexceptions/SPBigBatchOnPartitionTable.java | 2707 | /* This file is part of VoltDB.
* Copyright (C) 2008-2015 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... | agpl-3.0 |
AsherBond/MondocosmOS | wonderland/modules/tools/phone/src/classes/org/jdesktop/wonderland/modules/phone/server/cell/PhoneStatusListener.java | 6625 | /**
* Project Wonderland
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
*
* Redistributions in source code form must reproduce the above
* copyright and this condition.
*
* The contents of this file are subject to the GNU General Public
* License, Version 2 (the "License"); you may no... | agpl-3.0 |
apetresc/JCommon | src/main/java/org/jfree/threads/ReaderWriterLock.java | 5871 | /* ========================================================================
* JCommon : a free general purpose class library for the Java(tm) platform
* ========================================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project I... | lgpl-2.1 |
hungerburg/exist | extensions/expath/src/org/expath/httpclient/model/exist/EXistResult.java | 5815 | /*
* eXist EXPath
* Copyright (C) 2013 Adam Retter <adam@existsolutions.com>
* www.existsolutions.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* ... | lgpl-2.1 |
nhminus/jaudiotagger-androidpatch | src/org/jaudiotagger/audio/ogg/util/OggInfoReader.java | 6507 | /*
* Entagged Audio Tag library
* Copyright (c) 2003-2005 Raphaël Slinckx <raphael@slinckx.net>
* Copyright (c) 2004-2005 Christian Laireiter <liree@web.de>
*
* 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 th... | lgpl-2.1 |
PandaTeam/HydroBlocks | src/buildcraft/api/power/PowerHandler.java | 10105 | /**
* Copyright (c) SpaceToad, 2011 http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public License
* 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft.api.power;
import net.minecraf... | lgpl-3.0 |
Alfresco/alfresco-repository | src/main/java/org/alfresco/repo/domain/permissions/ibatis/AclCrudDAOImpl.java | 21316 | /*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | lgpl-3.0 |
mmaracic/elasticsearch | core/src/test/java/org/elasticsearch/cluster/routing/RoutingServiceTests.java | 15018 | /*
* 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... | apache-2.0 |
pwong-mapr/incubator-drill | exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet2/TestDrillParquetReader.java | 11749 | /*
* 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-2.0 |
ddraj/hbase-mttr | hbase-server/src/main/java/org/apache/hadoop/hbase/NotAllMetaRegionsOnlineException.java | 1526 | /**
*
* 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"); ... | apache-2.0 |
pavel-sakun/pentaho-kettle | engine/src/test/java/org/pentaho/di/trans/steps/streamlookup/StreamLookupMetaTest.java | 5864 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License,... | apache-2.0 |
dain/presto | core/trino-main/src/main/java/io/trino/execution/TaskStatus.java | 9616 | /*
* 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... | apache-2.0 |
creamer/cas | core/cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/sso/SsoProperties.java | 668 | package org.apereo.cas.configuration.model.core.sso;
/**
* Configuration properties class for {@code create.sso}.
*
* @author Dmitriy Kopylenko
* @since 5.0.0
*/
public class SsoProperties {
private boolean renewedAuthn = true;
private boolean missingService = true;
public boolean isRenewedAuthn()... | apache-2.0 |
rangadi/incubator-beam | sdks/java/io/kinesis/src/test/java/org/apache/beam/sdk/io/kinesis/KinesisMockWriteTest.java | 10531 | /*
* 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-2.0 |
curso007/camel | components/camel-mail/src/test/java/org/apache/camel/component/mail/RawMailMessageTest.java | 6656 | /**
* 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-2.0 |
MichaelNedzelsky/intellij-community | platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XBreakpointPanelProvider.java | 6449 | /*
* Copyright 2000-2015 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... | apache-2.0 |
psiroky/uberfire | uberfire-workbench/uberfire-workbench-client/src/test/java/org/uberfire/client/workbench/panels/impl/SimpleWorkbenchPanelViewUnitTestWrapper.java | 1045 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | apache-2.0 |
domix/spring-boot | spring-boot-cli/src/it/java/org/springframework/boot/cli/CommandLineIT.java | 2817 | /*
* Copyright 2012-2014 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... | apache-2.0 |
kunickiaj/datacollector | kudu-protolib/src/test/java/com/streamsets/pipeline/stage/destination/kudu/TestKuduOperationType.java | 1508 | /*
* Copyright 2017 StreamSets 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 agreed... | apache-2.0 |
tmess567/syncope | common/lib/src/main/java/org/apache/syncope/common/lib/to/ProvisionTO.java | 2858 | /*
* 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-2.0 |
zhangdian/solr4.6.0 | solr/core/src/test/org/apache/solr/core/TestSolrXMLSerializer.java | 6577 | package org.apache.solr.core;
/*
* 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... | apache-2.0 |
stoksey69/googleads-java-lib | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201502/o/DisplayAdSpec.java | 10202 | /**
* DisplayAdSpec.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201502.o;
/**
* Placement request/response object which provides details about
* display
* ad types, options, and... | apache-2.0 |
rangadi/beam | sdks/java/core/src/test/java/org/apache/beam/sdk/testing/CoderPropertiesTest.java | 9270 | /*
* 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-2.0 |
psiroky/uberfire | uberfire-workbench/uberfire-workbench-client/src/test/java/org/uberfire/client/workbench/widgets/dnd/CompassDropControllerUnitTestWrapper.java | 2481 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | apache-2.0 |
enricopal/STEM | lib/Duke/duke-core/src/test/java/no/priv/garshol/duke/databases/InMemoryBlockingDatabaseTest.java | 751 |
package no.priv.garshol.duke.databases;
import java.util.ArrayList;
import java.util.Collection;
import no.priv.garshol.duke.Configuration;
import no.priv.garshol.duke.Database;
import no.priv.garshol.duke.Record;
public class InMemoryBlockingDatabaseTest extends DatabaseTest {
public Database createDatabase(Con... | apache-2.0 |
shun634501730/java_source_cn | src_en/javax/management/modelmbean/ModelMBean.java | 4920 | /*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
* @author IBM Corp.
*
* Copyright IBM Corp. 1999-2000. All rights reserved.
*/
package javax... | apache-2.0 |
codyhoag/blade.tools | blade.migrate.liferay70/projects/opensocial-portlet-6.2.x/docroot/WEB-INF/src/com/liferay/opensocial/admin/lar/GadgetStagedModelDataHandler.java | 3523 | /**
* Copyright (c) 2000-present 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 la... | apache-2.0 |
hekonsek/fabric8 | sandbox/fabric/fabric-commands/src/main/java/io/fabric8/commands/ContainerInfo.java | 3562 | /**
* Copyright 2005-2014 Red Hat, Inc.
*
* Red Hat 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/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
kishorvpatil/incubator-storm | external/storm-kafka-client/src/test/java/org/apache/storm/kafka/spout/KafkaSpoutReactivationTest.java | 7711 | /*
* Copyright 2017 The Apache Software Foundation.
*
* 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 applica... | apache-2.0 |
atuljangra/neo4j-apoc-procedures | src/main/java/apoc/result/RowResult.java | 234 | package apoc.result;
import java.util.Map;
/**
* @author mh
* @since 26.02.16
*/
public class RowResult {
public final Map<String, Object> row;
public RowResult(Map<String, Object> row) {
this.row = row;
}
}
| apache-2.0 |
hawky-4s-/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventListenerDelegate.java | 5414 | /* 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
* distributed... | apache-2.0 |
moreus/hadoop | hadoop-0.11.2/src/java/org/apache/hadoop/mapred/SequenceFileInputFilter.java | 10738 | /**
* 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-2.0 |
pascalrobert/aribaweb | src/expr/src/main/java/ariba/util/expr/NullHandler.java | 2451 | //--------------------------------------------------------------------------
// Copyright (c) 1998-2004, Drew Davidson and Luke Blanshard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
... | apache-2.0 |
kostya-sh/parquet-format | src/main/java/org/apache/parquet/format/event/Consumers.java | 6605 | /*
* 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-2.0 |
threefish/acre | webapp/WEB-INF/src/com/google/acre/script/AnnotatedForJS.java | 995 | // Copyright 2007-2010 Google, 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 agreed to in ... | apache-2.0 |
sverkera/camel | components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/util/AS2HeaderUtils.java | 5793 | /**
* 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-2.0 |
hurricup/intellij-community | java/java-tests/testSrc/com/intellij/codeInspection/JavaAPIUsagesInspectionTest.java | 5146 | /*
* Copyright 2000-2013 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... | apache-2.0 |
walteryang47/ovirt-engine | frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java | 19033 | package org.ovirt.engine.ui.userportal.widget.resources;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.VM;
import org.ovirt.engine.core.common.businessentities.storage.DiskImage;
import org.ovirt.engine.ui.common.SubTableResources;
imp... | apache-2.0 |
mbogoevici/spring-cloud-data | spring-cloud-dataflow-completion/src/main/java/org/springframework/cloud/dataflow/completion/TaskCompletionProvider.java | 2632 | /*
* Copyright 2016 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 applica... | apache-2.0 |
madrob/incubator-htrace | htrace-zipkin/src/main/java/com/twitter/zipkin/gen/zipkinCoreConstants.java | 1332 | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.twitter.zipkin.gen;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.a... | apache-2.0 |
davidzchen/bazel | src/test/java/com/google/devtools/build/lib/packages/util/Crosstool.java | 24181 | // Copyright 2015 The Bazel Authors. 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | apache-2.0 |
GerritCodeReview/buck | src/com/facebook/buck/java/Classpaths.java | 2041 | /*
* Copyright 2013-present Facebook, 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... | apache-2.0 |
dotunolafunmiloye/hadoop-common | src/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java | 3250 | /*
* 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-2.0 |
ravikumaran2015/ravikumaran201504 | core/api/src/main/java/org/onosproject/net/resource/DefaultLinkResourceAllocations.java | 2858 | /*
* Copyright 2014 Open Networking Laboratory
*
* 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 la... | apache-2.0 |
trimnguye/JavaChatServer | src/plugins/ofmeet/src/java/org/jitsi/protocol/xmpp/XmppConnection.java | 783 | /*
* Jicofo, the Jitsi Conference Focus.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jitsi.protocol.xmpp;
import org.jivesoftware.smack.packet.*;
/**
* The interface for Smack XMPP connection.
*
* @author Pawel Domas
*/
public interface XmppConnection
{
/**
... | apache-2.0 |
plusplusjiajia/directory-kerby | kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/impl/DefaultKdcHandler.java | 2751 | /**
* 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"... | apache-2.0 |
baishuo/hbase-1.0.0-cdh5.4.7_baishuo | hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotMetadata.java | 12842 | /**
* 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-2.0 |
emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/config/PredicateConfigReadOnly.java | 1570 | /*
* Copyright (c) 2008-2021, Hazelcast, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
baldimir/uberfire | uberfire-workbench/uberfire-workbench-client-views-bs2/src/test/java/org/uberfire/client/views/bs2/tab/MultiTabWorkbenchPanelViewTest.java | 1539 | package org.uberfire.client.views.bs2.tab;
import com.google.gwt.dom.client.Style;
import com.google.gwt.event.logical.shared.SelectionHandler;
import com.google.gwt.user.client.Element;
import com.google.gwtmockito.GwtMockitoTestRunner;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
... | apache-2.0 |
ravikumaran2015/ravikumaran201504 | core/store/dist/src/main/java/org/onosproject/store/impl/WallClockTimestamp.java | 2334 | /*
* Copyright 2014 Open Networking Laboratory
*
* 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 la... | apache-2.0 |
rmetzger/flink | flink-connectors/flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/table/JdbcDynamicOutputFormatBuilder.java | 12200 | /*
* 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-2.0 |
rekhajoshm/pigfork | test/org/apache/pig/test/TestUnion.java | 16092 | /*
* 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-2.0 |
apache/incubator-asterixdb-hyracks | hyracks/hyracks-storage-am-btree/src/main/java/org/apache/hyracks/storage/am/btree/impls/RangePredicate.java | 4390 | /*
* 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-2.0 |
smmribeiro/intellij-community | java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/impl/PsiClassStubImpl.java | 7808 | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.impl.java.stubs.impl;
import com.intellij.extapi.psi.StubBasedPsiElementBase;
import com.intellij.psi.PsiClass;
import com.intellij.psi... | apache-2.0 |
tillrohrmann/flink | flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/delegation/BlinkPlannerFactory.java | 2727 | /*
* 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-2.0 |
gigaroby/hops | hadoop-tools/distributedLoadSimulator/src/main/java/org/apache/hadoop/distributedloadsimulator/sls/scheduler/FifoSchedulerMetrics.java | 1984 | /**
* 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-2.0 |
ZhenyaM/veraPDF-pdfbox | tools/src/main/java/org/apache/pdfbox/tools/Version.java | 2063 | /*
* 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-2.0 |
android-ia/platform_tools_idea | plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgRepositorySelectorComponent.java | 2354 | // Copyright 2008-2010 Victor Iacoban
//
// 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... | apache-2.0 |
leafclick/intellij-community | platform/structuralsearch/source/com/intellij/structuralsearch/DocumentBasedReplaceHandler.java | 2415 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.structuralsearch;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.RangeMarker;
import com.intellij.openapi.project.Project;
i... | apache-2.0 |
kuujo/onos | utils/misc/src/test/java/org/onlab/packet/BasePacketTest.java | 1128 | /*
* Copyright 2017-present Open Networking Foundation
*
* 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 appli... | apache-2.0 |
minagri-rwanda/DHIS2-Agriculture | dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/i18n/I18nLocaleService.java | 2638 | package org.hisp.dhis.i18n;
/*
* Copyright (c) 2004-2016, University of Oslo
* 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 the above copyright... | bsd-3-clause |
AlexejK/lombok-intellij-plugin | src/test/java/de/plushnikov/intellij/plugin/thirdparty/LombokUtilsAllGetterTest.java | 2868 | package de.plushnikov.intellij.plugin.thirdparty;
import de.plushnikov.intellij.plugin.processor.field.AccessorsInfo;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class... | bsd-3-clause |
minagri-rwanda/DHIS2-Agriculture | dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/program/ProgramIndicatorDeletionHandler.java | 2980 | package org.hisp.dhis.program;
/*
* Copyright (c) 2004-2016, University of Oslo
* 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 the abov... | bsd-3-clause |