repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
dustinstanley/katharsis-framework | katharsis-spring/src/test/java/io/katharsis/spring/domain/repository/ProjectRepository.java | 837 | package io.katharsis.spring.domain.repository;
import io.katharsis.queryParams.QueryParams;
import io.katharsis.repository.ResourceRepository;
import io.katharsis.spring.domain.model.Project;
import org.springframework.stereotype.Component;
@Component
public class ProjectRepository implements ResourceRepository<Proje... | apache-2.0 |
gurhann/AutoTimeTable | optaplanner-core/src/test/java/org/optaplanner/core/impl/testdata/domain/multivar/TestdataMultiVarEntity.java | 3001 | /*
* Copyright 2013 JBoss 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 |
google/binnavi | src/main/java/com/google/security/zynamics/reil/translators/x86/PushaTranslator.java | 2362 | // 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 ... | apache-2.0 |
tommyettinger/SquidSetup | src/main/java/com/github/czyzby/kiwi/util/gdx/scene2d/Alignment.java | 3537 | package com.github.czyzby.kiwi.util.gdx.scene2d;
import com.badlogic.gdx.scenes.scene2d.ui.Cell;
import com.badlogic.gdx.utils.Align;
import com.badlogic.gdx.utils.IntMap;
/** LibGDX alignments are simple integers and it's rather easy to make a mistake while using the aligning methods. This
* enums wraps all default... | apache-2.0 |
dbmalkovsky/flowable-engine | modules/flowable-event-registry/src/main/java/org/flowable/eventregistry/impl/persistence/entity/data/impl/MybatisChannelDefinitionDataManager.java | 8358 | /* 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 |
eBaoTech/pinpoint | profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java | 29408 | /*
* Copyright 2016 NAVER Corp.
*
* 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 |
n-tran/incubator-tinkerpop | gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Client.java | 23794 | /*
* 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/vlet-1.5.0 | source/core/nl.uva.vlet.vfs.irods/irodssrc/edu/sdsc/grid/io/local/LocalFileSystem.java | 8545 | // Copyright (c) 2005, Regents of the University of California
// 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 co... | apache-2.0 |
alinvasile/httpcore | httpcore/src/main/java/org/apache/http/impl/NoConnectionReuseStrategy.java | 2029 | /*
* $HeadURL$
* $Revision$
* $Date$
*
* ====================================================================
* 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... | apache-2.0 |
zanebenefits/jdbi | src/main/java/org/skife/jdbi/v2/BeanMapper.java | 3996 | /*
* 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 u... | apache-2.0 |
tkobayas/optaplanner | optaplanner-core/src/test/java/org/optaplanner/core/impl/solver/termination/OrCompositeTerminationTest.java | 8577 | /*
* Copyright 2020 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 ap... | apache-2.0 |
square/retrofit | retrofit-adapters/rxjava2/src/test/java/retrofit2/adapter/rxjava2/ObservableThrowingTest.java | 10650 | /*
* Copyright (C) 2015 Square, 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 agre... | apache-2.0 |
korrelate/pig | src/org/apache/pig/pen/FetchBaseData.java | 3455 | /*
* 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 |
medicayun/medicayundicom | dcm4chee-xds-infoset/trunk/dcm4chee-xds-infoset-v21/target/generated-sources/wsimport/org/dcm4chee/xds/infoset/v21/RootElement.java | 3459 |
package org.dcm4chee.xds.infoset.v21;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex t... | apache-2.0 |
qmwu2000/cat2 | cat-plugin-transactions/src/main/java/org/unidal/cat/plugin/transactions/report/view/NameViewModel.java | 9907 | package org.unidal.cat.plugin.transactions.report.view;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.unidal.cat.core.view.PieChart;
import org.unidal.cat.core.view.TableViewModel;
import org.uni... | apache-2.0 |
JP1998/MessagingApp | java/de/jeanpierrehotz/messaging/network/Connected.java | 1746 | /*
* Copyright 2016 Jeremy Schiemann, Jean-Pierre Hotz
*
* 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 requ... | apache-2.0 |
evant/auto-parcel-gson | auto-parcel-gson-processor/src/test/java/auto/parcelgson/processor/CompilationTest.java | 53862 | /*
* Copyright (C) 2014 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... | apache-2.0 |
gocd/gocd | config/config-api/src/main/java/com/thoughtworks/go/config/TimerConfig.java | 3577 | /*
* Copyright 2022 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 |
Fabryprog/camel | core/camel-base/src/main/java/org/apache/camel/processor/ContractAdvice.java | 8765 | /*
* 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 |
tom1120/ninja | ninja-servlet/src/main/java/ninja/servlet/NinjaServletDispatcher.java | 2455 | /**
* Copyright (C) 2012-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 b... | apache-2.0 |
shyTNT/googleads-java-lib | examples/dfp_axis/src/main/java/dfp/axis/v201508/userservice/GetCurrentUser.java | 2287 | // Copyright 2015 Google 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 by applicable... | apache-2.0 |
rsocket/rsocket-java | rsocket-core/src/main/java/io/rsocket/core/StreamIdSupplier.java | 1736 | /*
* Copyright 2015-2020 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 app... | apache-2.0 |
nabilzhang/enunciate | jackson/src/main/java/com/webcohesion/enunciate/modules/jackson/model/types/JsonType.java | 1535 | /**
* Copyright © 2006-2016 Web Cohesion (info@webcohesion.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... | apache-2.0 |
weiwenqiang/GitHub | MVP/Android-ZBLibrary-master/ZBLibrary(AndroidStudio)/app/src/main/java/zblibrary/demo/DEMO/DemoBottomWindow.java | 4795 | /*Copyright ©2015 TommyLemon(https://github.com/TommyLemon)
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 |
kevinearls/camel | components/camel-cmis/src/main/java/org/apache/camel/component/cmis/DefaultCMISSessionFacadeFactory.java | 1580 | /**
* 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 |
shardingjdbc/sharding-jdbc | sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/env/schema/SchemaEnvironmentManager.java | 8050 | /*
* 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 |
clonetwin26/buck | test/com/facebook/buck/rules/coercer/CoercedTypeCacheTest.java | 5705 | /*
* Copyright 2017-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 |
liveontologies/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/tracing/TracingInference.java | 1509 | package org.semanticweb.elk.reasoner.tracing;
import org.liveontologies.puli.Inference;
import org.semanticweb.elk.reasoner.indexing.model.IndexedAxiomInference;
import org.semanticweb.elk.reasoner.saturation.inferences.SaturationInference;
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 ... | apache-2.0 |
frankfenghua/asyncrmi | src/main/java/org/async/rmi/config/Configuration.java | 3008 | package org.async.rmi.config;
import org.async.rmi.TimeSpan;
import org.async.rmi.Util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.util.concurrent.TimeUnit;
/**
* Created by Barak Bar Orion
* 05/10/14.
*/
public class Configuration {
@SuppressWarnings("UnusedDecl... | apache-2.0 |
filiphr/camunda-bpmn-model | src/main/java/org/camunda/bpm/model/bpmn/impl/instance/CorrelationSubscriptionImpl.java | 3282 | /* 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 |
hvmunlimited/QuickControlPanel | QuickControlPanel/src/main/java/com/woodblockwithoutco/quickcontroldock/model/buttons/LocalBroadcastTriToggleButton.java | 2689 | /*******************************************************************************
* Copyright 2014 Alexander Leontyev
*
* 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 |
apurtell/hbase | hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/HFileBlockDefaultEncodingContext.java | 9505 | /*
* 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... | apache-2.0 |
cping/LGame | Java/Loon-Neo-GWT/src/loon/html5/gwt/emu2.8/com/google/gwt/corp/compatibility/ConsolePrintStream.java | 1570 | /*
* Copyright 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 i... | apache-2.0 |
tweise/beam | runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineWorkerPoolOptions.java | 10407 | /*
* 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 |
tom1120/ninja | ninja-core/src/test/java/ninja/BootstrapTest.java | 5713 | /**
* Copyright (C) 2012-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 b... | apache-2.0 |
bdelacretaz/jackrabbit-oak | oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/user/GroupTest.java | 30841 | /*
* 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 |
hejunbinlan/MVPAndroidBootstrap | app/src/main/java/com/richardradics/cleanaa/interactor/BaseInteractor.java | 554 | package com.richardradics.cleanaa.interactor;
import com.richardradics.cleanaa.repository.CleanRepository;
import com.richardradics.cleanaa.repository.api.OpenWeatherClient;
import com.richardradics.cleanaa.app.CleanDatabase;
import org.androidannotations.annotations.Bean;
import org.androidannotations.annotations.EB... | apache-2.0 |
flofreud/aws-sdk-java | aws-java-sdk-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/transform/RemoveTagsRequestMarshaller.java | 3740 | /*
* 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 |
skoulouzis/vlet-1.5.0 | source/core/nl.uva.vlet.glite.lfc/src/nl/uva/vlet/glite/lfc/internal/CnsChmodRequest.java | 2149 | /*
* Initial development of the original code was made for the
* g-Eclipse project founded by European Union
* project number: FP6-IST-034327 http://www.geclipse.eu/
*
* Contributors:
* Mateusz Pabis (PSNC) - initial API and implementation
* Piter T. de boer - Refactoring to standalone API and bugfixing. ... | apache-2.0 |
huitseeker/nd4j | nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/api/ndarray/TestJSONC.java | 4288 | package org.nd4j.linalg.api.ndarray;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.nd4j.linalg.BaseNd4jTest;
import org.nd4j.linalg.factory.Nd4j;
import org.nd4j.linalg.factory.Nd4jBackend;
import org.nd4j.linalg.io.Assert;
import or... | apache-2.0 |
ChinaQuants/Strata | modules/math/src/main/java/com/opengamma/strata/math/impl/rootfinding/newton/NewtonDefaultUpdateFunction.java | 854 | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl.rootfinding.newton;
import java.util.function.Function;
import com.opengamma.strata.collect.ArgChecker;
import com.opengamma.strata.collect.... | apache-2.0 |
Apeksi1990/asemenov | chapter_004/src/test/java/ru/asemenov/SimpleGenerator/package-info.java | 99 |
/**
* @author Semenov Alexey
* @version 1
* @since 0.1
*/
package ru.asemenov.SimpleGenerator; | apache-2.0 |
aljoscha/flink | flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/CheckpointConfig.java | 28501 | /*
* 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 |
SmarterApp/TechnologyReadinessTool | readiness/src/main/java/net/techreadiness/customer/action/UpdateOrgAction.java | 1430 | package net.techreadiness.customer.action;
import javax.inject.Inject;
import net.techreadiness.service.OrganizationService;
import net.techreadiness.service.UserService;
import net.techreadiness.service.exception.AuthorizationException;
import net.techreadiness.service.object.Org;
import net.techreadiness.ui.BaseAct... | apache-2.0 |
Gaduo/hapi-fhir | hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/BaseHttpClientInvocation.java | 4052 | package ca.uhn.fhir.rest.client;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 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 |
Pyknic/speedment-aggregate-json-example | src/main/java/com/speedment/example/spring/aggregate/config/SpeedmentConfig.java | 1831 | package com.speedment.example.spring.aggregate.config;
import com.speedment.enterprise.datastore.runtime.DataStoreBundle;
import com.speedment.enterprise.datastore.runtime.DataStoreComponent;
import com.speedment.enterprise.plugins.json.JsonBundle;
import com.speedment.enterprise.plugins.json.JsonComponent;
import com... | apache-2.0 |
AndrewKhitrin/dbeaver | plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/editors/MySQLSessionEditor.java | 6170 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
* Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@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... | apache-2.0 |
mdogan/hazelcast | hazelcast/src/main/java/com/hazelcast/config/SplitBrainProtectionConfig.java | 10340 | /*
* Copyright (c) 2008-2020, 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 |
ekumenlabs/AndroidStreamingClient | android_streaming_client/src/main/java/com/c77/androidstreamingclient/lib/rtp/buffer/MinDelayRtpMediaBuffer.java | 7271 | /*
* Copyright (C) 2015 Creativa77 SRL and others
*
* 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 |
juwi/hbase | hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/WALProtos.java | 431311 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: WAL.proto
package org.apache.hadoop.hbase.protobuf.generated;
public final class WALProtos {
private WALProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum ... | apache-2.0 |
peterzhu1688/mybatis-generator-core-1.3.5-fix | src/main/java/org/mybatis/generator/plugins/ToStringPlugin.java | 4090 | /**
* Copyright ${license.git.copyrightYears} 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/LICEN... | apache-2.0 |
dgutierr/kie-wb-common | kie-wb-common-widgets/kie-wb-decorated-grid-widget/src/main/java/org/kie/workbench/common/widgets/decoratedgrid/client/widget/cells/ProxyPopupDropDown.java | 2376 | /*
* Copyright 2014 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 |
zhan-xiong/buck | test/com/facebook/buck/artifact_cache/ArtifactCachesTest.java | 9894 | /*
* Copyright 2015-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 |
robUx4/LittleProxy | src/test/java/org/littleshoot/proxy/EndToEndStoppingTest.java | 6491 | package org.littleshoot.proxy;
import io.netty.handler.codec.http.HttpObject;
import io.netty.handler.codec.http.HttpRequest;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.Htt... | apache-2.0 |
TU-Berlin-DIMA/oligos | src/main/java/de/tu_berlin/dima/oligos/type/util/Constraint.java | 941 | /*******************************************************************************
* 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 ... | apache-2.0 |
0359xiaodong/libgdx | extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/SWIGTYPE_p_btAlignedObjectArrayT_btBroadphaseInterface_p_t.java | 901 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | apache-2.0 |
r-ashish/myMessenger | app/src/main/java/com/ashish/msngr/ChatActivity.java | 6472 | /*
* Copyright 2015 Ashish Ranjan
*
* 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 |
googleapis/google-api-java-client-services | clients/google-api-services-gameservices/v1/1.31.0/com/google/api/services/gameservices/v1/model/SetIamPolicyRequest.java | 3761 | /*
* 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 under t... | apache-2.0 |
tmack8001/logback-steno | src/test/java/com/arpnetworking/steno/LogValueMapFactoryTest.java | 6857 | /**
* Copyright 2015 Groupon.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 agreed to... | apache-2.0 |
rexlin600/BasicPlatform | Server-Platform/Hibernate/3.0/memory-root/modules/memory-core/src/main/java/com/memory/platform/core/easyui/Tree.java | 1338 | package com.memory.platform.core.easyui;
import java.util.List;
/**
* EasyUI tree模型
*
* @author
*
*/
public class Tree implements java.io.Serializable {
private String id;
private String text;
private String state = "open";// open,closed
private boolean checked = false;
private Object attributes;
priva... | apache-2.0 |
Minoli/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/gen/java/org/wso2/carbon/apimgt/rest/api/publisher/ExportApi.java | 3415 | package org.wso2.carbon.apimgt.rest.api.publisher;
import io.swagger.annotations.ApiParam;
import org.wso2.carbon.apimgt.rest.api.publisher.dto.ErrorDTO;
import java.io.File;
import org.wso2.carbon.apimgt.rest.api.publisher.factories.ExportApiServiceFactory;
import org.wso2.msf4j.Microservice;
import org.wso2.msf4j... | apache-2.0 |
ServiceComb/java-chassis | foundations/foundation-protobuf/src/test/java/org/apache/servicecomb/foundation/protobuf/performance/TestProtoPerformance.java | 4017 | /*
* 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 |
dgestep/big-code-bang | src/main/resources/shared-util-templates/NameParser.java | 11129 | package ${topLevelDomain}.${companyName}.${productName}.model.util;
import org.apache.commons.lang3.StringUtils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.Tr... | apache-2.0 |
kuujo/copycat | core/src/main/java/io/atomix/core/multiset/impl/BlockingDistributedMultiset.java | 5468 | /*
* Copyright 2016-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 |
mdrillin/teiid-webui | teiid-webui-webapp/src/main/java/org/teiid/webui/client/widgets/vieweditor/SelectTableColumnsPage.java | 6205 | /*
* Copyright 2014 JBoss 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 ... | apache-2.0 |
vthangathurai/SOA-Runtime | codegen/codegen-tools/src/main/java/org/ebayopensource/turmeric/tools/codegen/validator/MessageObject.java | 2313 | /*******************************************************************************
* 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
*
... | apache-2.0 |
entityresolution/Entity_Resolution_Service_Intermediary_OSGi | src/main/java/gov/nij/bundles/intermediaries/ers/osgi/EntityResolutionService.java | 16987 | /*
* Copyright 2013 SEARCH Group, Incorporated.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. SEARCH Group Inc. licenses this file to You
* under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance... | apache-2.0 |
aruanruan/copycat | protocol/src/main/java/net/kuujo/copycat/raft/protocol/Query.java | 2956 | /*
* Copyright 2015 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 applicable l... | apache-2.0 |
bshp/midPoint | gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/model/LoadableModel.java | 3113 | /*
* Copyright (c) 2010-2017 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.gui.api.model;
import com.evolveum.midpoint.gui.api.util.WebComponentUtil;
import com.evolveum.mid... | apache-2.0 |
RNDITS/geonetworking | asn1-uper/src/main/java/net/gcdc/asn1/uper/StringCoder.java | 15561 | package net.gcdc.asn1.uper;
import java.lang.annotation.Annotation;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import net.gcdc.asn1.datatypes.Asn1String;
impo... | apache-2.0 |
bbossgroups/bbossgroups-3.5 | bboss-websocket/src/org/frameworkset/web/socket/handler/WebSocketHttpRequestHandler.java | 4623 | package org.frameworkset.web.socket.handler;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.... | apache-2.0 |
finiteloopme/rhiot | datastream/components/camel-device-io/src/test/java/io/rhiot/component/deviceio/URIRegexTest.java | 2823 | /**
* Licensed to the Rhiot under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in co... | apache-2.0 |
jdeppe-pivotal/geode | geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/jline/ANSIBuffer.java | 12130 | /*
* Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved.
*
* This software is distributable under the BSD license. See the terms of the BSD license in the
* documentation provided with this software.
*/
package org.apache.geode.management.internal.cli.shell.jline;
import java.io.BufferedReader;
impo... | apache-2.0 |
ButterflyNetwork/bazel | src/main/java/com/google/devtools/build/lib/packages/WorkspaceFactoryHelper.java | 4246 | // 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 |
danielnorberg/auto-matter | processor/src/test/resources/good/NullableFields.java | 367 | package foo;
import com.google.common.base.Optional;
import io.norberg.automatter.AutoMatter;
@AutoMatter
public interface NullableFields {
@javax.annotation.Nullable String nullableFoo();
@Nullable(simple = "foo", complex = java.util.Date.class) String customNullableBar();
String nonNullQuux();
@Nullable(co... | apache-2.0 |
magnet/bnd | biz.aQute.repository/src/aQute/bnd/repository/maven/provider/Configuration.java | 664 | package aQute.bnd.repository.maven.provider;
import org.osgi.annotation.versioning.ProviderType;
@ProviderType
public interface Configuration {
/**
* The url to the remote release repository.
*/
String releaseUrl();
/**
* The url to the remote snapshot repository. If this is not specified,
* it falls bac... | apache-2.0 |
diego10j/produquimic | produquimic/produquimic-war/src/java/paq_general/pre_sucursal_area_departamento.java | 7677 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package paq_general;
import framework.aplicacion.Fila;
import framework.componentes.Combo;
import framework.componentes.Division;
import framework.componentes.Etiqueta;
import framework.componentes.PanelTabla;... | apache-2.0 |
hugosato/apache-axis | src/org/apache/axis/encoding/DefaultSOAP12TypeMappingImpl.java | 365 | package org.apache.axis.encoding;
/**
* @author James M Snell <jasnell@us.ibm.com>
* @deprecated Please use DefaultSOAPEncodingTypeMappingImpl.java
* @see org.apache.axis.encoding.DefaultSOAPEncodingTypeMappingImpl
*/
public class DefaultSOAP12TypeMappingImpl
extends DefaultSOAPEncodingTypeMappingImpl {
pu... | apache-2.0 |
jexp/idea2 | platform/platform-api/src/com/intellij/openapi/options/ConfigurableGroup.java | 914 | /*
* Copyright 2000-2009 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 |
PetrGasparik/midpoint | gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AjaxIconButton.java | 1875 | /*
* Copyright (c) 2010-2016 Evolveum
*
* 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 |
Gaduo/hapi-fhir | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/MessageTransportEnumFactory.java | 2666 | package org.hl7.fhir.dstu3.model.codesystems;
/*
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 the... | apache-2.0 |
vt0r/vector-android | vector/src/main/java/im/vector/store/LoginStorage.java | 7093 | /*
* Copyright 2015 OpenMarket 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 applicable law or agreed ... | apache-2.0 |
candyam5522/eureka | eureka-common/src/main/java/edu/emory/cci/aiw/cvrg/eureka/common/entity/RoleEntity.java | 4252 | /*
* #%L
* Eureka Common
* %%
* Copyright (C) 2012 - 2013 Emory University
* %%
* This program is dual licensed under the Apache 2 and GPLv3 licenses.
*
* Apache License, Version 2.0:
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | apache-2.0 |
jacksonokuhn/dataverse | src/main/java/edu/harvard/iq/dataverse/FileMetadata.java | 16763 | package edu.harvard.iq.dataverse;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.annotations.Expose;
import java.io.Serializable;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.util.Arra... | apache-2.0 |
apache/solr | solr/core/src/test/org/apache/solr/cloud/OverseerSolrResponseUnsafeSerializationTest.java | 2550 | /*
* 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 |
barnyard/p2p-core | src/test/java/com/bt/pi/core/cli/commands/KoalaNodeCommandTest.java | 880 | package com.bt.pi.core.cli.commands;
import static org.junit.Assert.assertEquals;
import java.io.PrintStream;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import com.bt.pi.core.cli.commands.KoalaNodeCommand;
import com.bt.pi.core.node.KoalaNode;
public class KoalaNodeCommandTest {
p... | apache-2.0 |
akon-dey/ground | ground-core/src/test/java/edu/berkeley/ground/api/versions/neo4j/Neo4jVersionHistoryDAGFactoryTest.java | 1104 | package edu.berkeley.ground.api.versions.neo4j;
import org.junit.Test;
import edu.berkeley.ground.api.Neo4jTest;
import edu.berkeley.ground.api.versions.VersionHistoryDAG;
import edu.berkeley.ground.api.versions.VersionSuccessor;
import edu.berkeley.ground.db.Neo4jClient.Neo4jConnection;
import edu.berkeley.ground.ex... | apache-2.0 |
nikhilvibhav/camel | components/camel-jetty/src/main/java/org/apache/camel/component/jetty9/AttachmentHttpBinding.java | 6370 | /*
* 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 |
y1011/cas-server | cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/SuccessfulHandlerMetaDataPopulator.java | 1429 | package org.jasig.cas.authentication;
import org.springframework.stereotype.Component;
import java.util.HashSet;
import java.util.Set;
/**
* Sets an authentication attribute containing the collection of authentication handlers (by name) that successfully
* authenticated credential. The attribute name is given by {... | apache-2.0 |
megoesrawr/xerial.storage | src/main/java/org/xerial/db/btree/BTreePageHeader.java | 2779 | /*--------------------------------------------------------------------------
* Copyright 2007 Taro L. Saito
*
* 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.apach... | apache-2.0 |
vkmc/minijava | SyntacticAnalyzer/src/SyntacticAnalyzer/Tokenizer.java | 19624 | package SyntacticAnalyzer;
import java.util.HashSet;
/**
* Analizador léxico. Clase encargada de la tokenización del código fuente.
*
* @author Ramiro Agis
* @author Victoria Martínez de la Cruz
*/
public class Tokenizer {
private int lineNumber, currentState;
private char currentChar;
... | apache-2.0 |
greenlaw110/Rythm | src/main/java/org/rythmengine/extension/ICacheService.java | 2732 | /**
* Copyright (C) 2013-2016 The Rythm Engine project
* for LICENSE and other details see:
* https://github.com/rythmengine/rythmengine
*/
package org.rythmengine.extension;
/*-
* #%L
* Rythm Template Engine
* %%
* Copyright (C) 2017 - 2021 OSGL (Open Source General Library)
* %%
* Licensed under the Apache... | apache-2.0 |
apache/geronimo-yoko | yoko-core/src/test/java/test/rmi/ClientMain.java | 17558 | /**
*
* 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 |
sensui/guava-libraries | guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java | 21911 | /*
* Copyright (C) 2008 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... | apache-2.0 |
tensorics/tensorics-core | src/java/org/tensorics/core/iterable/lang/ScalarIterableSupport.java | 2224 | // @formatter:off
/*******************************************************************************
*
* This file is part of tensorics.
*
* Copyright (c) 2008-2011, CERN. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compli... | apache-2.0 |
shutkou/ios-driver | server/src/main/java/org/uiautomation/ios/server/command/uiautomation/GetSessionsNHandler.java | 2148 | /*
* Copyright 2012-2013 eBay Software Foundation and ios-driver committers
*
* 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 |
drewnoakes/metadata-extractor | Tests/com/drew/lang/ByteTrieTest.java | 2254 | /*
* 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 |
apurtell/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/aliasmap/InMemoryAliasMap.java | 14926 | /*
* 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 |
anton415/Job4j | Intern/Part_3_Collections/src/main/java/ru/aserdyuchenko/tracker/start/ConsoleInput.java | 3380 | package ru.aserdyuchenko.tracker.start;
import java.util.*;
import ru.aserdyuchenko.tracker.models.Task;
import ru.aserdyuchenko.tracker.models.Item;
public class ConsoleInput implements Input{
Tracker tracker = new Tracker();
private Scanner scanner = new Scanner (System.in);
String name;
String description;
p... | apache-2.0 |
FlakyTestDetection/jackrabbit-oak | oak-store-document/src/test/java/com/mongodb/OakFongo.java | 8641 | /*
* 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 |