repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
tobyweston/simple-excel | src/main/java/bad/robot/excel/style/Alignment.java | 942 | /*
* Copyright (c) 2012-2013, bad robot (london) 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 applic... | apache-2.0 |
BruceHurrican/asstudydemo | app/src/blue/java/com/bruce/demo/utils/KKReflect.java | 25732 | /*
* Copyright (c) 2011-2016, Data Geekery GmbH (http://www.datageekery.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
*
* Un... | apache-2.0 |
nitinmotgi/hydrator-plugins | hydrator-transforms-lib/src/test/java/co/cask/hydrator/transforms/ParseCSVTest.java | 8888 | /*
* Copyright © 2015 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 agreed t... | apache-2.0 |
dingwpmz/Mycat-Demo | src/main/java/persistent/prestige/modules/eshop/model/OrderItem.java | 1801 | /*
* Powered By agile
* Web Site: http://www.agile.com
* Since 2008 - 2016
*/
package persistent.prestige.modules.eshop.model;
import persistent.prestige.platform.base.model.AuditableModel;
/**
* OrderItem 实体类
* @author 雅居乐 2016-8-27 10:31:06
* @version 1.0
*/
public class OrderItem extends Au... | apache-2.0 |
oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p131/Test2637.java | 2174 | package org.gradle.test.performance.mediummonolithicjavaproject.p131;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test2637 {
Production2637 objectUnderTest = new Production2637();
@Test
public void testProperty0() {
Production2634 value = new Production2634();
... | apache-2.0 |
zhujainxipan/colorweibo | weibo/src/com/ht/jellybean/ui/fragment/MyFragment.java | 8865 | package com.ht.jellybean.ui.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.*;
import com... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ScanStatus.java | 6197 | /*
* Copyright 2017-2022 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... | apache-2.0 |
XClouded/t4f-core | java/class/src/test/java/io/aos/reflect/type/Examples.java | 1684 | package io.aos.reflect.type;
import io.aos.reflect.type.TypeResolver;
import java.io.Serializable;
import java.lang.reflect.Type;
import org.testng.annotations.Test;
@Test
public class Examples {
static class Device {
}
static class Router extends Device {
}
static class GenericDAO<T, ID extends Seriali... | apache-2.0 |
ryansgot/forsuredbcompiler | forsuredbapi/src/test/java/com/fsryan/forsuredb/api/FinderPaginationTest.java | 9911 | package com.fsryan.forsuredb.api;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import static org.junit.Assert.assertEquals;
public abstract class FinderPaginationTest extends FinderTest {
private final int from... | apache-2.0 |
DracoAnimus/Coding | src/main/java/net/wildbill22/draco/entities/ai/EntityAINearestAttackableDragon.java | 3929 | package net.wildbill22.draco.entities.ai;
import java.util.Collections;
import java.util.List;
import net.minecraft.command.IEntitySelector;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.ai.EntityAINearestAttac... | apache-2.0 |
ystromm/learn-selenium | webapp-angular1/src/test/java/com/github/ystromm/learn_selenium/webapp_angular1/spring/TodosSpringTest.java | 7328 | package com.github.ystromm.learn_selenium.webapp_angular1.spring;
import com.github.ystromm.learn_selenium.backend_api.Todo;
import com.github.ystromm.learn_selenium.backend_impl.BackendMain;
import com.github.ystromm.learn_selenium.backend_impl.TodoRepository;
import com.github.ystromm.learn_selenium.webapp_angular1.... | apache-2.0 |
PengGeTeach/Tea | app/src/main/java/com/phone1000/chayu/Interface/FragmentChangeInterface.java | 225 | package com.phone1000.chayu.Interface;
/**
* Created by Administrator on 2016/12/2 0002.
*/
public interface FragmentChangeInterface {
void shijiMoreClick();
void quanziMoreClick();
void wenzhangMoreClick();
}
| apache-2.0 |
twang2218/material-design-toolkit | lib/src/main/java/org/lab99/mdt/drawable/ProxyDrawable.java | 6060 | package org.lab99.mdt.drawable;
import android.annotation.TargetApi;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
/**
* ... | apache-2.0 |
shakamunyi/drill | exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2769UnsupportedReportsUseSqlExceptionTest.java | 15958 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/UpdateOpsItemRequestMarshaller.java | 4662 | /*
* 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... | apache-2.0 |
kingsmiler/trainings | jfinal/jfinal-simple/src/main/java/com/demo/blog/Blog.java | 1263 | package com.demo.blog;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;
/**
* Blog model.
* <p>
* 将表结构放在此,消除记忆负担
* mysql> desc blog;
* +---------+--------------+------+-----+---------+----------------+
* | Field | Type | Null | Key | Default | Extra |
... | apache-2.0 |
GillesMoris/OSS | src/org/parosproxy/paros/view/View.java | 41414 | /*
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Artistic License
* as publi... | apache-2.0 |
dayatang/opencis | opencis-application/src/main/java/org/tmatesoft/svn/examples/wc/test/WCEventHandler.java | 3182 | /*
* ====================================================================
* Copyright (c) 2004-2011 TMate Software Ltd. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://svn... | apache-2.0 |
Z-starts/hutool | src/main/java/com/xiaoleilu/hutool/db/ds/SimpleDataSource.java | 3706 | package com.xiaoleilu.hutool.db.ds;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import com.xiaoleilu.hutool.db.DbUtil;
import com.xiaoleilu.hutool.exceptions.DbRuntimeException;
import com.xiaoleilu.hutool.setting.Setting;
/***
* 简易数据源,没有使用连接池... | apache-2.0 |
warlock-china/wisp | wisp-core/src/main/java/cn/com/warlock/wisp/core/plugin/router/IWispRouter.java | 286 | package cn.com.warlock.wisp.core.plugin.router;
import cn.com.warlock.wisp.core.exception.WispRouterException;
public interface IWispRouter {
void start() throws WispRouterException;
void init() throws WispRouterException;
void shutdown() throws WispRouterException;
}
| apache-2.0 |
Servoy/wicket | wicket/src/test/java/org/apache/wicket/resource/ComponentStringResourceLoaderTest.java | 3843 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
googleads/google-ads-java | google-ads-stubs-v10/src/test/java/com/google/ads/googleads/v10/services/CustomConversionGoalServiceClientTest.java | 4597 | /*
* Copyright 2021 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 |
sladeware/friesian | src/main/java/org/arbeitspferde/friesian/WorkEngine.java | 2963 | /* Copyright 2012 Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-backupgateway/src/main/java/com/amazonaws/services/backupgateway/model/transform/VirtualMachineMarshaller.java | 3529 | /*
* Copyright 2017-2022 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... | apache-2.0 |
Longri/cachebox3.0 | core/src/de/longri/cachebox3/settings/types/SettingDouble.java | 2247 | /*
* Copyright (C) 2011-2020 team-cachebox.de
*
* Licensed under the : GNU General Public License (GPL);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/gpl.html
*
* Unless required by applicable law or agreed to... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/DecisionTaskCompletedEventAttributes.java | 10497 | /*
* 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... | apache-2.0 |
rterp/GMapsFX | GMapsFX/src/main/java/com/dlsc/gmapsfx/shapes/PolylineOptions.java | 1182 | /*
* Copyright 2014 Geoff Capper.
*
* 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 ... | apache-2.0 |
FJplant/AntIDE | src/com/antsoft/ant/browser/sourcebrowser/SourceBrowser.java | 22202 | /*
* Ant ( JDK wrapper Java IDE )
* Version 1.0
* Copyright (c) 1998-1999 Antsoft Co.
* All rights reserved.
* This program and source file is protected by Korea and international
* Copyright laws.
*
* $Header: /usr/cvsroot/AntIDE/source/com/antsoft/ant/browser/sourcebrowser/SourceBrowser.java,v 1.26 1... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/transform/StopInstanceRequestProtocolMarshaller.java | 2662 | /*
* 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... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/DescribePatchBaselinesResult.java | 7760 | /*
* Copyright 2017-2022 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... | apache-2.0 |
chanil1218/elasticsearch | src/main/java/org/elasticsearch/index/query/BoolFilterParser.java | 5008 | /*
* Licensed to ElasticSearch and Shay Banon 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... | apache-2.0 |
MrBin99/spaceInvadersRebirth | src/iut/info1/spaceInvadersRebirth/gameStates/MenuState.java | 1263 | /*
* MenuState.java
*/
package iut.info1.spaceInvadersRebirth.gameStates;
/**
* Représente un état de menu de jeu qui peut être affiché à l'écran.
* @author
* @version 1.0
*/
public abstract class MenuState extends GameState {
/** Les options du menu affiché. */
protected String[] menuOptions;
... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisanalytics/model/DescribeApplicationRequest.java | 3659 | /*
* Copyright 2017-2022 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... | apache-2.0 |
springbootbuch/webmvc | src/main/java/de/springbootbuch/webmvc/FilmsAtomView.java | 990 | package de.springbootbuch.webmvc;
import com.rometools.rome.feed.atom.Entry;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import static java.util.stream.Collectors.toList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework... | apache-2.0 |
firejake308/jeopardy-engine | src/serverside/Main.java | 231 | package serverside;
import java.net.SocketException;
public class Main {
public static void main(String[] args) {
try {
new JeopardyServerThread().start();
} catch (SocketException e) {
e.printStackTrace();
}
}
}
| apache-2.0 |
kingargyle/turmeric-bot | camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTest.java | 4112 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-cloudresourcemanager/v3/1.31.0/com/google/api/services/cloudresourcemanager/v3/model/UpdateTagKeyMetadata.java | 1616 | /*
* 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... | apache-2.0 |
fogaiht/Ajude-a-Joice | app/src/main/java/fogaiht/ajudeajoice/DataBase/_Default.java | 525 | package fogaiht.ajudeajoice.DataBase;
public class _Default {
protected String _mensagem;
protected boolean _status;
public _Default(){
this._status = true;
this._mensagem = "";
}
public String get_mensagem() {
return _mensagem;
}
public void set_mensagem(String _... | apache-2.0 |
mikewalch/accumulo | core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java | 6432 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
vgubskiy/vgubskiy | chapter_002/src/test/java/ru/job4j/tracker/package-info.java | 132 | /**.
* Package for test of tracker task
*
* @author Valeriy Gubskiy
* @version 1.0
* @since 10.08.2017
*/
package ru.job4j.tracker; | apache-2.0 |
dmyersturnbull/network_merge | src/main/java/org/structnetalign/cross/SimpleCrossingManager.java | 5757 | /**
* 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 us... | apache-2.0 |
ahammer/ModelViewLib | ModelViewLib/src/main/java/com/mysaasa/modelviews/ModelFrameLayout.java | 1098 | package com.mysaasa.modelviews;
import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewGroup;
import android.widget.FrameLayout;
/**
* Created by adamhammer2 on 2016-06-25.
*/
public abstract class ModelFrameLayout<T> extends FrameLayout implements IModelView<T> {
ModelViewDel... | apache-2.0 |
bozimmerman/CoffeeMud | com/planet_ink/coffee_mud/Abilities/Skills/Skill_HandCuff.java | 10345 | package com.planet_ink.coffee_mud.Abilities.Skills;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... | apache-2.0 |
yunhai281/baseProject | src/test/java/com/boyuyun/base/sso/RoleUserTypeBizTest.java | 1735 | package com.boyuyun.base.sso;
import static org.junit.Assert.*;
import java.util.List;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.junit.Assert;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import com.boyuyun.base.sso.biz.RoleUserT... | apache-2.0 |
ST-DDT/CrazyCore | src/main/java/de/st_ddt/crazyutil/modules/permissiongroups/VaultPermissionSystem.java | 2233 | package de.st_ddt.crazyutil.modules.permissiongroups;
import java.util.LinkedHashSet;
import java.util.Set;
import net.milkbowl.vault.chat.Chat;
import net.milkbowl.vault.permission.Permission;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.RegisteredServiceProvider;
import de.s... | apache-2.0 |
nivanov/ignite | modules/math/src/main/java/org/apache/ignite/math/impls/matrix/MatrixView.java | 2926 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
ruspl-afed/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/DBNRoot.java | 5208 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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... | apache-2.0 |
ilyashik/hzcpoc | src/main/java/com/hzcpoc/IncomingMessage.java | 950 | package com.hzcpoc;
import java.io.Serializable;
import java.util.Date;
import java.util.UUID;
/**
* Created by Ilya on 29.01.2017.
*/
public class IncomingMessage implements Serializable{
Integer id;
byte[] body;
Date received;
public IncomingMessage(Integer id, byte[] body) {
this.id = id... | apache-2.0 |
nhaarman/trinity | trinity-compiler/src/main/java/com/nhaarman/trinity/internal/codegen/step/ValidateTableElementsStep.java | 1208 | package com.nhaarman.trinity.internal.codegen.step;
import com.nhaarman.trinity.annotations.Table;
import com.nhaarman.trinity.internal.codegen.ProcessingStepResult;
import com.nhaarman.trinity.internal.codegen.validator.TableTypeValidator;
import com.nhaarman.trinity.internal.codegen.validator.ValidationHandler;
impo... | apache-2.0 |
rkistner/binarization | java/src/rkistner/algorithms/KittlerThresholder.java | 2355 | /*
* Copyright 2010 Ralf Kistner
*
* 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 ... | apache-2.0 |
dbarentine/keycloak | services/src/main/java/org/keycloak/social/twitter/TwitterIdentityProvider.java | 7933 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | apache-2.0 |
msteindorfer/disl-svn-2013-10-01 | src-test/ch/usi/dag/disl/test/dispatch2/TargetClass.java | 467 | package ch.usi.dag.disl.test.dispatch2;
public class TargetClass {
public static void main(String[] args) throws InterruptedException {
long start = System.nanoTime();
int COUNT = 10000000;
TargetClass ta[] = new TargetClass[COUNT];
int i;
for(i = 0; i < COUNT; ++i) {
ta[i] = ... | apache-2.0 |
marcosperanza/logo | src/main/java/org/logo/viewer/logo/Procedure.java | 1260 | /**
*
* Copyright 2003-2011 Simple Logo Viewer
*
* 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 applic... | apache-2.0 |
jinyneu/jiweather | src/com/jiweather/app/model/County.java | 640 | package com.jiweather.app.model;
public class County {
private int id;
private String countyName;
private String countyCode;
private int cityId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCountyName() {
return countyName;
}
public void setCou... | apache-2.0 |
pister/wint | wint-framework/src/main/java/wint/mvc/form/DefaultForm.java | 7671 | package wint.mvc.form;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import wint.core.config.Constants;
import wint.lang.convert.ConvertUtil;
import wint.lang.magic.MagicList;
import wint.lang.magic.MagicObject;
import wint.lang.magic.Property;
import wint.lang.utils.CollectionU... | apache-2.0 |
superspeedone/youyou | src/com/youno/view/LoadingView.java | 1014 | package com.youno.view;
import com.youno.R;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
public class LoadingView extends RelativeLayout {
private Contex... | apache-2.0 |
JamesBarnes88/CleanTorrent | app/src/test/java/com/castle/cleantorrent/ExampleUnitTest.java | 316 | package com.castle.cleantorrent;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | apache-2.0 |
kantega/respiro | plugins/core/jersey-metrics/src/main/java/org/kantega/respiro/jerseymetrics/TimerBeforeFilter.java | 1591 | /*
* Copyright 2019 Kantega AS
*
* 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... | apache-2.0 |
realityforge/arez | doc-examples/src/main/java/arez/doc/examples/at_observe3/CurrencyView.java | 609 | package arez.doc.examples.at_observe3;
import arez.annotations.ArezComponent;
import arez.annotations.Executor;
import arez.annotations.Observe;
@ArezComponent
public abstract class CurrencyView
{
// A read-only observer that renders
@Observe( executor = Executor.EXTERNAL )
public ReactNode render()
{
//R... | apache-2.0 |
Kevin-Lee/kommonlee-core | src/main/java/org/elixirian/kommonlee/functional/collect/ForEachInArray.java | 2488 | /**
* This project is licensed under the Apache License, Version 2.0
* if the following condition is met:
* (otherwise it cannot be used by anyone but the author, Kevin, only)
*
* The original KommonLee project is owned by Lee, Seong Hyun (Kevin).
*
* -What does it mean to you?
* Nothing, unless you want to tak... | apache-2.0 |
mdanielwork/intellij-community | java/java-analysis-impl/src/com/intellij/codeInspection/RedundantBackticksAroundRawStringLiteralInspection.java | 2855 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInspection;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.util.text.StringUtil;
im... | apache-2.0 |
zengjingfang/AndroidBox | box/src/main/java/cn/zengjingfang/box/android/rxhandler/rx/Subscriber.java | 2479 | package cn.zengjingfang.box.android.rxhandler.rx;
import cn.zengjingfang.box.android.rxhandler.rx.observer.Observer;
import cn.zengjingfang.box.android.rxhandler.rx.util.SubscriptionList;
/**
*
* Created by ZengJingFang on 2018/4/25.
*/
public abstract class Subscriber<T> implements Observer<T>, Subscription {
... | apache-2.0 |
igor-sfdc/aura | aura-osgi-extensions/src/main/java/org/auraframework/ds/http/whiteboard/providers/AuraResourceRewriteFilterProxy.java | 1500 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | apache-2.0 |
CloudSlang/score | engine/orchestrator/score-orchestrator-impl/src/main/java/io/cloudslang/orchestrator/services/EngineVersionServiceImpl.java | 972 | /*
* Copyright © 2014-2017 EntIT Software LLC, a Micro Focus company (L.P.)
*
* 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... | apache-2.0 |
ilyashik/hzcpoc | src/main/java/com/hzcpoc/runnable/ConsumePersist.java | 2489 | package com.hzcpoc.runnable;
import com.hazelcast.client.HazelcastClient;
import com.hazelcast.client.config.ClientConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hzcpoc.IncomingMessage;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import co... | apache-2.0 |
heriram/incubator-asterixdb | asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/api/IDataParserFactory.java | 2518 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
chtyim/cdap | cdap-proto/src/main/java/co/cask/cdap/proto/metadata/MetadataSearchTargetType.java | 1597 | /*
* Copyright © 2015 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 agreed t... | apache-2.0 |
HazelChen/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java | 60167 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
TheGenuine/ThirdFloorCoffee | src/de/reneruck/thirdfeCoffee/PlacesSet.java | 502 | package de.reneruck.thirdfeCoffee;
import java.util.List;
/**
* Created by Rene on 16/08/13.
*/
public class PlacesSet {
private long lastUpdate;
private List<Place> places;
public List<Place> getPlaces() {
return places;
}
public void setPlaces(List<Place> places) {
this.place... | apache-2.0 |
vam-google/google-cloud-java | google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImportProductSetsRequestOrBuilder.java | 1623 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/product_search_service.proto
package com.google.cloud.vision.v1;
public interface ImportProductSetsRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.ImportProductSetsReques... | apache-2.0 |
ofg-dmitrys/micro-infra-spring | swagger/micro-infra-spring-swagger/src/main/java/repackaged/com/mangofactory/swagger/readers/operation/OperationHttpMethodReader.java | 1433 | package repackaged.com.mangofactory.swagger.readers.operation;
import repackaged.com.mangofactory.swagger.scanners.RequestMappingContext;
import com.wordnik.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils;
import org.springframework... | apache-2.0 |
dagnir/aws-sdk-java | aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/waf_regional/transform/GetSizeConstraintSetRequestProtocolMarshaller.java | 2740 | /*
* Copyright 2012-2017 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... | apache-2.0 |
camilesing/zstack | sdk/src/main/java/org/zstack/sdk/GetEcsInstanceVncUrlAction.java | 2453 | package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class GetEcsInstanceVncUrlAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParameterMap... | apache-2.0 |
francisliu/hbase | hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java | 113639 | /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | apache-2.0 |
Kevin-Lee/kommonlee-core | src/main/java/org/elixirian/kommonlee/type/functional/Function6.java | 2557 | /**
* This project is licensed under the Apache License, Version 2.0
* if the following condition is met:
* (otherwise it cannot be used by anyone but the author, Kevin, only)
*
* The original KommonLee project is owned by Lee, Seong Hyun (Kevin).
*
* -What does it mean to you?
* Nothing, unless you want to tak... | apache-2.0 |
cerner/beadledom | swagger2/src/main/java/com/cerner/beadledom/swagger2/Swagger2Module.java | 2954 | package com.cerner.beadledom.swagger2;
import com.google.inject.AbstractModule;
import com.google.inject.multibindings.Multibinder;
import io.swagger.converter.ModelConverter;
import io.swagger.converter.ModelConverters;
import io.swagger.jaxrs.config.JaxrsScanner;
import io.swagger.jaxrs.config.SwaggerContextService;... | apache-2.0 |
JanewzhWang/dasein-cloud-core | src/main/java/org/dasein/cloud/compute/SpotVirtualMachineRequest.java | 4782 | /**
* Copyright (C) 2009-2015 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | apache-2.0 |
Radomiej/JavityEngine | javity-engine/src/main/java/org/javity/engine/resources/BitmapFontResource.java | 475 | package org.javity.engine.resources;
import org.javity.engine.Resource;
import galaxy.rapid.asset.RapidAsset;
public class BitmapFontResource implements Resource {
private String resourcePath;
public BitmapFontResource() {
}
public BitmapFontResource(String resourcePath){
this.resourcePath = r... | apache-2.0 |
liwujun/xmpp | src/com/way/activity/RegisterActivity.java | 4114 | package com.way.activity;
import org.jivesoftware.smack.AccountManager;
import org.jivesoftware.smack.Connection;
import org.jivesoftware.smack.ConnectionConfiguration;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.XMPPException;
import android.app.Activity;
import android.os.Bundle;
imp... | apache-2.0 |
lshift/bletchley | src/main/java/net/lshift/spki/convert/Convert.java | 3370 | package net.lshift.spki.convert;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotations to guide the SExp converter.
*/
public class Convert
{
/**
* An annotation for annotations - th... | apache-2.0 |
scalding/shib-cas-authn2 | idp-cas-invoker/src/main/java/net/unicon/idp/authn/provider/CasLoginHandler.java | 3374 | package net.unicon.idp.authn.provider;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import edu.internet2.middleware.shibboleth.idp.authn.provider.AbstractLoginHandler;
impo... | apache-2.0 |
ebi-uniprot/QuickGOBE | geneproduct-rest/src/test/java/uk/ac/ebi/quickgo/geneproduct/service/converter/GeneProductDocConverterImplTest.java | 4387 | package uk.ac.ebi.quickgo.geneproduct.service.converter;
import uk.ac.ebi.quickgo.geneproduct.common.GeneProductDocument;
import uk.ac.ebi.quickgo.geneproduct.common.GeneProductType;
import uk.ac.ebi.quickgo.geneproduct.model.GeneProduct;
import java.util.Arrays;
import java.util.List;
import org.junit.Before;
import... | apache-2.0 |
werkt/bazel | src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryResourceClassJarProvider.java | 3262 | // Copyright 2016 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... | apache-2.0 |
appbakers/automon_example | jamonapi/jamon/src/main/java/com/jamonapi/RangeBase.java | 2571 | package com.jamonapi;
/** Base class for ranges which are a compromise between aggregation and tracking details.
*/
final class RangeBase extends RangeImp {
private static final long serialVersionUID = 278L;
private double[] rangeValues;
/** The first range will catcth anything less than that value. *... | apache-2.0 |
cduicu/play-jaas | app/auth/WebSession.java | 2827 | package auth;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import play.cache.Cache;
import play.mvc.Http;
import java.io.Serializable;
import java.util.HashMap;
/**
* Simulates the Servlet's HTTPSession object.
*/
public class WebSession {
private static Logger logger = LoggerFactory.getLogger(Web... | apache-2.0 |
robdouglas/incubator-streams | streams-contrib/streams-provider-youtube/src/main/java/com/youtube/serializer/YoutubeActivityUtil.java | 7570 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
JSDanielPark/algorhythm_backend | algorhythm/src/main/java/kr/devdogs/algorhythm/template/controller/TemplateController.java | 1580 | package kr.devdogs.algorhythm.template.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import or... | apache-2.0 |
maksimov/dasein-cloud-test | src/main/java/org/dasein/cloud/test/cloud/StatelessDCTests.java | 24592 | /**
* Copyright (C) 2009-2015 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | apache-2.0 |
chitzkoy/twister-spring | src/main/java/ru/qatools/school/twister/repository/UserDaoImpl.java | 3664 | package ru.qatools.school.twister.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.PreparedStatementCreator;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.support.Generate... | apache-2.0 |
appcelerator/titanium_studio_sdk | desktop/plugins/com.appcelerator.titanium.desktop/src/com/appcelerator/titanium/desktop/ui/wizard/Release.java | 5380 | /**
* Copyright 2011-2012 Appcelerator, 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... | apache-2.0 |
weld/core | tests-arquillian/src/test/java/org/jboss/weld/tests/transientReference/metadata/Foo.java | 1236 | /*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | apache-2.0 |
malictus/klang | src/malictus/klang/ui/klangeditor/DeleteBytesDialog.java | 4051 | /**
* This file is distributed under a BSD-style license. See the included LICENSE.txt file
* for more information.
* Copyright (c) 2009, James Halliday
* All rights reserved.
*/
package malictus.klang.ui.klangeditor;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;
impo... | apache-2.0 |
Taller/sqlworkbench-plus | src/workbench/db/report/IndexReporter.java | 7145 | /*
* IndexReporter.java
*
* This file is part of SQL Workbench/J, http://www.sql-workbench.net
*
* Copyright 2002-2015, Thomas Kellerer
*
* 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 a... | apache-2.0 |
minborg/beacon | src/main/java/com/speedment/beacon/resource/DefaultResource.java | 692 | package com.speedment.beacon.resource;
import com.speedment.beacon.resource.content.OnePng;
import com.speedment.beacon.resource.mime.MimeType;
import java.io.InputStream;
/**
*
* @author pemi
*/
public class DefaultResource implements Resource {
private final MimeType mimeType;
private final String resou... | apache-2.0 |
JackAnansi/NHLPlayoffsSim | app/src/main/java/com/ambrogio/dan/playoffs/EditTeam.java | 5394 | package com.ambrogio.dan.playoffs;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android... | apache-2.0 |
danmcginnis/SBird | src/com/cis4350/framework/implementation/AndroidFileIO.java | 1283 | package com.cis4350.framework.implementation;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.... | apache-2.0 |
baratine/auction | src/test/java/examples/auction/AuctionReplayTest.java | 2616 | package examples.auction;
import java.util.logging.Logger;
import javax.inject.Inject;
import io.baratine.service.Service;
import io.baratine.service.Services;
import io.baratine.vault.IdAsset;
import com.caucho.junit.ConfigurationBaratine;
import com.caucho.junit.RunnerBaratine;
import com.caucho.junit.ServiceTest... | apache-2.0 |
deeplearning4j/DataVec | datavec-api/src/main/java/org/datavec/api/transform/transform/doubletransform/StandardizeNormalizer.java | 2068 | /*-
* * Copyright 2016 Skymind, 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
* *
* * Un... | apache-2.0 |
OliverJiangnice/LearnSSH | broadcastreceivertwo/src/test/java/com/example/oliverjiang/broadcastreceivertwo/ExampleUnitTest.java | 351 | package com.example.oliverjiang.broadcastreceivertwo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
as... | apache-2.0 |
DataSketches/sketches-core | src/main/java/org/apache/datasketches/tuple/arrayofdoubles/ArrayOfDoublesIntersection.java | 5461 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |