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 azkaban.webapp.servlet;
import static org.junit.Assert.assertTrue;
import org.apache.velocity.VelocityContext;
import org.junit.Test;
import azkaban.fixture.VelocityContextTestUtil;
import azkaban.fixture.VelocityTemplateTestUtil;
/**
* Test flow execution page.
*/
public class ExecutionFlowViewTest {
... | binhnv/azkaban | azkaban-webserver/src/test/java/azkaban/webapp/servlet/ExecutionFlowViewTest.java | Java | apache-2.0 | 1,353 |
/*
* 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 ... | agura/incubator-ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/IgnitePartitionedQueueNoBackupsTest.java | Java | apache-2.0 | 3,277 |
/*
* Copyright (c) 2013, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, 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.org/licenses/LICE... | aglne/oryx | common/src/main/java/com/cloudera/oryx/common/collection/LongSet.java | Java | apache-2.0 | 11,513 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | romartin/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-client/src/main/java/org/kie/workbench/common/stunner/bpmn/client/components/monaco_editor/MonacoEditorLanguage.java | Java | apache-2.0 | 3,969 |
/*
* Copyright 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 applica... | Percussion-Software/spring-social-google | spring-social-google/src/main/java/org/springframework/social/google/api/plus/Person.java | Java | apache-2.0 | 4,017 |
/*
* Copyright (c) 2012-2015 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distributi... | dant3/moquette | broker/src/test/java/org/eclipse/moquette/server/ServerIntegrationFuseTest.java | Java | apache-2.0 | 10,905 |
/**
* 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... | wisebaldone/incubator-wave | wave/src/main/java/org/waveprotocol/wave/model/document/operation/algorithm/OperationNormalizer.java | Java | apache-2.0 | 1,278 |
/**
* 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... | vega113/incubator-wave | wave/src/main/java/org/waveprotocol/examples/robots/echoey/Echoey.java | Java | apache-2.0 | 5,684 |
/*******************************************************************************
* Copyright (c) Intel Corporation
* Copyright (c) 2017
*
* 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
... | arvindn05/osc-core | osc-server/src/main/java/org/osc/core/broker/rest/client/RestBaseClient.java | Java | apache-2.0 | 21,739 |
/*
* ModeShape (http://www.modeshape.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | flownclouds/modeshape | web/modeshape-web-explorer/src/main/java/org/modeshape/web/shared/Acl.java | Java | apache-2.0 | 1,477 |
package org.apereo.cas.web.flow;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer;
import lombok.val;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.webflow.definition.registry.FlowDefi... | apereo/cas | support/cas-server-support-saml-idp-discovery/src/main/java/org/apereo/cas/web/flow/SamlIdentityProviderDiscoveryWebflowConfigurer.java | Java | apache-2.0 | 1,525 |
/*
* Copyright 2015-2017 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://w... | hawkular/hawkular-btm | server/api/src/main/java/org/hawkular/apm/server/api/task/ProcessingUnit.java | Java | apache-2.0 | 6,020 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.box;
import java.net.URISyntaxException;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.camel.spi.EndpointUriFactory;
/**
... | nikhilvibhav/camel | components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEndpointUriFactory.java | Java | apache-2.0 | 5,042 |
/*
* 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 | platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/MatchContext.java | Java | apache-2.0 | 3,449 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2021 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | kingthorin/zap-extensions | addOns/fuzz/src/test/java/org/zaproxy/zap/extension/fuzz/payloads/generator/FileStringPayloadGeneratorUnitTest.java | Java | apache-2.0 | 9,120 |
package org.apache.lucene.store;
/*
* 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, Versio... | q474818917/solr-5.2.0 | lucene/core/src/test/org/apache/lucene/store/TestWindowsMMap.java | Java | apache-2.0 | 3,201 |
/*
* 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 ... | wildwind/incubator-rocketmq | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettySystemConfig.java | Java | apache-2.0 | 2,428 |
/*
* 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.integration;
import org.apache.lucene.se... | jmluy/elasticsearch | x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/integration/FieldLevelSecurityTests.java | Java | apache-2.0 | 117,262 |
/*
* 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 u... | prestoncarman/vxquery | vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/json/LibjnProjectScalarEvaluatorFactory.java | Java | apache-2.0 | 1,697 |
/*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.security.cert;
import java.security.GeneralSecurityException;
/**
* An exception indica... | shun634501730/java_source_cn | src_en/java/security/cert/CertStoreException.java | Java | apache-2.0 | 2,852 |
/*
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.util;
import java.util.function.IntConsumer;
import java.util.stream.Collector;
/**
* A ... | shun634501730/java_source_cn | src_en/java/util/IntSummaryStatistics.java | Java | apache-2.0 | 4,786 |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.cashflow;
import com.opengamma.analytics.financial.instrument.FloatingReceiveCashFlowVisitor;
import com.opengamma.engine.value.ValueRequi... | jeorme/OG-Platform | projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/cashflow/FloatingReceiveCashFlowFunction.java | Java | apache-2.0 | 591 |
// Generated by xsd compiler for android/java
// DO NOT CHANGE!
package com.ebay.trading.api;
import java.io.Serializable;
import com.leansoft.nano.annotation.*;
import java.util.List;
/**
*
* Instructions on packaging/handling costs for combined payment.
*
*/
public class CalculatedHandlingDiscountType impleme... | bulldog2011/nano | sample/webservice/eBayDemoApp/src/com/ebay/trading/api/CalculatedHandlingDiscountType.java | Java | apache-2.0 | 971 |
package com.google.api.ads.dfp.jaxws.v201502;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for CreativeError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name=... | stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201502/CreativeErrorReason.java | Java | apache-2.0 | 4,447 |
package com.google.api.ads.dfp.jaxws.v201411;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* A {@code ContentMetadataKeyHierarchyLevel} represents one level in a
* {@link ContentMetadataK... | nafae/developer | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201411/ContentMetadataKeyHierarchyLevel.java | Java | apache-2.0 | 2,506 |
package org.motechproject.mds.domain;
import org.joda.time.DateTime;
import javax.jdo.annotations.Column;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.... | sebbrudzinski/motech | platform/mds/mds/src/main/java/org/motechproject/mds/domain/BundleFailureReport.java | Java | bsd-3-clause | 2,531 |
/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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 ... | gazarenkov/che-sketch | wsagent/che-core-api-git-shared/src/main/java/org/eclipse/che/api/git/shared/CloneRequest.java | Java | epl-1.0 | 2,595 |
/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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 ... | gazarenkov/che-sketch | plugins/plugin-maven/che-plugin-maven-server/src/main/java/org/eclipse/che/plugin/maven/server/core/MavenProjectListener.java | Java | epl-1.0 | 1,046 |
/**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | philomatic/smarthome | bundles/ui/org.eclipse.smarthome.ui.icon/src/main/java/org/eclipse/smarthome/ui/icon/AbstractResourceIconProvider.java | Java | epl-1.0 | 4,973 |
/******************************************************************************
* 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 *
... | neuroidss/adempiere | base/src/org/compiere/model/X_AD_ReplicationDocument.java | Java | gpl-2.0 | 6,690 |
/*
* This is the source code of Telegram for Android v. 5.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2018.
*/
package org.telegram.messenger;
import android.content.BroadcastReceiver;
imp... | Jamesits/Moegram | TMessagesProj/src/main/java/org/telegram/messenger/RefererReceiver.java | Java | gpl-2.0 | 693 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2015 VoltDB Inc.
*
* 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... | kumarrus/voltdb | tests/testprocs/org/voltdb_testprocs/regressionsuites/basecase/MultiRoundMixReadsAndWrites.java | Java | agpl-3.0 | 2,262 |
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | fxcebx/community-edition | projects/repository/source/java/org/alfresco/repo/forms/processor/FieldProcessor.java | Java | lgpl-3.0 | 1,068 |
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | nguyentienlong/community-edition | projects/repository/source/java/org/alfresco/repo/domain/control/ControlDAO.java | Java | lgpl-3.0 | 3,839 |
/*
* Copyright (C) 2005-2012 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | nguyentienlong/community-edition | modules/sharepoint/amp/source/java/org/alfresco/module/vti/web/actions/VtiWebDavActionExecutor.java | Java | lgpl-3.0 | 1,383 |
/**
* 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... | apurtell/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/placement/csmappingrule/MappingRuleValidationHelper.java | Java | apache-2.0 | 5,853 |
/*
* 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... | fabiofumarola/elasticsearch | src/main/java/org/elasticsearch/search/aggregations/metrics/InternalNumericMetricsAggregation.java | Java | apache-2.0 | 1,758 |
/*
* 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 agreed to... | CJstar/wire | wire-schema/src/test/java/com/squareup/wire/schema/internal/parser/ServiceElementTest.java | Java | apache-2.0 | 6,215 |
/*
* 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 ... | irudyak/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheStartOnJoinTest.java | Java | apache-2.0 | 8,694 |
/*
* Copyright (c) 2015, 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.org/... | laki88/product-mdm | modules/mobile-agents/windows/jax-rs/src/main/java/org/wso2/carbon/mdm/mobileservices/windows/common/util/Message.java | Java | apache-2.0 | 1,398 |
/*
* Copyright 2016-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | shs96c/buck | test/com/facebook/buck/util/zip/DeterministicManifestTest.java | Java | apache-2.0 | 5,934 |
/*
* Copyright (C) Tony Green, Litepal Framework 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 r... | treejames/LitePal | litepal/src/main/java/org/litepal/util/LogUtil.java | Java | apache-2.0 | 1,071 |
/**
* 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 ... | mdecourci/assertj-core | src/test/java/org/assertj/core/util/DateUtil_format_with_date_time_with_ms_format_Test.java | Java | apache-2.0 | 1,457 |
/*
* Copyright 2016 Mesosphere
*
* 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... | adobe-mds/dcos-cassandra-service | cassandra-commons/src/main/java/com/mesosphere/dcos/cassandra/common/tasks/upgradesstable/UpgradeSSTableTask.java | Java | apache-2.0 | 4,919 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | droolsjbpm/drools | drools-metric/src/main/java/org/drools/metric/phreak/PhreakBranchNodeMetric.java | Java | apache-2.0 | 1,858 |
/*
* Copyright 2012, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | aliosmanyuksel/show-java | app/src/main/java/org/jf/dexlib2/builder/instruction/BuilderInstruction22x.java | Java | apache-2.0 | 2,590 |
/*
* 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 ... | RyanMagnusson/cassandra | src/java/org/apache/cassandra/db/lifecycle/LogReplicaSet.java | Java | apache-2.0 | 9,160 |
/*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | s-gheldd/netty | common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java | Java | apache-2.0 | 19,693 |
/*
* Part of the CCNx Java Library.
*
* Copyright (C) 2008-2012 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
* This library is di... | MobileCloudNetworking/icnaas | mcn-ccn-router/ccnx-0.8.2/javasrc/src/main/org/ccnx/ccn/io/content/KeyValuePair.java | Java | apache-2.0 | 7,625 |
// 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 applicable ... | austinchic/Gerrit | gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/PatchTable.java | Java | apache-2.0 | 24,365 |
/**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this fil... | EArdeleanu/gateway | transport/spi/src/main/java/org/kaazing/gateway/transport/IoSessionAdapterEx.java | Java | apache-2.0 | 6,121 |
/*
* 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... | prestodb/presto | presto-verifier/src/main/java/com/facebook/presto/verifier/framework/QueryResult.java | Java | apache-2.0 | 1,575 |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | gmrodrigues/crate | blob/src/main/java/io/crate/blob/stats/BlobStats.java | Java | apache-2.0 | 2,966 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.actions.webhook;
import org.elasticse... | gingerwizard/elasticsearch | x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionTests.java | Java | apache-2.0 | 17,000 |
/**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file... | EArdeleanu/gateway | server/src/main/java/org/kaazing/gateway/server/util/io/IoServiceAdapterEx.java | Java | apache-2.0 | 1,747 |
/*
* Copyright 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 applic... | spring-cloud/spring-cloud-dataflow | spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/db/migration/postgresql/V1__Initial_Setup.java | Java | apache-2.0 | 9,967 |
/*
* 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/flink | flink-connectors/flink-connector-pulsar/src/test/java/org/apache/flink/connector/pulsar/testutils/runtime/container/PulsarContainerRuntime.java | Java | apache-2.0 | 5,801 |
/**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this fil... | EArdeleanu/gateway | transport/http/src/main/java/org/kaazing/gateway/transport/http/resource/impl/HttpCrossOriginJavaBridgeVerifier.java | Java | apache-2.0 | 1,769 |
/*
* 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 ... | smgoller/geode | geode-core/src/test/java/org/apache/geode/internal/size/SizeClassOnceObjectSizerJUnitTest.java | Java | apache-2.0 | 2,729 |
package net.sf.jabref.logic.util;
import net.sf.jabref.model.entry.BibEntry;
import net.sf.jabref.model.entry.FieldName;
import net.sf.jabref.model.entry.IdGenerator;
public class TestEntry {
public static BibEntry getTestEntry() {
BibEntry entry = new BibEntry(IdGenerator.next(), "article");
en... | motokito/jabref | src/main/java/net/sf/jabref/logic/util/TestEntry.java | Java | mit | 1,397 |
package net.mcft.copy.betterstorage.misc;
public final class EquipmentSlot {
public static final int HELD = 0;
public static final int HEAD = 4;
public static final int CHEST = 3;
public static final int LEGS = 2;
public static final int FEET = 1;
private EquipmentSlot() { }
}
| AnodeCathode/BetterStorage | src/main/java/net/mcft/copy/betterstorage/misc/EquipmentSlot.java | Java | mit | 297 |
package de.vogella.rcp.jfreechart.barchart;
import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
public ... | galang-pradhana/vogella | de.vogella.rcp.jfreechart.barchart/src/de/vogella/rcp/jfreechart/barchart/ApplicationWorkbenchWindowAdvisor.java | Java | epl-1.0 | 915 |
package de.vogella.geocoding.yahoo.test;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionExcep... | hosny1993/vogella | de.vogella.geocoding.germany/test/de/vogella/geocoding/yahoo/test/GeocodeGermanyParallel.java | Java | epl-1.0 | 2,968 |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2017.
*/
package org.telegram.ui.Cells;
import android.content.Context;
import android... | rchookan/parsigram | TMessagesProj/src/main/java/org/telegram/ui/Cells/GroupCreateUserCell.java | Java | gpl-2.0 | 7,702 |
/*
*
*
* Copyright 1990-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program 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 Soft... | mykmelez/pluotsorbet | java/jsr-082/com/sun/jsr082/bluetooth/BluetoothUrl.java | Java | gpl-2.0 | 21,361 |
/*
* Copyright (c) 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 Softwa... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jdi/EventQueue/remove/remove002/TestDescription.java | Java | gpl-2.0 | 2,097 |
import fi.helsinki.cs.tmc.edutestutils.Points;
import org.junit.Test;
import static org.junit.Assert.*;
import sun.tools.native2ascii.Main; // Requires tools.jar
@Points("toolsjar")
public class SimpleTest {
@Test
public void testToolsJar() throws Exception {
Main native2AsciiMain = new Main();
}
... | lalnuo/tmc-server | spec/fixtures/exercises/UsingToolsJar/test/SimpleTest.java | Java | gpl-2.0 | 322 |
/**
* This file is part of Graylog.
*
* Graylog 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.
*
* Graylog is distributed in t... | berkeleydave/graylog2-server | graylog2-shared/src/main/java/org/graylog2/shared/metrics/jersey2/ExceptionMeteredMetricsFilter.java | Java | gpl-3.0 | 2,623 |
/**
* Copyright (c) 2000-2005 Liferay, LLC. All rights reserved.
*
* 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
* t... | zhiqinghuang/core | src/com/liferay/portal/pwd/RegExpToolkit.java | Java | gpl-3.0 | 1,946 |
/**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | HossainKhademian/Studio3 | plugins/com.aptana.editor.xml/src/com/aptana/editor/xml/internal/XMLMergeViewer.java | Java | gpl-3.0 | 2,244 |
/*
* 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... | bhutchinson/kfs | kfs-purap/src/main/java/org/kuali/kfs/module/purap/businessobject/CreditMemoItem.java | Java | agpl-3.0 | 12,073 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.utils;
import java.lang.annotation.ElementType;
i... | emmanuelbernard/hibernate-ogm | core/src/test/java/org/hibernate/ogm/utils/SkipByGridDialect.java | Java | lgpl-2.1 | 1,086 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2007, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use... | gytis/narayana | qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server05.java | Java | lgpl-2.1 | 3,298 |
package org.molgenis.api.permissions;
import java.net.URI;
import org.apache.commons.lang3.StringUtils;
import org.molgenis.api.model.response.LinksResponse;
import org.molgenis.api.model.response.PageResponse;
import org.molgenis.api.model.response.PagedApiResponse;
import org.springframework.web.servlet.support.Serv... | dennishendriksen/molgenis | molgenis-api-permissions/src/main/java/org/molgenis/api/permissions/PermissionResponseUtils.java | Java | lgpl-3.0 | 2,606 |
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | ollie314/spring-security | samples/xml/openid/src/main/java/org/springframework/security/samples/openid/CustomUserDetailsService.java | Java | apache-2.0 | 3,822 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to anyone wishing to u... | nmcl/scratch | graalvm/transactions/fork/narayana/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/resources/TransactionalThread.java | Java | apache-2.0 | 2,692 |
/**
* 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... | mosoft521/curator | curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCacheSelector.java | Java | apache-2.0 | 2,167 |
/**
* 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... | siyuanh/apex-malhar | demos/mroperator/src/test/java/com/datatorrent/demos/mroperator/ReduceOperatorTest.java | Java | apache-2.0 | 2,881 |
/*
* 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")... | sardine/mina-ja | src/mina-core/src/test/java/org/apache/mina/util/Bar.java | Java | apache-2.0 | 1,376 |
/*
* 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... | gfyoung/elasticsearch | modules/reindex/src/test/java/org/elasticsearch/index/reindex/RestReindexActionTests.java | Java | apache-2.0 | 9,613 |
/*
* 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 ... | parthchandra/incubator-drill | exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/protocol/VectorContainerAccessor.java | Java | apache-2.0 | 4,019 |
/**
* 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... | JuntaoZhang/myhadoop-2.2.0 | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestNNWithQJM.java | Java | apache-2.0 | 8,827 |
/*
* 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 ... | kidaa/incubator-ignite | modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeDataCollectorTask.java | Java | apache-2.0 | 4,847 |
/*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | ClickTravel/Cheddar | cheddar/cheddar-metrics-intercom/src/test/java/com/clicktravel/cheddar/metrics/intercom/random/data/RandomIntercomDataGenerator.java | Java | apache-2.0 | 2,875 |
/*
* Copyright 2000-2013 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... | siosio/intellij-community | java/openapi/src/com/intellij/ide/hierarchy/call/JavaCallHierarchyData.java | Java | apache-2.0 | 2,884 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | winklerm/drools | drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/oopath/model/Woman.java | Java | apache-2.0 | 960 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | medicayun/medicayundicom | dcm4jboss-all/tags/DCM4CHEE_2_15_0/dcm4jboss-ejb/src/java/org/dcm4chex/archive/ejb/session/StudyReconciliationBean.java | Java | apache-2.0 | 7,694 |
/*
* 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 ... | barneykim/pinpoint | commons/src/main/java/com/navercorp/pinpoint/common/trace/AnnotationKeyLocator.java | Java | apache-2.0 | 876 |
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.xml.ws;
import java.util.concurrent.Future;
/** The <code>Dispatch</code> interface pro... | shun634501730/java_source_cn | src_en/javax/xml/ws/Dispatch.java | Java | apache-2.0 | 4,368 |
/*
* 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 ... | davidzchen/samza | samza-core/src/main/java/org/apache/samza/job/model/TaskModel.java | Java | apache-2.0 | 3,452 |
/*
* 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")... | kidaa/isis | core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/buttons/ToggleButtonsPanel.java | Java | apache-2.0 | 4,176 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | tkafalas/pentaho-kettle | ui/src/main/java/org/pentaho/di/ui/trans/steps/excelwriter/ExcelWriterStepDialog.java | Java | apache-2.0 | 79,960 |
/**
* 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... | tweise/apex-malhar | library/src/main/java/org/apache/apex/malhar/lib/appdata/AbstractAppDataServer.java | Java | apache-2.0 | 3,907 |
/**
* 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... | dlanza1/parquet-mr | parquet-column/src/test/java/parquet/column/values/deltastrings/benchmark/BenchmarkDeltaByteArray.java | Java | apache-2.0 | 3,739 |
/*
* 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 ... | ty1er/incubator-asterixdb | asterixdb/asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/hash/LongBinaryHashFunctionFactory.java | Java | apache-2.0 | 1,677 |
/**
* 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... | narahari92/metamodel | core/src/main/java/org/apache/metamodel/schema/naming/AlphabeticColumnNamingStrategy.java | Java | apache-2.0 | 1,469 |
package it;
import junit.framework.TestCase;
import org.junit.*;
import static org.junit.Assert.*;
import org.openqa.selenium.By;
public class WidgetLoad extends WidgetSeleniumTest {
@Before
public void setUp() throws Exception {
super.setUp();
}
@After
public void tearDown() throws Exception {
... | ojacobson/dryad-repo | dspace/modules/dryad-widgets/dryad-widgets-webapp/src/test/java/it/WidgetLoad.java | Java | bsd-3-clause | 591 |
package org.knowm.xchange.okcoin;
import java.io.IOException;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import... | stachon/XChange | xchange-okcoin/src/main/java/org/knowm/xchange/okcoin/OkCoin.java | Java | mit | 13,177 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... | yaqiyang/autorest | src/generator/AutoRest.Java.Tests/src/main/java/fixtures/http/models/A.java | Java | mit | 899 |
package com.google.android.tagmanager.examples.cuteanimals;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.google.android.gms.tagmanager.TagManager;
/**
* Activity to view an i... | nendu/Heritage-Ireland | samples/tagmanager/cuteanimals/src/com/google/android/tagmanager/examples/cuteanimals/ImageViewActivity.java | Java | mit | 2,458 |