repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
dlew/RxBinding | rxbinding-design/src/main/java/com/jakewharton/rxbinding/support/design/widget/RxAppBarLayout.java | 1307 | package com.jakewharton.rxbinding.support.design.widget;
import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
import android.support.design.widget.AppBarLayout;
import rx.Observable;
/**
* Static factory methods for creating {@linkplain Observable observables} for {@link AppBarLa... | apache-2.0 |
camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/variable/serializer/VariableSerializers.java | 3271 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
claudiu-stanciu/kylo | core/schema-discovery/schema-discovery-api/src/main/java/com/thinkbiganalytics/discovery/schema/QueryResultColumn.java | 2894 | package com.thinkbiganalytics.discovery.schema;
/*-
* #%L
* thinkbig-schema-discovery-api
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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... | apache-2.0 |
jchambers/netty | transport-native-kqueue/src/main/java/io/netty/channel/kqueue/KQueueServerChannelConfig.java | 6298 | /*
* Copyright 2016 The Netty Project
*
* The Netty Project 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 ... | apache-2.0 |
apache/qpid-jms | qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/NoOpAsyncResult.java | 1270 | /*
* 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 |
Donnerbart/hazelcast | hazelcast-client/src/test/java/com/hazelcast/client/cache/jsr/CacheWriterExceptionTest.java | 1299 | /*
* Copyright (c) 2008-2018, 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 |
AlanJager/zstack | sdk/src/main/java/org/zstack/sdk/ReplicationRole.java | 89 | package org.zstack.sdk;
public enum ReplicationRole {
Primary,
Secondary,
Unknown,
}
| apache-2.0 |
vineetgarg02/hive | ql/src/java/org/apache/hadoop/hive/ql/ddl/table/misc/owner/AlterTableSetOwnerAnalyzer.java | 2554 | /*
* 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 |
rmichela/grpc-java | core/src/test/java/io/grpc/internal/ManagedChannelImplGetNameResolverTest.java | 5491 | /*
* Copyright 2015, gRPC 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 appli... | apache-2.0 |
rockmkd/datacollector | basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/LongMinAggregator.java | 2988 | /*
* 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 |
trentontrees/dawg | libraries/stb-io-api/src/test/java/com/comcast/video/stbio/KeyTest.java | 1885 | /**
* Copyright 2010 Comcast Cable Communications Management, 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 b... | apache-2.0 |
psiroky/uberfire | uberfire-api/src/main/java/org/uberfire/backend/vfs/impl/ObservablePathImpl.java | 17683 | /*
* 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 |
pf5512/android-openslmediaplayer | test/src/com/h6ah4i/android/media/test/methodtest/BasicMediaPlayerTestCase_ReleaseMethod.java | 4372 | /*
* Copyright (C) 2014 Haruki Hasegawa
*
* 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 |
camunda/camunda-bpmn-model | src/main/java/org/camunda/bpm/model/bpmn/instance/CompensateEventDefinition.java | 1171 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
haikuowuya/android_system_code | src/com/android/internal/os/ProcessStats.java | 31741 | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
hurricup/intellij-community | java/java-psi-api/src/com/intellij/psi/util/TypeConversionUtil.java | 75470 | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
tufangorel/hazelcast | hazelcast/src/test/java/com/hazelcast/internal/management/ManagementCenterServiceTest.java | 2166 | /*
* Copyright (c) 2008-2018, 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 |
G1DR4/client | app/src/androidTest/java/org/projectbuendia/client/ui/newpatient/PatientCreationControllerTest.java | 19459 | // Copyright 2015 The Project Buendia 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 agree... | apache-2.0 |
tufangorel/hazelcast | hazelcast/src/main/java/com/hazelcast/collection/impl/set/SetProxyImpl.java | 1343 | /*
* Copyright (c) 2008-2018, 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 |
nafae/developer | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201405/ReconciliationReportServiceInterfacegetReconciliationReportsByStatement.java | 2796 |
package com.google.api.ads.dfp.jaxws.v201405;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Gets an {@link ReconciliationReportPage} of {@link Reconci... | apache-2.0 |
arifogel/batfish | projects/batfish/src/main/java/org/batfish/representation/f5_bigip/BuiltinProfileNetflow.java | 1104 | package org.batfish.representation.f5_bigip;
import com.google.common.collect.ImmutableMap;
import java.util.Arrays;
import java.util.Map;
import java.util.function.Function;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
/** Enumeration of bu... | apache-2.0 |
misaochan/apps-android-commons | app/src/main/java/fr/free/nrw/commons/filepicker/PickedFiles.java | 5833 | package fr.free.nrw.commons.filepicker;
import android.content.ContentResolver;
import android.content.Context;
import android.media.MediaScannerConnection;
import android.net.Uri;
import android.os.Environment;
import android.webkit.MimeTypeMap;
import androidx.annotation.NonNull;
import androidx.core.content.FilePr... | apache-2.0 |
EArdeleanu/gateway | transport/wsn/src/test/java/org/kaazing/gateway/transport/wsn/HttpBindingsIT.java | 3236 | /**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* 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 fil... | apache-2.0 |
SaiNadh001/aws-sdk-for-java | src/main/java/com/amazonaws/services/elasticbeanstalk/model/ConfigurationOptionValueType.java | 1700 | /*
* Copyright 2010-2012 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 |
q474818917/solr-5.2.0 | solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/DistributedClusteringComponentTest.java | 2113 | package org.apache.solr.handler.clustering;
/*
* 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 |
thinkernel/buck | test/com/facebook/buck/java/CleanClasspathIntegrationTest.java | 2859 | /*
* 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 |
sensui/guava-libraries | guava-tests/test/com/google/common/base/OptionalTest.java | 9755 | /*
* Copyright (C) 2011 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 |
smartan/lucene | src/main/java/org/apache/lucene/util/automaton/Automata.java | 10398 | /*
* dk.brics.automaton
*
* Copyright (c) 2001-2009 Anders Moeller
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | apache-2.0 |
dhalperi/batfish | projects/question/src/main/java/org/batfish/question/specifiers/SpecifiersReachabilityQuestionPlugin.java | 674 | package org.batfish.question.specifiers;
import com.google.auto.service.AutoService;
import org.batfish.common.Answerer;
import org.batfish.common.plugin.IBatfish;
import org.batfish.common.plugin.Plugin;
import org.batfish.datamodel.questions.Question;
import org.batfish.question.QuestionPlugin;
@AutoService(Plugin.... | apache-2.0 |
shuyouliu/zycloud | config-service/src/main/java/demo/ConfigApplication.java | 395 | package demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
@SpringBootApplication
@EnableConfigServer
public class ConfigApplication {
public static void main(String[] arg... | apache-2.0 |
ern/elasticsearch | server/src/test/java/org/elasticsearch/rest/action/search/RestSearchActionTests.java | 2395 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
android-ia/platform_tools_idea | platform/lang-impl/src/com/intellij/ide/macro/FileNameWithoutExtension.java | 1335 | /*
* 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 |
y1011/cas-server | cas-server-core-webflow/src/main/java/org/jasig/cas/web/flow/BasicSubflowExpression.java | 1023 | package org.jasig.cas.web.flow;
import org.springframework.binding.expression.EvaluationException;
import org.springframework.binding.expression.support.AbstractGetValueExpression;
import org.springframework.webflow.definition.registry.FlowDefinitionRegistry;
/**
* Creates a custom subflow expression.
*
* @author ... | apache-2.0 |
paplorinc/intellij-community | java/java-impl/src/com/intellij/ide/hierarchy/method/OverrideMethodAction.java | 865 | // 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.ide.hierarchy.method;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.actionSystem.Presentation;
public final class OverrideMethodAction exte... | apache-2.0 |
EdwardLee03/guava | guava/src/com/google/common/util/concurrent/ExecutionSequencer.java | 6950 | /*
* Copyright (C) 2018 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 agreed ... | apache-2.0 |
tbrooks8/netty | codec-http2/src/test/java/io/netty/handler/codec/http2/Http2TestUtil.java | 28305 | /*
* Copyright 2014 The Netty Project
*
* The Netty Project 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 re... | apache-2.0 |
LimelightNetworks/ISMT-Patcher | src/net/sourceforge/jaad/mp4/boxes/impl/sampleentries/codec/QCELPSpecificBox.java | 1240 | /*
* Copyright (C) 2011 in-somnia
*
* This file is part of JAAD.
*
* JAAD is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any la... | bsd-2-clause |
drmacro/basex | basex-core/src/main/java/org/basex/gui/layout/BaseXHeader.java | 619 | package org.basex.gui.layout;
import static org.basex.gui.GUIConstants.*;
import javax.swing.border.*;
/**
* Header label.
*
* @author BaseX Team 2005-16, BSD License
* @author Christian Gruen
*/
public final class BaseXHeader extends BaseXLabel {
/**
* Constructor.
* @param string string
*/
public... | bsd-3-clause |
wjkohnen/antlr4 | runtime/Java/src/org/antlr/v4/runtime/atn/ArrayPredictionContext.java | 2765 | /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.runtime.atn;
import java.util.Arrays;
public class ArrayPredictionContext extends PredictionCont... | bsd-3-clause |
ryanniehaus/lucida | lucida/learn/ParserDaemon.java | 2648 | // Thrift java libraries
import org.apache.thrift.server.TNonblockingServer;
import org.apache.thrift.transport.TFramedTransport;
import org.apache.thrift.transport.TNonblockingServerSocket;
import org.apache.thrift.transport.TNonblockingServerTransport;
// Thrift client-side code
import org.apache.thrift.protocol.TB... | bsd-3-clause |
yugangw-msft/autorest | src/generator/AutoRest.Java.Azure.Fluent.Tests/src/test/java/fixtures/head/HttpSuccessTests.java | 761 | package fixtures.head;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import fixtures.head.implementation.AutoRestHeadTestServiceImpl;
public class HttpSuccessTests {
private static AutoRestHeadTestServiceImpl client;
@BeforeClass
public static void setup() {
clien... | mit |
gaborkolozsy/XChange | xchange-empoex/src/test/java/org/knowm/xchange/empoex/service/marketdata/TickerFetchIntegration.java | 892 | package org.knowm.xchange.empoex.service.marketdata;
import static org.fest.assertions.api.Assertions.assertThat;
import org.junit.Test;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.marketdata.Ticker;
import o... | mit |
matheusmmcs/SPMF-UseSkill | src/ca/pfv/spmf/algorithms/sequentialpatterns/fournier2008_seqdim/kmeans_for_fournier08/AlgoKMeansWithSupport.java | 7520 | package ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim.kmeans_for_fournier08;
/* This file is copyright (c) 2008-2013 Philippe Fournier-Viger
*
* This file is part of the SPMF DATA MINING SOFTWARE
* (http://www.philippe-fournier-viger.com/spmf).
*
* SPMF is free software: you can redistribute it ... | mit |
brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameCompilationUnitRefactoringContribution.java | 2450 | /*******************************************************************************
* Copyright (c) 2005, 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 |
dusensong/SwipeMenuListView | library/src/main/java/com/baoyz/swipemenulistview/SwipeMenuListView.java | 12876 | package com.baoyz.swipemenulistview;
import android.content.Context;
import android.support.v4.view.MotionEventCompat;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.Interpolator;
import android.widget.ListAdapt... | mit |
sk89q/CommandHelper | src/main/java/com/laytonsmith/core/exceptions/MarshalException.java | 701 | package com.laytonsmith.core.exceptions;
import com.laytonsmith.core.natives.interfaces.Mixed;
/**
*
*
*/
public class MarshalException extends Exception {
/**
* Creates a new instance of <code>MarshalException</code> without detail message.
*/
public MarshalException() {
}
/**
* Constructs an instanc... | mit |
philomatic/smarthome | bundles/storage/org.eclipse.smarthome.storage.json.test/src/main/java/org/eclipse/smarthome/storage/json/test/JSonStorageTest.java | 2563 | /**
* Copyright (c) 2014-2017 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
*/
pa... | epl-1.0 |
dipakmankumbare/idecore | com.salesforce.ide.ui/src/com/salesforce/ide/ui/viewer/TreeItemNotifyingTreeViewer.java | 1732 | /*******************************************************************************
* Copyright (c) 2014 Salesforce.com, inc..
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availab... | epl-1.0 |
computergeek1507/openhab | bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/config/ZWaveDbAssociationGroup.java | 965 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | epl-1.0 |
ssalonen/openhab | bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/converter/command/MultiLevelPercentCommandConverter.java | 1047 | /**
* Copyright (c) 2010-2019 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 |
jekey/my-oscgit-android | mygitosc/src/main/java/com/bill/mygitosc/ui/ProjectReadMeActivity.java | 3630 | package com.bill.mygitosc.ui;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebView;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.Volley;
import com.bill.my... | gpl-2.0 |
mdaniel/svn-caucho-com-resin | modules/resin/src/com/caucho/admin/PasswordApi.java | 238 | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* @author Scott Ferguson
*/
package com.caucho.admin;
public interface PasswordApi {
public String encrypt(String value, String salt)
throws Exception;
}
| gpl-2.0 |
uprasad/fred | src/freenet/node/NodeDispatcher.java | 39866 | /* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.node;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Hashtable;
import java.uti... | gpl-2.0 |
greenlion/mysql-server | storage/ndb/clusterj/clusterj-jdbc/src/main/java/com/mysql/clusterj/jdbc/SQLExecutor.java | 27046 | /*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.0,
* as published by the Free Software Foundation.
*
* This program is also distributed... | gpl-2.0 |
release-engineering/pom-version-manipulator | src/main/java/com/redhat/rcm/version/maven/VManWorkspaceReader.java | 3414 | package com.redhat.rcm.version.maven;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.maven.mae.project.key.FullProjectKey;
import org.apache.maven.mae.project.key.VersionlessProjectKey;
import org.apache.maven.project.MavenProj... | gpl-3.0 |
bruni68510/flazr | src/main/java/com/flazr/rtmp/server/ServerStream.java | 3452 | /*
* Flazr <http://flazr.com> Copyright (C) 2009 Peter Thomas.
*
* This file is part of Flazr.
*
* Flazr is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | gpl-3.0 |
jtux270/translate | ovirt/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/RoleGroupMapDAO.java | 1252 | package org.ovirt.engine.core.dao;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.ActionGroup;
import org.ovirt.engine.core.common.businessentities.RoleGroupMap;
import org.ovirt.engine.core.compat.Guid;
/**
* <code>RoleGroupMapDOA</code> defines a type for performing CRUD operations on... | gpl-3.0 |
khmarbaise/jqassistant | plugin/jaxrs/src/test/java/com/buschmais/jqassistant/plugin/jaxrs/test/set/beans/MySubResource.java | 188 | /**
*
*/
package com.buschmais.jqassistant.plugin.jaxrs.test.set.beans;
/**
* A simple sub resource interface.
*
* @author Aparna Chaudhary
*/
public interface MySubResource {
}
| gpl-3.0 |
Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Converter/src/test0177/Test.java | 169 | package test0177;
import java.util.*;
public class Test {
void bar() {
double i = 1.0;
System.out.println(i);
}
int foo() {
int i = 0;
i++;
return i;
}
} | gpl-3.0 |
cswhite2000/ProjectAres | Util/bukkit/src/main/java/tc/oc/commons/bukkit/util/NullPermissible.java | 3777 | package tc.oc.commons.bukkit.util;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;
import org.bukkit.permissions.Permissible;
import org.bukkit.permissions.Permission;
import org.bukkit.permissions.PermissionAttachment;
import org.bukkit.permissions.PermissionAttachmentInfo;
import or... | agpl-3.0 |
sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/kra/irb/auth/ProtocolReturnToPIAuthorizer.java | 2029 | /*
* 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 |
cswhite2000/ProjectAres | API/api/src/main/java/tc/oc/api/model/ModelsManifest.java | 1298 | package tc.oc.api.model;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import javax.inject.Singleton;
import com.google.common.util.concurrent.ListeningExecutorService;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.inject.Key;
import com.google.inject.P... | agpl-3.0 |
evolvedmicrobe/beast-mcmc | src/dr/inference/model/JointParameter.java | 5735 | /*
* CompositeParameter.java
*
* Copyright (C) 2002-2013 Alexei Drummond, Andrew Rambaut & Marc A. Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute ... | lgpl-2.1 |
rbharath26/abixen-platform | abixen-platform-core/src/main/java/com/abixen/platform/core/controller/application/ApplicationPageController.java | 2375 | /**
* Copyright (c) 2010-present Abixen Systems. 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 ... | lgpl-2.1 |
liujed/polyglot-eclipse | examples/coffer/compiler/src/coffer/types/CofferSubstClassType_c.java | 1787 | /*
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2006 Polyglot project group, Cornell University
*
*/
package coffer.types;
import java.util.ArrayList;
import java.util.List;
import polyglot.ext.param.types.PClass;
import polyglot.ext.param.types.SubstClassType_c;
im... | lgpl-2.1 |
trejkaz/swingx | swingx-core/src/main/java/org/jdesktop/swingx/treetable/SimpleFileSystemModel.java | 6862 | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. 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 Founda... | lgpl-2.1 |
jayway/powermock | powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/mockpolicies/Slf4jMockPolicy.java | 4415 | /*
* 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 require... | apache-2.0 |
niv0/isis | core/metamodel/src/main/java/org/apache/isis/core/commons/exceptions/UnknownTypeException.java | 1199 | /*
* 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 |
DariusX/camel | core/camel-core/src/test/java/org/apache/camel/language/simple/SimpleRouteExpressionAsPredicateTest.java | 2119 | /*
* 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 |
andysiahaan90/Atlas-Android | layer-atlas/src/main/java/com/layer/atlas/AtlasMessageComposer.java | 9657 | /*
* Copyright (c) 2015 Layer. 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 applica... | apache-2.0 |
laki88/carbon-apimgt | dependencies/synapse/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/connections/HostConnections.java | 4732 | /**
* Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) 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... | apache-2.0 |
mirkosertic/Bytecoder | classlib/java.base/src/main/resources/META-INF/modules/java.base/classes/jdk/internal/org/objectweb/asm/util/CheckMethodAdapter.java | 61495 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to th... | apache-2.0 |
etirelli/droolsjbpm-tools | drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/action/GenerateForms.java | 11068 | /*
* 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | apache-2.0 |
mt25367117/lforum | src/main/java/com/javaeye/lonlysky/lforum/entity/forum/Medals.java | 2314 | package com.javaeye.lonlysky.lforum.entity.forum;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
... | apache-2.0 |
rockmkd/datacollector | json-dto/src/main/java/com/streamsets/datacollector/event/dto/PipelineSaveEvent.java | 1931 | /*
* 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 |
facebook/buck | src/com/facebook/buck/jvm/java/plugin/PluginLoader.java | 4598 | /*
* Copyright (c) Facebook, Inc. and 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 applic... | apache-2.0 |
engagepoint/camel | camel-core/src/test/java/org/apache/camel/component/file/FileProduceGeneratedFileNameTest.java | 2112 | /**
* 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 |
tananaev/traccar | src/main/java/org/traccar/protocol/SiwiProtocol.java | 1331 | /*
* Copyright 2017 - 2018 Anton Tananaev (anton@traccar.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.org/licenses/LICENSE-2.0
*
* Unless required b... | apache-2.0 |
mohanaraosv/commons-collections | src/test/java/org/apache/commons/collections4/bag/AbstractSortedBagTest.java | 4887 | /*
* 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 |
phantomjinx/modeshape | modeshape-jcr/src/test/java/org/modeshape/jcr/JcrObservationManagerTest.java | 96585 | /*
* ModeShape (http://www.modeshape.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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | apache-2.0 |
smmribeiro/intellij-community | java/debugger/impl/src/com/intellij/debugger/memory/utils/InstanceJavaValue.java | 902 | // 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.debugger.memory.utils;
import com.intellij.debugger.engine.JavaValue;
import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;... | apache-2.0 |
mxm/incubator-beam | sdks/java/io/common/src/test/java/org/apache/beam/sdk/io/common/IOTestPipelineOptions.java | 1327 | /*
* 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 |
akiellor/selenium | java/client/src/org/openqa/selenium/iphone/IPhoneSimulatorDriver.java | 934 | package org.openqa.selenium.iphone;
import java.net.URL;
/**
* @author jmleyba@gmail.com (Jason Leyba)
*/
public class IPhoneSimulatorDriver extends IPhoneDriver {
public IPhoneSimulatorDriver(URL iWebDriverUrl, IPhoneSimulatorBinary iphoneSimulator)
throws Exception {
super(new IPhoneSimulatorCommandE... | apache-2.0 |
marcusholl/xcode-maven-plugin | modules/xcode-maven-plugin/src/main/java/com/sap/prd/mobile/ios/mios/XCodeDefaultConfigurationMojo.java | 7621 | /*
* #%L
* xcode-maven-plugin
* %%
* Copyright (C) 2012 SAP AG
* %%
* 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 ... | apache-2.0 |
mikeweisskopf/RxNetty | rxnetty-http/src/test/java/io/reactivex/netty/protocol/http/client/HttpClientPoolTest.java | 7035 | /*
* 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 t... | apache-2.0 |
jjeb/kettle-trunk | ui/src/org/pentaho/di/ui/trans/steps/setvaluefield/SetValueFieldDialog.java | 10539 | /*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | apache-2.0 |
zhangzhonglai/heron | heron/spi/src/java/com/twitter/heron/spi/common/Context.java | 10993 | // Copyright 2016 Twitter. 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 law... | apache-2.0 |
sflyphotobooks/crp-batik | sources/org/apache/batik/gvt/flow/RegionInfo.java | 2535 | /*
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 |
b-slim/druid | server/src/main/java/io/druid/segment/realtime/plumber/PlumberSchool.java | 1623 | /*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | apache-2.0 |
walteryang47/ovirt-engine | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/GuideModel.java | 9126 | package org.ovirt.engine.ui.uicommonweb.models;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ovirt.engine.core.common.action.ChangeVDSClusterParameters;
import org.ovirt.engine.core.common.action.VdcActionParametersBase;
import org.ovirt.engine.core.common.action.VdcActionType;
im... | apache-2.0 |
hekonsek/fabric8 | sandbox/fabric/fabric-client/src/main/java/io/fabric8/jolokia/facade/dto/FabricServiceStatusDTO.java | 1307 | /**
* 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 |
sfcoding-school/party-manager | libs/facebook/src/com/facebook/android/Facebook.java | 55504 | /**
* Copyright 2010-present Facebook
*
* 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 |
atul-bhouraskar/closure-templates | java/src/com/google/template/soy/pysrc/internal/IsComputableAsPyExprVisitor.java | 6405 | /*
* Copyright 2015 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 ... | apache-2.0 |
JingchengDu/hadoop | hadoop-tools/hadoop-sls/src/test/java/org/apache/hadoop/yarn/sls/TestSynthJobGeneration.java | 8685 | /**
* 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 |
KevinHorvatin/apiman | gateway/engine/vertx-eb-inmemory/src/main/java/io/apiman/gateway/engine/vertxebinmemory/services/EBRegistryProxyHandler.java | 3298 | /*
* Copyright 2015 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 |
ashward/buddycloud-server-java | src/main/java/org/buddycloud/channelserver/queue/InQueueConsumer.java | 2945 | package org.buddycloud.channelserver.queue;
import java.util.concurrent.BlockingQueue;
import org.apache.log4j.Logger;
import org.buddycloud.channelserver.Configuration;
import org.buddycloud.channelserver.channel.ChannelManager;
import org.buddycloud.channelserver.channel.ChannelManagerFactory;
import org.buddycloud... | apache-2.0 |
bxf12315/jbpm | jbpm-flow/src/main/java/org/jbpm/workflow/core/impl/WorkflowProcessImpl.java | 2501 | /**
* Copyright 2005 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 |
rmetzger/flink | flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NetworkBufferAllocator.java | 3024 | /*
* 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 |
googlearchive/caja | tests/com/google/caja/render/JsPrettyPrinterTest.java | 14818 | // Copyright (C) 2008 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 t... | apache-2.0 |
datametica/calcite | core/src/main/java/org/apache/calcite/rel/rules/UnionToDistinctRule.java | 3294 | /*
* 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 |