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
/** * @author eamonn * */ package com.srcdevbin.buildbot.activity.movement;
elmodaddyb/buildbot
buildbot-activity/src/com/srcdevbin/buildbot/activity/movement/package-info.java
Java
apache-2.0
78
/* * 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 ...
wjsl/jaredcumulo
test/src/main/java/org/apache/accumulo/test/functional/ScanSessionTimeOutTest.java
Java
apache-2.0
3,784
package org.cam.core.domain; import org.cam.core.cache.Copyable; import java.io.Serializable; /** * Authorization entity. */ public interface User extends Serializable,Copyable{ public String getId(); public String getName(); }
yaohuiwu/CAM
cam-core/src/main/java/org/cam/core/domain/User.java
Java
apache-2.0
244
/* * Copyright 2017 Vector Creations Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
noepitome/neon-android
neon/src/main/java/im/neon/activity/CountryPickerActivity.java
Java
apache-2.0
6,624
/* Copyright 2017 Bennett Dong. 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...
FlyingDuck/sparrow
src/main/java/club/cookbean/sparrow/writer/impl/StripedWriteBehind.java
Java
apache-2.0
3,711
package org.hibernate.validator.test.valid; import org.hibernate.validator.Valid; /** * @author Emmanuel Bernard */ public class Form { private Member member; @Valid public Member getMember() { return member; } public void setMember(Member m) { this.member = m; } }
emmanuelbernard/hibernate-validator
hibernate-validator-legacy/src/test/java/org/hibernate/validator/test/valid/Form.java
Java
apache-2.0
303
package com.xubin.starclass.utils; import android.text.TextUtils; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import com.xubin.starclass.R; import com.xubin.starclass.https.XUtils; import java.lang.reflect.Type; /** * Created by Xubin on 2015/9/2. */ public class JsonUtil<T> { ...
hnxylc8818/StarClass
src/main/java/com/xubin/starclass/utils/JsonUtil.java
Java
apache-2.0
1,252
package com.tms.entities; import java.io.Serializable; import java.util.Date; /** * Created by Evan on 2016/3/12. */ public class UserInfo implements Serializable { private Integer id; private String acctName; private String userName; private String fullName; private String password; pr...
EvilGreenArmy/tms
src/main/java/com/tms/entities/UserInfo.java
Java
apache-2.0
2,287
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the LDP4j Project: * http://www.ldp4j.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * ...
ldp4j/ldp4j
framework/application/api/src/test/java/org/ldp4j/application/ApplicationContextTest.java
Java
apache-2.0
17,332
/** * * Copyright (c) 2006-2017, Speedment, 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 requ...
Pyknic/CodeGen
src/main/java/com/speedment/common/codegen/internal/java/view/ClassOrInterfaceView.java
Java
apache-2.0
4,958
/* * 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...
kdvolder/spring-boot
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/invoke/reflect/OperationMethodParameterTests.java
Java
apache-2.0
2,108
package org.leguan.usageindex; import java.util.UUID; public class UsageIndexMemoryItem { public UUID id; public String usage; public String createdAt; public String location; public UsageIndexURL usageIndexUrl; public String toString () { return id.toString() + "-" + usage + "-" + createdAt + "...
moley/leguan
leguan-base/src/main/java/org/leguan/usageindex/UsageIndexMemoryItem.java
Java
apache-2.0
343
package br.com.caelum.leilao.dominio; public class CriadorLeilao { private Leilao leilao; public CriadorLeilao para(String objetoLeilao) { this.leilao = new Leilao(objetoLeilao); return this; } public CriadorLeilao propoe(Usuario jose, double valorLance) { this.leilao.propoe(new Lance(jose, valorLance)); ...
wesleyegberto/courses-projects
java/java-tests/tdd-java/src/test/java/br/com/caelum/leilao/dominio/CriadorLeilao.java
Java
apache-2.0
390
package org.xtext.example.mydsl.ui.contentassist.antlr.internal; // Hack: Use our own Lexer superclass by means of import. // Currently there is no other way to specify the superclass for the lexer. import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; import org.antlr.runtime.*; import java.util.S...
adrian-herscu/experiments
language-workbenches/xtext/org.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDslLexer.java
Java
apache-2.0
30,792
/** * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
bricket/bricket
bricket-core/src/main/java/org/bricket/plugin/user/web/UserPageParameterDefinition.java
Java
apache-2.0
990
/* * 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...
jexp/idea2
java/java-impl/src/com/intellij/refactoring/typeCook/deductive/builder/Subtype.java
Java
apache-2.0
1,243
/* * 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...
dagnir/aws-sdk-java
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/StepSummaryJsonUnmarshaller.java
Java
apache-2.0
3,640
/* * 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 ...
iyounus/incubator-systemml
src/main/java/org/apache/sysml/runtime/instructions/spark/RandSPInstruction.java
Java
apache-2.0
28,815
/* Copyright 2007-2011 WebDriver committers 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 ...
akiellor/selenium
java/server/src/org/openqa/grid/web/servlet/handler/RequestHandler.java
Java
apache-2.0
12,534
package com.jjc.mailshop.pojo; import java.util.Date; public class Category { private Integer id; private Integer parentId; private String name; private Boolean status; private Integer sortOrder; private Date createTime; private Date updateTime; public Category(Integer id, Integ...
aohanyao/CodeMall
code/ServerCode/CodeMallServer/src/main/java/com/jjc/mailshop/pojo/Category.java
Java
apache-2.0
1,761
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
yintaoxue/read-open-source-code
kettle4.3/src/org/pentaho/di/trans/steps/webservices/WebServiceField.java
Java
apache-2.0
2,329
/* * Copyright 2014 Boleslav Bobcik * * 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 ...
bbobcik/auderis-tools
config/src/test/java/cz/auderis/tools/config/PrimitiveDataObjectTest.java
Java
apache-2.0
12,571
package com.example.component_dependency; import arez.annotations.ArezComponent; import arez.annotations.ComponentDependency; import arez.component.DisposeNotifier; @ArezComponent abstract class NonStandardNameFieldDependencyModel { @ComponentDependency public final DisposeNotifier $$time$$ = null; }
realityforge/arez
processor/src/test/fixtures/input/com/example/component_dependency/NonStandardNameFieldDependencyModel.java
Java
apache-2.0
308
/* * 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...
aws/aws-sdk-java
aws-java-sdk-panorama/src/main/java/com/amazonaws/services/panorama/model/DescribeNodeResult.java
Java
apache-2.0
21,744
/** * Was created to test returning IterstorConverter class. * Created on 08.05.2017. * @author Matevosyan Vardan * @version 1.0 */ package ru.matevosyan;
VardanMatevosyan/Vardan-Git-Repository
CollectionsPro/iteratorOfIteratos/src/test/java/ru/matevosyan/package-info.java
Java
apache-2.0
159
package com.barryzhang.tcontributionsview.adapter; /** * https://github.com/barryhappy * Created by Barry on 2016/11/22 */ public class IntArraysContributionsViewAdapter extends AbstractArraysContributionsViewAdapter<Integer> { public IntArraysContributionsViewAdapter() { super(); } public Int...
barryhappy/TContributionsView
tcontributionsview/src/main/java/com/barryzhang/tcontributionsview/adapter/IntArraysContributionsViewAdapter.java
Java
apache-2.0
491
/* * Copyright 2012-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
himanshuvirmani/concert
src/main/java/com/concert/domain/Aggregate.java
Java
apache-2.0
3,189
/* * 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 com.orange.web.exceptions; /** * * @author lining */ public class ClassGeneratorException extends AbstractWebExc...
15919873635/OrangeWeb
src/com/orange/web/exceptions/ClassGeneratorException.java
Java
apache-2.0
712
// Copyright (C) 2009 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Team-OctOS/host_gerrit
gerrit-httpd/src/main/java/com/google/gerrit/httpd/HttpLogoutServlet.java
Java
apache-2.0
3,085
/* (C) Copyright 2013-2016 The RISCOSS Project Consortium 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 appli...
RISCOSS/riscoss-corporate
riscoss-webapp/src/main/java/eu/riscoss/client/entities/EntityPropertyPage.java
Java
apache-2.0
37,647
/** * package for Professions test tasks. * @author avlodin * @since 17.04.17 * @version 1.0 */ package ru.job4j.professions;
DartSicon/avolodin
chapter_002/src/test/java/ru/job4j/professions/package-info.java
Java
apache-2.0
131
/* * #%L * wcm.io * %% * Copyright (C) 2014 wcm.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/licenses/LICENSE-2.0 * * Unless required by ap...
wcm-io-caravan/caravan-commons
metrics/src/main/java/io/wcm/caravan/commons/metrics/rx/HitsAndMissesCountingMetricsOperator.java
Java
apache-2.0
2,081
/* * Copyright (c) 2008-2018, 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 ...
tufangorel/hazelcast
hazelcast/src/main/java/com/hazelcast/internal/util/SimpleCompletedFuture.java
Java
apache-2.0
3,386
/* Derby - Class org.apache.derbyTesting.functionTests.tests.jdbcapi.AuthenticationTest 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. Th...
kavin256/Derby
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java
Java
apache-2.0
61,215
/* * Copyright 2020 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 applicable law or ...
nebula-plugins/java-source-refactor
rewrite-core/src/main/java/org/openrewrite/ScopedVisitorSupport.java
Java
apache-2.0
1,391
package com.navalgame; 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 public void addition...
JU-2094/NavalGame
app/src/test/java/com/navalgame/ExampleUnitTest.java
Java
apache-2.0
391
/* * Copyright 2016-2102 Appleframework(http://www.appleframework.com) 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 *...
xushaomin/apple-pay
apple-pay-service/src/main/java/com/appleframework/pay/account/exception/AccountBizException.java
Java
apache-2.0
2,412
package com.kifile.android.cornerstone.core; import android.support.annotation.NonNull; /** * AbstractFetcherConverter is used to transform a data to another type. * * @author kifile */ public abstract class AbstractFetcherConverter<FROM, TO> implements DataFetcher<TO> { private DataFetcher<FROM> mProxy; ...
kifile/Cornerstone
framework/src/main/java/com/kifile/android/cornerstone/core/AbstractFetcherConverter.java
Java
apache-2.0
836
/* * Copyright (c) 2021, 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.apac...
lessthanoptimal/BoofCV
main/boofcv-sfm/src/test/java/boofcv/alg/geo/pose/TestPnPStereoResidualReprojection.java
Java
apache-2.0
3,523
/* * 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 ...
vikkyrk/incubator-beam
runners/google-cloud-dataflow-java/src/test/java/org/apache/beam/runners/dataflow/PrimitiveParDoSingleFactoryTest.java
Java
apache-2.0
6,616
package com.tpb.projects.repo.fragments; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.ActivityOptionsCompat; import android.support.v4.util.Pair; import android.suppo...
tpb1908/AndroidProjectsClient
app/src/main/java/com/tpb/projects/repo/fragments/RepoInfoFragment.java
Java
apache-2.0
10,823
package com.kk.taurus.avplayer.adapter; import android.content.Context; import androidx.core.view.ViewCompat; import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import android.widget.FrameLayout; import android.widget.ImageVi...
jiajunhui/PlayerBase
app/src/main/java/com/kk/taurus/avplayer/adapter/ListAdapter.java
Java
apache-2.0
7,465
package com.epai.contract.model.sys; import lombok.Getter; import lombok.Setter; import java.io.Serializable; /** * @Author jihua.li * @Date 2017/2/8 15:02 */ @Getter @Setter public class SysResources implements Serializable{ private int id; private String name; private int parentId; private Stri...
smart-vole/web-project-parent
web-service-contract/src/main/java/com/epai/contract/model/sys/SysResources.java
Java
apache-2.0
464
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
droolsjbpm/jbpm-wb
jbpm-wb-case-mgmt/jbpm-wb-case-mgmt-client/src/test/java/org/jbpm/workbench/cm/client/util/CaseRolesValidationsTest.java
Java
apache-2.0
5,823
/* * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
ceylon/ceylon
compiler-java/langtools/src/share/classes/org/eclipse/ceylon/langtools/tools/javac/util/Convert.java
Java
apache-2.0
12,401
/* * 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...
aws/aws-sdk-java
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/transform/EntitlementAttributeJsonUnmarshaller.java
Java
apache-2.0
3,029
/* * Copyright 2017 StreamSets 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...
z123/datacollector
basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/logtail/FileTailDSource.java
Java
apache-2.0
1,899
/* * 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 vista; import javax.swing.JOptionPane; import javax.swing.table.DefaultTableModel; import modelo.formularios.Interfaz_Clientes...
eisnerh/PCT_315
TropiCabinas/src/vista/Frm_BusquedaClientes_FacturaCCC.java
Java
apache-2.0
8,746
package com.gotcreations.emojilibrary.model; import android.util.SparseIntArray; import com.gotcreations.emojilibrary.R; /** * Created by Leonardo Assunção on 18/02/2016. */ public class Nature { public static final Emoji[] DATA = new Emoji[]{ Emoji.fromCodePoint(0x1f436), Emoji.fromCod...
ander7agar/emoji-keyboard
emoji-library/src/main/java/com/gotcreations/emojilibrary/model/Nature.java
Java
apache-2.0
15,044
package org.ovirt.engine.core.vdsbroker.vdsbroker; import org.ovirt.engine.core.common.errors.EngineError; import org.ovirt.engine.core.common.errors.VDSError; import org.ovirt.engine.core.compat.Guid; import org.ovirt.engine.core.vdsbroker.ResourceManager; public class CancelMigrateVDSCommand<P extends CancelMigrati...
OpenUniversity/ovirt-engine
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/CancelMigrateVDSCommand.java
Java
apache-2.0
1,638
/* * Copyright (c) 2011 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...
dahlstrom-g/truth
core/src/test/java/com/google/common/truth/ClassSubjectTest.java
Java
apache-2.0
2,143
/* * 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...
dagnir/aws-sdk-java
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/transform/CreateMicrosoftADRequestProtocolMarshaller.java
Java
apache-2.0
2,703
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
dremio/dremio-oss
sabot/kernel/src/main/java/com/dremio/exec/maestro/MaestroObserver.java
Java
apache-2.0
3,762
package pers.data; public enum InterceptStatus { INTERCEPT_NONE(0b0), //不进行拦截 INTERCEPT_SEND(0b1), // 拦截客户端的请求 INTERCEPT_RECV(0b10), // 拦截server的响应 INTERCEPT_ALL(0b11); private int status = 0; private InterceptStatus(int t) { status = t; } public int GetStatus() { return status; } @O...
uncleheart/Socks-Changer
interface/src/pers/data/InterceptStatus.java
Java
apache-2.0
528
package cz.muni.fi.pa165.sportsclub.dto; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonManagedReference; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.util.Objects; import java.util.Set; /** * DTO fot team...
HonzaCech/PA165-SportClub
api/src/main/java/cz/muni/fi/pa165/sportsclub/dto/TeamDto.java
Java
apache-2.0
2,017
/* * 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 c...
CenterForOpenScience/cas-overlay
cas-server-support-oauth/src/test/java/org/jasig/cas/support/oauth/web/OAuth20RevokeClientPrincipalTokensControllerTests.java
Java
apache-2.0
13,134
/* * 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...
aws/aws-sdk-java
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/transform/DescribeAppInstanceResultJsonUnmarshaller.java
Java
apache-2.0
2,905
package org.reclipse.tracer.ui.launching; import java.util.Collection; import java.util.HashMap; import java.util.Map; /** * @author Lothar * @author Last editor: $Author: mcp $ * @version $Revision: 4624 $ $Date: 2011-01-18 10:58:31 +0100 (Di, 18 Jan 2011) $ */ class MonitoredEventsListenerClass ...
CloudScale-Project/StaticSpotter
plugins/org.reclipse.tracer.ui/src/org/reclipse/tracer/ui/launching/MonitoredEventsListenerClass.java
Java
apache-2.0
1,435
package org.sculptor.example.ejb.helloworld.milkyway.serviceimpl; import javax.ejb.Stateless; import javax.interceptor.Interceptors; import org.sculptor.example.ejb.helloworld.milkyway.serviceapi.InternalPlanetServiceLocal; import org.sculptor.example.ejb.helloworld.milkyway.serviceimpl.InternalPlanetServiceBeanBase;...
sculptor/sculptor
sculptor-examples/ejb-example/helloworld/src/main/java/org/sculptor/example/ejb/helloworld/milkyway/serviceimpl/InternalPlanetServiceBean.java
Java
apache-2.0
1,127
/* * Copyright 2016-2018 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/junit5/junit5-core/src/test/java/org/testifyproject/junit5/system/GenericInstanceSystemTest.java
Java
apache-2.0
1,282
package com.flipper83.protohipster.feed.domain.module; import com.flipper83.protohipster.feed.domain.mappers.HipsterMapper; import com.flipper83.protohipster.feed.domain.mappers.HipsterMapperManual; import com.flipper83.protohipster.feed.domain.interactors.GetFeed; import com.flipper83.protohipster.feed.domain.interac...
flipper83/protohipster
protohipster/src/main/java/com/flipper83/protohipster/feed/domain/module/DomainModule.java
Java
apache-2.0
1,323
/******************************************************************************* * Copyright 2015-2016 - CNRS (Centre National de Recherche Scientifique) * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for ad...
termsuite/termsuite-core
src/main/java/fr/univnantes/termsuite/model/Word.java
Java
apache-2.0
3,955
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
dgutierr/kie-wb-common
kie-wb-common-screens/kie-wb-common-server-ui/kie-wb-common-server-ui-client/src/main/java/org/kie/workbench/common/screens/server/management/client/container/status/ContainerRemoteStatusView.java
Java
apache-2.0
1,566
/** * */ package alokawi.ehcache.test; import java.util.UUID; import org.junit.Test; import alokawi.ehcache.core.EhCacheManager; import junit.framework.TestCase; /** * @author alokkumar * */ public class EhCacheManagerTest extends TestCase { @Test public void testEhCachePutAndGet() { EhCacheManager cache...
alokawi/working-with-ehcache
src/test/java/alokawi/ehcache/test/EhCacheManagerTest.java
Java
apache-2.0
595
/* * Copyright © 2021 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...
data-integrations/delta
delta-app/src/test/java/io/cdap/delta/store/MockStateStore.java
Java
apache-2.0
2,472
package net.voldrich.smscsim.server; public class FormatUtils { public static String formatAsHex(long msgId) { String msgIdStr = String.format("%07x", msgId); return msgIdStr.toLowerCase(); // just to be sure :) } public static String formatAsHexUppercase(long msgId) { return formatAsHex(msgId).toUpperC...
MavoCz/smscsim
src/main/java/net/voldrich/smscsim/server/FormatUtils.java
Java
apache-2.0
422
/*- * * * Copyright 2015 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 * * * * ...
smarthi/nd4j
nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/transforms/OldIdentity.java
Java
apache-2.0
2,541
//===================================================================== // //File: $RCSfile: ModelImportWizard.java,v $ //Version: $Revision: 1.30 $ //Modified: $Date: 2013/05/10 05:12:22 $ // //(c) Copyright 2007-2014 by Mentor Graphics Corp. All rights reserved. // //==========================================...
nmohamad/bridgepoint
src/org.xtuml.bp.io.mdl/src/org/xtuml/bp/io/mdl/wizards/ModelImportWizard.java
Java
apache-2.0
18,398
/* * 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...
dagnir/aws-sdk-java
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/VaultAccessPolicyMarshaller.java
Java
apache-2.0
1,962
/* * 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 ...
lorenc/Fido
src/com/FalcoLabs/Fido/api/localization/messages.java
Java
apache-2.0
2,224
package org.fabric3.samples.bigbank.api.backend.loan; import javax.xml.bind.annotation.XmlRootElement; import java.math.BigDecimal; /** * An internal loan application. */ @XmlRootElement public class LoanRequest { private String customerId; private String merchantId; private BigDecimal amount; pr...
Fabric3/samples-bigbank
backend-api/src/main/java/org/fabric3/samples/bigbank/api/backend/loan/LoanRequest.java
Java
apache-2.0
1,162
package com.ezpreferences; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super...
JeromeGL/EasyPreferences
app/src/androidTest/java/com/ezpreferences/ApplicationTest.java
Java
apache-2.0
348
package com.devl.development.dockingbox.pdb; import org.biojava.bio.structure.*; import java.util.List; import java.util.Vector; /** * Copyright 2014 Dev Lakhani * <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 ...
devldevelopment/dockingbox
src/main/java/com/devl/development/dockingbox/pdb/PDBStructureUtils.java
Java
apache-2.0
6,152
package com.xqbase.java.exceptions; /** * Empty Tree Exception. * * @author Tony He */ public class EmptyTreeException extends Exception { public EmptyTreeException(String message) { super(message); } public EmptyTreeException(Throwable cause) { super(cause); } public EmptyTr...
AdoHe/Homework
Tree/src/com/xqbase/java/exceptions/EmptyTreeException.java
Java
apache-2.0
406
/* * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.server; import java.io.ByteArrayInputStream; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream;...
vdr007/ThriftyPaxos
src/applications/h2/src/main/org/h2/server/TcpServerThread.java
Java
apache-2.0
23,808
package org.wikipedia.gallery; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.Animatable; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import an...
SAGROUP2/apps-android-wikipedia
app/src/main/java/org/wikipedia/gallery/GalleryItemFragment.java
Java
apache-2.0
19,258
package com.ndi.app; import com.fererlab.app.BaseApplication; import com.fererlab.app.EApplicationMode; import com.fererlab.db.EM; import com.fererlab.dto.Request; import com.fererlab.dto.Response; /** * acm */ public class NDI extends BaseApplication { @Override public void start() { if (EApplica...
canmogol/NDIServer
src/main/java/com/ndi/app/NDI.java
Java
apache-2.0
891
/* * Copyright 2016 Lutz Fischer <l.fischer@ed.ac.uk>. * * 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...
lutzfischer/XiSearch
src/main/java/rappsilber/applications/TopY1R1.java
Java
apache-2.0
3,415
/* * Copyright 2013 SHU4M * * 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 ...
mhueb/shu4m
src/main/java/org/shu4m/SetQualifier.java
Java
apache-2.0
1,522
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/kernel/tags/sakai-10.1/api/src/main/java/org/sakaiproject/email/api/DigestMessage.java $ * $Id: DigestMessage.java 105077 2012-02-24 22:54:29Z ottenhoff@longsight.com $ ********************...
harfalm/Sakai-10.1
kernel/api/src/main/java/org/sakaiproject/email/api/DigestMessage.java
Java
apache-2.0
2,012
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.ir.transform.expression; import gw.internal.gosu.ir.nodes.IRMethodFactory; import gw.internal.gosu.ir.nodes.JavaClassIRType; import gw.internal.gosu.ir.transform.ExpressionTransformer; import gw.internal.gosu.ir.transform.TopLevelTransformatio...
gosu-lang/gosu-lang
gosu-core/src/main/java/gw/internal/gosu/ir/transform/expression/ArithmeticExpressionTransformer.java
Java
apache-2.0
21,846
/* ******************************************************************************* * Copyright (C) 2007-2009, International Business Machines Corporation and * * others. All Rights Reserved. * *************************************************************************...
UweTrottmann/QuickDic-Dictionary
jars/icu4j-4_8_1_1/main/classes/core/src/com/ibm/icu/impl/duration/BasicDurationFormat.java
Java
apache-2.0
6,551
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
livthomas/jbpm
jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessExceptionHandlerTest.java
Java
apache-2.0
15,097
package com.github.apycazo.spring_rest_forge.sample.restRepository.components; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author Andres Picazo */ @SpringBootApplication public class RecordApplication { public static void main (S...
apycazo/spring-rest-forge
src/test/java/com/github/apycazo/spring_rest_forge/sample/restRepository/components/RecordApplication.java
Java
apache-2.0
411
/** * 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 ...
PascalSchumacher/assertj-joda-time
src/main/java/org/assertj/jodatime/error/ShouldBeBefore.java
Java
apache-2.0
2,376
package explorviz.live_trace_processing.configuration; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.Properties; public final class ConfigurationFactory implements Keys { private...
ExplorViz/common
src/explorviz/live_trace_processing/configuration/ConfigurationFactory.java
Java
apache-2.0
4,001
package com.damianugalde.rubiks; import java.awt.*; import java.awt.image.BufferedImage; public class CubeReader { private Color[][][] cube; private int nextColor; private Cube c; private CaptureFrame frame; public CubeReader(Cube c){ this.cube = new Color[6][3][3]; this.nextColo...
DamianPilot382/Rubiks-Cube-Solver
src/com/damianugalde/rubiks/CubeReader.java
Java
apache-2.0
4,778
/* * 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 ...
StephanEwen/incubator-flink
flink-connectors/flink-connector-elasticsearch7/src/main/java/org/apache/flink/connector/elasticsearch/sink/FlushBackoffType.java
Java
apache-2.0
1,420
/* Derby - Class org.apache.derbyTesting.functionTests.tests.upgradeTests.Changes10_6 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 ...
trejkaz/derby
java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_6.java
Java
apache-2.0
10,867
package com.cloudera.integration.oracle.goldengate.ldv.mapreduce.lib; import com.google.common.base.Preconditions; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.sql.Timestamp; import java.util.List; import org.apache.hadoop.io.ArrayWritable; import org.apache.hadoop.io.Lo...
jcustenborder/hadoop-goldengate
mapreduce/src/main/java/com/cloudera/integration/oracle/goldengate/ldv/mapreduce/lib/LengthDelimitedWritable.java
Java
apache-2.0
2,661
/** * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.capfloor; import static com.opengamma.strata.basics.currency.Currency.EUR; import static com.opengamma.strata.basics.index.IborIndices.EUR_EURIBO...
ChinaQuants/Strata
modules/pricer/src/test/java/com/opengamma/strata/pricer/capfloor/BlackIborCapletFloorletPeriodPricerTest.java
Java
apache-2.0
37,677
package com.coderwjq.shop.module.movie.movie_wait; /** * @Created by coderwjq on 2017/5/31 10:38. * @Desc */ public interface IWaitMoviePresenter { /** * 获得推荐电影的预告片列表数据 */ void getTrailerRecommendMovie(); /** * 获取最近期望值最高的电影列表 * * @param offset * @param limit */ v...
coderwjq/ZhaZhaShop
shop/src/main/java/com/coderwjq/shop/module/movie/movie_wait/IWaitMoviePresenter.java
Java
apache-2.0
569
import com.offbytwo.jenkins.JenkinsServer; import com.offbytwo.jenkins.client.JenkinsHttpClient; import com.offbytwo.jenkins.model.Build; import com.offbytwo.jenkins.model.BuildResult; import com.offbytwo.jenkins.model.BuildWithDetails; import com.offbytwo.jenkins.model.Job; import com.offbytwo.jenkins.model.JobWithDet...
alianza-dev/jenkins-test-job-generator
src/main/java/JenkinsHelper.java
Java
apache-2.0
10,857
/* * Copyright 2014 - 2017 Yannick Watier * * 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 ...
Doi9t/facturomax
src/main/java/ca/watier/facturomax/controller/PageRedirectController.java
Java
apache-2.0
1,513
package org.gradle.test.performance.mediummonolithicjavaproject.p24; public class Production485 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
oehme/analysing-gradle-performance
commons/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p24/Production485.java
Java
apache-2.0
1,889
/** * Copyright 2015 Confluent 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 ...
imdark/kafka-rest
src/main/java/io/confluent/kafkarest/resources/TopicsResource.java
Java
apache-2.0
6,776
package build.pluto.builder.factory; import java.io.Serializable; import build.pluto.builder.Builder; import build.pluto.executor.InputParser; import build.pluto.output.Output; public class BuilderFactoryFactory { /** * Creates a BuilderFactory which creates a new builder by calling a unary * constructor of ...
pluto-build/pluto
src/build/pluto/builder/factory/BuilderFactoryFactory.java
Java
apache-2.0
2,240
package com.model; import java.text.DecimalFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; import java.util.ResourceBundle; import javax.servlet.http...
mingxin6/incu
inc2_tw2/src/com/model/A.java
Java
apache-2.0
5,114
package com.googlecode.blaisemath.graph.view; /* * #%L * BlaiseGraphTheory * -- * Copyright (C) 2009 - 2021 Elisha Peterson * -- * 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 * * ...
triathematician/blaisemath
blaise-graph-theory-ui/src/main/java/com/googlecode/blaisemath/graph/view/VisualGraph.java
Java
apache-2.0
8,606
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.12.23 at 04:59:0...
intuit/QuickBooks-V3-Java-SDK
ipp-v3-java-data/src/main/java/com/intuit/ipp/data/Thresholds.java
Java
apache-2.0
15,294