code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package org.wso2.carbon.identity.application.authentication.framework;
import java.io.Serializable;
public abstract class AuthenticatorStateInfo implements Serializable {
}
| maheshika/carbon-identity | components/identity/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/AuthenticatorStateInfo.java | Java | apache-2.0 | 176 |
/*
* Copyright (c) 2005-2013, 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.... | susinda/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/utils/SequenceAdminServiceClient.java | Java | apache-2.0 | 4,198 |
// 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.codeInsight.daemon.impl;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.psi.PsiFil... | siosio/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/TrafficLightRendererContributor.java | Java | apache-2.0 | 809 |
/*
* Copyright 2004 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... | jimmytuc/closure-compiler | src/com/google/javascript/jscomp/RenameProperties.java | Java | apache-2.0 | 15,129 |
/*
* Copyright (c) 2010, 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
*
* ... | sameerak/carbon-registry | components/registry/org.wso2.carbon.registry.social.api/src/main/java/org/wso2/carbon/registry/social/api/people/userprofile/model/BodyType.java | Java | apache-2.0 | 4,100 |
/*
* 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 ... | FauxFaux/jdk9-jdk | src/jdk.security.jgss/share/classes/com/sun/security/jgss/GSSUtil.java | Java | gpl-2.0 | 3,283 |
package org.rstudio.core.client.cellview;
import com.google.gwt.dom.client.Style;
import com.google.gwt.user.client.ui.SplitLayoutPanel;
import com.google.gwt.user.client.ui.Widget;
// In the version of GWT currently used, the splitter doesn't hide when the
// associated child is hidden. This is fixed in later releas... | jar1karp/rstudio | src/gwt/src/org/rstudio/core/client/cellview/AutoHidingSplitLayoutPanel.java | Java | agpl-3.0 | 1,431 |
package org.apache.solr.search;
/*
* 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... | yida-lxw/solr-5.3.1 | solr/core/src/java/org/apache/solr/search/NoOpRegenerator.java | Java | apache-2.0 | 1,404 |
/*
* 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... | asedunov/intellij-community | java/java-impl/src/com/intellij/refactoring/actions/TypeCookAction.java | Java | apache-2.0 | 1,747 |
/**
* Licensed to4the 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");
*... | MeiSheng/aries | samples/ariestrader/modules/ariestrader-api/src/main/java/org/apache/aries/samples/ariestrader/api/TradeServiceUtilities.java | Java | apache-2.0 | 2,654 |
/*
* [The "BSD license"]
* Copyright (c) 2012 Terence Parr
* Copyright (c) 2012 Sam Harwell
* 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... | sidhart/antlr4 | tool/src/org/antlr/v4/parse/ToolANTLRLexer.java | Java | bsd-3-clause | 2,309 |
/*
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | rokn/Count_Words_2015 | testing/droolsjbpm-integration-master/droolsjbpm-integration-examples/src/main/java/org/drools/examples/conway/patterns/Pulsar.java | Java | mit | 1,545 |
package de.vogella.android.ownservice.messenger;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import android.app.Activity;
import android.app.Service;
import android.content.Intent;
import android.o... | HaiderAliG/codeexamples-android | de.vogella.android.ownservice.messenger/src/de/vogella/android/ownservice/messenger/DownloadServiceMessenger.java | Java | epl-1.0 | 3,184 |
import java.io.File;
import java.io.FileReader;
import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import model.HealthProfile;
import model.Person;
import dao.PeopleStore;
public class HealthProfileReader {
public static Peop... | orlera/introsde | lab04/Examples/src/HealthProfileReader.java | Java | gpl-3.0 | 938 |
/*
* Copyright 2016 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Vizaxo/Terasology | engine/src/main/java/org/terasology/rendering/dag/WireframeTrigger.java | Java | apache-2.0 | 2,106 |
/**
* 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... | mgherghe/gateway | service/spi/src/test/java/org/kaazing/gateway/service/test/CreateServiceTest.java | Java | apache-2.0 | 1,297 |
package cz.metacentrum.perun.notif.dto;
import cz.metacentrum.perun.notif.enums.PerunNotifTypeOfReceiver;
/**
* Dto holds data for one email message.
*/
public class PerunNotifEmailMessageToSendDto {
//Contains message send by email
private String message;
//Email address of receiver
private String receiver;
... | martin-kuba/perun | perun-notification/src/main/java/cz/metacentrum/perun/notif/dto/PerunNotifEmailMessageToSendDto.java | Java | bsd-2-clause | 1,011 |
package sagan.support;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.ResourcePatternResolver;
import org.springframework.stereotype.Se... | gregturn/sagan | sagan-common/src/main/java/sagan/support/StaticPagePathFinder.java | Java | bsd-3-clause | 2,135 |
/*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.slm;
import org.elasticsearch.act... | GlenRSmith/elasticsearch | x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/SLMUsageTransportAction.java | Java | apache-2.0 | 2,244 |
/*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.repositories.blobstore.testkit;
import ... | GlenRSmith/elasticsearch | x-pack/plugin/snapshot-repo-test-kit/src/main/java/org/elasticsearch/repositories/blobstore/testkit/RepositoryPerformanceSummary.java | Java | apache-2.0 | 6,464 |
/*
* 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... | GlenRSmith/elasticsearch | server/src/test/java/org/elasticsearch/indices/recovery/PeerRecoverySourceServiceTests.java | Java | apache-2.0 | 3,272 |
/*
Copyright (c) Microsoft Open Technologies, Inc.
All Rights Reserved
Apache 2.0 License
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
... | paulbatum/azure-mobile-services | sdk/android/test/sdk.testapp/src/main/java/com/microsoft/windowsazure/mobileservices/sdk/testapp/framework/filters/ServiceFilterRequestMock.java | Java | apache-2.0 | 3,594 |
/*
* 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... | bhatvv/jitsi | src/net/java/sip/communicator/service/replacement/smilies/Smiley.java | Java | apache-2.0 | 1,814 |
package com.puppycrawl.tools.checkstyle.coding;
public class InputNestedTryDepth
{
void foo() {
// nesting == 0
try {
} catch (Exception e) {
}
// nesting == 1
try {
try {
} catch (Exception e) {
}
} catch (Exception e) {
... | zofuthan/checkstyle-1 | src/test/resources/com/puppycrawl/tools/checkstyle/coding/InputNestedTryDepth.java | Java | lgpl-2.1 | 888 |
package com.puppycrawl.tools.checkstyle.coding;
public class InputIllegalCatchCheck2 {
public void foo() throws OneMoreException {
try {
foo1();
} catch (RuntimeException | SQLException e) {}
try {
foo1();
} catch (RuntimeException | SQLException | OneMoreException... | zofuthan/checkstyle-1 | src/test/resources/com/puppycrawl/tools/checkstyle/coding/InputIllegalCatchCheck2.java | Java | lgpl-2.1 | 762 |
/*
* 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 ... | cchang738/drill | exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SqlPatternConstantMatcher.java | Java | apache-2.0 | 1,566 |
package javax.crypto;
import java.io.*;
import java.security.*;
/**
* This class enables a programmer to create an object and protect its
* confidentiality with a cryptographic algorithm.
*
* <p>
* Given any Serializable object, one can create a SealedObject
* that encapsulates the original object, in serialize... | GaloisInc/hacrypto | src/Java/BouncyCastle/BouncyCastle-1.50/jce/src/main/java/javax/crypto/SealedObject.java | Java | bsd-3-clause | 10,446 |
/*
* Copyright (c) 2004, 2011, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/util/StringArray.java | Java | mit | 4,337 |
/*
* Copyright (C) 2008 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... | JuudeDemos/android-sdk-20 | src/android/text/SpannedTest.java | Java | apache-2.0 | 7,273 |
/*
* 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 ... | likaiwalkman/cassandra | src/java/org/apache/cassandra/service/MigrationManager.java | Java | apache-2.0 | 21,697 |
/**
*
* Copyright 2014 Vyacheslav Blinov
*
* 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 ... | Tibo-lg/Smack | smack-debug-slf4j/src/main/java/org/jivesoftware/smackx/debugger/slf4j/SLF4JRawXmlListener.java | Java | apache-2.0 | 1,212 |
/**
* Copyright 2014 XCL-Charts
*
* 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... | xcltapestry/XCL-Charts | lib/src/main/java/org/xclcharts/renderer/info/LegendRender.java | Java | apache-2.0 | 1,258 |
/*
* 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... | paplorinc/intellij-community | plugins/svn4idea/src/org/jetbrains/idea/svn/properties/PropertyClient.java | Java | apache-2.0 | 2,178 |
/*
* Copyright (c) 2005, 2008, 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 ... | rokn/Count_Words_2015 | testing/openjdk/jdk/src/share/classes/javax/management/openmbean/CompositeDataInvocationHandler.java | Java | mit | 10,285 |
/*
* Copyright (c) 2007, 2015, 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 ... | md-5/jdk10 | test/jdk/javax/sound/midi/Gervill/SoftSynthesizer/GetDefaultSoundbank.java | Java | gpl-2.0 | 2,012 |
/*
* 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 und... | frohoff/jdk8u-jdk | src/share/classes/com/sun/org/apache/xml/internal/security/c14n/Canonicalizer.java | Java | gpl-2.0 | 14,754 |
// Copyright 2008-2010 Victor Iacoban
//
// 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... | asedunov/intellij-community | plugins/hg4idea/src/org/zmlx/hg4idea/command/HgResolveCommand.java | Java | apache-2.0 | 3,808 |
/*
* Copyright 2012-2019 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... | tiarebalbi/spring-boot | spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/package-info.java | Java | apache-2.0 | 756 |
/* 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... | nagyistoce/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/util/xml/Parser.java | Java | apache-2.0 | 1,165 |
/*
* 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... | kayelau/spring-boot | spring-boot-actuator-docs/src/restdoc/java/org/springframework/boot/actuate/hypermedia/EndpointDocumentation.java | Java | apache-2.0 | 6,026 |
/*
* Copyright 2011 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | rokn/Count_Words_2015 | testing/drools-master/drools-compiler/src/main/java/org/drools/compiler/lang/api/impl/RuleDescrBuilderImpl.java | Java | mit | 3,677 |
/*
* Copyright 2015 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Vizaxo/Terasology | engine/src/main/java/org/terasology/engine/Observer.java | Java | apache-2.0 | 837 |
package com.marshalchen.common.uimodule.tileView.animation.easing;
public abstract class EasingEquation {
public double compute(double t, double b, double c, double d){
return c * ( t / d ) + b;
}
}
| cymcsg/UltimateAndroid | deprecated/UltimateAndroidNormal/UltimateAndroidUi/src/com/marshalchen/common/uimodule/tileView/animation/easing/EasingEquation.java | Java | apache-2.0 | 204 |
package org.apache.maven.plugin.changelog.stubs;
/*
* 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 Ap... | mcculls/maven-plugins | maven-changelog-plugin/src/test/java/org/apache/maven/plugin/changelog/stubs/ScmManagerStub.java | Java | apache-2.0 | 16,376 |
/*
*
* 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"); y... | wso2/andes | modules/andes-core/client/src/main/java/org/wso2/andes/client/transport/AMQNoTransportForProtocolException.java | Java | apache-2.0 | 1,919 |
/*******************************************************************************
* Copyright (c) 2013, 2014 Lectorius, Inc.
* Authors:
* Vijay Pandurangan (vijayp@mitro.co)
* Evan Jones (ej@mitro.co)
* Adam Hilss (ahilss@mitro.co)
*
*
* This program is free software: you can redistribute it and/or modify
*... | imrehg/mitro | mitro-core/java/server/src/co/mitro/core/servlets/EditSecret.java | Java | gpl-3.0 | 2,410 |
/*
* Copyright 2010-2015 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... | mahaliachante/aws-sdk-java | aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/UpdateSnapshotScheduleRequest.java | Java | apache-2.0 | 12,083 |
/*
* Copyright (c) 2006, 2011, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/sun/misc/ClassLoaderUtil.java | Java | mit | 7,738 |
//
// typica - A client library for Amazon Web Services
// Copyright (C) 2007 Xerox Corporation
//
// 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/li... | jonnyzzz/maragogype | trunk/java/com/xerox/amazonws/ec2/DescribeImageAttributeResult.java | Java | apache-2.0 | 1,957 |
/**
* Copyright (c) 2003-2016 The Apereo 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://opensource.org/licenses/ecl2
*
* Unless requ... | OpenCollabZA/sakai | content-review/api/src/main/java/org/sakaiproject/contentreview/exception/ContentReviewProviderException.java | Java | apache-2.0 | 1,900 |
/*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | HappyYang/stetho | stetho/src/main/java/com/facebook/stetho/websocket/WriteHandler.java | Java | bsd-3-clause | 960 |
/*
* Copyright 2010-2015 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... | nmelnick/aws-sdk-java | aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/CompleteMultipartUploadResult.java | Java | apache-2.0 | 7,213 |
/*
* 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 ... | Wesley-Lawrence/nifi | nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/CountersDTO.java | Java | apache-2.0 | 2,005 |
/*
* Copyright 2010-2015 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... | mahaliachante/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/DeleteHostedZoneRequest.java | Java | apache-2.0 | 5,233 |
/*
* 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 ... | mduerig/jackrabbit-oak | oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/HiddenTreeTest.java | Java | apache-2.0 | 3,370 |
/* RemoteURLLoader.java -- a URLLoader for "remote" objects
Copyright (C) 2006 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 published by
the Free Software Foundation; ... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/gnu/java/net/loader/RemoteURLLoader.java | Java | bsd-3-clause | 3,429 |
/* ParsePosition.java -- Keep track of position while parsing.
Copyright (C) 1998, 1999, 2001, 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 published by
the Free... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/java/text/ParsePosition.java | Java | bsd-3-clause | 4,692 |
/*
* Copyright (c) 2010, 2011, 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 ... | rokn/Count_Words_2015 | testing/openjdk/jdk/src/share/classes/sun/security/ssl/SSLAlgorithmConstraints.java | Java | mit | 16,540 |
/**
* 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... | CandleCandle/camel | components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/JavaSpaceEndpoint.java | Java | apache-2.0 | 4,245 |
/*
This Java source file was generated by test-to-java.xsl
and is a derived work from the source document.
The source document contained the following notice:
Copyright (c) 2001-2003 World Wide Web Consortium,
(Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, K... | openweave/openweave-core | third_party/android/platform-libcore/android-platform-libcore/dom/src/test/java/org/w3c/domts/level1/core/nodeparentnode.java | Java | apache-2.0 | 3,157 |
/*
* 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... | robin13/elasticsearch | libs/nio/src/test/java/org/elasticsearch/nio/InboundChannelBufferTests.java | Java | apache-2.0 | 10,103 |
/*
* 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 ... | markusweimer/incubator-reef | lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/launch/ProcessType.java | Java | apache-2.0 | 965 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | wseyler/pentaho-kettle | integration/src/it/java/org/pentaho/di/imp/rule/JobHasNoDisabledHopsImportRuleIT.java | Java | apache-2.0 | 3,741 |
/*
* Copyright (c) 2001, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/javax/accessibility/AccessibleExtendedTable.java | Java | mit | 2,976 |
/*
* Copyright (c) 2002, 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... | rokn/Count_Words_2015 | testing/openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/IndirectAddress.java | Java | mit | 1,143 |
/*
* 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... | akosyakov/intellij-community | platform/diff-api/src/com/intellij/diff/fragments/LineFragmentImpl.java | Java | apache-2.0 | 3,634 |
class TryWithoutFinally {
static class Resource implements AutoCloseable {
public void close() throws Exception { }
boolean find() { throw new UnsupportedOperationException(); }
}
void test() throws Exception {
boolean found = <warning descr="Variable 'found' initializer 'false' is redundant">false</... | hurricup/intellij-community | java/java-tests/testData/inspection/defUse/TryWithoutFinally.java | Java | apache-2.0 | 436 |
/*******************************************************************************
* Signavio Core Components
* Copyright (C) 2012 Signavio GmbH
*
* 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... | lovaraj/signavio-core-components | platform extensions/jpdl/src/com/signavio/warehouse/business/util/jpdl4/UserCode.java | Java | gpl-3.0 | 2,135 |
/*
* Copyright (C) 2007 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... | AOSP-JF/platform_external_guava | guava/src/com/google/common/io/Closeables.java | Java | apache-2.0 | 3,296 |
/*
* 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 ... | Jollyplum/cassandra | src/java/org/apache/cassandra/db/marshal/TimestampType.java | Java | apache-2.0 | 5,120 |
/*
* Copyright 2006-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | raoghuge/spring-security-oauth | spring-security-oauth2/src/test/java/org/springframework/security/oauth2/provider/endpoint/WhitelabelApprovalEndpointTests.java | Java | apache-2.0 | 4,777 |
/*
* 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 ... | Guavus/phoenix | phoenix-core/src/main/java/org/apache/phoenix/expression/aggregator/UnsignedIntSumAggregator.java | Java | apache-2.0 | 1,358 |
// Copyright 2015 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.mojo.application;
import org.chromium.mojo.bindings.InterfaceRequest;
import org.chromium.mojo.system.Core;
import org.chromium.mojo... | Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/mojo/application/public/java/src/org/chromium/mojo/application/ApplicationImpl.java | Java | mit | 2,410 |
/*
* 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... | akosyakov/intellij-community | plugins/junit/src/com/intellij/execution/junit2/ui/JUnitTestTreeView.java | Java | apache-2.0 | 1,637 |
public class J_2 {
public static void j() {
StringSearch.search("test");
StringSearch.searchC("test");
}
}
| som-snytt/dotty | tests/run/t3452b/J_2.java | Java | apache-2.0 | 119 |
/*
* 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... | caot/intellij-community | xml/impl/src/com/intellij/codeInsight/daemon/impl/analysis/InsertRequiredAttributeFix.java | Java | apache-2.0 | 6,670 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2000-2016. 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
*
... | CloudI/CloudI | src/api/java/com/ericsson/otp/erlang/OtpErlangMap.java | Java | mit | 10,647 |
/*
* 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... | rokn/Count_Words_2015 | testing/openjdk2/langtools/test/tools/javac/processing/model/element/8009367/p/QQ.java | Java | mit | 1,106 |
/*
* 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... | idea4bsd/idea4bsd | platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebugProcessConfiguratorStarter.java | Java | apache-2.0 | 934 |
package io.dropwizard.jersey;
import com.codahale.metrics.MetricRegistry;
import io.dropwizard.jersey.dummy.DummyResource;
import io.dropwizard.logging.BootstrapLogging;
import org.glassfish.jersey.test.JerseyTest;
import org.glassfish.jersey.test.TestProperties;
import org.junit.Test;
import javax.ws.rs.core.Applica... | mulloymorrow/dropwizard | dropwizard-jersey/src/test/java/io/dropwizard/jersey/AsyncServletTest.java | Java | apache-2.0 | 1,082 |
package hudson.scm;
import hudson.model.AbstractProject;
import hudson.model.TaskListener;
import hudson.Launcher;
import hudson.FilePath;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import java.io.Serializable;
/**
* Immutable object that represents the result of {@linkplain SCM#poll(Abs... | tangkun75/jenkins | core/src/main/java/hudson/scm/PollingResult.java | Java | mit | 4,237 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other 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 License at
*
* http://www.apach... | mbaluch/keycloak | server-spi/src/main/java/org/keycloak/provider/ProviderEventListener.java | Java | apache-2.0 | 890 |
/*
* 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 ... | mheffner/cassandra-1 | src/java/org/apache/cassandra/thrift/ThriftSessionManager.java | Java | apache-2.0 | 3,005 |
/**
* 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/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | sintjuri/openmrs-core | api/src/main/java/org/openmrs/api/impl/SerializationServiceImpl.java | Java | mpl-2.0 | 5,250 |
/*
* 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.
*
* This code is distributed in the hope that it will be ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/DelayOverflow.java | Java | mit | 6,846 |
/*
* Copyright (c) 2003, 2004, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/sun/management/snmp/jvminstr/JvmThreadingImpl.java | Java | mit | 13,539 |
/*
* Copyright (c) 2003, 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... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/javax/management/remote/mandatory/connection/GetConnectionTest.java | Java | mit | 3,417 |
/*
* Copyright (c) 2005, 2006, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/com/sun/java/swing/plaf/windows/TMSchema.java | Java | mit | 20,409 |
/**
* 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... | CandleCandle/camel | components/camel-mqtt/src/test/java/org/apache/camel/component/mqtt/MQTTProducerReconnectTest.java | Java | apache-2.0 | 3,573 |
/*
* 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... | kuzemchik/presto | presto-cassandra/src/test/java/com/facebook/presto/cassandra/CassandraTestingUtils.java | Java | apache-2.0 | 6,169 |
/*
* 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 no... | yhnishi/cassandra | tools/stress/src/org/apache/cassandra/stress/generate/SeedManager.java | Java | apache-2.0 | 8,446 |
/**
* 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... | Gerguis/openhab2 | bundles/binding/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/converter/StateCommandConverter.java | Java | epl-1.0 | 1,050 |
/**
* 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... | Greblys/openhab | bundles/binding/org.openhab.binding.tellstick/src/main/java/org/openhab/binding/tellstick/internal/device/iface/BellDeviceIntf.java | Java | epl-1.0 | 930 |
/*
* 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... | asedunov/intellij-community | python/src/com/jetbrains/python/psi/impl/blockEvaluator/package-info.java | Java | apache-2.0 | 830 |
/*
* Copyright (c) 2006, 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... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/javax/management/Introspector/SqeDescriptorKey.java | Java | mit | 1,475 |
/*
* Copyright (c) 2004, 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... | rokn/Count_Words_2015 | testing/openjdk2/langtools/test/tools/javac/capture/Capture1.java | Java | mit | 1,762 |
/*
* 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... | asedunov/intellij-community | platform/lang-impl/src/com/intellij/ide/todo/HighlightedRegionProvider.java | Java | apache-2.0 | 817 |
/*
* Copyright (C) 2008 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... | MoSync/MoSync | tools/android/dx/src/com/android/dx/command/UsageException.java | Java | gpl-2.0 | 871 |
/**
* 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... | coderczp/camel | components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreProducer.java | Java | apache-2.0 | 6,027 |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation file... | darkoverlordofdata/asteroids | web/frameworks/runtime-src/proj.androidstudio/libcocos2dx/src/main/java/org/cocos2dx/lib/Cocos2dxEditBoxDialog.java | Java | mit | 13,772 |