repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
pedrofvteixeira/big-data-plugin | legacy/src/main/java/org/pentaho/di/bigdata/ShimDependentPluginRegistryPlugin.java | 1948 | /*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | apache-2.0 |
asedunov/intellij-community | plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/base/IntentionUtils.java | 7700 | /*
* 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 |
JayhJung/Hystrix | hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java | 20424 | /**
* Copyright 2012 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 |
arnaud-deprez/camel | camel-core/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java | 18104 | /**
* 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-netty/src/test/java/org/apache/camel/component/netty/NettyInOutFromSedaTest.java | 2050 | /*
* 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 |
mpage23/flyway | flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/vertica/package-info.java | 722 | /**
* Copyright 2010-2015 Axel Fontaine
*
* 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 |
rmacnak-google/engine | shell/platform/android/io/flutter/embedding/engine/mutatorsstack/FlutterMutatorsStack.java | 6643 | // Copyright 2013 The Flutter 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 io.flutter.embedding.engine.mutatorsstack;
import android.graphics.Matrix;
import android.graphics.Path;
import android.graphics.Rect;
import andr... | bsd-3-clause |
AchimHentschel/smarthome | bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/events/EventFilter.java | 1055 | /**
* 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
... | epl-1.0 |
maheshonecloud/Testrepo | UCSD 6.0 Connector/FlashArray UCSD Adapter and Source Code/src/com/cloupia/feature/purestorage/tasks/ScheduleVolumeSnapshotTask.java | 5177 | package com.cloupia.feature.purestorage.tasks;
import java.util.Arrays;
import com.cisco.cuic.api.client.WorkflowInputFieldTypeDeclaration;
import com.cloupia.feature.purestorage.constants.PureConstants;
import com.cloupia.service.cIM.inframgr.TaskOutputDefinition;
import com.cloupia.service.cIM.inframgr.customactio... | gpl-2.0 |
Bhavik3/checkstyle | src/test/resources/com/puppycrawl/tools/checkstyle/checks/design/InputMutableException.java | 1239 | package com.puppycrawl.tools.checkstyle.checks.design;
public class InputMutableException {
public class FooException extends Exception {
private final int finalErrorCode;
private int errorCode = 1;
public FooException() {
finalErrorCode = 1;
}
public class Foo... | lgpl-2.1 |
buntarb/closure-stylesheets | src/com/google/common/css/compiler/passes/ProcessKeyframes.java | 5425 | /*
* Copyright 2011 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 |
allotria/intellij-community | platform/lang-impl/src/com/intellij/task/impl/AbstractProjectTask.java | 1005 | // 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.task.impl;
import com.intellij.task.ProjectTask;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import java.util.Collection... | apache-2.0 |
fred84/elasticsearch | server/src/main/java/org/elasticsearch/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder.java | 8317 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
tmaret/sling | bundles/scripting/core/src/test/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextIT.java | 11818 | /*
* 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 |
nagyistoce/camunda-bpm-platform | engine/src/test/java/org/camunda/bpm/engine/test/examples/bpmn/gateway/ExclusiveGatewayTest.java | 2644 | /* 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 |
jrodbx/okhttp | okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.java | 3299 | /*
* Copyright (C) 2014 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 |
smmribeiro/intellij-community | python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java | 10214 | // 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.jetbrains.python.codeInsight;
import com.intellij.lang.Language;
import com.intellij.lang.injection.MultiHostRegistrar;
import com.intellij.openapi.util.TextRange;
im... | apache-2.0 |
smmribeiro/intellij-community | plugins/devkit/jps-plugin/testData/threadingModelHelper/instrumenter/MethodHasOtherAnnotationBefore.java | 205 | package main;
import com.intellij.util.concurrency.annotations.fake.RequiresEdt;
public class MethodHasOtherAnnotationBefore {
@Deprecated
@RequiresEdt
public Object test() {
return null;
}
} | apache-2.0 |
antoaravinth/incubator-groovy | src/main/org/codehaus/groovy/transform/trait/TraitComposer.java | 28378 | /*
* 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 |
winger007/zstack | header/src/main/java/org/zstack/header/volume/APISearchVolumeReply.java | 299 | package org.zstack.header.volume;
import org.zstack.header.search.APISearchReply;
public class APISearchVolumeReply extends APISearchReply {
public static APISearchVolumeReply __example__() {
APISearchVolumeReply reply = new APISearchVolumeReply();
return reply;
}
}
| apache-2.0 |
cvsuser-chromium/chromium | content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java | 26544 | // Copyright 2012 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.content.browser;
import android.content.Context;
import android.util.Log;
import android.util.SparseIntArray;
import android.view.Su... | bsd-3-clause |
andrewmcvearry/mille-bean | lwjgl/src/templates/org/lwjgl/opengl/ATI_texture_float.java | 2261 | /*
* Copyright (c) 2002-2008 LWJGL Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | mit |
rahulopengts/myhome | bundles/binding/org.openhab.binding.ihc/src/main/java/org/openhab/binding/ihc/ws/IhcControllerService.java | 6258 | /**
* Copyright (c) 2010-2015, openHAB.org 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, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | epl-1.0 |
sics-sse/moped | squawk/cldc/src/com/sun/squawk/realtime/UnsupportedPhysicalMemoryException.java | 1022 | /*
* @(#)UnsupportedPhysicalMemoryException.java 1.2 05/10/20
*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.sun.squawk.realtime;
/**
* Thrown when the underlying hardware does not support the type of
* physical me... | gpl-2.0 |
ivaners/android-app | src/net/oschina/app/ui/UserInfo.java | 11772 | package net.oschina.app.ui;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import net.oschina.app.AppContext;
import net.oschina.app.AppException;
import net.oschina.app.R;
import net.oschina.app.bean.FriendList;
import net.oschina.app.bean.MyInfo... | gpl-2.0 |
alienisty/windowlicker | src/swing/main/com/objogate/wl/swing/driver/JProgressBarDriver.java | 3570 | package com.objogate.wl.swing.driver;
import javax.swing.JProgressBar;
import java.awt.Component;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.TypeSafeMatcher;
import com.objogate.wl.Prober;
import com.objogate.wl.swing.ComponentSelector;
import com.objogate.wl.swing.gesture.Gestur... | gpl-3.0 |
tobwiens/scheduling | rest/rest-client/src/main/java/org/ow2/proactive/scheduler/rest/ds/RemoteSource.java | 3278 | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | agpl-3.0 |
curso007/camel | components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/service/WordpressServiceTags.java | 1091 | /**
* 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 |
gnodet/camel | components/camel-aws2-athena/src/test/java/org/apache/camel/component/aws2/athena/AthenaComponentConfigurationTest.java | 4235 | /*
* 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 |
nwnpallewela/developer-studio | esb/plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/provider/FilterSourcePropertyDescriptor.java | 1435 | package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.provider;
import org.eclipse.emf.common.ui.celleditor.ExtendedDialogCellEditor;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.ui.provider.PropertyDescriptor;
import org.eclipse.jface.viewers.CellEditor;
import o... | apache-2.0 |
thedrummeraki/Aki-SSL | src/org/bouncycastle/crypto/tls/NamedCurve.java | 2521 | package org.bouncycastle.crypto.tls;
/**
* RFC 4492 5.1.1
* <p>
* The named curves defined here are those specified in SEC 2 [13]. Note that many of these curves
* are also recommended in ANSI X9.62 [7] and FIPS 186-2 [11]. Values 0xFE00 through 0xFEFF are
* reserved for private use. Values 0xFF01 and 0xFF02 indi... | apache-2.0 |
steffenrosi/acs-aem-commons | bundle-twitter/src/main/java/com/adobe/acs/commons/twitter/impl/TwitterFeedScheduler.java | 2833 | /*
* #%L
* ACS AEM Commons Twitter Support Bundle
* %%
* Copyright (C) 2013 - 2014 Adobe
* %%
* 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 |
wgpshashank/google-http-java-client | google-http-client/src/main/java/com/google/api/client/util/NullValue.java | 1108 | /*
* Copyright (c) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | apache-2.0 |
baibaichen/eagle | eagle-core/eagle-query/eagle-storage-base/src/test/java/org/apache/eagle/storage/operation/TestRowkeyQueryStatement.java | 2418 | /*
* 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 |
datawire/qpid-proton | proton-j/src/test/java/org/apache/qpid/proton/engine/impl/TransportOutputAdaptorTest.java | 5474 | /*
* 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 |
juwi/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.java | 6724 | /**
* Copyright The Apache Software Foundation
*
* 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 Li... | apache-2.0 |
shakuzen/spring-boot | spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/metadata/CompositeDataSourcePoolMetadataProviderTests.java | 2293 | /*
* Copyright 2012-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
wudingli/openfire | src/plugins/jitsivideobridge/src/java/com/google/libwebm/mkvmuxer/Segment.java | 5592 | // Author: mszal@google.com (Michael Szal)
package com.google.libwebm.mkvmuxer;
import com.google.libwebm.Common;
public class Segment extends Common {
public enum Mode {
None,
kLive,
kFile
};
public static final long kDefaultMaxClusterDuration = 30000000000L;
public Segment() {
nativePoin... | apache-2.0 |
jwren/intellij-community | plugins/java-i18n/testData/quickFix/convertToBasicLatin/StringLiteral_after.java | 42 | class C {
String s = "\u00C1\u00EE";
} | apache-2.0 |
mplushnikov/lombok-intellij-plugin | testData/after/builder/Singular/Generic/Util/Collection/SingularSet.java | 6721 | // Generated by delombok at Wed Oct 02 19:12:43 GMT 2019
import java.util.Set;
public class SingularSet<T> {
private Set rawTypes;
private Set<Integer> integers;
private Set<T> generics;
private Set<? extends Number> extendsGenerics;
@java.lang.SuppressWarnings("all")
SingularSet(final Set rawTypes, final Set<... | bsd-3-clause |
plumer/codana | tomcat_files/7.0.61/Choose.java | 1382 | /*
* 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 ... | mit |
taciano-perez/JamVM-PH | src/classpath/java/text/Collator.java | 14820 | /* Collator.java -- Perform locale dependent String comparisons.
Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | gpl-2.0 |
ritumalhotra8/IRIS | interaction-core/src/main/java/com/temenos/interaction/core/rim/ResourceInteractionModel.java | 1694 | package com.temenos.interaction.core.rim;
/*
* #%L
* interaction-core
* %%
* Copyright (C) 2012 - 2013 Temenos Holdings N.V.
* %%
* 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, ... | agpl-3.0 |
mehdikwa/google-gin | src/com/google/gwt/inject/client/multibindings/SimpleMultimap.java | 1365 | /*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | apache-2.0 |
gk5885/auto | factory/src/test/resources/good/MixedDepsImplementingInterfaces.java | 1238 | /*
* Copyright (C) 2013 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 |
abel-von/commons | src/java/com/twitter/common/text/token/TwitterTokenStream.java | 6183 | // =================================================================================================
// Copyright 2011 Twitter, Inc.
// -------------------------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | apache-2.0 |
rohit2b/incubator-zeppelin | zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterResult.java | 23224 | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.zeppelin.interpreter.thrift;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardSchem... | apache-2.0 |
dawidmalina/pinpoint | rpc/src/main/java/com/navercorp/pinpoint/rpc/stream/LoggingStreamChannelStateChangeEventHandler.java | 1432 | /*
* 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 |
bwirgau/androidproject | Lesson02-GitHub-Repo-Search/T02.04-Exercise-ConnectingToTheInternet/app/src/main/java/com/example/android/datafrominternet/MainActivity.java | 2821 | /*
* Copyright (C) 2016 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 |
thedrummeraki/Aki-SSL | src/org/bouncycastle/cert/selector/MSOutlookKeyIdCalculator.java | 10705 | package org.bouncycastle.cert.selector;
import java.io.IOException;
import org.bouncycastle.asn1.ASN1Encoding;
import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
import org.bouncycastle.util.Pack;
class MSOutlookKeyIdCalculator
{
// This is less than ideal, but it seems to be the best way of supporting this... | apache-2.0 |
smartan/lucene | src/main/java/org/apache/lucene/analysis/util/AnalysisSPILoader.java | 5322 | package org.apache.lucene.analysis.util;
/*
* 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... | apache-2.0 |
theoweiss/openhab2 | bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/PowermaxBindingConstants.java | 2871 | /**
* 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 |
clinique/openhab2 | bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/protocol/SetDimAbsoluteRequest.java | 1951 | /**
* 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 |
fictionalfridge/shattered-pixel-dungeon | src/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Entanglement.java | 2360 | /*
* 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 |
robertoschwald/cas | api/cas-server-core-api-audit/src/main/java/org/apereo/cas/audit/AuditTrailExecutionPlan.java | 999 | package org.apereo.cas.audit;
import org.apereo.inspektr.audit.AuditActionContext;
import org.apereo.inspektr.audit.AuditTrailManager;
import java.time.LocalDate;
import java.util.List;
import java.util.Set;
/**
* This is {@link AuditTrailExecutionPlan}.
*
* @author Misagh Moayyed
* @since 5.3.0
*/
public inter... | apache-2.0 |
deltaprojects/druid | extendedset/src/main/java/org/apache/druid/extendedset/intset/EmptyIntIterator.java | 1478 | /*
* 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 |
lburgazzoli/apache-camel | platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java | 3839 | /**
* 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 |
mxm/incubator-beam | runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/DataflowWorkExecutor.java | 1351 | /*
* 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 |
gwtbootstrap3/gwtbootstrap3 | gwtbootstrap3/src/main/java/org/gwtbootstrap3/client/ui/base/button/package-info.java | 701 | package org.gwtbootstrap3.client.ui.base.button;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 - 2014 GwtBootstrap3
* %%
* 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 |
propene/presto | presto-parser/src/main/java/com/facebook/presto/sql/tree/Prepare.java | 2348 | /*
* 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 |
suthat/signal | vendor/mysql-connector-java-5.1.26/src/com/mysql/jdbc/ByteArrayRow.java | 8491 | /*
Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it ... | apache-2.0 |
ruwany/carbon-device-mgt | components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/src/main/java/org/wso2/carbon/apimgt/webapp/publisher/config/APIResourceManagementException.java | 309 | package org.wso2.carbon.apimgt.webapp.publisher.config;
public class APIResourceManagementException extends Exception {
private static final long serialVersionUID = -3151279311929070297L;
public APIResourceManagementException(String msg, Exception nestedEx) {
super(msg, nestedEx);
}
}
| apache-2.0 |
michaelgallacher/intellij-community | plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsCheckinHandlerFactory.java | 2645 | /*
* 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 |
hurricup/intellij-community | platform/platform-impl/src/com/intellij/openapi/wm/impl/status/StatusBarUI.java | 2790 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
jk1/intellij-community | java/structuralsearch-java/src/com/intellij/structuralsearch/impl/matcher/predicates/FormalArgTypePredicate.java | 1283 | /*
* 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 |
guorendong/iridium-browser-ubuntu | chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelObserver.java | 3080 | // Copyright 2014 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.tabmodel;
import org.chromium.chrome.browser.Tab;
import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType;... | bsd-3-clause |
adamkalmus/motech | platform/mds/mds-test-bundle/src/main/java/org/motechproject/mds/test/service/manytomany/ProductDataService.java | 453 | package org.motechproject.mds.test.service.manytomany;
import org.motechproject.mds.annotations.Lookup;
import org.motechproject.mds.annotations.LookupField;
import org.motechproject.mds.service.MotechDataService;
import org.motechproject.mds.test.domain.manytomany.Product;;
public interface ProductDataService exten... | bsd-3-clause |
jasonweng/android | appMobiLib/src/com/appMobi/appMobiLib/AppMobiAnalytics.java | 8899 | package com.appMobi.appMobiLib;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collec... | mit |
TimurTarasenko/actor-platform | actor-apps/app-android/src/main/java/im/actor/images/ops/ImageScaling.java | 6594 | package im.actor.images.ops;
import android.graphics.*;
import im.actor.images.common.WorkCache;
import static im.actor.images.ops.ImageDrawing.*;
/**
* Scaling images effectively with keeping good quality.
*
* @author Stepan ex3ndr Korshakov me@ex3ndr.com
*/
public class ImageScaling {
/**
* Scaling b... | mit |
mohlerm/hotspot_cached_profiles | src/jdk.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/InvalidInstalledCodeException.java | 1310 | /*
* 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 |
FauxFaux/jdk9-jdk | src/java.base/share/classes/java/security/cert/PolicyQualifierInfo.java | 6754 | /*
* Copyright (c) 2000, 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 ... | gpl-2.0 |
jocelynthode/TextSecure | src/org/thoughtcrime/securesms/service/RegistrationService.java | 15468 | package org.thoughtcrime.securesms.service;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Binder;
import android.os.Handler;
import android.os.IBinder;
import android.util.Log;
... | gpl-3.0 |
digital-abyss/curator | curator-examples/src/main/java/discovery/InstanceDetails.java | 1456 | /**
* 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 |
cleliameneghin/sling | contrib/extensions/distribution/core/src/test/java/org/apache/sling/distribution/monitor/impl/ForwardDistributionAgentMBeanTest.java | 3984 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
apache/flink | flink-core/src/test/java/org/apache/flink/util/ArrayUtilsTest.java | 2126 | /*
* 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 |
tvomf/appinventor-mapps | appinventor/components/src/com/google/appinventor/components/runtime/SoundRecorder.java | 8379 | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import com.google.appinventor.... | apache-2.0 |
sanethd/product-as | modules/samples/product/Chad/src/org/wso2/appserver/sample/chad/data/ChadPollResult.java | 2258 | /*
* Copyright 2005-2007 WSO2, Inc. (http://wso2.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... | apache-2.0 |
irudyak/ignite | modules/geospatial/src/test/java/org/apache/ignite/testsuites/GeoSpatialIndexingTestSuite.java | 1526 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
zstackorg/zstack | test/src/test/java/org/zstack/test/storage/backup/TestAllocateBackupStorage3.java | 2423 | package org.zstack.test.storage.backup;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.zstack.core.Platform;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.componentloader.ComponentLoader;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.header.me... | apache-2.0 |
core9/closure-templates | src/impl/java/com/google/template/soy/SoyModule.java | 2866 | /*
* Copyright 2009 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 |
xkollar/spacewalk | java/code/src/com/redhat/rhn/domain/kickstart/KickstartPackage.java | 5119 | /**
* Copyright (c) 2009--2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | gpl-2.0 |
fjy/druid | processing/src/test/java/io/druid/query/timeboundary/TimeBoundaryQueryTest.java | 4859 | /*
* 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 |
irudyak/ignite | modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java | 26565 | /*
* 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 |
strapdata/elassandra | server/src/test/java/org/elasticsearch/index/query/SpanTermQueryBuilderTests.java | 5998 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
os890/deltaspike-vote | deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/InitializedLiteral.java | 1262 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | apache-2.0 |
callmeyan/lemon | src/main/java/com/mossle/ext/MultipartHandler.java | 3091 | package com.mossle.ext;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.web.multipart.MultipartFile;
import org... | apache-2.0 |
bitti/voldemort | src/java/voldemort/client/rebalance/task/StealerBasedRebalanceTask.java | 4789 | /*
* Copyright 2013 LinkedIn, 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 |
thomasdarimont/keycloak | testsuite/integration-arquillian/tests/other/springboot-tests/src/main/java/org/keycloak/testsuite/springboot/SpringAdminPage.java | 471 | package org.keycloak.testsuite.springboot;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class SpringAdminPage extends AbstractSpringbootPage {
@FindBy(className = "test")
private WebElement testDiv;
public static final String PAGE_TITLE = "springboot admin pag... | apache-2.0 |
wakashige/bazel | src/main/java/com/google/devtools/build/lib/packages/EnvironmentGroup.java | 12087 | // 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 |
hizhangqi/jmeter-1 | src/components/org/apache/jmeter/control/ForeachController.java | 8665 | /*
* 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 |
vanta/gdata-java-client | java/sample/gbase/cmdline/GetMediaCommand.java | 1357 | /* Copyright (c) 2007 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 |
rhusar/undertow | core/src/main/java/io/undertow/server/ConnectorStatistics.java | 2212 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | apache-2.0 |
goodwinnk/intellij-community | java/java-tests/testData/inspection/dataFlow/fixture/KeepComments_after.java | 273 | // "Simplify boolean expression" "true"
class A {
public static void m(boolean fullSearch, boolean partialSearch) {
if (!partialSearch) {
return;
}
// comment
String str
= fullSearch ? "str1"
: "str2 " + "str3";
}
} | apache-2.0 |
gpolitis/jitsi | src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java | 9612 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty 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.or... | apache-2.0 |
martinstuga/elasticsearch | core/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramAggregator.java | 9668 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
yangcwGIT/jstorm | jstorm-core/src/main/java/com/alibaba/jstorm/container/cgroup/CgroupCoreFactory.java | 3072 | /**
* 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/main/java/org/camunda/bpm/engine/rest/AuthorizationRestService.java | 2439 | /* 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 |
mbroadst/debian-qpid-cpp-old | proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/PropertiesType.java | 6304 |
/*
*
* 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 |
mgherghe/gateway | transport/wsn/src/test/java/org/kaazing/gateway/transport/wsn/autobahn/framing/FramingTextMessagesIT.java | 3302 | /**
* Copyright 2007-2016, Kaazing Corporation. 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 require... | apache-2.0 |
TomyLobo/Slick | src/main/java/org/newdawn/slick/geom/ShapeRenderer.java | 12251 | package org.newdawn.slick.geom;
import org.newdawn.slick.Image;
import org.newdawn.slick.ShapeFill;
import org.newdawn.slick.opengl.Texture;
import org.newdawn.slick.opengl.TextureImpl;
import org.newdawn.slick.opengl.renderer.LineStripRenderer;
import org.newdawn.slick.opengl.renderer.Renderer;
import org.newdawn.sli... | bsd-3-clause |