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
/* * Copyright 2015 agwlvssainokuni * * 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 ...
agwlvssainokuni/springapp
foundation/src/test/java/cherry/foundation/testtool/stub/StubTest.java
Java
apache-2.0
9,800
/* * Copyright 2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
lukas-krecan/smock
samples/springws-server-test/src/main/java/net/javacrumbs/airline/server/AirlineWebServiceConstants.java
Java
apache-2.0
1,122
package org.tlhInganHol.android.klingonttsdemo; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.view.Me...
dlyongemallo/KlingonTTSDemo
app/src/main/java/org/tlhInganHol/android/klingonttsdemo/KlingonTTSDemoActivity.java
Java
apache-2.0
2,538
package com.bjorktech.cayman.idea.architecture.o2o.meituan; /** * User: sheshan * Date: 2018/8/15 * content: */ public class LockStock { /** * update lockCount = lockCount + n where id = 100 and totalCount -lockCount >= 4,防止超卖 */ public void lockStock() { } }
wanliwang/cayman
cm-idea/src/main/java/com/bjorktech/cayman/idea/architecture/o2o/meituan/LockStock.java
Java
apache-2.0
298
/* Copyright (c) 2014, Paul L. Snyder <paul@pataprogramming.com>, * Daniel Dubois, Nicolo Calcavecchia. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or...
damianarellanes/RASupport
src/myconet/MycoNodeDegreeComparator.java
Java
apache-2.0
1,182
/* * Copyright 2007 The Closure Compiler 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...
vobruba-martin/closure-compiler
src/com/google/javascript/jscomp/InvocationsCallback.java
Java
apache-2.0
1,806
/* * 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-ec2/src/main/java/com/amazonaws/services/ec2/model/PrincipalIdFormat.java
Java
apache-2.0
6,124
package im.getsocial.demo.fragment; import java.util.List; import java.util.Map; import javax.annotation.Nullable; public class SearchObject { public String searchTerm; @Nullable public List<String> labels; @Nullable public Map<String, String> properties; public static SearchObject empty() ...
getsocial-im/getsocial-android-sdk
example/src/main/java/im/getsocial/demo/fragment/SearchObject.java
Java
apache-2.0
426
/* * 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 ...
gnodet/camel
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/SimpleCamelContext.java
Java
apache-2.0
21,088
package com.example.component_dependency; import arez.annotations.ArezComponent; import arez.annotations.ComponentDependency; import arez.annotations.Observable; import arez.component.DisposeNotifier; @ArezComponent abstract class ComplexDependencyModel { @ComponentDependency DisposeNotifier getValue1() { r...
realityforge/arez
processor/src/test/fixtures/input/com/example/component_dependency/ComplexDependencyModel.java
Java
apache-2.0
530
/* * Copyright (c) 2017 Microchip Technology Inc. and its subsidiaries (Microchip). 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/lic...
chipKIT32/chipKIT-importer-2.0
src/com/microchip/mplab/nbide/embedded/arduino/wizard/ImportWorker.java
Java
apache-2.0
22,331
import java.util.Hashtable; import java.util.Map; /** * La classe {@link Arguments} permet de traiter les arguments lisibles * passés en paramètres du lancement du programme */ public class Arguments { static public String graph = ""; static public long limit = -1; static public int method = 0; static public St...
jfourmond/CliqueIssue
CliqueIssue/src/Arguments.java
Java
apache-2.0
2,616
package com.asadmshah.drawnearby.network; import com.asadmshah.drawnearby.models.DrawEvent; public interface NearbyDrawerRoom { void connect(); void disconnect(); void setListener(NearbyDrawerRoomListener listener); void sendDrawEvent(DrawEvent event); }
asadmshah/drawnearby
app/src/main/java/com/asadmshah/drawnearby/network/NearbyDrawerRoom.java
Java
apache-2.0
273
package com.sean.bigdata.action; import com.sean.bigdata.bean.ReportBean; import com.sean.bigdata.constant.A; import com.sean.bigdata.constant.M; import com.sean.bigdata.constant.P; import com.sean.bigdata.constant.R; import com.sean.common.ioc.ResourceConfig; import com.sean.service.annotation.ActionConfig; import co...
seanzwx/workspace
bigdata/bigdata-core/src/main/java/com/sean/bigdata/action/InquireReportAction.java
Java
apache-2.0
1,054
/* * Copyright 2011-2014 Eric F. Savage, code@efsavage.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
efsavage/ajah
ajah-user/src/main/java/com/ajah/user/login/LogInSource.java
Java
apache-2.0
2,870
package nam.model.query; import java.io.Serializable; import javax.enterprise.context.SessionScoped; import javax.inject.Named; import org.aries.ui.AbstractWizardPage; import nam.model.Query; import nam.model.util.QueryUtil; @SessionScoped @Named("queryDocumentationSection") public class QueryRecord_Documentation...
tfisher1226/ARIES
nam/nam-view/src/main/java/nam/model/query/QueryRecord_DocumentationSection.java
Java
apache-2.0
917
/* * Copyright 2013 Gunnar Kappei. * * 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...
moosbusch/xbLIDO
src/net/opengis/gml/impl/DecimalMinutesDocumentImpl.java
Java
apache-2.0
3,447
package org.cloudbus.mcweb.rules.relations; /** * Represents an algebraic relation with a left hand side (lhs) and * a rigth hand side (rhs); * * @author nikolay.grozev * * @param <T> - the compile time type of the arguements. */ public interface IRelation<T> { /** * Returns the left hand side (l...
nikolayg/MCWeb
acrules/src/main/java/org/cloudbus/mcweb/rules/relations/IRelation.java
Java
apache-2.0
2,055
/* * 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 app...
etirelli/jbpm
jbpm-case-mgmt/jbpm-case-mgmt-impl/src/main/java/org/jbpm/casemgmt/impl/wih/NotifyParentCaseEventListener.java
Java
apache-2.0
5,369
/* * Copyright 2015 Adaptris 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 agree...
mcwarman/interlok
adapter/src/main/java/com/adaptris/util/stream/LoggingOutputStreamImpl.java
Java
apache-2.0
4,605
/* * 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-securityhub/src/main/java/com/amazonaws/services/securityhub/model/DisableImportFindingsForProductRequest.java
Java
apache-2.0
4,185
/* * Copyright © EMC Corporation. All rights reserved. */ package radl.eclipse.builder; import java.util.Map; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IResourceDelta; import org.eclipse.core.resources.IncrementalProjectBuilder; import...
restful-api-description-language/RADL
java/eclipse/src/main/java/radl/eclipse/builder/RadlBuilder.java
Java
apache-2.0
1,881
/* * Name: $RCSfile: BaseRelativeLayout.java,v $ * Version: $Revision: 1.1 $ * Date: $Date: Nov 14, 2011 5:36:00 PM $ * * Copyright (C) 2011 COMPANY_NAME, Inc. All rights reserved. */ package mdn.vtvsport.common; import android.app.Activity; import android.content.Context; import android.util.AttributeSet; impo...
ribbon-xx/VTVPro-Plus
VtvPro/src/mdn/vtvsport/common/BaseRelativeLayout.java
Java
apache-2.0
1,325
/* * 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 ...
sk0x50/ignite
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewNodes.java
Java
apache-2.0
3,717
package com.raxdenstudios.mvp.sample.login.presenter; import android.content.Context; import android.os.Bundle; import android.os.Handler; import com.raxdenstudios.mvp.sample.login.UserModel; import com.raxdenstudios.mvp.presenter.Presenter; import com.raxdenstudios.mvp.sample.login.view.ILoginFragmentView; public c...
raxden/AndroidMVP
sample/src/main/java/com/raxdenstudios/mvp/sample/login/presenter/LoginFragmentPresenter.java
Java
apache-2.0
2,353
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache/commons-vfs
commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/tar/CreateFileSystemTest.java
Java
apache-2.0
2,566
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
googleads/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202105/FrequencyCapBehavior.java
Java
apache-2.0
2,058
/* * Copyright 2019 Red Hat, 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...
emmartins/wildfly-server-migration
migrations/eap7.3/eap6.4/src/main/java/org/jboss/migration/eap6/to/eap7/tasks/EAP6_4ToEAP7_3UpdateMessagingActiveMQSubsystem.java
Java
apache-2.0
1,210
/* * 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-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/GetJobDetailsResultJsonUnmarshaller.java
Java
apache-2.0
2,816
package com.iisigroup.web; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class HelloWorldController { @RequestMapping("helloWorld") public String helloWorld(Model model) { model.addAttribute...
lf23617358/training-sample
springmvc/spring-mvc-first/spring-mvc-java/src/main/java/com/iisigroup/web/HelloWorldController.java
Java
apache-2.0
378
package zielu.junit5.intellij.extension.resources; import java.nio.file.Path; import org.junit.jupiter.api.extension.BeforeAllCallback; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ParameterContext; import org.junit.jupiter.api.extension.ParameterResolutionException; ...
zielu/GitToolBox
src/test/java/zielu/junit5/intellij/extension/resources/ResourcesExtension.java
Java
apache-2.0
1,730
package com.canmeizhexue.test.image; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.widget.TextView; /** * Created by silence on 2016/4/3. */ public class MyTextView extends TextView { public MyTextView(Context context) ...
canmeizhexue/Test
app/src/main/java/com/canmeizhexue/test/image/MyTextView.java
Java
apache-2.0
2,432
package com.palmelf.eoffice.dao.admin.impl; import com.palmelf.core.dao.impl.BaseDaoImpl; import com.palmelf.eoffice.dao.admin.GoodsApplyDao; import com.palmelf.eoffice.model.admin.GoodsApply; public class GoodsApplyDaoImpl extends BaseDaoImpl<GoodsApply> implements GoodsApplyDao { public GoodsApplyDaoImpl() { s...
jacarrichan/eoffice
src/main/java/com/palmelf/eoffice/dao/admin/impl/GoodsApplyDaoImpl.java
Java
apache-2.0
349
package com.external.volley.http; import com.external.volley.AuthFailureError; import com.external.volley.NetworkResponse; import com.external.volley.Request; import com.external.volley.Response; import com.external.volley.Response.ErrorListener; import com.external.volley.Response.Listener; import com.external.volley...
xuhongjia/RxAndroidEvents
lzlibrary/src/main/java/com/external/volley/http/ByteArrayRequest.java
Java
apache-2.0
3,105
//// Copyright 2013 Square, Inc. //package retrofit; // //import com.google.gson.reflect.TypeToken; //import com.squareup.okhttp.Response; //import java.lang.reflect.Method; //import java.lang.reflect.Type; //import java.util.List; //import java.util.Map; //import java.util.Set; //import org.junit.Test; //import retrof...
Sellegit/retrofit
retrofit/src/test/java/retrofit/MethodInfoTest.java
Java
apache-2.0
7,402
package org.yeastrc.xlink.www.qc_data.scan_level_data.main; import java.util.ArrayList; import java.util.List; //import org.slf4j.LoggerFactory; import org.slf4j.Logger; import org.yeastrc.xlink.www.cached_data_in_file.CachedDataInFileMgmt; import org.yeastrc.xlink.www.cached_data_in_file.CachedDataInFileMgmt.IdPar...
yeastrc/proxl-web-app
proxl_web_app/src/main/java/org/yeastrc/xlink/www/qc_data/scan_level_data/main/Scan_MS_AllScans_AllButPeaks_CachedResultManager.java
Java
apache-2.0
3,700
// 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...
wido/cloudstack
plugins/user-authenticators/ldap/src/test/java/org/apache/cloudstack/api/command/LdapCreateAccountCmdTest.java
Java
apache-2.0
3,293
/* * Copyright 2017-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...
spring-cloud/spring-cloud-gcp
spring-cloud-gcp-data-datastore/src/main/java/org/springframework/cloud/gcp/data/datastore/repository/config/EnableDatastoreRepositories.java
Java
apache-2.0
5,201
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
Ensembl/ensj-healthcheck
src/org/ensembl/healthcheck/testgroup/ComparaAll.java
Java
apache-2.0
1,369
/* * Copyright 2018 anand. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
anand1st/sshd-shell-spring-boot
sshd-shell-spring-boot-starter/src/test/java/sshd/shell/springboot/autoconfiguration/SshdShellAutoConfigurationDisabledEndpointTest.java
Java
apache-2.0
3,243
/* Copyright (c) 2011+, HL7, Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the fo...
cqframework/ProfileGenerator
FhirReferenceImpl/src/main/java/org/hl7/fhir/instance/model/UriType.java
Java
apache-2.0
2,463
/* * 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 ...
simplegeo/hadoop-pig
test/org/apache/pig/test/TestMergeJoinOuter.java
Java
apache-2.0
9,890
/* * Copyright 2017 HomeAdvisor, 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...
HomeAdvisor/Kafdrop
src/main/java/com/homeadvisor/kafdrop/model/TopicVO.java
Java
apache-2.0
5,938
/* 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...
stephraleigh/flowable-engine
modules/flowable-idm-engine/src/main/java/org/flowable/idm/engine/IdmEngineConfiguration.java
Java
apache-2.0
33,639
/* * Copyright 2015 Ludger Peters * * 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...
ludjer/ninja-acl
src/main/java/com/ludgerpeters/acl/AclModule.java
Java
apache-2.0
1,483
// ---------------------------------------------------------------- // Space Invaders. // AndroidPixmap.java // Code modified from Beginning Android Games [2011] by Mario Zechner Apress. // Team: Elliott Minns, Martin Stanger, Phillip Scott, Chris Lemin, // Thomas Gillett // -------------------------------------...
takn/jakeinvaders
app/src/main/java/yes/team/framework/implementation/AndroidPixmap.java
Java
apache-2.0
1,484
package go.udoecho.com.coolweather.activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.view.View; import an...
readdy2046/coolweather
app/src/main/java/go/udoecho/com/coolweather/activity/ChooseAreaActivity.java
Java
apache-2.0
8,946
package com.netradius.vmware.vial; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import java.security.cert.X509Certificate; /** * This class is used to disable SSL certificate validation. Use with caution. */ public class TrustAllTrustManager implements TrustManager, X509TrustManager { ...
netradius/vial
src/main/java/com/netradius/vmware/vial/TrustAllTrustManager.java
Java
apache-2.0
912
/* * Copyright 2013-2021 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...
cloudfoundry/cf-java-client
cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/builds/_Droplet.java
Java
apache-2.0
1,141
package org.liuyf.demos.spring.boot.web.cors; import java.util.Arrays; import java.util.List; import org.liuyf.demos.spring.boot.web.cors.model.User; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation....
liuyf8688/demos
spring-demos/spring-boot-demos/spring-boot-cors-demos/src/main/java/org/liuyf/demos/spring/boot/web/cors/UserController.java
Java
apache-2.0
1,062
package org.usfirst.frc.team4453.library.vision.pipelinesteps.opencv; import org.opencv.core.Mat; import org.opencv.core.MatOfRect; import org.opencv.objdetect.CascadeClassifier; import org.usfirst.frc.team4453.library.vision.Data; import org.usfirst.frc.team4453.library.vision.Pipeline; import org.usfirst.frc.team445...
RedHotChiliBots/FRC4453
Robot/Programming/Vision/JavaVisionLib/src/org/usfirst/frc/team4453/library/vision/pipelinesteps/opencv/CascadeClassifierStep.java
Java
apache-2.0
845
package com.alxgrk.ressign.repos; import java.util.Collection; import java.util.Optional; import com.alxgrk.ressign.models.CachedUser; public interface UserRepository { Collection<CachedUser> findAll(); Optional<CachedUser> findById(String userId); Optional<String> store(CachedUser cachedUser); O...
alxgrk/ressign
src/main/java/com/alxgrk/ressign/repos/UserRepository.java
Java
apache-2.0
413
/* * Copyright (c) 2013. Jenkinsmvn. All Rights Reserved. * * See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Jenkinsmvn licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in complianc...
jenkinsmvn/jenkinsmvn
api/src/main/java/org/jenkinsmvn/jenkins/api/http/AbstractHttpInvoker.java
Java
apache-2.0
4,110
/* * 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-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalVocabularyResult.java
Java
apache-2.0
2,398
/* * 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...
freeVM/freeVM
enhanced/archive/classlib/java6/modules/swing/src/main/java/common/javax/swing/event/TableModelEvent.java
Java
apache-2.0
2,448
package com.zuolg.zsite.api.forms; import com.zuolg.commons.annotation.api.AForm; /** * <pre> * 只有一个id的form * </pre> * * @author 梁韦江 * @date 2016年6月24日 */ @AForm public class IdForm { /** * ID */ private int id; public IdForm(){ } public IdForm(int id){ this.id=id; } public int getId() {...
zuolg/zstie
zsite-root/zsite-web/src/main/java/com/zuolg/zsite/api/forms/IdForm.java
Java
apache-2.0
410
/* * Copyright (C) 2012 Square, Inc. * Copyright (C) 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 requ...
tbroyer/dagger
core/src/main/java/dagger/internal/RuntimeAggregatingPlugin.java
Java
apache-2.0
5,126
package com.sweetzpot.tcxzpot.builders; import com.sweetzpot.tcxzpot.Cadence; import com.sweetzpot.tcxzpot.HeartRate; import com.sweetzpot.tcxzpot.Position; import com.sweetzpot.tcxzpot.SensorState; import com.sweetzpot.tcxzpot.TCXDate; import com.sweetzpot.tcxzpot.TCXExtension; import com.sweetzpot.tcxzpot.Trackpoint...
SweetzpotAS/TCXZpot-Java
lib/src/main/java/com/sweetzpot/tcxzpot/builders/TrackpointBuilder.java
Java
apache-2.0
2,097
/* * 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...
smartnews/presto
presto-main/src/main/java/io/prestosql/sql/gen/BytecodeUtils.java
Java
apache-2.0
21,345
/** * Licensed to Cloudera, Inc. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Cloudera, Inc. licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
hammer/flume
src/java/com/cloudera/flume/handlers/syslog/SyslogTcpSourceThreads.java
Java
apache-2.0
7,278
/* * Copyright 2002-2015 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...
qobel/esoguproject
spring-framework/spring-core/src/main/java/org/springframework/util/ResizableByteArrayOutputStream.java
Java
apache-2.0
3,366
/* * 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 * d...
OSEHRA/ISAAC
core/model/src/main/java/sh/isaac/model/logic/node/LiteralNode.java
Java
apache-2.0
3,914
/** * 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...
lfzCarlosC/test
flume-ng-core/src/main/java/org/apache/flume/Channel.java
Java
apache-2.0
3,442
package org.jsmart.zerocode.core.domain; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.jsmart.zerocode.core.kafka.client.BasicKafkaClient; @Retention(Ret...
authorjapps/zerocode
core/src/main/java/org/jsmart/zerocode/core/domain/UseKafkaClient.java
Java
apache-2.0
576
/* * Configuration.java * Created by: Scott A. Roehrig * Created on: Aug 17, 2016 at 9:31:09 PM */ package org.apache.bazaar.web.config; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import java....
saroehr/Bazaar
BazaarWebClient/src/org/apache/bazaar/web/config/Configuration.java
Java
apache-2.0
5,744
package ${package}.dao.impl.es; import graphene.dao.TransactionDAO; import graphene.model.query.BasicQuery; import graphene.model.view.events.DirectedEventRow; import graphene.util.G_CallBack; import java.util.List; public class TransactionDAOESImpl implements TransactionDAO<Object, BasicQuery> { @Override public...
codeaudit/graphene
graphene-parent/graphene-archetype/src/main/resources/archetype-resources/src/main/java/dao/impl/es/TransactionDAOESImpl.java
Java
apache-2.0
1,522
/* * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
lsmaira/gradle
subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/VersionSelectionReasons.java
Java
apache-2.0
7,918
/* * 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-neptune/src/main/java/com/amazonaws/services/neptune/model/DescribeDBClusterParameterGroupsRequest.java
Java
apache-2.0
15,228
/* * Copyright 2013 must-be.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
consulo/consulo-css
xstylesheet-api/src/main/java/consulo/xstylesheet/definition/impl/XStyleSheetPropertyValuePartImpl.java
Java
apache-2.0
2,084
package com.tomorrowhi.thdemo.activitys; import android.os.Bundle; import android.os.Handler; import android.support.v4.content.ContextCompat; import android.view.View; import android.widget.ImageButton; import android.widget.RelativeLayout; import android.widget.TextView; import com.amap.api.maps.AMap; import com.am...
Tomorrowhi/THDemo
THDemo/app/src/main/java/com/tomorrowhi/thdemo/activitys/AMapLocusActivity.java
Java
apache-2.0
14,930
/* * Copyright 2020 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 ...
googleapis/java-compute
proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectRequest.java
Java
apache-2.0
21,025
// 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...
mufaddalq/cloudstack-datera-driver
awsapi/src/com/amazon/ec2/AssignPrivateIpAddressesSetItemRequestType.java
Java
apache-2.0
22,350
/* * Copyright 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 applica...
leethree/attentive-ui
SuperMonkey/src/com/android/commands/monkey/MonkeySourceNetwork.java
Java
apache-2.0
33,447
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
Unicon/openregistry
openregistry-test-support/src/main/java/org/jasig/openregistry/test/domain/MockPerson.java
Java
apache-2.0
11,410
package org.openengsb.loom.java; import org.openengsb.core.api.AliveState; import org.openengsb.core.api.Connector; import org.openengsb.domain.example.ExampleDomain; import org.openengsb.domain.example.event.LogEvent; import org.openengsb.domain.example.model.ExampleRequestModel; import org.openengsb.domain.example.m...
openengsb/loom-java
bridge/src/test/java/org/openengsb/loom/java/ExampleConnector.java
Java
apache-2.0
1,568
package org.pedrohos.business.notas; import java.math.BigInteger; import org.pedrohos.model.dto.NotaDTO; public abstract class NotaDefault { public NotaDTO calcula(BigInteger valor) { NotaDTO nota = new NotaDTO(); nota.setNota(getValorNota()); BigInteger quantidade = valor.divide(getValorNota()); ...
pedro-hos/caixa-eletronico
ce-core/src/main/java/org/pedrohos/business/notas/NotaDefault.java
Java
apache-2.0
646
/******************************************************************************* * Copyright 2016 Jalian Systems Pvt. 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:...
jalian-systems/marathonv5
marathon-core/src/main/java/net/sourceforge/marathon/resource/navigator/Copy.java
Java
apache-2.0
8,386
package de.peeeq.wurstscript.validation; import com.google.common.collect.*; import de.peeeq.wurstio.utils.FileUtils; import de.peeeq.wurstscript.WLogger; import de.peeeq.wurstscript.ast.*; import de.peeeq.wurstscript.attributes.CofigOverridePackages; import de.peeeq.wurstscript.attributes.CompileError; import de.peee...
wurstscript/WurstScript
de.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/WurstValidator.java
Java
apache-2.0
98,606
package fr.iut.csid.empower.elearning.core.service.impl; import javax.inject.Inject; import javax.inject.Named; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.transaction.annotation.Propagation; import org.springframewo...
piibl/elearning-parent
elearning-core/src/main/java/fr/iut/csid/empower/elearning/core/service/impl/TeacherServiceImpl.java
Java
apache-2.0
2,254
package com.damocles.sample; import com.damocles.R; import com.damocles.sample.util.Utils; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView; import android.widget.ArrayAdapter; import android.widget.Li...
zhanglong-daniel/Damocles
app/src/main/java/com/damocles/sample/ListViewSectionActivity.java
Java
apache-2.0
6,973
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ga4gh/sequence_annotation_service.proto package ga4gh; public final class SequenceAnnotationServiceOuterClass { private SequenceAnnotationServiceOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegis...
opencb/ga4gh
src/main/java/ga4gh/SequenceAnnotationServiceOuterClass.java
Java
apache-2.0
192,853
// Copyright © 2017-2018 Andy Goryachev <andy@goryachev.com> package goryachev.findfiles; import goryachev.common.util.CList; import java.util.List; /** * Text Model With Highlights. */ public class TextModelWithHighlights extends StyledTextModel { private final CList<Integer> highlightedLines; ...
andy-goryachev/FindFiles
src/goryachev/findfiles/TextModelWithHighlights.java
Java
apache-2.0
589
/* * Copyright 2013 Muthukumaran (https://github.com/muthuishere/). * * 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 re...
muthuishere/sshcommandbroadcaster
src/com/sshutils/views/console/ConsoleCommand.java
Java
apache-2.0
849
package com.tlorrain.android.rezenerator.core.log; public class NoopLogger implements Logger { @Override public void info(String info) { } @Override public void verbose(String debug) { } @Override public void error(String error) { } @Override public void verbose(Exception exception) { } }
fredszaq/Rezenerator
rezenerator-core/src/main/java/com/tlorrain/android/rezenerator/core/log/NoopLogger.java
Java
apache-2.0
308
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
dropbox/bazel
src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java
Java
apache-2.0
30,252
package com.java110.fee.bmo.feeFormula; import com.java110.po.feeFormula.FeeFormulaPo; import org.springframework.http.ResponseEntity; public interface IDeleteFeeFormulaBMO { /** * 修改费用公式 * add by wuxw * @param feeFormulaPo * @return */ ResponseEntity<String> delete(FeeFormulaPo feeF...
java110/MicroCommunity
service-fee/src/main/java/com/java110/fee/bmo/feeFormula/IDeleteFeeFormulaBMO.java
Java
apache-2.0
347
/* * ==================================================================== * 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 ...
ok2c/httpcore
httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/AsyncServer.java
Java
apache-2.0
2,674
/* * 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 n...
Ishiihara/kafka
streams/src/test/java/org/apache/kafka/streams/integration/RestoreIntegrationTest.java
Java
apache-2.0
18,703
package org.arquillian.algeron.pact.consumer.core; import au.com.dius.pact.consumer.dsl.PactDslWithProvider; import au.com.dius.pact.model.RequestResponsePact; import org.arquillian.algeron.pact.consumer.core.client.StandaloneConsumerPactTest; import org.arquillian.algeron.pact.consumer.spi.Pact; import org.arquillian...
arquillian/arquillian-algeron
pact/consumer/core/src/test/java/org/arquillian/algeron/pact/consumer/core/ConsumerPactTestTest.java
Java
apache-2.0
6,791
package foo.user; import javax.persistence.*; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; @Repository @Transactional(readOnly = true) public class UserRepository { @PersistenceContext private EntityManager entityManager; @Tra...
jordanbaucke/spring-fabric
src/main/java/foo/user/UserRepository.java
Java
apache-2.0
672
package com.buddysearch.android.data.util; import lombok.experimental.UtilityClass; @UtilityClass public class StringUtil { /** * Examples: * concatLinearly("_", one, 123) -> one_123 * concatLinearly("-", null, 123) -> 123 * concatLinearly("-", one, null) -> one */ public static Stri...
ihorvitruk/buddysearch
data/src/main/java/com/buddysearch/android/data/util/StringUtil.java
Java
apache-2.0
831
/* * Copyright 2014 Red Hat, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at * http://www.eclipse.o...
sibay/vertx-web
vertx-web/src/main/java/io/vertx/ext/web/sstore/impl/SessionImpl.java
Java
apache-2.0
12,081
/* * 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-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/transform/DeactivateAnomalyDetectorResultJsonUnmarshaller.java
Java
apache-2.0
1,747
package at.spenger.git.start; import java.time.Instant; import java.time.LocalDate; import java.time.Period; import java.time.ZoneId; import java.time.format.DateTimeFormatter; public class Haupt { public static void main(String[] args) { System.out.println("Hallo Welt!"); System.out.println("Ci...
htlspenger2013/startgit
git-start/src/at/spenger/git/start/Haupt.java
Java
apache-2.0
1,052
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
blackcathacker/kc.preclean
coeus-code/src/main/java/org/kuali/coeus/propdev/impl/custom/ProposalDevelopmentCustomDataHelper.java
Java
apache-2.0
2,192
/* * Project Scelight * * Copyright (c) 2013 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the author's permission * is prohibited and protected by Law. */ package sc2toolkit.mpq; /** * This class is t...
knonderful/sc2-toolkit
mpq-util/src/main/java/sc2toolkit/mpq/MpqArchive.java
Java
apache-2.0
1,262
/* * Copyright 2020 Coveo, 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...
spinnaker/gate
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/RawResourceController.java
Java
apache-2.0
1,547
/* * Copyright 2013 Cloudera 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 ...
rdblue/crash
src/main/java/com/cloudera/crash/carriers/FromCollection.java
Java
apache-2.0
939
/** * Copyright (c) 2014 Lemur Consulting Ltd. * <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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless requi...
flaxsearch/BioSolr
spot/spot-ontology/spot-ontology-webapp/src/main/java/uk/co/flax/biosolr/ontology/resources/JenaSearchResource.java
Java
apache-2.0
2,102
/** * Copyright (C) 2013 cherimojava (http://github.com/cherimojava/cherimodata) 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...
cherimojava/cherimodata
mongo/src/main/java/com/github/cherimojava/data/mongo/io/EntityTypeMap.java
Java
apache-2.0
1,872