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 |
|---|---|---|---|---|---|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.pitt.apollo.brokerservicerestfrontend.methods;
import edu.pitt.apollo.brokerservicerestfrontend.utils.ResponseMessageBuild... | ApolloDev/apollo | broker-service-rest-frontend/src/main/java/edu/pitt/apollo/brokerservicerestfrontend/methods/GetInformationForRunMethod.java | Java | apache-2.0 | 2,632 |
package com.wangjie.androidbucket.mvp;
/**
* @author Hubert He
* @version V1.0
* @Description
* @Createdate 15/1/28 12:29
*/
public interface TaskController {
void registerPresenter(ABBasePresenter presenter);
void closeAllTask();
}
| 10045125/VandaIMLibForHub | AndroidBucket-master/src/com/wangjie/androidbucket/mvp/TaskController.java | Java | apache-2.0 | 249 |
package com.yueny.blog.bo.model.statistics.month;
import java.util.Set;
import lombok.Data;
/**
* 年度历史开发报告数据结构对象<br>
* 统计到月
*
* @author 袁洋 2015年8月10日 下午2:33:15
*
*/
@Data
public class HisYearDevReportMonthData implements
Comparable<HisYearDevReportMonthData> {
/**
* 年内的月度报告数据结构<br>
* 该年内的事件记录<br>
*/
... | yueny/cropui | bo/src/main/java/com/yueny/blog/bo/model/statistics/month/HisYearDevReportMonthData.java | Java | apache-2.0 | 636 |
/**
* Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.beanvalidation.tck.tests.valueextraction.unwrapping;
import static org.hibernate.beanvalidation.tck.util.ConstraintViolation... | gunnarmorling/beanvalidation-tck | tests/src/main/java/org/hibernate/beanvalidation/tck/tests/valueextraction/unwrapping/ValueExtractionUnwrappingTest.java | Java | apache-2.0 | 13,767 |
/* ###
* IP: GHIDRA
*
* 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... | NationalSecurityAgency/ghidra | Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/program/DBTraceProgramViewProgramContext.java | Java | apache-2.0 | 7,891 |
package io.fabric8.maven.docker;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import io.fabric8.maven.docker.config.*;
import io.fabric8.maven.docker.model.Network;
import io.fabric8.maven.docker.service.QuerySe... | chirino/docker-maven-plugin | src/main/java/io/fabric8/maven/docker/StopMojo.java | Java | apache-2.0 | 6,659 |
/**
* 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... | ecsark/storm-static | storm-core/src/jvm/backtype/storm/utils/Utils.java | Java | apache-2.0 | 14,269 |
package io.tetrapod.protocol.storage;
// This is a code generated file. All edits will be lost the next time code gen is run.
import io.*;
import io.tetrapod.core.rpc.*;
import io.tetrapod.protocol.core.Admin;
import io.tetrapod.core.serialize.*;
import io.tetrapod.protocol.core.TypeDescriptor;
import io.tetrapod.pr... | tetrapods/core | Protocol-Tetrapod/src/io/tetrapod/protocol/storage/StorageDeleteRequest.java | Java | apache-2.0 | 3,145 |
/*
* 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 t... | hazendaz/assertj-core | src/test/java/org/assertj/core/api/EntryPointAssertions_notCondition_Test.java | Java | apache-2.0 | 1,645 |
package com.freelib.multiitem.item;
import android.view.View;
/**
* Created by free46000 on 2017/4/3.
*/
public interface ItemData {
/**
* {@link View#setVisibility(int)}
*
* @param visibility @Visibility
*/
void setVisibility(int visibility);
/**
* {@link View#getVisibility()... | free46000/MultiItem | library/src/main/java/com/freelib/multiitem/item/ItemData.java | Java | apache-2.0 | 391 |
package com.xinxin.wotplus.network.api;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
/**
* Created by xinxin on 2016/6/18.
* 获取成就的数量
*/
public interface AchieveApi {
// http://wotpbe-cnn.worldoftanks.cn/accounts/api/statistics/achievements/?filter%... | zhangxx0/WOTPlus | app/src/main/java/com/xinxin/wotplus/network/api/AchieveApi.java | Java | apache-2.0 | 698 |
package de.hilling.junit.cdi.jee;
import org.junit.jupiter.api.Test;
import javax.persistence.*;
@Entity
@EntityListeners(TestEntityListener.class)
public class UserEntity {
public long getId() {
return id;
}
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
}
| guhilling/cdi-test | cdi-test-jee/src/test/java/de/hilling/junit/cdi/jee/UserEntity.java | Java | apache-2.0 | 313 |
package org.nasa.posicion;
/**
* @author fcardozo
* @version 1.0
*
*/
public interface IPosicion {
}
| felipecardozo/marsexplorer | src/org/nasa/posicion/IPosicion.java | Java | apache-2.0 | 107 |
/*
* 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... | sunny256/crate | sql/src/main/java/io/crate/operation/projectors/InternalResultProviderFactory.java | Java | apache-2.0 | 3,231 |
/*
* Copyright 2014 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... | Malanius/Terasology | engine/src/main/java/org/terasology/rendering/nui/layers/hud/HUDScreenLayer.java | Java | apache-2.0 | 6,686 |
/*
Copyright 2016, 2017 Institut National de la Recherche Agronomique
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 applicab... | Bibliome/bibliome-java-utils | src/main/java/fr/inra/maiage/bibliome/util/EquivalenceHashSets.java | Java | apache-2.0 | 1,026 |
/*
* Copyright 2014-2019 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 "licen... | jentfoo/aws-sdk-java | aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/transform/DeleteAssessmentTargetRequestProtocolMarshaller.java | Java | apache-2.0 | 2,800 |
package com.shmily.tjz.swap.Adapter;
/**
* Created by Shmily_Z on 2017/4/2.
*/
import android.app.Activity;
import android.app.ActivityOptions;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.support.annotation.RequiresApi;
import android.support.v7.widget.Card... | Shmilyz/Swap | app/src/main/java/com/shmily/tjz/swap/Adapter/ShoesAdapter.java | Java | apache-2.0 | 4,512 |
/*
* Copyright 2011-2012 Blazebit
*
* 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... | Blazebit/blaze-faces | blaze-faces/src/main/java/com/blazebit/blazefaces/model/map/DefaultMapModel.java | Java | apache-2.0 | 3,309 |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... | hlyaowan/dubbox | dubbo-simple/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/SimpleMonitorService.java | Java | apache-2.0 | 18,508 |
/*
* 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... | intrack/BoofCV-master | main/ip/generate/boofcv/alg/filter/misc/GenerateImplAverageDownSampleN.java | Java | apache-2.0 | 6,363 |
/*
* Copyright (C) 2016 Maximilian Pawlidi
*
* 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... | pawlidim/restkartina | src/main/java/de/pawlidi/restkartina/dto/system/SystemResponse.java | Java | apache-2.0 | 3,013 |
package org.drools.gorm.session.marshalling;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectStreamClass;
import java.util.Map;
import org.drools.common.BaseNode;
import org.drools.common.InternalRuleBase;
import org.drools.marshalling.impl.MarshallerReaderContext;
import org.drools.marsh... | bauna/drools-gorm | src/java/org/drools/gorm/session/marshalling/GormMarshallerReaderContext.java | Java | apache-2.0 | 1,949 |
package ru.m4mind.servlet;
import ru.m4mind.managersite.ControllerManagersSites;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
@WebListener
public class ContextListener implements ServletContext... | M4MIND/CheckingSites | src/main/java/ru/m4mind/servlet/ContextListener.java | Java | apache-2.0 | 663 |
package org.jenkinsci.plugins.os_ci.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* Copyright 2015 Cisco Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (t... | foundation-runtime/jenkins-openstack-deployment-plugin | src/main/java/org/jenkinsci/plugins/os_ci/model/GetToken.java | Java | apache-2.0 | 1,488 |
package com.bardframework.bard.basic.injector;
import com.bardframework.bard.core.BindTo;
import com.bardframework.bard.core.Injector;
import com.bardframework.bard.core.marker.Before;
import com.github.drapostolos.typeparser.TypeParser;
import javax.ws.rs.HeaderParam;
@BindTo(HeaderParam.class)
public class HeaderP... | wb14123/bard | bard-basic/src/main/java/com/bardframework/bard/basic/injector/HeaderParamInjector.java | Java | apache-2.0 | 974 |
/**
* 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
* distribu... | kbachl/brix-cms-backup | brix-demo-modular/src/main/java/org/brixcms/demo/web/WicketApplication.java | Java | apache-2.0 | 6,019 |
package com.landian.sql.jpa.context;
import lombok.Getter;
/**
* 条件字段类型
* to be continute
*/
public enum JavaType {
INT(1,"INT"),
LONG(2,"LONG"),
STRING(3,"STRING"),
DATE(4,"DATE"),
FLOAT(5,"FLOAT"),
BIGDECIMAL(6,"BIGDECIMAL"),
DOUBLE(7,"DOUBLE");
@Getter
private int ... | caojieliang/sql-jpa | src/main/java/com/landian/sql/jpa/context/JavaType.java | Java | apache-2.0 | 737 |
package com.cloudera.castagna.crunch;
public class Constants {
static final String logRegex = "^([\\d.]+) (\\S+) (\\S+) \\[([\\w:/]+\\s[+\\-]\\d{4})\\] \"(.+?)\" (\\d{3}) (\\d+) (\\d+) \"([^\"]+)\" <(.+?)> <(.+?)> \"(.+?)\" (\\d+)";
static enum COUNTERS {
NO_MATCH,
CORRUPT_SIZE
}
}
| castagna/crunch-examples | src/main/java/com/cloudera/castagna/crunch/Constants.java | Java | apache-2.0 | 295 |
package com.suscipio_solutions.consecro_mud.Abilities.Paladin;
import java.util.Vector;
import com.suscipio_solutions.consecro_mud.Abilities.StdAbility;
import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability;
import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg;
import com.suscipio_solut... | ConsecroMUD/ConsecroMUD | com/suscipio_solutions/consecro_mud/Abilities/Paladin/Paladin_Defend.java | Java | apache-2.0 | 4,848 |
/*
* Copyright 2010 CodeGist.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 l... | jayxue/Shopfast | ShopfastSDK/src/org/codegist/crest/interceptor/CompositeRequestInterceptor.java | Java | apache-2.0 | 2,016 |
/*
* 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 ... | ffromm/sling | contrib/extensions/distribution/core/src/test/java/org/apache/sling/distribution/agent/impl/SimpleDistributionAgentTest.java | Java | apache-2.0 | 18,523 |
package org.adsync4j.demo.jpa;
import org.adsync4j.demo.entity.DomainControllerAffiliation;
import org.adsync4j.spi.DCARepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import static org.adsync4j.demo.jpa.JpaDCARepositoryAdapter.BEAN_NAME;
/**... | zagyi/adsync4j-demo | src/main/java/org/adsync4j/demo/jpa/JpaDCARepositoryAdapter.java | Java | apache-2.0 | 1,149 |
package life.catalogue.dw.jersey.exception;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.Provider;
import com.fasterxml.jackson.databind.JsonMappingException;
/**
* Converts a JsonMappingException into a http 400 bad request.
*/
@Provider
public class JsonMappingExceptionMapper extends JsonExceptionMap... | Sp2000/colplus-backend | colplus-ws/src/main/java/life/catalogue/dw/jersey/exception/JsonMappingExceptionMapper.java | Java | apache-2.0 | 441 |
/**
* 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... | linkedin/pinot | pinot-spi/src/main/java/org/apache/pinot/spi/config/table/ReplicaGroupStrategyConfig.java | Java | apache-2.0 | 2,381 |
/*
* Copyright 2014-2015 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... | kaaproject/avro-ui | gwt-sandbox/src/main/java/org/kaaproject/avro/ui/sandbox/client/mvp/place/MainPlace.java | Java | apache-2.0 | 1,168 |
package com.blossomproject.core.common.utils.action_token;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Joiner;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
im... | mgargadennec/blossom | blossom-core/blossom-core-common/src/main/java/com/blossomproject/core/common/utils/action_token/ActionTokenServiceImpl.java | Java | apache-2.0 | 3,775 |
package com.rico.redis.redisson.springboot.init;
import java.util.HashMap;
import java.util.Map;
import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
import org.redisson.config.SingleServerConfig;
import org.redisson.spring.cache.CacheConfig;
import org.re... | RicoLiang/vk-rico-redis | vk-rico-redis-redisson-springboot/src/main/java/com/rico/redis/redisson/springboot/init/RedissonInit.java | Java | apache-2.0 | 2,453 |
/*
* Copyright 2010 TRICREO, Inc. (http://tricreo.jp/)
*
* 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... | tricreo/code-generator | src/test/java/jp/tricreo/codegenerator/ApplicationTest.java | Java | apache-2.0 | 2,293 |
package com.example.zy.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by ZY on 2017/6/7.
*/
public class Suggestion {
@SerializedName("comf")
public Comfort comfort;
@SerializedName("cw")
public CarWash carWash;
public Sport sport;
public class Comfor... | zhaoxiansheng/coolweather | app/src/main/java/com/example/zy/coolweather/gson/Suggestion.java | Java | apache-2.0 | 579 |
/*
* 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 ... | davebarnes97/geode | geode-junit/src/main/java/org/apache/geode/test/version/VersionManager.java | Java | apache-2.0 | 8,984 |
package com.sync.sz.netty.nio;
/**
* Created by YH on 2016-12-21.
*/
public class TimerServer {
public static void main(String[] args) {
int port = 8080;
if (args != null & args.length > 0) {
try {
port = Integer.valueOf(args[0]);
} catch (NullPointerException e) {
// Use defau... | MariShunxiang/JavaWebSample | sample-netty/src/main/java/com/sync/sz/netty/nio/TimerServer.java | Java | apache-2.0 | 493 |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: jetty/9.2.11.v20150529
* Generated at: 2015-11-10 09:52:04 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.... | pavan9900/DockerWebApp | target/tmp/jsp/org/apache/jsp/index_jsp.java | Java | apache-2.0 | 3,085 |
/*
* Copyright 2013 Marcelo Morales me@marcelomorales.name
*
* 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 ... | marcelomorales-name/siqisiqi | siqisiqi-quartz/src/main/java/name/marcelomorales/siqisiqi/quartz/X.java | Java | apache-2.0 | 774 |
/*
* 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 ... | justinleet/incubator-metron | metron-platform/metron-parsing/metron-parsing-storm/src/main/java/org/apache/metron/parsers/bolt/ParserBolt.java | Java | apache-2.0 | 13,603 |
package com.github.rma350.jgraphv.desktop.coredeps;
import org.lwjgl.util.vector.Matrix4f;
import org.lwjgl.util.vector.Vector2f;
import org.lwjgl.util.vector.Vector3f;
import org.lwjgl.util.vector.Vector4f;
import com.github.rma350.jgraphv.core.portable.LinMath;
import com.github.rma350.jgraphv.core.portable.Mat4;
i... | rma350/jgraphv | JGraphVDesktop/src/com/github/rma350/jgraphv/desktop/coredeps/LwjLinMath.java | Java | apache-2.0 | 3,432 |
/*
* Copyright 2017 Fondazione Istituto Italiano di Tecnologia.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | arnaudceol/simsearch | src/main/java/it/iit/genomics/cru/simsearch/bundle/worker/ExecuteQueryWorker.java | Java | apache-2.0 | 31,005 |
package net.dubboclub.restful.server;
import net.dubboclub.restful.api.FirstRestfulService;
/**
* @date: 2016/2/25.
* @author:bieber.
* @project:dubbo-plus.
* @package:net.dubboclub.restful.server.
* @version:1.0.0
* @fix:
* @description: 描述功能
*/
public class FirstRestfulServiceImpl2 implements FirstRestfulSe... | dubboclub/dubbo-plus | restful/src/test/java/net/dubboclub/restful/server/FirstRestfulServiceImpl2.java | Java | apache-2.0 | 438 |
/*
* 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-base-jdbc/src/main/java/com/facebook/presto/plugin/jdbc/JdbcConnector.java | Java | apache-2.0 | 7,589 |
/*******************************************************************************
* Copyright (c) 2014 Chaupal.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution, and is available at
*... | chaupal/jp2p | Workspace/net.jp2p.container/src/net/jp2p/container/filter/FilterChainEvent.java | Java | apache-2.0 | 1,182 |
package co.com.codesoftware.servicio.facturacion;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Clase Java para actualizarFacturaCompraTmp complex type.
*
* <p>El siguiente fragmento de esquema especifica el c... | codesoftware/NSIGEMCO | src/main/java/co/com/codesoftware/servicio/facturacion/ActualizarFacturaCompraTmp.java | Java | apache-2.0 | 1,620 |
/**
* 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 compli... | jhelmer-unicon/uPortal | uportal-war/src/test/java/org/apereo/portal/rendering/RenderingPipelineIntegrationTest.java | Java | apache-2.0 | 8,212 |
/*
* 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")... | firejack-open/Firejack-Platform | platform/src/main/java/net/firejack/platform/core/cache/CacheService.java | Java | apache-2.0 | 2,105 |
/*******************************************************************************
* UploadStatusListener.java
* UploadStatusListener
* <p>
* Author(s): Ashish Das
******************************************************************************/
package com.ashishdas.fileuploader.internal;
import com.ashishdas.fileu... | ashishdas09/FileUploader | library/src/main/java/com/ashishdas/fileuploader/internal/UploadStatusListener.java | Java | apache-2.0 | 462 |
package com.jukusoft.renderer2d.prototyp.engine.graph;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;
/**
* Created by Justin on 04.09.2016.
*/
public class GroupNode<T extends Node> extends Node {
/**
* list with child nodes
*/
... | JuKu/java-2drenderer-prototyp | prototyp-game-engine/src/main/java/com/jukusoft/renderer2d/prototyp/engine/graph/GroupNode.java | Java | apache-2.0 | 1,607 |
package me.fahien.protofast.screen;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import me.fahien.protofast.GdxTestRunner;
import static org.junit.Assert.assertFa... | Fahien/protofast | core/test/me/fahien/protofast/screen/ProtoFastScreenTest.java | Java | apache-2.0 | 1,435 |
// Copyright 2013 Christopher "Kasoki" Kaster <http://kasoki.de>
//
// This project is hosted at Github <https://github.com/Kasoki/jfeedly>
//
// 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... | kasoki/jfeedly | src/de/kasoki/jfeedly/model/Categories.java | Java | apache-2.0 | 2,370 |
/*
* Licensed to 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 use this file except in compl... | EvilMcJerkface/crate | server/src/main/java/io/crate/expression/scalar/CurrentDatabaseFunction.java | Java | apache-2.0 | 2,402 |
/*
* Copyright 2013 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... | pleacu/jbpm | jbpm-runtime-manager/src/main/java/org/jbpm/runtime/manager/impl/PerProcessInstanceRuntimeManager.java | Java | apache-2.0 | 25,117 |
package com.android2ee.tutorial.analytics.tool;
/**
* Enum used to identify the tracker that needs to be used for tracking.
*
* A single tracker is usually enough for most purposes. In case you do need multiple trackers,
* storing them all in Application object helps ensure that they are created only once per
* a... | ffournier/Analytics | src/main/java/com/android2ee/tutorial/analytics/tool/TrackerName.java | Java | apache-2.0 | 602 |
package com.uaroads.osrmrouting.view;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.google.android.gms.analytics.GoogleAnalytics;
import com.google.android.gms.analytics.HitBuilders;
import com.google.android.gms.analytics.Tracker;
/**
* Created by alexandr on 15/06/15.
*/
a... | stfalcon-studio/uaroads_android | navigator/src/main/java/com/uaroads/osrmrouting/view/BaseNavigatorActivity.java | Java | apache-2.0 | 1,625 |
/**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | m2fd/java-sdk | src/main/java/com/ibm/watson/developer_cloud/visual_recognition/v3/model/VisualClassifier.java | Java | apache-2.0 | 4,759 |
package io.github.droidkaigi.confsched2017.view.fragment;
import com.annimon.stream.Optional;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup... | yatatsu/conference-app-2017 | app/src/main/java/io/github/droidkaigi/confsched2017/view/fragment/InformationFragment.java | Java | apache-2.0 | 3,212 |
/**
* 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... | vergilchiu/hive | vector-code-gen/src/org/apache/hadoop/hive/tools/GenVectorTestCode.java | Java | apache-2.0 | 12,438 |
/*
* Copyright 2016-2017 Testify 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 law or... | testify-project/testify | modules/core/src/test/java/org/testifyproject/fixture/resource/ValidRemoteResourceProvider.java | Java | apache-2.0 | 1,550 |
package org.cnjava.bigpipe.core;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
/**... | jdami/bigpipe-for-java | bigpipe-core/src/main/java/org/cnjava/bigpipe/core/BigPipeContext.java | Java | apache-2.0 | 1,310 |
package org.jboss.wfink.ejb31.helper;
import javax.ejb.Local;
/**
* Central interface to use the synchronous EJB's
*
* @author <a href="WolfDieter.Fink@gmail.com">Wolf-Dieter Fink</a>
*/
@Local
public interface InternSync {
String returnAfter(int millies);
}
| wfink/jboss-eap-playground | ThreadHandling/ejb/src/main/java/org/jboss/wfink/ejb31/helper/InternSync.java | Java | apache-2.0 | 270 |
/*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/client/impl/protocol/codec/MCResetCPSubsystemCodec.java | Java | apache-2.0 | 2,998 |
package com.mobilejazz.cacheio.mappers.key;
import com.mobilejazz.cacheio.mappers.KeyMapper;
import static com.mobilejazz.cacheio.helper.Preconditions.checkArgument;
public class LongKeyMapper implements KeyMapper<Long> {
@Override public String toString(Long model) {
checkArgument(model, "key cannot be null"... | mobilejazz/CacheIO | cacheio-core/src/main/java/com/mobilejazz/cacheio/mappers/key/LongKeyMapper.java | Java | apache-2.0 | 491 |
/*
* Copyright 2014 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 applicab... | nosceon/titanite | titanite/src/main/java/org/nosceon/titanite/view/ViewRenderer.java | Java | apache-2.0 | 1,583 |
package io.rancher.type;
import io.rancher.base.AbstractType;
import java.util.Map;
import java.util.List;
public class Service extends AbstractType {
private String accountId;
private Boolean assignServiceIpAddress;
private Integer createIndex;
private String created;
pri... | BasisTI/rancher-java-sdk | src/main/java/io/rancher/type/Service.java | Java | apache-2.0 | 8,085 |
package md51558244f76c53b6aeda52c8a337f2c37;
public class FormsImageView
extends android.widget.ImageView
implements
mono.android.IGCUserPeer
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_invalidate:()V:GetInvalidateHandler\n" +
"";
mono.android.Runtime.register (... | coxthepilot/vitasa | vitasa_apps/a_vitavol/obj/Release/android/src/md51558244f76c53b6aeda52c8a337f2c37/FormsImageView.java | Java | apache-2.0 | 1,958 |
/*
* Copyright 2014-2019 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 "licen... | jentfoo/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/ScheduledInstanceRecurrenceRequestStaxUnmarshaller.java | Java | apache-2.0 | 3,939 |
package com.cookie.util;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.apache.http.HttpEntity;
import org.apac... | CaoJunCJ/cookie | CatchData/src/com/cookie/util/LocalUrl.java | Java | apache-2.0 | 2,786 |
/*
Copyright 2020 WeAreFrank!
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 wri... | ibissource/iaf | core/src/main/java/nl/nn/adapterframework/stream/AbortException.java | Java | apache-2.0 | 1,090 |
package com.intellij.psi.stubs;
import com.intellij.lang.Language;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NonNls;
import javax.annotation.Nonnull;
import consulo.annotation.access.RequiredReadAction;
import java.io.IOException;
/**
* @author peter
*/
public abstract class EmptyStubEl... | consulo/consulo | modules/base/lang-api/src/main/java/com/intellij/psi/stubs/EmptyStubElementType.java | Java | apache-2.0 | 1,328 |
/*
* Copyright (C) 2017 by Fonoster Inc (http://fonoster.com)
* http://astivetoolkit.org
*
* This file is part of Astive Toolkit(ATK)
*
* 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
... | ecabrerar/astivetoolkit | examples/voicecomposer/src/main/java/org/astivetoolkit/examples/voicecomposer/App.java | Java | apache-2.0 | 2,830 |
/*******************************************************************************
* Copyright 2012 Crazywater
*
* 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.o... | Crazywater/knufficast | src/de/knufficast/events/NewEpisodeEvent.java | Java | apache-2.0 | 935 |
/*
* Copyright 2016 The original 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 app... | iocanel/sundrio | codegen/src/main/java/io/sundr/codegen/converters/TypeRefTypeVisitor.java | Java | apache-2.0 | 3,366 |
package cn.org.eshow.dao;
import java.util.List;
import cn.org.eshow.bean.query.PhotoQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.dao.GenericDao;
import cn.org.eshow.model.Photo;
/**
* An interface that provides a data management interface to the Photo table.
*/
public interface PhotoDao exten... | bangqu/EShow | eshow-dao/src/main/java/cn/org/eshow/dao/PhotoDao.java | Java | apache-2.0 | 433 |
package com.example.sunray.bluetooth;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publi... | WilliamWzh/Bluetooth_ssp-BLE | app/src/test/java/com/example/sunray/bluetooth/ExampleUnitTest.java | Java | apache-2.0 | 406 |
/*
* 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 ... | PurelyApplied/geode | geode-core/src/test/java/org/apache/geode/distributed/internal/DistributionStatsTest.java | Java | apache-2.0 | 2,036 |
package org.xmly.thrall.core.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by liulihua on 13/01/2018
*/
public class ContestInfo {
private int id;
private String title;
private int userId;
private Date startTime;
private Date endTime;
private... | gexiao01/thrall | thrall-core/src/main/java/org/xmly/thrall/core/model/ContestInfo.java | Java | apache-2.0 | 3,007 |
package org.jfrog.hudson.pipeline.common.types.deployers;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang.StringUtils;
import org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.Whitelisted;
import org.jfrog.hudson.RepositoryConf;
import org.jfrog.hudson.ServerDetails;
import org... | JFrogDev/jenkins-artifactory-plugin | src/main/java/org/jfrog/hudson/pipeline/common/types/deployers/NpmGoDeployer.java | Java | apache-2.0 | 2,354 |
/**
* Provides the classes necessary to generate a Schedule from
* ScheduleInformation gathered from an input file.
*
* @author Caleb Piekstra
*/
package scheduling_algorithm; | piekstra/ANTS | Program/ANTS/src/scheduling_algorithm/package-info.java | Java | apache-2.0 | 183 |
package android.content;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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.... | Orange-OpenSource/matos-profiles | matos-android/src/main/java/android/content/ContentProviderResult.java | Java | apache-2.0 | 1,444 |
package org.laborra.beantrace.model;
import java.util.HashSet;
import java.util.Set;
/**
* Represents a vertex of an object graph.
*
*/
public class Vertex {
private Class<?> clazz;
private String id;
private Set<Edge> references = new HashSet<>();
private Set<Attribute> attributes = new HashSet<>(... | zeeke/bean-trace | src/main/java/org/laborra/beantrace/model/Vertex.java | Java | apache-2.0 | 947 |
package org.mutabilitydetector;
/*
* #%L
* MutabilityDetector
* %%
* Copyright (C) 2008 - 2014 Graham Allan
* %%
* 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.... | MutabilityDetector/MutabilityDetector | src/test/java/org/mutabilitydetector/WellKnownJavaTypesTest.java | Java | apache-2.0 | 4,165 |
package com.ct.helloworld;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android de... | christaylor707/helloworld | app/src/androidTest/java/com/ct/helloworld/ExampleInstrumentedTest.java | Java | apache-2.0 | 738 |
/*
* 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... | noddi/druid | extensions-core/histogram/src/main/java/io/druid/query/aggregation/histogram/ApproximateHistogramFoldingSerde.java | Java | apache-2.0 | 4,323 |
/*
* 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... | consulo/consulo | modules/base/vcs-impl/src/main/java/com/intellij/openapi/vcs/changes/actions/CreatePatchFromChangesAction.java | Java | apache-2.0 | 5,756 |
/*
* This file is part of "lunisolar-magma".
*
* (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/).
*
* 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.o... | lunisolar/magma | magma-func/src/main/java/eu/lunisolar/magma/func/function/conversion/LDblToIntFunction.java | Java | apache-2.0 | 19,987 |
package com.uriio.api;
import android.bluetooth.le.AdvertiseSettings;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.support.annotation.NonNull;
import com.uriio.api.model.ShortUrl;
import com.uriio.api.model.ShortUrls;
import com.ur... | uriio/uriio-android | uriio-android/src/main/java/com/uriio/api/Uriio.java | Java | apache-2.0 | 9,004 |
package com.sequenceiq.cloudbreak.structuredevent.rest.urlparsers;
import java.util.Iterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Component;
import com.google.common.collect.Lists;
import com.sequenceiq.clo... | hortonworks/cloudbreak | core/src/main/java/com/sequenceiq/cloudbreak/structuredevent/rest/urlparsers/FlowRestUrlParser.java | Java | apache-2.0 | 2,354 |
package com.tonilopezmr.sample.data.SQLite.transformer;
import android.content.ContentValues;
import android.database.Cursor;
import com.tonilopezmr.easysqlite.SQLiteTransformer;
import com.tonilopezmr.sample.data.SQLite.entity.SubjectEntity;
/**
*
* @author Toni
*/
public class SubjectTransformer implements SQLi... | tonilopezmr/InteractorExecutor | app/src/main/java/com/tonilopezmr/sample/data/SQLite/transformer/SubjectTransformer.java | Java | apache-2.0 | 1,548 |
package com.leafsoft.school.model;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the Subjects database table.
*
*/
@Entity
@Table(name="Subjects")
@NamedQuery(name="Subject.findAll", query="SELECT s FROM Subject s")
public class Subject implements ... | OurLeafSoft/LeafSchool | src/main/java/com/leafsoft/school/model/Subject.java | Java | apache-2.0 | 5,191 |
/**
* Copyright 2010 CosmoCode 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... | cosmocode/cosmocode-rendering | src/main/java/de/cosmocode/rendering/ShortValueRenderer.java | Java | apache-2.0 | 1,182 |
package com.tbuonomo.materialsquareloading;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
... | tommybuonomo/materialsquareloading | src/main/java/com/tbuonomo/materialsquareloading/MaterialSquareLoading.java | Java | apache-2.0 | 9,711 |
package com.example.flyhigh;
import java.util.ArrayList;
import android.graphics.Rect;
public interface Rectable {
public ArrayList<Rect> getRect();
}
| hubert1002/AndroidFly | src/com/example/flyhigh/Rectable.java | Java | apache-2.0 | 158 |
package ws.l10n.portal.ui.listener;
import ws.l10n.portal.config.meta.ConfigMeta;
import ws.l10n.portal.config.web.listener.ConfigContextLoaderListener;
import ws.l10n.portal.service.event.PortalUserChangedEvent;
import javax.servlet.ServletContextEvent;
/**
*
*/
public class PortalContextLoaderListener extends Co... | l10nws/l10n-app | l10n-portal/ui/src/main/java/ws/l10n/portal/ui/listener/PortalContextLoaderListener.java | Java | apache-2.0 | 660 |