repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
variacode/rundeck | core/src/main/java/com/dtolabs/rundeck/core/utils/QuotedStringTokenizer.java | 7149 | /*
* Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 |
maichler/izpack | izpack-panel/src/main/java/com/izforge/izpack/panels/userinput/console/title/ConsoleTitleField.java | 1665 | /*
* IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2013 Tim Anderson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a co... | apache-2.0 |
dgutierr/uberfire-extensions | uberfire-wires/uberfire-wires-bpmn/uberfire-wires-bpmn-client/src/main/java/org/uberfire/ext/wires/bpmn/client/resources/i18n/BpmnEditorConstants.java | 1180 | /*
* Copyright 2015 JBoss, by Red Hat, 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 ... | apache-2.0 |
johnnywale/drill | exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/common/HashPartitionTest.java | 13922 | /*
* 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 |
hastef88/carbon-business-messaging | components/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/listeners/BrokerLifecycleListener.java | 1101 | /*
* Copyright (c) 2016, 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
*
* Unles... | apache-2.0 |
mztaylor/rice-git | rice-middleware/kim/kim-impl/src/main/java/org/kuali/rice/kim/impl/group/GroupMemberBo.java | 2735 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | apache-2.0 |
zdary/intellij-community | platform/util/src/com/intellij/util/io/keyStorage/InlinedKeyStorage.java | 1695 | // Copyright 2000-2020 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.util.io.keyStorage;
import com.intellij.util.Processor;
import com.intellij.util.io.InlineKeyDescriptor;
import org.jetbrains.annotations.NotNull;
import ja... | apache-2.0 |
wjw465150/jodd | jodd-petite/src/test/java/jodd/petite/ManualTest.java | 7696 | // Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// 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 notice,
// th... | bsd-2-clause |
kerwinxu/barcodeManager | zxing/android/src/com/google/zxing/client/android/result/AddressBookResultHandler.java | 7135 | /*
* Copyright (C) 2008 ZXing 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 agr... | bsd-2-clause |
Snickermicker/smarthome | extensions/binding/org.eclipse.smarthome.binding.mqtt/src/main/java/org/eclipse/smarthome/binding/mqtt/discovery/MQTTTopicDiscoveryParticipant.java | 1646 | /**
* Copyright (c) 2014,2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is av... | epl-1.0 |
renatoathaydes/checker-framework | checker/src/org/checkerframework/checker/regex/qual/Var.java | 1075 | package org.checkerframework.checker.regex.qual;
import org.checkerframework.qualframework.poly.SimpleQualifierParameterAnnotationConverter;
import org.checkerframework.qualframework.poly.qual.Wildcard;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retent... | gpl-2.0 |
robertoandrade/cyclos | src/nl/strohalm/cyclos/controls/access/transactionpassword/ManageTransactionPasswordAction.java | 5153 | /*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of th... | gpl-2.0 |
cheshirekow/codebase | third_party/lcm/lcm-java/jchart2d-code/src/info/monitorenter/gui/chart/demos/StaticChartXAxisInverse.java | 3599 | /*
* StaticChartXAxisInverse.java of project jchart2d, a demonstration
* of the minimal code to set up a chart with static data and an
* inverse x axis.
* Copyright (C) 2007 - 2011 Achim Westermann, created on 10.12.2004, 13:48:55
*
* This library is free software; you can redistribute it and/or
* modif... | gpl-3.0 |
OhmGeek/ThanCue | src/org/zeroturnaround/zip/extra/ZipShort.java | 4527 | /*
* 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... | gpl-3.0 |
5AMW3155/shattered-pixel-dungeon | src/com/shatteredpixel/shatteredpixeldungeon/ui/Tag.java | 1948 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | gpl-3.0 |
Lobz/reforged-pixel-dungeon | src/com/shatteredpixel/shatteredpixeldungeon/ui/CheckBox.java | 1771 | /*
* Pixel Dungeon
* Copyright (C) 2012-2014 Oleg Dolya
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | gpl-3.0 |
roskens/opennms-pre-github | opennms-tools/ireport-resource-query-provider/src/test/java/org/opennms/netmgt/jasper/resource/ResourceQueryFieldsProviderTest.java | 6860 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | agpl-3.0 |
bhutchinson/kfs | kfs-tem/src/main/java/org/kuali/kfs/module/tem/document/web/struts/TravelStrutsObservable.java | 2543 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* 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 Softw... | agpl-3.0 |
siosio/intellij-community | java/java-tests/testData/refactoring/makeClassStatic/IDEADEV12762_after.java | 340 | class Test18 {
String str;
static class A {
private final Test18 anObject;
boolean flag;
public A(Test18 anObject, boolean flag) {
this.flag = flag;
this.anObject = anObject;
}
void foo() {
System.out.println("str = " + anObject.str... | apache-2.0 |
ekoi/DANS-DVN-4.6.1 | src/main/java/edu/harvard/iq/dataverse/authorization/providers/oauth2/impl/GoogleOAuth2AP.java | 2685 | package edu.harvard.iq.dataverse.authorization.providers.oauth2.impl;
import com.github.scribejava.apis.GoogleApi20;
import com.github.scribejava.core.builder.api.BaseApi;
import edu.harvard.iq.dataverse.authorization.AuthenticatedUserDisplayInfo;
import edu.harvard.iq.dataverse.authorization.providers.oauth2.Abstract... | apache-2.0 |
Guavus/hbase | hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/MasterCoprocessorRpcChannel.java | 3362 | /*
* 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 |
tinkerstudent/playn | robovm/src/playn/robovm/RoboCanvasState.java | 978 | /**
* Copyright 2014 The PlayN 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 to ... | apache-2.0 |
haonaturel/DataflowJavaSDK | sdk/src/test/java/com/google/cloud/dataflow/sdk/util/GroupAlsoByWindowsDoFnTest.java | 13007 | /*
* Copyright (C) 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 |
AliaksandrShuhayeu/pentaho-kettle | plugins/repositories/core/src/main/java/org/pentaho/di/ui/repo/model/LoginModel.java | 1351 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | apache-2.0 |
Nimco/sling | tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java | 25793 | /*
* 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 |
rmulvey/bridgepoint | src/org.xtuml.bp.debug.ui/src/org/xtuml/bp/debug/ui/model/BPBreakpoint.java | 10881 | //========================================================================
// 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 |
wso2/siddhi | modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/SchedulingProcessor.java | 980 | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | apache-2.0 |
droolsjbpm/drools | drools-ruleunit/src/test/java/org/drools/ruleunit/SimpleFact.java | 887 | /*
* Copyright 2018 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 app... | apache-2.0 |
gretchiemoran/pentaho-kettle | ui/src/org/pentaho/di/ui/trans/steps/mapping/MappingDialog.java | 70861 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | apache-2.0 |
asedunov/intellij-community | plugins/svn4idea/testSource/org/jetbrains/idea/svn/MockSvnRepository.java | 2100 | /*
* 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 |
pspaude/uPortal | uportal-war/src/main/java/org/jasig/portal/portlet/container/services/PersonDirectoryUserInfoService.java | 9940 | /**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig 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 |
siosio/intellij-community | plugins/devkit/devkit-java-tests/testData/inspections/internal/com/intellij/openapi/vfs/VirtualFile.java | 902 | package com.intellij.openapi.vfs;
public abstract class VirtualFile {
void test() {
assert this == this;
assert this != this;
VirtualFileImpl first = new VirtualFileImpl();
VirtualFile second = new VirtualFileImpl();
assert first == null;
assert first != null;
assert this == second;
... | apache-2.0 |
robin13/elasticsearch | server/src/test/java/org/elasticsearch/search/suggest/AbstractSuggestionBuilderTestCase.java | 14348 | /*
* 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 |
mdecourci/assertj-core | src/test/java/org/assertj/core/api/fail/Fail_fest_elements_stack_trace_filtering_Test.java | 1721 | /**
* 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 ... | apache-2.0 |
ravipesala/incubator-carbondata | core/src/main/java/org/apache/carbondata/core/readcommitter/ReadCommittedIndexFileSnapShot.java | 2076 | /*
* 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 |
mdecourci/assertj-core | src/test/java/org/assertj/core/internal/objects/Objects_assertHasSameClassAs_Test.java | 2471 | /**
* 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 ... | apache-2.0 |
smmribeiro/intellij-community | python/python-psi-impl/src/com/jetbrains/python/validation/AssignTargetAnnotator.java | 11767 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
skinzer/camel | camel-core/src/main/java/org/apache/camel/model/ConvertBodyDefinition.java | 3784 | /**
* 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 |
ric2b/Vivaldi-browser | chromium/chrome/android/junit/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBackgroundTaskUnitTest.java | 11676 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.explore_sites;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import stat... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoDescriptionView.java | 1529 | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.ntp;
import android.view.View;
import android.widget.CompoundButton;
/**
* This interface includes methods that are... | bsd-3-clause |
Mr-DLib/jabref | src/main/java/net/sf/jabref/logic/importer/WebFetcher.java | 626 | package net.sf.jabref.logic.importer;
import net.sf.jabref.logic.help.HelpFile;
/**
* Searches web resources for bibliographic information.
*/
public interface WebFetcher {
/**
* Returns the localized name of this fetcher.
* The title can be used to display the fetcher in the menu and in the side pan... | mit |
yoolk/fakie | lib/fakie/js/java/libphonenumber/src/com/google/i18n/phonenumbers/ShortNumberInfo.java | 18190 | /*
* Copyright (C) 2013 The Libphonenumber 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 la... | mit |
antonini/takes | src/test/java/org/takes/facets/slf4j/TkLoggedTest.java | 2079 | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Yegor Bugayenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | mit |
YouDiSN/OpenJDK-Research | jdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/ErrorHandlerAdaptor.java | 2810 | /*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* 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 ... | gpl-2.0 |
jvanz/core | qadevOOo/tests/java/mod/_sch/AccDataSeries.java | 3490 | /*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | gpl-3.0 |
gxyang/hstore | tests/frontend/edu/brown/protorpc/ProtoConnectionTest.java | 4153 | package edu.brown.protorpc;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import ca.evanjones.protorpc.Counter;
imp... | gpl-3.0 |
Kandru/KandruIM | src/main/java/eu/siacs/conversations/utils/AndroidUsingExecLowPriority.java | 2702 | /*
* Copyright 2015-2016 the original author or authors
*
* This software is licensed under the Apache License, Version 2.0,
* the GNU Lesser General Public License version 2 or later ("LGPL")
* and the WTFPL.
* You may choose either license to govern your use of this software only
* upon the condition that you ... | gpl-3.0 |
imam-san/jPOS-1 | jpos/src/main/java/org/jpos/iso/ISOFieldValidator.java | 6106 | /*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2015 Alejandro P. Revilla
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... | agpl-3.0 |
mkrajcov/testsuite | src/main/java/org/jboss/hal/testsuite/page/config/DomainConfigEntryPoint.java | 533 | package org.jboss.hal.testsuite.page.config;
import org.jboss.arquillian.graphene.page.Location;
import org.jboss.hal.testsuite.page.BasePage;
/**
* @author jcechace
*
* This class represents a meta page entry point to the Config part of the consle in domain.
* As such it is meant for navigation purposes only and... | lgpl-2.1 |
minudika/carbon-analytics | components/org.wso2.carbon.business.rules.core/src/main/java/org/wso2/carbon/business/rules/core/datasource/util/BusinessRuleDatasourceUtils.java | 1886 | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | apache-2.0 |
nishantmonu51/druid | extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/validator/MetadataStoreCredentialsValidator.java | 3346 | /*
* 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 |
asedunov/intellij-community | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/dataFlow/reachingDefs/ReachingDefinitionsCollector.java | 17084 | /*
* Copyright 2000-2017 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 |
masaki-yamakawa/geode | geode-core/src/integrationTest/java/org/apache/geode/internal/offheap/TxReleasesOffHeapOnCloseJUnitTest.java | 2545 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | apache-2.0 |
trekawek/jackrabbit-oak | oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakCodecTest.java | 1500 | /*
* 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 |
nikhilvibhav/camel | components/camel-pgevent/src/generated/java/org/apache/camel/component/pgevent/PgEventEndpointConfigurer.java | 3632 | /* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.pgevent;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Configur... | apache-2.0 |
twalpole/selenium | java/server/test/org/openqa/testing/FakeHttpServletResponse.java | 5143 | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | apache-2.0 |
doom369/netty | handler/src/main/java/io/netty/handler/ssl/DefaultOpenSslKeyMaterial.java | 3553 | /*
* Copyright 2018 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | apache-2.0 |
congdepeng/java-guava-lib-demo | guava-libraries/guava-gwt/test/com/google/common/primitives/LongsTest_gwt.java | 6447 | /*
* 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 |
MariusVolkhart/box-android-sdk | box-content-sdk/src/main/java/com/box/androidsdk/content/models/BoxCollection.java | 1723 | package com.box.androidsdk.content.models;
import com.eclipsesource.json.JsonObject;
import com.eclipsesource.json.JsonValue;
import java.util.Map;
/**
* Class that represents a collection on Box.
*/
public class BoxCollection extends BoxEntity {
/**
* Constructs an empty BoxCollection object.
*/
... | apache-2.0 |
zhuyuanyan/PCCredit_TY | src/java/com/cardpay/pccredit/product/constant/DictTypeConstant.java | 746 | package com.cardpay.pccredit.product.constant;
import java.util.HashMap;
import java.util.Map;
import com.cardpay.pccredit.common.Dictionary;
public class DictTypeConstant {
public static Map<String, Object> TypeMap=new HashMap<String, Object>();
static{
TypeMap.put(ProductFilterColumn.TITLE,Dictionary... | apache-2.0 |
fnkhan/New | src/main/java/org/openflow/protocol/action/OFActionStripVirtualLan.java | 2493 | /*******************************************************************************
* Copyright 2014 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | apache-2.0 |
flydream2046/azure-sdk-for-java | service-management/azure-svc-mgmt-websites/src/main/java/com/microsoft/windowsazure/management/websites/models/WebSiteCreateResponse.java | 1447 | /**
*
* Copyright (c) Microsoft and contributors. 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 r... | apache-2.0 |
vineetgarg02/hive | hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/ExecBean.java | 1535 | /*
* 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 |
rainerh/camunda-bpm-platform | engine-rest/src/test/java/org/camunda/bpm/engine/rest/wink/JobDefinitionRestServiceQueryTest.java | 923 | package org.camunda.bpm.engine.rest.wink;
import org.camunda.bpm.engine.rest.AbstractJobDefinitionRestServiceQueryTest;
import org.camunda.bpm.engine.rest.util.WinkTomcatServerBootstrap;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.rules.TemporaryFolder... | apache-2.0 |
adufilie/flex-sdk | modules/thirdparty/batik/sources/org/apache/flex/forks/batik/ext/awt/image/URLImageCache.java | 3727 | /*
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 |
k-r-g/FrameworkBenchmarks | frameworks/Java/undertow/src/main/java/hello/UpdatesMongoAsyncHandler.java | 3233 | package hello;
import static hello.Helper.getQueries;
import static hello.Helper.randomWorld;
import static hello.Helper.sendException;
import static hello.Helper.sendJson;
import com.mongodb.async.client.MongoCollection;
import com.mongodb.async.client.MongoDatabase;
import com.mongodb.client.model.Filters;
import c... | bsd-3-clause |
rokn/Count_Words_2015 | testing/spring-boot-master/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackageTask.java | 7655 | /*
* Copyright 2012-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 ap... | mit |
oleg-nenashev/jenkins | test/src/test/java/hudson/cli/ListJobsCommandTest.java | 6254 | /*
* The MIT License
*
* Copyright 2018 Victor Martinez.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | mit |
FauxFaux/jdk9-jdk | src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/Remapper.java | 9445 | /*
* 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... | gpl-2.0 |
FauxFaux/jdk9-jdk | test/sun/management/jdp/JdpTestCase.java | 7749 | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* 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 Softwa... | gpl-2.0 |
armenrz/adempiere | base/src/org/compiere/model/I_C_Phase.java | 6102 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
danielyc/test-1.9.4 | build/tmp/recompileMc/sources/net/minecraft/util/WeightedSpawnerEntity.java | 973 | package net.minecraft.util;
import net.minecraft.nbt.NBTTagCompound;
public class WeightedSpawnerEntity extends WeightedRandom.Item
{
private final NBTTagCompound nbt;
public WeightedSpawnerEntity()
{
super(1);
this.nbt = new NBTTagCompound();
this.nbt.setString("id", "Pig");
... | gpl-3.0 |
xasx/wildfly | testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jaxrs/decorator/ResourceInterface.java | 289 | package org.jboss.as.test.integration.jaxrs.decorator;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
/**
* @author Stuart Douglas
*/
@Path("decorator")
@Produces({"text/plain"})
public interface ResourceInterface {
@GET
String getMessage();
}
| lgpl-2.1 |
paulk-asert/groovy | src/test/gls/ch06/s05/testClasses/Tt1go.java | 1197 | /*
* 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 |
rickyHong/RSparkMR4C | java/src/java/com/google/mr4c/message/DefaultMessageHandler.java | 1149 | /**
* Copyright 2014 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 requir... | apache-2.0 |
first087/Android-RoundCornerProgressBar | library/src/main/java/com/akexorcist/roundcornerprogressbar/TextRoundCornerProgressBar.java | 8335 | /*
Copyright 2015 Akexorcist
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
distrib... | apache-2.0 |
kidaa/incubator-ignite | examples/src/main/java8/org/apache/ignite/examples/java8/streaming/package-info.java | 937 | /*
* 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 |
SoftwareKing/zstack | header/src/main/java/org/zstack/header/host/AttachNicToVmOnHypervisorMsg.java | 806 | package org.zstack.header.host;
import org.zstack.header.message.NeedReplyMessage;
import org.zstack.header.vm.VmNicInventory;
import java.util.List;
public class AttachNicToVmOnHypervisorMsg extends NeedReplyMessage implements HostMessage {
private String vmInstanceUuid;
private String hostUuid;
privat... | apache-2.0 |
WangTaoTheTonic/flink | flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/CompletableFuture.java | 1816 | /*
* 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 |
objmagic/heron | tools/java/src/com/twitter/bazel/checkstyle/JavaCheckstyle.java | 5067 | // 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 |
weitzj/closure-compiler | src/com/google/javascript/jscomp/JoinOp.java | 2431 | /*
* Copyright 2010 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | apache-2.0 |
GlenRSmith/elasticsearch | libs/x-content/src/main/java/org/elasticsearch/xcontent/ObjectParser.java | 35948 | /*
* 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 |
apratkin/pentaho-kettle | engine/test-src/org/pentaho/di/trans/steps/loadsave/setter/MethodSetter.java | 468 | package org.pentaho.di.trans.steps.loadsave.setter;
import java.lang.reflect.Method;
public class MethodSetter<T> implements Setter<T> {
private final Method method;
public MethodSetter( Method method ) {
this.method = method;
}
@Override
public void set( Object obj, T value ) {
try {
method... | apache-2.0 |
brettwooldridge/btm | btm/src/main/java/bitronix/tm/resource/jdbc/proxy/JdbcCglibProxyFactory.java | 11137 | /*
* Copyright (C) 2006-2013 Bitronix Software (http://www.bitronix.be)
*
* 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 |
kevin3061/cas-4.0.1 | cas-server-core/src/main/java/org/jasig/cas/util/AopUtils.java | 1525 | /*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in com... | apache-2.0 |
sn00py2/SimpleXMLLegacy | src/org/simpleframework/xml/stream/OutputBuffer.java | 5031 | /*
* OutputBuffer.java June 2007
*
* Copyright (C) 2007, Niall Gallagher <niallg@users.sf.net>
*
* 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/... | apache-2.0 |
rokn/Count_Words_2015 | testing/openjdk2/nashorn/src/jdk/nashorn/internal/parser/Token.java | 4603 | /*
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
* 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 ... | mit |
AvinashPD/mondrian | src/main/mondrian/olap/Util.java | 147689 | /*
// This software is subject to the terms of the Eclipse Public License v1.0
// Agreement, available at the following URL:
// http://www.eclipse.org/legal/epl-v10.html.
// You must accept the terms of that agreement to use this software.
//
// Copyright (C) 2001-2005 Julian Hyde
// Copyright (C) 2005-2015 Pentaho and... | epl-1.0 |
TwitchPlaysPokemon/dolphinWatch | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/viewholders/TvGameViewHolder.java | 765 | package org.dolphinemu.dolphinemu.viewholders;
import android.view.View;
import android.widget.ImageView;
import androidx.leanback.widget.ImageCardView;
import androidx.leanback.widget.Presenter;
import org.dolphinemu.dolphinemu.model.GameFile;
/**
* A simple class that stores references to views so that the GameA... | gpl-2.0 |
helloiloveit/VkxPhoneProject | submodules/externals/antlr3/tool/src/test/java/org/antlr/test/TestCompositeGrammars.java | 33185 | /*
* [The "BSD license"]
* Copyright (c) 2010 Terence Parr
* 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
* ... | gpl-2.0 |
Jianchu/checker-framework | framework/tests/framework/UnimportedExtends2.java | 107 | class UnimportedExtends2 {
//:: error: cannot find symbol
class Inner extends UnimportedClass {}
}
| gpl-2.0 |
fengshao0907/disconf | disconf-client/src/main/java/com/baidu/disconf/client/core/processor/impl/DisconfItemCoreProcessorImpl.java | 5926 | package com.baidu.disconf.client.core.processor.impl;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.baidu.disconf.client.common.model.DisConfCommonModel;
import com.baidu.disconf.client.common.model.DisconfCenterItem;
import com... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jdi/ShortValue/compareTo/compareto001a.java | 6823 | /*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* 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 ... | gpl-2.0 |
cqjjjzr/jsocks-mirror | src/java/net/sourceforge/jsocks/test/UPSOCKS.java | 1135 | package net.sourceforge.jsocks.test;
import net.sourceforge.jsocks.socks.*;
import net.sourceforge.jsocks.socks.server.*;
import java.net.Socket;
/** Test file for UserPasswordAuthentictor */
public class UPSOCKS implements UserValidation{
String user, password;
UPSOCKS(String user,String passw... | lgpl-3.0 |
vickychijwani/udacity-p3-super-duo | football-scores/app/src/main/java/barqsoft/footballscores/MainActivity.java | 2966 | package barqsoft.footballscores;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends ActionBarActivity
{
public static int selected_match_id;
... | unlicense |
liancheng/parquet-mr | parquet-hadoop/src/main/java/parquet/hadoop/codec/SnappyDecompressor.java | 4725 | /**
* Copyright 2012 Twitter, 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 |
dawidmalina/pinpoint | profiler/src/test/java/com/navercorp/pinpoint/profiler/interceptor/bci/TestObjectNestedClass.java | 1898 | /**
* Copyright 2014 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 |
jaadds/product-apim | sample-scenarios/backend/src/main/java/server/obj/Salary.java | 1401 | /*
* Copyright (c) 2017, WSO2 Inc. (http://wso2.com) 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 re... | apache-2.0 |
jwren/intellij-community | plugins/kotlin/idea/tests/testData/android/gutterIcon/R.java | 567 | package com.myapp;
public final class R {
public static final class drawable {
public static final int test_icon=0x7f02005d;
}
public static final class mipmap {
public static final int test_icon=0x7f04005d;
}
public static final class color {
public static final int colorAc... | apache-2.0 |
jittagornp/cpe4235 | connect-database/src/main/java/com/blogspot/na5cent/connectdb/S5QueryPagination.java | 1216 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.blogspot.na5cent.connectdb;
import com.blogspot.na5cent.connectdb.model.Department;
import com.blogspot.na5cent.connectdb.... | apache-2.0 |