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 |
|---|---|---|---|---|---|
/*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2015 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/LICENSE-2.0
*
* Unless... | Sivaramvt/acs-aem-commons | bundle/src/main/java/com/adobe/acs/commons/workflow/bulk/removal/impl/exceptions/WorkflowRemovalMaxDurationExceededException.java | Java | apache-2.0 | 794 |
/*
* 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... | romankagan/DDBWorkbench | plugins/ui-designer/src/com/intellij/uiDesigner/snapShooter/CreateSnapShotAction.java | Java | apache-2.0 | 23,500 |
/**
* Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | locationtech/geowave | core/store/src/test/java/org/locationtech/geowave/core/store/query/gwql/SelectStatementTest.java | Java | apache-2.0 | 15,592 |
package it.unimi.dsi.fastutil;
/*
* Copyright (C) 2010-2015 Sebastiano Vigna
*
* 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
*
... | agavra/fastutil | src/it/unimi/dsi/fastutil/Size64.java | Java | apache-2.0 | 2,069 |
/*
* 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... | hgschmie/presto | presto-hive/src/main/java/io/prestosql/plugin/hive/RcFileFileWriterFactory.java | Java | apache-2.0 | 7,137 |
/**
* Copyright 2017 Goldman Sachs.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | shantstepanian/obevo | obevo-db/src/main/java/com/gs/obevo/db/api/platform/DbDeployerAppContext.java | Java | apache-2.0 | 2,854 |
/*
* Copyright 2016 MongoDB, 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... | jsonking/mongo-java-driver | driver-core/src/test/unit/com/mongodb/client/ImmutableDocumentCodec.java | Java | apache-2.0 | 2,742 |
package org.apereo.cas.config;
import org.apache.commons.lang3.StringUtils;
import org.apereo.cas.authentication.AuthenticationEventExecutionPlan;
import org.apereo.cas.authentication.AuthenticationHandler;
import org.apereo.cas.authentication.StormpathAuthenticationHandler;
import org.apereo.cas.authentication.princi... | petracvv/cas | support/cas-server-support-stormpath/src/main/java/org/apereo/cas/config/StormpathAuthenticationConfiguration.java | Java | apache-2.0 | 3,528 |
package me.itzg.mccy.services;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Service;
@Service
public class WebServerPortP... | moorkop/mccy-engine | src/main/java/me/itzg/mccy/services/WebServerPortProviderImpl.java | Java | apache-2.0 | 948 |
/*
* 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... | ernestp/consulo | platform/vcs-log-graph-api/src/com/intellij/vcs/log/graph/actions/GraphMouseAction.java | Java | apache-2.0 | 946 |
/*
* 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/uima-uimaj | uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AboutHandler.java | Java | apache-2.0 | 2,611 |
package com.mossle.bpm.data;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import com.mossle.bpm.persistence.manager.BpmConfBaseManager;
import com.mossle.bpm.persistence.manager.BpmConfListenerManager;
import com.mossle.bpm.persistence.manager.... | xuhuisheng/lemon | src/main/java/com/mossle/bpm/data/ProcessListenerDeployer.java | Java | apache-2.0 | 2,001 |
/*
* 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... | azureplus/flex-blazeds | modules/proxy/src/flex/messaging/services/http/package-info.java | Java | apache-2.0 | 857 |
/*
* Copyright (c) 2014 Spotify AB.
*
* 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,... | la3lma/docker-client | src/main/java/com/spotify/docker/client/messages/ContainerInfo.java | Java | apache-2.0 | 8,429 |
package li.strolch.utils;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Simple {@link ThreadFactory} which allocates as a pool and has a name for each pool
*/
public class NamedThreadPoolFactory implements ThreadFactory {
private final ThreadGroup group;
privat... | 4treesCH/strolch | li.strolch.utils/src/main/java/li/strolch/utils/NamedThreadPoolFactory.java | Java | apache-2.0 | 934 |
package org.insightech.er.db.impl.db2;
import org.insightech.er.db.impl.db2.tablespace.DB2TablespaceProperties;
import org.insightech.er.editor.model.ERDiagram;
import org.insightech.er.editor.model.dbexport.ddl.DDLCreator;
import org.insightech.er.editor.model.diagram_contents.element.node.category.Category;
im... | roundrop/ermasterr | src/org/insightech/er/db/impl/db2/DB2DDLCreator.java | Java | apache-2.0 | 5,719 |
/*
* 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 "lice... | sdole/aws-sdk-java | aws-java-sdk-iot/src/main/java/com/amazonaws/services/iotdata/model/ThrottlingException.java | Java | apache-2.0 | 1,104 |
/*
* #%L
* Protempa Framework
* %%
* Copyright (C) 2012 - 2013 Emory University
* %%
* 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... | eurekaclinical/protempa | protempa-framework/src/main/java/org/protempa/KnowledgeSource.java | Java | apache-2.0 | 6,587 |
/*
* 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... | lizhanhui/data_druid | processing/src/main/java/io/druid/segment/BitmapOffset.java | Java | apache-2.0 | 8,675 |
/*
* Copyright 2013-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | saleeh93/buck-cutom | src/com/facebook/buck/httpserver/TraceDataHandler.java | Java | apache-2.0 | 3,302 |
/**
* 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... | roshanp/lucene-hdfs-directory | src/main/java/org/apache/blur/store/blockcache_v2/Size.java | Java | apache-2.0 | 937 |
/**
* Copyright © 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime-framework.github.io)
*
* 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/licens... | teetime-framework/teetime | src/main/java/teetime/stage/taskfarm/StaticTaskFarmStage.java | Java | apache-2.0 | 5,451 |
/**
* Copyright 2014 SAP AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | CloudScale-Project/DynamicSpotter | org.spotter.core/src/org/spotter/core/instrumentation/InstrumentationBroker.java | Java | apache-2.0 | 7,375 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Filter.proto
package org.apache.hadoop.hbase.protobuf.generated;
public final class FilterProtos {
private FilterProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interfa... | gustavoanatoly/hbase | hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FilterProtos.java | Java | apache-2.0 | 699,245 |
package org.knowm.xchart.demo.charts.date;
import java.time.LocalDateTime;
import java.time.Month;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import org.knowm.xchart.SwingWrapper;
import org.knowm.xch... | nroduit/XChart | xchart-demo/src/main/java/org/knowm/xchart/demo/charts/date/DateChart09.java | Java | apache-2.0 | 2,383 |
package com.planet_ink.coffee_mud.core.intermud.packets;
import com.planet_ink.coffee_mud.core.intermud.server.*;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*... | welterde/ewok | com/planet_ink/coffee_mud/core/intermud/packets/ChannelUserReply.java | Java | apache-2.0 | 2,969 |
/*
* 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 u... | basepom/duplicate-finder-maven-plugin | src/it/setup-it/class-jars/second-class-jar/src/main/java/demo/package-info.java | Java | apache-2.0 | 610 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | berndhopp/guava | android/guava/src/com/google/common/collect/ImmutableListMultimap.java | Java | apache-2.0 | 13,676 |
package edu.cmu.cs.cloudlet.android.application.graphics;
import java.io.DataInputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.SortedMap;
import java.util.SortedSe... | cmusatyalab/elijah-provisioning | android/android_fluid/src/edu/cmu/cs/cloudlet/android/application/graphics/GNetworkClientReceiver.java | Java | apache-2.0 | 5,437 |
/**********************************************************************************
* $URL: $
* $Id: $
***********************************************************************************
*
* Copyright (c) 2010, 2011, 2012, 2013, 2014 Sakai Foundation
*
* Licensed under the Educational Community License, Version ... | eemirtekin/Sakai-10.6-TR | kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/HtmlPageFilter.java | Java | apache-2.0 | 5,249 |
package com.dankideacentral.dic.activities;
import android.content.res.Configuration;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import android.support.v7.app.ActionBar;
import android.support.v7.app.A... | srowhani/migrate-app | app/src/main/java/com/dankideacentral/dic/activities/AppCompatPreferenceActivity.java | Java | apache-2.0 | 3,008 |
package ${topLevelDomain}.${companyName}.${productName}.model.repository.user;
import ${topLevelDomain}.${companyName}.${productName}.model.data.UserToken;
import ${topLevelDomain}.${companyName}.${productName}.model.repository.ApplicationTestCase;
import org.junit.Assert;
import org.junit.Test;
import javax.annotati... | dgestep/big-code-bang | src/main/resources/data-repository-test-user-templates/TestUserToken.java | Java | apache-2.0 | 1,331 |
// ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | aldridged/gtg-gts-bhp | src/org/opengts/servers/icare/package-info.java | Java | apache-2.0 | 1,133 |
package tech.gusavila92.websocketclient.exceptions;
/**
* Exception which indicates that the received schema is invalid
*
* @author Gustavo Avila
*
*/
public class IllegalSchemeException extends IllegalArgumentException {
public IllegalSchemeException(String message) {
super(message);
}
}
| gusavila92/java-android-websocket-client | src/main/java/tech/gusavila92/websocketclient/exceptions/IllegalSchemeException.java | Java | apache-2.0 | 301 |
/**
* 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 m... | apache/santuario-java | src/main/java/org/apache/xml/security/stax/impl/processor/input/XMLEncryptedKeyInputHandler.java | Java | apache-2.0 | 18,812 |
/**
* 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... | ecurtin/spark-bench | cli/src/main/java/com/ibm/sparktc/sparkbench/datageneration/mlgenerator/Random16.java | Java | apache-2.0 | 18,912 |
/*
* 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 ... | hardfish/justTest | cloudsigma2/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2ComputeServiceLiveTest.java | Java | apache-2.0 | 2,208 |
package org.openkilda.atdd.floodlight;
public class KafkaBreakException extends Exception {
public KafkaBreakException(String s) {
super(s);
}
public KafkaBreakException(String s, Throwable throwable) {
super(s, throwable);
}
}
| nikitamarchenko/open-kilda | services/src/atdd/src/test/java/org/openkilda/atdd/floodlight/KafkaBreakException.java | Java | apache-2.0 | 262 |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* ... | huihoo/olat | olat7.8/src/main/java/org/olat/presentation/framework/core/components/form/flexible/FormMultipartItem.java | Java | apache-2.0 | 1,157 |
package javacommon.base;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.SimpleDateFormat;
import java.util.Date;
import javacommon.util.ConvertRegisterHelper;
import javacommon.util.PageRequestFactory;
import javax.servlet.http.HttpServletRequest;
import org.springframework.b... | zhangwenzhuo/Rapid | plugins/springmvc/java_src/javacommon/base/BaseSpringController.java | Java | apache-2.0 | 4,053 |
/*
* Copyright 2016 Black Duck Software, 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 ... | mpujari/ohcount4j | src/test/java/com/blackducksoftware/ohcount4j/scan/ElixirScannerTest.java | Java | apache-2.0 | 3,123 |
/*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | LucidDB/luciddb | farrago/src/net/sf/farrago/runtime/FarragoUdrInvocationFrame.java | Java | apache-2.0 | 1,449 |
/**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | Jasig/inspektr | inspektr-audit/src/main/java/org/apereo/inspektr/audit/spi/support/ParametersAsStringResourceResolver.java | Java | apache-2.0 | 1,683 |
/***
Copyright (c) 2012 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
by applicable law or agreed to in writin... | commonsguy/cw-omnibus | NFC/WebBeam/app/src/main/java/com/commonsware/android/webbeam/BeamFragment.java | Java | apache-2.0 | 2,587 |
package com.qiaoba.qbcp.db;
import com.lidroid.xutils.db.sqlite.WhereBuilder;
import com.lidroid.xutils.exception.DbException;
import com.qiaoba.qbcp.QbcpApplication;
public abstract class AbsDbOperation implements IDbOperation{
DbManager mDbManager = QbcpApplication.mApp.mQbDbManager;
@Override
public boolean... | zhujohnle/qbcp | QBcp/src/com/qiaoba/qbcp/db/AbsDbOperation.java | Java | apache-2.0 | 1,523 |
package eu.humanbrainproject.mip.algorithms.serializers.pfa;
import eu.humanbrainproject.mip.algorithms.SimpleAlgorithm;
import java.util.Arrays;
import java.util.List;
public class NumericalInputDescription extends InputDescription<SimpleAlgorithm> {
public NumericalInputDescription(SimpleAlgorithm algorithm) ... | woken-ml/java-base-docker-images | java-mip/src/test/java/eu/humanbrainproject/mip/algorithms/serializers/pfa/NumericalInputDescription.java | Java | apache-2.0 | 889 |
/*
* 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 ... | davinash/geode | geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/util/MergeLogs.java | Java | apache-2.0 | 5,006 |
// Copyright 2015 The Project Buendia Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of the License at: http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | llvasconcellos/client | app/src/main/java/org/projectbuendia/client/user/UserManager.java | Java | apache-2.0 | 11,751 |
package org.toobs.framework.pres.util;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apa... | parabuzzle/toobs | legacy/toobs-0.1/Platform/PresFramework/src/org/toobs/framework/pres/util/ParameterUtil.java | Java | apache-2.0 | 16,514 |
/**
*
*/
package com.perforce.p4java.tests.dev.unit.features122;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import java.net.URISyntaxException;
import java.util.Map;
import org.junit.After;
import org.junit.AfterClass;
import org.j... | groboclown/p4ic4idea | p4java/r18-1/src/test/java/com/perforce/p4java/tests/dev/unit/features122/ProgressCallbackTest.java | Java | apache-2.0 | 5,144 |
/*
* 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/openwebbeans | webbeans-impl/src/test/java/org/apache/webbeans/test/injection/injectionpoint/beans/ProducerInjectionPointInstanceOwner.java | Java | apache-2.0 | 1,198 |
/*
* =============================================================================
*
* Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.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 ... | magat/thymeleaf | src/main/java/org/thymeleaf/standard/expression/ExpressionSequence.java | Java | apache-2.0 | 2,465 |
/*
* Copyright 2012-2018 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... | lburgazzoli/spring-boot | spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/http/InMemoryHttpTraceRepository.java | Java | apache-2.0 | 2,019 |
package org.michenux.drodrolib.network.volley;
import android.location.Location;
import com.android.volley.AuthFailureError;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.Response.ErrorL... | alessandrogurgel/pedefacil | drodrolib/src/main/java/org/michenux/drodrolib/network/volley/GsonRequest.java | Java | apache-2.0 | 2,302 |
/*
* 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 ... | kisskys/incubator-asterixdb | asterixdb/asterix-om/src/main/java/org/apache/asterix/om/pointables/printer/json/clean/ARecordPrinter.java | Java | apache-2.0 | 3,650 |
/**
* 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/incubator-sentry | sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestUpdateableAuthzPaths.java | Java | apache-2.0 | 8,405 |
/*
* Copyright 2015 Hippo Seven
*
* 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 ... | xdujiang/Nimingban | app/src/main/java/com/hippo/widget/SnackbarManager.java | Java | apache-2.0 | 6,317 |
/*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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... | pacozaa/BoofCV | main/feature/src/boofcv/struct/feature/NccFeature.java | Java | apache-2.0 | 1,575 |
package alien4cloud.tosca.parser.impl.advanced;
import java.util.Map;
import javax.annotation.Resource;
import org.alien4cloud.tosca.model.definitions.AbstractPropertyValue;
import org.alien4cloud.tosca.model.definitions.Interface;
import org.alien4cloud.tosca.model.templates.RelationshipTemplate;
import org.springf... | alien4cloud/alien4cloud | alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/impl/advanced/RelationshipTemplateParser.java | Java | apache-2.0 | 4,234 |
/*
* MinIO Java SDK for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, 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
*
... | minio/minio-java | api/src/main/java/io/minio/BucketExistsArgs.java | Java | apache-2.0 | 991 |
/**
* 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 m... | apache/geronimo | testsuite/webservices-testsuite/jaxws-mtom-tests/mtom-test-war/src/main/java/org/apache/geronimo/echo/Echo.java | Java | apache-2.0 | 3,138 |
/*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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.apa... | wouterv/orientdb | core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorMinor.java | Java | apache-2.0 | 6,113 |
/*
* Copyright (c) 2005-2010 Grameen Foundation USA
* 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
*
* Unl... | vorburger/mifos-head | application/src/main/java/org/mifos/accounts/loan/business/LoanScheduleEntity.java | Java | apache-2.0 | 26,882 |
/**
* 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... | kevinearls/camel | components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCollectionHeaderTest.java | Java | apache-2.0 | 2,329 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/text/documentiterator/BasicLabelAwareIterator.java | Java | apache-2.0 | 5,848 |
/**
* 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... | sungsoo/tez-0.4.0 | tez-api/src/test/java/org/apache/tez/dag/api/TestDAGPlan.java | Java | apache-2.0 | 13,586 |
/**
* Copyright (C) 2014 Stratio (http://stratio.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 ap... | anavidad3/flume-ingestion | stratio-sinks/stratio-druid-sink/src/test/java/com/stratio/ingestion/sink/druid/DruidSinkIT.java | Java | apache-2.0 | 6,762 |
/*
* 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... | IllusionRom-deprecated/android_platform_tools_idea | platform/platform-impl/src/com/intellij/ide/actions/OpenProjectFileChooserDescriptor.java | Java | apache-2.0 | 3,508 |
package com.idiominc.ws.opentopic.fo.index2;
import static org.dita.dost.util.Constants.*;
import com.idiominc.ws.opentopic.fo.index2.configuration.IndexConfiguration;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.Project;
import org.apache.xml.resolver.tool... | doctales/dita-ot | src/main/plugins/org.dita.pdf2/src/com/idiominc/ws/opentopic/fo/index2/IndexPreprocessorTask.java | Java | apache-2.0 | 7,945 |
/*-
* Automatically built by dist/s_java_stat.
* Only the javadoc comments can be edited.
*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2010 Oracle and/or its affiliates. All rights reserved.
*/
package com.sleepycat.db;
/**
The BtreeStats object is used to return Btree
or R... | racker/omnibus | source/db-5.0.26.NC/java/src/com/sleepycat/db/BtreeStats.java | Java | apache-2.0 | 9,461 |
package org.smslib.callback;
import org.smslib.callback.events.InboundCallCallbackEvent;
public interface IInboundCallCallback
{
public boolean process(InboundCallCallbackEvent event);
}
| smslib/smslib | smslib/src/main/java/org/smslib/callback/IInboundCallCallback.java | Java | apache-2.0 | 191 |
// Copyright 2004 The Apache Software Foundation
//
// 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/tapestry3 | tapestry-examples/Vlib/src/org/apache/tapestry/vlib/pages/EditBook.java | Java | apache-2.0 | 4,895 |
package org.pinae.rafiki.trigger;
import org.pinae.rafiki.trigger.Trigger;
import org.pinae.rafiki.trigger.TriggerException;
import org.pinae.rafiki.trigger.impl.CronTrigger;
import static org.pinae.rafiki.trigger.helper.DateHelper.today;
import org.apache.log4j.Logger;
public class CronTriggerExample {
private ... | PinaeOS/rafiki | src/example/java/org/pinae/rafiki/trigger/CronTriggerExample.java | Java | apache-2.0 | 2,660 |
package org.olat.test.functional.groups;
import org.olat.test.util.selenium.BaseSeleneseTestCase;
import org.olat.test.util.selenium.olatapi.OLATWorkflowHelper;
import org.olat.test.util.selenium.olatapi.WorkflowHelper;
import org.olat.test.util.selenium.olatapi.group.Group;
import org.olat.test.util.selenium.olatapi.... | huihoo/olat | olat7.8/src/test/java/org/olat/test/functional/groups/GroupConcurrenciesTest.java | Java | apache-2.0 | 3,912 |
/**
* Copyright (C) FuseSource, Inc.
* http://fusesource.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... | janstey/fuse | fabric/fabric-camel-c24io/src/test/java/org/fusesource/fabric/camel/c24io/spring/SpringWithBadElementNameTest.java | Java | apache-2.0 | 1,478 |
/*
* 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/jena | jena-arq/src/test/java/org/apache/jena/arq/junit/sparql/tests/SerializationTest.java | Java | apache-2.0 | 2,680 |
/**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.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
*
* htt... | JRebirth/JRebirth | org.jrebirth.af/core/src/main/java/org/jrebirth/af/core/ui/adapter/DefaultKeyAdapter.java | Java | apache-2.0 | 1,671 |
/*
* 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/incubator-shardingsphere | shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLComQueryPacketExecutorTest.java | Java | apache-2.0 | 4,108 |
/*
* 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 ... | ServiceComb/java-chassis | demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/SchemaDiscoveryTestCase.java | Java | apache-2.0 | 1,724 |
/*
* Copyright 2014-2016 CyberVision, 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 o... | forGGe/kaa | client/client-multi/client-java-core/src/main/java/org/kaaproject/kaa/client/channel/failover/strategies/FailoverStrategy.java | Java | apache-2.0 | 2,267 |
/*
* Copyright 2010 Martin Grotzke
*
* 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 ... | qq254963746/memcached-session-manager | serializer-benchmark/src/main/java/de/javakaffee/web/msm/serializer/Benchmark.java | Java | apache-2.0 | 12,323 |
/*
* 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 ... | astubbs/wicket.get-portals2 | wicket-examples/src/main/java/org/apache/wicket/examples/signin2/Home.java | Java | apache-2.0 | 1,174 |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | ButterflyNetwork/bazel | src/main/java/com/google/devtools/build/lib/analysis/configuredtargets/InputFileConfiguredTarget.java | Java | apache-2.0 | 3,565 |
/*
* Copyright 2018 ImpactDevelopment
*
* 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... | ZeroMemes/ClientAPI | src/main/java/clientapi/load/mixin/extension/IMinecraft.java | Java | apache-2.0 | 1,304 |
package com.akari.tickets.beans;
import java.util.List;
/**
* Created by Akari on 2017/2/17.
*/
public class QueryTrainsResponse {
private List<Data> data;
public List<Data> getData() {
return data;
}
public void setData(List<Data> data) {
this.data = data;
}
public stati... | Akari10032/12306 | app/src/main/java/com/akari/tickets/beans/QueryTrainsResponse.java | Java | apache-2.0 | 848 |
/*
* 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 ... | ServiceComb/java-chassis | integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/schema/generic/TestMyService.java | Java | apache-2.0 | 3,513 |
/*
*
* Copyright 2014 Tom Mahaffey
*
* 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... | TkmTwoProjects/tkmtwo-sarapi | core/src/main/java/com/tkmtwo/sarapi/convert/DateInfoToValueConverter.java | Java | apache-2.0 | 989 |
/*
* Copyright © 2017-2019 Cask Data, 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 agr... | hydrator/wrangler | wrangler-service/src/main/java/io/cdap/wrangler/service/database/DriverCleanup.java | Java | apache-2.0 | 1,265 |
/* $Id: HopFilterManager.java 988245 2010-08-23 18:39:35Z kwright $ */
/**
* 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 Yo... | gladyscarrizales/manifoldcf | framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/HopFilterManager.java | Java | apache-2.0 | 8,021 |
/*
* 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/logging-log4j2 | log4j-1.2-api/src/test/java/org/apache/log4j/util/LineNumberFilter.java | Java | apache-2.0 | 1,310 |
package ca.uhn.fhir.rest.annotation;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2017 University Health Network
* %%
* 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... | eug48/hapi-fhir | hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/annotation/Since.java | Java | apache-2.0 | 1,368 |
/*
* 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... | EvilMcJerkface/crate | server/src/main/java/org/elasticsearch/common/unit/ByteSizeUnit.java | Java | apache-2.0 | 6,846 |
/**
* 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... | onders86/camel | components/camel-spring/src/test/java/org/apache/camel/component/bean/AutowireConstructorRouteTest.java | Java | apache-2.0 | 1,776 |
/*
* 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 ... | dmeister/pig-cll-gz | src/org/apache/pig/newplan/logical/rules/ColumnPruneVisitor.java | Java | apache-2.0 | 20,333 |
/**
* Copyright 2015 ParStream GmbH
*
* 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... | parstream/parstream-avro | decoder/src/test/java/com/parstream/adaptor/avro/test/ArrayTest.java | Java | apache-2.0 | 17,043 |
/*
* 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 ... | Fabryprog/camel | components/camel-milo/src/test/java/org/apache/camel/component/milo/server/ServerLocalTest.java | Java | apache-2.0 | 2,912 |
/*
* Copyright 2015-2016 USEF Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | USEF-Foundation/ri.usef.energy | usef-build/usef-workflow/usef-cro/src/main/java/energy/usef/cro/dto/ParticipantAction.java | Java | apache-2.0 | 1,281 |
package examples.stateless;
import java.util.Collection;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import examples.model.Project;
@Stateless
public class ProjectServiceBean implements ProjectService {
@Persist... | velmuruganvelayutham/jpa | examples/Chapter4/22-manyToManyJoinTable/src/model/examples/stateless/ProjectServiceBean.java | Java | apache-2.0 | 754 |
package org.insightech.er.db.impl.postgres;
import org.insightech.er.db.sqltype.SqlType;
import org.insightech.er.db.sqltype.SqlTypeManagerBase;
public class PostgresSqlTypeManager extends SqlTypeManagerBase {
@Override
public int getByteLength(final SqlType type, final Integer length, final Integer ... | roundrop/ermaster-fast | src/org/insightech/er/db/impl/postgres/PostgresSqlTypeManager.java | Java | apache-2.0 | 363 |
/*
* 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 ... | practice-vishnoi/dev-spark-1 | streaming/src/test/java/org/apache/spark/streaming/JavaAPISuite.java | Java | apache-2.0 | 78,820 |