repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
groboclown/p4ic4idea | p4java/r18-1/src/test/java/com/perforce/p4java/tests/dev/unit/features122/ProgressCallbackTest.java | 5144 | /**
*
*/
package com.perforce.p4java.tests.dev.unit.features122;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import java.net.URISyntaxException;
import java.util.Map;
import org.junit.After;
import org.junit.AfterClass;
import org.j... | apache-2.0 |
apache/openwebbeans | webbeans-impl/src/test/java/org/apache/webbeans/test/injection/injectionpoint/beans/ProducerInjectionPointInstanceOwner.java | 1198 | /*
* 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 ma... | apache-2.0 |
magat/thymeleaf | src/main/java/org/thymeleaf/standard/expression/ExpressionSequence.java | 2465 | /*
* =============================================================================
*
* Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.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 ... | apache-2.0 |
lburgazzoli/spring-boot | spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/http/InMemoryHttpTraceRepository.java | 2019 | /*
* Copyright 2012-2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
alessandrogurgel/pedefacil | drodrolib/src/main/java/org/michenux/drodrolib/network/volley/GsonRequest.java | 2302 | package org.michenux.drodrolib.network.volley;
import android.location.Location;
import com.android.volley.AuthFailureError;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.Response.ErrorL... | apache-2.0 |
kisskys/incubator-asterixdb | asterixdb/asterix-om/src/main/java/org/apache/asterix/om/pointables/printer/json/clean/ARecordPrinter.java | 3650 | /*
* 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-sentry | sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestUpdateableAuthzPaths.java | 8405 | /**
* 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 |
xdujiang/Nimingban | app/src/main/java/com/hippo/widget/SnackbarManager.java | 6317 | /*
* Copyright 2015 Hippo Seven
*
* 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 |
pacozaa/BoofCV | main/feature/src/boofcv/struct/feature/NccFeature.java | 1575 | /*
* 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... | apache-2.0 |
alien4cloud/alien4cloud | alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/impl/advanced/RelationshipTemplateParser.java | 4234 | package alien4cloud.tosca.parser.impl.advanced;
import java.util.Map;
import javax.annotation.Resource;
import org.alien4cloud.tosca.model.definitions.AbstractPropertyValue;
import org.alien4cloud.tosca.model.definitions.Interface;
import org.alien4cloud.tosca.model.templates.RelationshipTemplate;
import org.springf... | apache-2.0 |
minio/minio-java | api/src/main/java/io/minio/BucketExistsArgs.java | 991 | /*
* MinIO Java SDK for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, 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
*
... | apache-2.0 |
apache/geronimo | testsuite/webservices-testsuite/jaxws-mtom-tests/mtom-test-war/src/main/java/org/apache/geronimo/echo/Echo.java | 3138 | /**
* 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 m... | apache-2.0 |
wouterv/orientdb | core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorMinor.java | 6113 | /*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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.apa... | apache-2.0 |
vorburger/mifos-head | application/src/main/java/org/mifos/accounts/loan/business/LoanScheduleEntity.java | 26882 | /*
* Copyright (c) 2005-2010 Grameen Foundation USA
* 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
*
* Unl... | apache-2.0 |
kevinearls/camel | components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCollectionHeaderTest.java | 2329 | /**
* 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 |
deeplearning4j/deeplearning4j | deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/text/documentiterator/BasicLabelAwareIterator.java | 5848 | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | apache-2.0 |
sungsoo/tez-0.4.0 | tez-api/src/test/java/org/apache/tez/dag/api/TestDAGPlan.java | 13586 | /**
* 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 |
anavidad3/flume-ingestion | stratio-sinks/stratio-druid-sink/src/test/java/com/stratio/ingestion/sink/druid/DruidSinkIT.java | 6762 | /**
* Copyright (C) 2014 Stratio (http://stratio.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
*
* Unless required by ap... | apache-2.0 |
IllusionRom-deprecated/android_platform_tools_idea | platform/platform-impl/src/com/intellij/ide/actions/OpenProjectFileChooserDescriptor.java | 3508 | /*
* Copyright 2000-2012 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 |
doctales/dita-ot | src/main/plugins/org.dita.pdf2/src/com/idiominc/ws/opentopic/fo/index2/IndexPreprocessorTask.java | 7945 | package com.idiominc.ws.opentopic.fo.index2;
import static org.dita.dost.util.Constants.*;
import com.idiominc.ws.opentopic.fo.index2.configuration.IndexConfiguration;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.Project;
import org.apache.xml.resolver.tool... | apache-2.0 |
racker/omnibus | source/db-5.0.26.NC/java/src/com/sleepycat/db/BtreeStats.java | 9461 | /*-
* Automatically built by dist/s_java_stat.
* Only the javadoc comments can be edited.
*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2010 Oracle and/or its affiliates. All rights reserved.
*/
package com.sleepycat.db;
/**
The BtreeStats object is used to return Btree
or R... | apache-2.0 |
smslib/smslib | smslib/src/main/java/org/smslib/callback/IInboundCallCallback.java | 191 |
package org.smslib.callback;
import org.smslib.callback.events.InboundCallCallbackEvent;
public interface IInboundCallCallback
{
public boolean process(InboundCallCallbackEvent event);
}
| apache-2.0 |
apache/tapestry3 | tapestry-examples/Vlib/src/org/apache/tapestry/vlib/pages/EditBook.java | 4895 | // Copyright 2004 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 applicable ... | apache-2.0 |
PinaeOS/rafiki | src/example/java/org/pinae/rafiki/trigger/CronTriggerExample.java | 2660 | package org.pinae.rafiki.trigger;
import org.pinae.rafiki.trigger.Trigger;
import org.pinae.rafiki.trigger.TriggerException;
import org.pinae.rafiki.trigger.impl.CronTrigger;
import static org.pinae.rafiki.trigger.helper.DateHelper.today;
import org.apache.log4j.Logger;
public class CronTriggerExample {
private ... | apache-2.0 |
huihoo/olat | olat7.8/src/test/java/org/olat/test/functional/groups/GroupConcurrenciesTest.java | 3912 | package org.olat.test.functional.groups;
import org.olat.test.util.selenium.BaseSeleneseTestCase;
import org.olat.test.util.selenium.olatapi.OLATWorkflowHelper;
import org.olat.test.util.selenium.olatapi.WorkflowHelper;
import org.olat.test.util.selenium.olatapi.group.Group;
import org.olat.test.util.selenium.olatapi.... | apache-2.0 |
janstey/fuse | fabric/fabric-camel-c24io/src/test/java/org/fusesource/fabric/camel/c24io/spring/SpringWithBadElementNameTest.java | 1478 | /**
* Copyright (C) FuseSource, Inc.
* http://fusesource.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
*
* Unless required by... | apache-2.0 |
apache/jena | jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SerializationTest.java | 2680 | /*
* 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 |
JRebirth/JRebirth | org.jrebirth.af/core/src/main/java/org/jrebirth/af/core/ui/adapter/DefaultKeyAdapter.java | 1671 | /**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.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
*
* htt... | apache-2.0 |
apache/incubator-shardingsphere | shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLComQueryPacketExecutorTest.java | 4108 | /*
* 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 |
ServiceComb/java-chassis | demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/SchemaDiscoveryTestCase.java | 1724 | /*
* 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 |
forGGe/kaa | client/client-multi/client-java-core/src/main/java/org/kaaproject/kaa/client/channel/failover/strategies/FailoverStrategy.java | 2267 | /*
* 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... | apache-2.0 |
qq254963746/memcached-session-manager | serializer-benchmark/src/main/java/de/javakaffee/web/msm/serializer/Benchmark.java | 12323 | /*
* Copyright 2010 Martin Grotzke
*
* 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 |
astubbs/wicket.get-portals2 | wicket-examples/src/main/java/org/apache/wicket/examples/signin2/Home.java | 1174 | /*
* 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 |
ButterflyNetwork/bazel | src/main/java/com/google/devtools/build/lib/analysis/configuredtargets/InputFileConfiguredTarget.java | 3565 | // Copyright 2014 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 |
ZeroMemes/ClientAPI | src/main/java/clientapi/load/mixin/extension/IMinecraft.java | 1304 | /*
* Copyright 2018 ImpactDevelopment
*
* 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 |
Akari10032/12306 | app/src/main/java/com/akari/tickets/beans/QueryTrainsResponse.java | 848 | package com.akari.tickets.beans;
import java.util.List;
/**
* Created by Akari on 2017/2/17.
*/
public class QueryTrainsResponse {
private List<Data> data;
public List<Data> getData() {
return data;
}
public void setData(List<Data> data) {
this.data = data;
}
public stati... | apache-2.0 |
ServiceComb/java-chassis | integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/schema/generic/TestMyService.java | 3513 | /*
* 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 |
TkmTwoProjects/tkmtwo-sarapi | core/src/main/java/com/tkmtwo/sarapi/convert/DateInfoToValueConverter.java | 989 | /*
*
* Copyright 2014 Tom Mahaffey
*
* 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 |
hydrator/wrangler | wrangler-service/src/main/java/io/cdap/wrangler/service/database/DriverCleanup.java | 1265 | /*
* Copyright © 2017-2019 Cask Data, 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... | apache-2.0 |
gladyscarrizales/manifoldcf | framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/HopFilterManager.java | 8021 | /* $Id: HopFilterManager.java 988245 2010-08-23 18:39:35Z kwright $ */
/**
* 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 Yo... | apache-2.0 |
apache/logging-log4j2 | log4j-1.2-api/src/test/java/org/apache/log4j/util/LineNumberFilter.java | 1310 | /*
* 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 |
eug48/hapi-fhir | hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/annotation/Since.java | 1368 | package ca.uhn.fhir.rest.annotation;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2017 University Health Network
* %%
* 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... | apache-2.0 |
EvilMcJerkface/crate | server/src/main/java/org/elasticsearch/common/unit/ByteSizeUnit.java | 6846 | /*
* 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 |
onders86/camel | components/camel-spring/src/test/java/org/apache/camel/component/bean/AutowireConstructorRouteTest.java | 1776 | /**
* 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 |
dmeister/pig-cll-gz | src/org/apache/pig/newplan/logical/rules/ColumnPruneVisitor.java | 20333 | /*
* 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 |
parstream/parstream-avro | decoder/src/test/java/com/parstream/adaptor/avro/test/ArrayTest.java | 17043 | /**
* Copyright 2015 ParStream GmbH
*
* 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 |
Fabryprog/camel | components/camel-milo/src/test/java/org/apache/camel/component/milo/server/ServerLocalTest.java | 2912 | /*
* 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 |
USEF-Foundation/ri.usef.energy | usef-build/usef-workflow/usef-cro/src/main/java/energy/usef/cro/dto/ParticipantAction.java | 1281 | /*
* Copyright 2015-2016 USEF 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 applicable law or agree... | apache-2.0 |
velmuruganvelayutham/jpa | examples/Chapter4/22-manyToManyJoinTable/src/model/examples/stateless/ProjectServiceBean.java | 754 | package examples.stateless;
import java.util.Collection;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import examples.model.Project;
@Stateless
public class ProjectServiceBean implements ProjectService {
@Persist... | apache-2.0 |
roundrop/ermaster-fast | src/org/insightech/er/db/impl/postgres/PostgresSqlTypeManager.java | 363 | package org.insightech.er.db.impl.postgres;
import org.insightech.er.db.sqltype.SqlType;
import org.insightech.er.db.sqltype.SqlTypeManagerBase;
public class PostgresSqlTypeManager extends SqlTypeManagerBase {
@Override
public int getByteLength(final SqlType type, final Integer length, final Integer ... | apache-2.0 |
practice-vishnoi/dev-spark-1 | streaming/src/test/java/org/apache/spark/streaming/JavaAPISuite.java | 78820 | /*
* 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 |
jorgebay/tinkerpop | gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/util/DefaultGraphManagerTest.java | 5854 | /*
* 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 |
jswudi/alluxio | core/server/worker/src/main/java/alluxio/worker/block/evictor/AbstractEvictor.java | 9007 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | apache-2.0 |
forGGe/kaa | server/common/dao/src/test/java/org/kaaproject/kaa/server/common/dao/service/ConfigurationServiceImplTest.java | 19793 | /*
* 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... | apache-2.0 |
gunnarmorling/beanvalidation-tck | tests/src/main/java/org/hibernate/beanvalidation/tck/tests/constraints/application/method/OnlineCalendarService.java | 1055 | /**
* Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.beanvalidation.tck.tests.constraints.application.method;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
imp... | apache-2.0 |
cfibmers/open-Autoscaler | api/src/main/java/org/cloudfoundry/autoscaler/api/nls/APIServerMessages_fr.java | 4681 | /**
* WARNING! THIS FILE IS AUTOMATICALLY GENERATED! DO NOT MODIFY IT!
* Generated on Fri Feb 26 16:36:10 CST 2016
*/
package org.cloudfoundry.autoscaler.api.nls;
public class APIServerMessages_fr extends java.util.ListResourceBundle
{
public Object[][] getContents() {
return resources;
}
private... | apache-2.0 |
grgrzybek/karaf | features/core/src/main/java/org/apache/karaf/features/internal/model/processing/ObjectFactory.java | 1069 | /*
* 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 |
skoulouzis/lobcder | milton2/milton-server-ce/src/main/java/io/milton/http/fs/SimpleLockManager.java | 5398 | /*
* 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 |
NibiruOS/ui | org.nibiru.ui.ios/src/main/java/org/nibiru/ui/ios/widget/IOSPopup.java | 1155 | package org.nibiru.ui.ios.widget;
import org.nibiru.ui.core.api.Popup;
import org.nibiru.ui.core.api.Viewport;
import org.nibiru.ui.core.impl.BasePopup;
import javax.inject.Inject;
import apple.uikit.UIView;
public class IOSPopup extends BasePopup<Overlay, UIView> implements Popup {
@Inject
public IOSPopup... | apache-2.0 |
TangHao1987/intellij-community | platform/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffViewer.java | 28600 | /*
* 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 |
apache/samza | samza-core/src/main/java/org/apache/samza/table/batching/AsyncBatchingTable.java | 6955 | /*
* 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 |
dahlstrom-g/intellij-community | java/java-tests/testData/inspection/java9CollectionFactory/beforeHashSetAsListRepeating.java | 282 | // "Replace with 'Set.of' call" "false"
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
public class Test {
static final String CONST = "b";
public static final Set<String> MY_SET = Set.o<caret>f("a", "b", "c", CONST);
}
| apache-2.0 |
goodwinnk/intellij-community | platform/diff-impl/src/com/intellij/diff/tools/fragmented/UnifiedDiffViewer.java | 47029 | // 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.diff.tools.fragmented;
import com.intellij.diff.DiffContext;
import com.intellij.diff.actions.AllLinesIterator;
import com.intellij.diff.actions.BufferedLine... | apache-2.0 |
jwren/intellij-community | plugins/properties/properties-psi-api/src/com/intellij/lang/properties/provider/PropertiesProviderImpl.java | 1127 | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.lang.properties.provider;
import com.intellij.lang.properties.psi.Property;
import com.intellij.lang.properties.psi.PropertyKeyIndex;
import com.intellij.openapi.project.Project... | apache-2.0 |
mehdi149/OF_COMPILER_0.1 | gen-src/main/java/org/projectfloodlight/openflow/protocol/OFAsyncConfigPropExperimenterMaster.java | 1789 | // Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | apache-2.0 |
argv0/cloudstack | plugins/network-elements/elastic-loadbalancer/src/com/cloud/network/lb/dao/ElasticLbVmMapDao.java | 1527 | // 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 |
pengzong1111/solr4 | solr/core/src/java/org/apache/solr/handler/PingRequestHandler.java | 10590 | /*
* 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 |
lucastheisen/apache-directory-server | kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java | 7871 | /*
* 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 |
longjl/JFinal_Authority | jfinal-authority/src/main/java/com/ccb/project/vo/planvo.java | 772 | package com.ccb.project.vo;
import java.sql.Date;
/**
* Created by han on 2015/6/29.
*/
public class planvo {
private String uid;
private String prjId;
private Date endDate;
public Date getBgnDate() {
return bgnDate;
}
public void setBgnDate(Date bgnDate) {
this.bgnDate ... | apache-2.0 |
meetdestiny/geronimo-trader | modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java | 1308 | /**
*
* Copyright 2004 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 a... | apache-2.0 |
variacode/rundeck | core/src/main/java/com/dtolabs/rundeck/core/cluster/ClusterInfoService.java | 988 | /*
* Copyright 2018 Rundeck, Inc. (http://rundeck.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
*
* Unless required by appli... | apache-2.0 |
raksha-rao/gluster-ovirt | frontend/webadmin/modules/uicommon/src/main/java/org/ovirt/engine/ui/uicommon/models/datacenters/DataCenterNetworkListModel.java | 17841 | package org.ovirt.engine.ui.uicommon.models.datacenters;
import java.util.Collections;
import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.ui.uicompat.*;
import org.ovirt.engine.core.common.businessentities.*;
import org.ovirt.engine.core.common.vdscommands.*;
import org.ovirt.engine.core.common.queries.*;
i... | apache-2.0 |
janstey/fuse | fabric/fabric-openshift/src/main/java/org/fusesource/fabric/openshift/commands/support/OpenshiftConnectionListener.java | 503 | package org.fusesource.fabric.openshift.commands.support;
import com.openshift.client.IOpenShiftConnection;
public class OpenshiftConnectionListener {
private IOpenShiftConnection connection;
public IOpenShiftConnection getConnection() {
return connection;
}
public void bindConnection(IOpen... | apache-2.0 |
luchuangbin/test1 | src/com/mit/dstore/ui/chat/ImageBucket.java | 279 |
package com.mit.dstore.ui.chat;
import java.util.List;
/**
* @Description 相册数据体
* @author Nana
* @date 2014-5-9
*/
public class ImageBucket {
public int count = 0;//相册中图片数量
public String bucketName;
public List<ImageItem> imageList;
}
| apache-2.0 |
kierarad/gocd | test/test-utils/src/main/java/com/thoughtworks/go/mail/SysOutStreamConsumer.java | 1103 | /*
* Copyright 2019 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... | apache-2.0 |
apache/sanselan | src/main/java/org/apache/commons/imaging/common/RationalNumber.java | 3776 | /*
* 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 |
vincent99/cattle | code/implementation/host-api/src/main/java/io/cattle/platform/host/service/HostApiRSAKeyProvider.java | 4380 | package io.cattle.platform.host.service;
import io.cattle.platform.archaius.util.ArchaiusUtil;
import io.cattle.platform.core.dao.DataDao;
import io.cattle.platform.ssh.common.SshKeyGen;
import io.cattle.platform.token.CertSet;
import io.cattle.platform.token.impl.RSAKeyProvider;
import io.cattle.platform.token.impl.R... | apache-2.0 |
apache/logging-log4j2 | log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/HighlightConverterTest.java | 7123 | package org.apache.logging.log4j.core.pattern;/*
* 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 lice... | apache-2.0 |
apache/openejb | container/openejb-jee/src/main/java/org/apache/openejb/jee/jba/cmp/Where.java | 2101 | /**
* 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 |
dmgcodevil/Hystrix | hystrix-core/src/test/java/com/netflix/hystrix/CommonHystrixCommandTests.java | 39912 | /**
* Copyright 2015 Netflix, 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 i... | apache-2.0 |
CC4401-TeraCity/TeraCity | engine/src/main/java/org/terasology/logic/particles/BlockParticleEmitterSystem.java | 15781 | /*
* Copyright 2013 MovingBlocks
*
* 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 t... | apache-2.0 |
derekhiggins/ovirt-engine | backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ipa/ITDSUserContextMapper.java | 922 | package org.ovirt.engine.core.utils.ipa;
import static org.ovirt.engine.core.utils.kerberos.InstallerConstants.ERROR_PREFIX;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import org.springframework.ldap.core.ContextMapper;
import org.springframework.ldap.core.DirContextAdapter;
publ... | apache-2.0 |
gustavoanatoly/hbase | hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.java | 1367 | /**
*
* 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 |
aesteve/nubes | src/test/java/mock/services/ParrotService.java | 250 | package mock.services;
import io.vertx.codegen.annotations.ProxyGen;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;
@ProxyGen
public interface ParrotService {
void echo(String original, Handler<AsyncResult<String>> handler);
}
| apache-2.0 |
andrhamm/Singularity | SingularityExecutor/src/main/java/com/hubspot/singularity/executor/TemplateManager.java | 3350 | package com.hubspot.singularity.executor;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.io.BufferedWriter;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Path;
import com.github.jknack.handlebars.Template;
import com.google.common.base.Throwables;
import com.google.inject.... | apache-2.0 |
redkale/redkale | src/main/java/org/redkale/asm/MethodWriter.java | 88118 | /*
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
*
*
*
*
*
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and ... | apache-2.0 |
dropbox/bazel | src/test/java/com/google/devtools/build/lib/skyframe/serialization/DynamicCodecTest.java | 12490 | // Copyright 2018 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 |
apache/commons-dbcp | src/test/java/org/apache/commons/dbcp2/TesterUtils.java | 1413 | /*
* 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 |
drewnoakes/metadata-extractor | Source/com/drew/metadata/exif/makernotes/LeicaMakernoteDirectory.java | 3940 | /*
* Copyright 2002-2019 Drew Noakes and 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 req... | apache-2.0 |
flofreud/aws-sdk-java | aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/package-info.java | 643 | /*
* Copyright 2010-2016 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 |
SourcePond/fileobserver-api | fileobserver-impl/src/main/java/ch/sourcepond/io/fileobserver/impl/dispatch/DefaultDispatchKey.java | 1911 | /*Copyright (C) 2017 Roland Hauser, <sourcepond@gmail.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
Unless required by applicable law or agree... | apache-2.0 |
cowthan/UI-Robot | app/src/main/java/org/ayo/robot/canvas/shape/RectView.java | 2195 | package org.ayo.robot.canvas.shape;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import org.ayo.robot.BaseView;
public class RectView extends BaseView {
public RectView(Context context) {
super(context);
init();
... | apache-2.0 |
ShailShah/alluxio | core/server/master/src/main/java/alluxio/master/file/options/LoadMetadataOptions.java | 3539 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | apache-2.0 |
noties/Storm | library/src/main/java/ru/noties/storm/sd/IntSerializer.java | 1033 | /*
* Copyright 2015 Dimitry Ivanov (mail@dimitryivanov.ru)
*
* 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 |
jmostella/armeria | core/src/main/java/com/linecorp/armeria/server/annotation/ProducesOctetStream.java | 1082 | /*
* Copyright 2018 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
emmalanguage/emma | emma-mitos/src/main/java/org/emmalanguage/mitos/operators/GroupBy0ReduceTupleIntDouble.java | 2114 | /*
* Copyright © 2014 TU Berlin (emma@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 copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
visallo/vertexium | core/src/main/java/org/vertexium/ElementId.java | 567 | package org.vertexium;
public interface ElementId extends VertexiumObjectId {
static ElementId vertex(String id) {
return new DefaultElementId(ElementType.VERTEX, id);
}
static ElementId edge(String id) {
return new DefaultElementId(ElementType.EDGE, id);
}
static ElementId create... | apache-2.0 |
jk1/intellij-community | platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/DependentSdkType.java | 3053 | /*
* 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 |
chavdar/gobblin-1 | gobblin-runtime/src/main/java/gobblin/runtime/instance/StandardGobblinInstanceDriver.java | 17339 | /*
* 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 |
ruhan1/pnc | rest-model/src/main/java/org/jboss/pnc/rest/restmodel/causeway/BuildImportResultRest.java | 1612 | /**
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Lice... | apache-2.0 |