repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
VHAINNOVATIONS/Telepathology
Source/Java/ImagingCommon/main/src/java/gov/va/med/imaging/exceptions/StudyURNFormatException.java
472
package gov.va.med.imaging.exceptions; public class StudyURNFormatException extends URNFormatException { private static final long serialVersionUID = 6271193731031546478L; public StudyURNFormatException() { super(); } public StudyURNFormatException(String message) { super(message); } public StudyURNFor...
apache-2.0
opentelecoms-org/jsmpp
jsmpp/src/main/java/org/jsmpp/session/state/SMPPSessionState.java
6024
/* * 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 * distribute...
apache-2.0
dadoonet/spring-elasticsearch
src/test/java/fr/pilato/spring/elasticsearch/it/annotation/SecurityOptionalConfig.java
1399
/* * Licensed to David Pilato (the "Author") under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Author licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may not use...
apache-2.0
ISSC/Bluebit
src/com/issc/widget/LoadingFragment.java
1195
// vim: et sw=4 sts=4 tabstop=4 /* * 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
spark/spark-sdk-android
cloudsdk/src/main/java/io/particle/android/sdk/cloud/ParticleDevice.java
26059
package io.particle.android.sdk.cloud; import android.annotation.SuppressLint; import android.os.Parcel; import android.os.Parcelable; import android.support.annotation.MainThread; import android.support.annotation.Nullable; import android.support.annotation.WorkerThread; import org.greenrobot.eventbus.EventBus; impo...
apache-2.0
kermitt2/grobid
grobid-core/src/main/java/org/grobid/core/features/FeaturesVectorFulltext.java
5369
package org.grobid.core.features; import org.grobid.core.layout.LayoutToken; import org.grobid.core.utilities.TextUtilities; /** * Class for features used for fulltext parsing. * */ public class FeaturesVectorFulltext { public LayoutToken token = null; // not a feature, reference value public String string...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/transform/GetCatalogImportStatusRequestMarshaller.java
2076
/* * 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
warrenmnocos/oauth2
oauth2-security/src/main/java/org/filetec/oauth2/security/AuthorizationServerConfiguration.java
2994
/* * Copyright 2016 Pivotal Software, Inc.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
apache-2.0
lessthanoptimal/BoofCV
main/boofcv-types/src/test/java/boofcv/struct/TestListIntPoint2D.java
2929
/* * Copyright (c) 2020, 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...
apache-2.0
sbg/sevenbridges-java
api/src/main/java/com/sevenbridges/apiclient/transfer/UploadContext.java
5821
/* * Copyright 2017 Seven Bridges Genomics, 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 re...
apache-2.0
xgqfrms/JavaWeb
JavaGUI/src/test_JLabel/JLabel02.java
810
package test_JLabel; import java.awt.Color; import java.awt.Container; import java.awt.Dimension; import java.awt.Font; import java.awt.Point; import javax.swing.JFrame; import javax.swing.JLabel; public class JLabel02 { public static void main(String args[]){ JFrame fra = new JFrame("Swing ´°Ìå±êÌâ"); JLabel l...
apache-2.0
deeplearning4j/deeplearning4j
nd4j/nd4j-remote/nd4j-grpc-client/src/test/java/org/nd4j/graph/GraphInferenceGrpcClientTest.java
4034
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
apache-2.0
nvapp/nv-android-libs
src/com/nvapp/android/libs/view/TitleProvider.java
205
package com.nvapp.android.libs.view; public interface TitleProvider { /** * Returns the title of the view at position * * @param position * @return */ public String getTitle(int position); }
apache-2.0
sunshine763/GoogleAndroidSamples
actionbarcompat-basic/src/test/java/com/xing/sample/actionbarcompat_basic/ExampleUnitTest.java
330
package com.xing.sample.actionbarcompat_basic; 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
ppartida/jdesign-patterns
src/com/fifino/patterns/strategy/ItFlys.java
206
package com.fifino.patterns.strategy; /** * Created by porfiriopartida on 2/13/16. */ public class ItFlys implements Flys { @Override public String fly() { return "Flying high!"; } }
apache-2.0
hambroperks/j2objc
translator/src/main/java/com/google/devtools/j2objc/translate/CastResolver.java
12986
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
apache-2.0
fillipesouza/mygame
src/textures/TerrainTexturePack.java
1125
package textures; public class TerrainTexturePack { private TerrainTexture backgroundTexture; private TerrainTexture rTexture; private TerrainTexture gTexture; private TerrainTexture bTexture; public TerrainTexture getBackgroundTexture() { return backgroundTexture; } public void setBackgroundTexture(Terrain...
apache-2.0
shooash/XHFW3
app/src/main/java/com/zst/xposed/halo/floatingwindow3/prefs/FloatDotActivity.java
5002
package com.zst.xposed.halo.floatingwindow3.prefs; import android.app.*; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.content.*; import android.os.*; import com.zst.xposed.halo.floatingwindow3.*; import java.util.prefs.*; import android.widget.*; import android.graphics.*; ...
apache-2.0
007slm/nutz
test/org/nutz/resource/ScansTest.java
5137
package org.nutz.resource; import static org.junit.Assert.*; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.util.Collections; import java.util.Comparator; import java.util.List; import javax.servlet.Servlet; import junit....
apache-2.0
eemirtekin/Sakai-10.6-TR
providers/jldap-mock/src/java/edu/amc/sakai/user/ResourcePropertiesEditStub.java
4899
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/providers/tags/sakai-10.6/jldap-mock/src/java/edu/amc/sakai/user/ResourcePropertiesEditStub.java $ * $Id: ResourcePropertiesEditStub.java 105079 2012-02-24 23:08:11Z ottenhoff@longsight.com ...
apache-2.0
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreServerHome.java
1764
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 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/license...
apache-2.0
InspurUSA/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/controller/ControllerFacade.java
86923
/* * 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
akarnokd/Reactive4JavaFlow
src/main/java/hu/akarnokd/reactive4javaflow/processors/EsetlegProcessor.java
1100
/* * Copyright 2017 David Karnok * * 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...
apache-2.0
mzule/AndroidWeekly
app/src/main/java/com/github/mzule/androidweekly/ui/view/NaviBar.java
1740
package com.github.mzule.androidweekly.ui.view; import android.app.Activity; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.widget.TextView; import com.github.mzule.androidweekly.R; import com.github.mzule.androidweekly.ui.view.base.BaseLinearLa...
apache-2.0
ar-ubin/BeNotified
app/src/main/java/ar_ubin/benotified/base/BaseActivity.java
1440
package ar_ubin.benotified.base; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import javax.inject.Inject; import ar_ubin.benotified.ActivityModule; import ar_ubin.benotified.ApplicationComponent;...
apache-2.0
zelig81/hyperactive-class
A226/src/com/example/a226/MainActivity.java
776
package com.example.a226; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class MainActivity extends Activity { EditText et; @Override protected void onCreate(Bundle savedInstanceSt...
apache-2.0
umeshawasthi/blooddonor
src/main/java/com/raisonne/quartz/scheduler/job/service/impl/JobUtil.java
935
/* * Copyright 2010-2011 Raisonne Techonologies. * * 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 la...
apache-2.0
innocentliny/SFTP_demo
v4/My4FileSystem.java
1470
package ftp.v4; import java.io.IOException; import java.nio.file.attribute.UserPrincipalLookupService; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Set; import org.apache.sshd.common.file.util.BaseFileSystem; import org.apache.sshd.common.file.util.ImmutableList; ...
apache-2.0
bendisposto/JVersionNumberer
JVersionNumberer/src/main/java/de/hhu/jversionnumberer/annotations/ImplementableByClient.java
1173
/* * Copyright 2011 Gian Perrone * * 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...
apache-2.0
assemblade/CAT
cat-server/src/test/java/com/assemblade/server/security/UserManagerTest.java
1709
/* * Copyright 2012 Mike Adamson * * 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...
apache-2.0
zzy6395/drill
exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestJsonReader.java
12785
/** * 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
CloudComLab/Voting-CAP
src/service/handler/twostep/CSNHandler.java
3838
package service.handler.twostep; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.IOException; import java.net.Socket; import java.security.KeyPair; import java.security.PublicKey; import java.security.SignatureException; import java.util.concurrent.locks.ReentrantLo...
apache-2.0
watson-developer-cloud/java-sdk
visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v4/model/AddImagesOptions.java
6096
/* * (C) Copyright IBM Corp. 2019, 2020. * * 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
reynoldsm88/drools
drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/domain/TargetPolicy.java
1281
/* * Copyright 2005 JBoss 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 i...
apache-2.0
TonyYang9527/Magic-Web
src/main/java/com/cell/user/web/shrio/filter/authc/CustomFormAuthenticationFilter.java
1780
package com.cell.user.web.shrio.filter.authc; import javax.servlet.ServletRequest; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.web.filter.authc.FormAuthenticationFilter; import org.springframework.beans.factory.annotation.Autowired; imp...
apache-2.0
mttkay/RxJava
rxjava-core/src/test/java/rx/internal/operators/OperatorOnBackpressureBufferTest.java
3022
/** * Copyright 2014 Netflix, 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
PrudhviRaju123/Tour
app/src/main/java/com/ua/hower/house/NavigationDrawerCallbacks.java
178
package com.ua.hower.house; /** * Created by poliveira on 27/10/2014. */ public interface NavigationDrawerCallbacks { void onNavigationDrawerItemSelected(int position); }
apache-2.0
j-coll/opencga
opencga-core/src/main/java/org/opencb/opencga/core/models/study/VariableSetCreateParams.java
3818
/* * Copyright 2015-2020 OpenCB * * 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 ...
apache-2.0
lorenpaz/CardEx
src/main/java/es/ucm/fdi/iw/controller/HomeController.java
4005
package es.ucm.fdi.iw.controller; import java.security.Principal; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.servlet.http.HttpSession; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
apache-2.0
aseldawy/spatialhadoop
src/mapred/org/apache/hadoop/mapred/spatial/RTreeGridRecordWriter.java
955
package org.apache.hadoop.mapred.spatial; import java.io.IOException; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapred.RecordWriter; import org.apache.hadoop.mapred.Reporter; import org....
apache-2.0
TremoloSecurity/OpenUnison
unison/unison-sdk/src/main/java/com/tremolosecurity/proxy/ExternalSessionExpires.java
1124
/******************************************************************************* * Copyright 2019 Tremolo Security, 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://...
apache-2.0
lpxz/grail-lucene358684
src/java/org/apache/lucene/index/SegmentReader.java
18645
package org.apache.lucene.index; /** * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
apache-2.0
ezbake/ezmongo
ezmongo-java-driver/src/main/org/bson/util/ClassAncestry.java
3530
/* Copyright (C) 2013-2014 Computer Sciences 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 ap...
apache-2.0
rdblue/incubator-nifi
commons/data-provenance-utils/src/main/java/org/apache/nifi/provenance/lineage/FlowFileNode.java
2335
/* * 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
xiehan/zoara-server
src/zoara/sfs2x/extension/LoginEventHandler.java
4312
package zoara.sfs2x.extension; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Arrays; import zoara.sfs2x.extension.simulation.World; import zoara.sfs2x.extension.utils.RoomHelper; import com.smartfoxserver.bitswarm.sessions.ISe...
apache-2.0
ianmcxa/vortaro
app/src/test/java/org/mcxa/vortaro/ExampleUnitTest.java
394
package org.mcxa.vortaro; 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 addit...
apache-2.0
esteinberg/plantuml4idea
src/org/plantuml/idea/action/ImageHighlightToggleAction.java
1200
package org.plantuml.idea.action; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.ToggleAction; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.fileEditor.FileEditorManager; import com.intellij.openapi.project.DumbAware; import com.intellij.openap...
apache-2.0
liquibase/liquibase
liquibase-core/src/test/java/liquibase/sqlgenerator/core/InsertOrUpdateGeneratorOracleTest.java
7276
package liquibase.sqlgenerator.core; import liquibase.change.ColumnConfig; import liquibase.database.ObjectQuotingStrategy; import liquibase.database.core.OracleDatabase; import liquibase.sql.Sql; import liquibase.statement.DatabaseFunction; import liquibase.statement.SequenceCurrentValueFunction; import liquibase.sta...
apache-2.0
consulo/consulo-metrics
src/com/sixrr/metrics/ui/dialogs/ExplanationDialog.java
4055
/* * Copyright 2005-2011 Sixth and Red River Software, Bas Leijdekkers * * 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 ...
apache-2.0
gdefias/JavaDemo
InitJava/base/src/main/java/Init/Enum/TestEnumStates.java
3956
package Init.Enum; import Generics.Generator; import java.util.EnumMap; import java.util.Iterator; import static Init.Enum.Input.*; import static Init.Print.print; /** * Created by Defias on 2020/07. * Description: 使用enum的状态机 * */ public class TestEnumStates { public static void main(String[] args) { ...
apache-2.0
MarSik/bugautomation
src/main/java/org/marsik/bugautomation/rest/RestApplication.java
495
package org.marsik.bugautomation.rest; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; import java.util.Collections; import java.util.HashSet; import java.util.Set; @ApplicationPath("/") public class RestApplication extends Application { @Override public Set<Class<?>> getClasses() { ...
apache-2.0
markus1978/citygml4emf
de.hub.citygml.emf.ecore.edit/src/net/opengis/gml/provider/TopoVolumeTypeItemProvider.java
6438
/** * <copyright> * </copyright> * * $Id$ */ package net.opengis.gml.provider; import java.util.Collection; import java.util.List; import net.opengis.gml.GmlFactory; import net.opengis.gml.GmlPackage; import net.opengis.gml.TopoVolumeType; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse...
apache-2.0
android/android-test
espresso/core/javatests/androidx/test/espresso/action/GeneralLocationTest.java
4547
/* * Copyright (C) 2014 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 applic...
apache-2.0
doom369/netty
transport-native-unix-common/src/main/java/io/netty/channel/unix/Unix.java
3285
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you 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...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowCxV3ListAgentsResponse.java
3689
/* * 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
deleidos/de-pipeline-tool
de-framework-monitoring/src/main/java/com/deleidos/framework/monitoring/response/InfoResponse.java
1247
package com.deleidos.framework.monitoring.response; public class InfoResponse { public static final String PATH = "/proxy/${APP_ID}/ws/v2/stram/info"; public static class Stats { public int allocatedContainers; public int plannedContainers; public int totalVCoresAllocated; public int vcoresRequired; pu...
apache-2.0
openphacts/queryExpander
query.expander.implementation/test/uk/ac/manchester/cs/openphacts/queryexpander/queryLoader/OpsReplacemeentTest.java
1764
package uk.ac.manchester.cs.openphacts.queryexpander.queryLoader; import java.util.List; import java.util.Set; import org.bridgedb.uri.tools.GraphResolver; import org.bridgedb.utils.Reporter; import static org.junit.Assert.*; import org.junit.Test; import uk.ac.manchester.cs.openphacts.queryexpander.QueryUtils; import...
apache-2.0
youdonghai/intellij-community
java/java-impl/src/com/intellij/codeInspection/util/IteratorDeclaration.java
7121
/* * Copyright 2000-2016 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...
apache-2.0
yetwish/Reading
reading/src/main/java/com/xidian/yetwish/reading/ui/SplashActivity.java
1907
package com.xidian.yetwish.reading.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import com.xidian.yetwish.reading.R; import com.xidian.yetwish.reading.framework.utils.SharedPreferencesUtils; import com.xidian.yetwish...
apache-2.0
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_5188.java
151
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_5188 { }
apache-2.0
krasserm/ipf
platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/management/ProcessorManagementNamingStrategy.java
2034
/* * 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 ap...
apache-2.0
buddycloud/buddycloud-android
src/com/buddycloud/utils/InputUtils.java
620
package com.buddycloud.utils; import android.app.Activity; import android.content.Context; import android.view.inputmethod.InputMethodManager; public class InputUtils { public static void hideKeyboard(Activity activity) { InputMethodManager imm = (InputMethodManager) activity.getSystemService(Context.INP...
apache-2.0
infinitiessoft/keystone4j
keystone4j-core/src/main/java/com/infinities/keystone4j/contrib/revoke/driver/RevokeDriver.java
1112
/******************************************************************************* * # Copyright 2015 InfinitiesSoft Solutions 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 ...
apache-2.0
wangshijun101/JavaSenior
CoreJava/src/main/java/com/flying/promotion/javatuning/future/jdk/RealData.java
610
package com.flying.promotion.javatuning.future.jdk; import java.util.concurrent.Callable; /** * Created by Joseph on 7/25/2016. */ public class RealData implements Callable<String>{ private String para; public RealData(String para){ this.para=para; } @Override public String call() throws...
apache-2.0
bric3/assertj-core
src/main/java/org/assertj/core/util/introspection/PropertySupport.java
8633
/** * 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 ...
apache-2.0
tuliobraga/tech-gallery
src/main/java/com/ciandt/techgallery/servlets/ViewTech.java
587
package com.ciandt.techgallery.servlets; import java.io.IOException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @SuppressWarnings("serial") public class ViewTech extends HttpServlet { @Override public void doGet(HttpServlet...
apache-2.0
inbloom/secure-data-service
tools/data-tools/src/org/slc/sli/test/edfi/entities/meta/GradeBookEntryMeta.java
2017
/* * Copyright 2012-2013 inBloom, Inc. and 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 appli...
apache-2.0
joshlong/adaptive-spring
core/src/test/java/savetheenvironment/profiles/mocking/Main.java
2787
package savetheenvironment.profiles.mocking; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.core.env.MapPropertySource; import org.springframework.core.env.StandardEnvironment; import java.util.HashMap...
apache-2.0
myrosicky/projects
weibo/src/main/java/rmi/MyRemoteClass.java
932
package rmi; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.rmi.server.UnicastRemoteObject; public class MyRemoteClass implements MyRemoteInterface { public String[] sayYourName(String name) throws RemoteException { System.err.pri...
apache-2.0
gabedwrds/cas
support/cas-server-support-electrofence/src/test/java/org/apereo/cas/impl/calcs/DateTimeAuthenticationRequestRiskCalculatorTests.java
5383
package org.apereo.cas.impl.calcs; import org.apereo.cas.api.AuthenticationRiskEvaluator; import org.apereo.cas.api.AuthenticationRiskScore; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.config.CasCoreAuthenticationConfigura...
apache-2.0
axeolotl/wsrp4cxf
persistence-xml/src/java/org/apache/wsrp4j/persistence/xml/PersistentInformationXML.java
3611
/* * Copyright 2003-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/copyright/AbstractCopyrightFilestoreFilter.java
4308
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
apache-2.0
christophd/citrus
core/citrus-api/src/main/java/com/consol/citrus/validation/DefaultEmptyMessageValidator.java
2319
/* * Copyright 2006-2017 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 app...
apache-2.0
jatin9896/incubator-carbondata
core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java
23372
/* * 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
MikeFot/android-crossy-score
app/src/main/java/com/michaelfotiadis/crossyscore/ui/components/addplayer/avatar/ListAvatarViewHolder.java
629
package com.michaelfotiadis.crossyscore.ui.components.addplayer.avatar; import android.view.View; import android.widget.ImageView; import com.michaelfotiadis.crossyscore.R; import com.michaelfotiadis.crossyscore.ui.core.common.viewholder.BaseViewHolder; import butterknife.Bind; public final class ListAvatarViewHol...
apache-2.0
roadmaptravel/Rome2RioAndroid
library/src/test/java/com/getroadmap/r2rlib/models/DayFlagsTest.java
2022
package com.getroadmap.r2rlib.models; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Created by jan on 28/08/2017. * test dayflag bitwise and operator */ public class DayFlagsTest { @Test public void isSunday() throws Exception { Day...
apache-2.0
gchq/stroom
stroom-core-client/src/main/java/stroom/util/client/JSONUtil.java
2742
/* * Copyright 2016 Crown Copyright * * 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
nbsp-team/MaterialFilePicker
library/src/main/java/com/nbsp/materialfilepicker/ui/DirectoryFragment.java
3395
package com.nbsp.materialfilepicker.ui; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx...
apache-2.0
aseovic/coherence-tools
core/src/main/java/com/seovic/core/factory/LinkedHashMapFactory.java
1163
/* * Copyright 2009 Aleksandar Seovic * * 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...
apache-2.0
xicmiah/see
src/main/java/see/evaluation/processors/AggregatingProcessor.java
1669
/* * Copyright 2011 Vasily Shiyan * * 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...
apache-2.0
camachohoracio/Armadillo.Core
Communication/src/main/java/Armadillo/Communication/Impl/Distributed/DistControllerToWorkerHeartBeat.java
15386
package Armadillo.Communication.Impl.Distributed; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.joda.time.DateTime; import org.joda.time.Minutes; import org.joda.time.Seconds...
apache-2.0
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/DBNNodeExtendable.java
987
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * 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/LICE...
apache-2.0
FTFL02-ANDROID/Faravy
iCareFaravy/src/com/faravy/icare/ViewDoctorActivity.java
5472
package com.faravy.icare; import java.util.ArrayList; import android.app.ActionBar; import android.app.Activity; import android.content.ContentProviderOperation; import android.content.Intent; import android.content.OperationApplicationException; import android.graphics.Color; import android.graphics.drawable.ColorDr...
apache-2.0
jiro-aqua/JotaTextEditor
app/src/main/java/jp/sblo/pandora/jota/text/EditableInputConnection.java
4042
/* * Copyright (C) 2007-2008 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 app...
apache-2.0
kvr000/zbynek-java-exp
netty-exp/netty5-exp/netty5-datagram-listener-exp/src/main/java/cz/znj/kvr/sw/exp/java/netty/netty/MyEmbeddedEventLoop.java
7288
package cz.znj.kvr.sw.exp.java.netty.netty; /* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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-2.0
googlemaps/android-maps-utils
demo/src/v3/java/com/google/maps/android/utils/demo/DistanceDemoActivity.java
3517
/** * DO NOT EDIT THIS FILE. * * This source code was autogenerated from source code within the `demo/src/gms` directory * and is not intended for modifications. If any edits should be made, please do so in the * corresponding file under the `demo/src/gms` directory. */ /* * Copyright 2013 Google Inc. * * Lice...
apache-2.0
sekigor/hawkular-agent
hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/extension/RemoteJMXAttributes.java
3027
/* * Copyright 2015 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.ap...
apache-2.0
epam/DLab
integration-tests/src/main/java/com/epam/dlab/automation/http/HttpStatusCode.java
1003
/*************************************************************************** Copyright (c) 2016, EPAM SYSTEMS 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/...
apache-2.0
clafonta/canyon
test/service/org/tll/canyon/service/AssetRoleManagerTest.java
3376
package org.tll.canyon.service; import java.util.List; import java.util.ArrayList; import org.jmock.Mock; import org.springframework.orm.ObjectRetrievalFailureException; import org.tll.canyon.dao.AssetRoleDao; import org.tll.canyon.model.AssetRole; import org.tll.canyon.service.BaseManagerTestCase; import org.tll.c...
apache-2.0
dxjia/GifAssistant
app/src/main/java/com/wind/gifassistant/ui/GifProductsListFragment.java
4062
package com.wind.gifassistant.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.text.format.DateUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewG...
apache-2.0
leepc12/BigDataScript
src/org/bds/lang/nativeMethods/string/MethodNative_string_isEmpty.java
871
package org.bds.lang.nativeMethods.string; import java.io.File; import java.util.ArrayList; import java.util.Collections; import org.bds.lang.Parameters; import org.bds.lang.Type; import org.bds.lang.TypeList; import org.bds.lang.nativeMethods.MethodNative; import org.bds.run.BdsThread; import org.bds.task.Task; impo...
apache-2.0
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Items/BasicTech/GenKineticField.java
2625
package com.suscipio_solutions.consecro_mud.Items.BasicTech; import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg; import com.suscipio_solutions.consecro_mud.Common.interfaces.PhyStats; import com.suscipio_solutions.consecro_mud.Items.interfaces.Technical; import com.suscipio_solutions.consecro_mud.Items....
apache-2.0
Sargul/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLQueryResult.java
4467
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/licen...
apache-2.0
sawer1208/algs
src/chapter1_3/DeleteTail.java
498
package chapter1_3; public class DeleteTail<Item> { private Node<Item> first; private int N; public int getN(){ return N; } private static class Node<Item>{ private Item item; private Node<Item> next; } public static void main(String[] args) { // TODO Auto-generated method stub DeleteTail<String> d...
apache-2.0
tfisher1226/ARIES
nam/nam-view/src/main/java/nam/model/transactionScope/TransactionScopeListObject.java
1750
package nam.model.transactionScope; import java.io.Serializable; import org.aries.ui.AbstractListObject; import nam.model.TransactionScope; public class TransactionScopeListObject extends AbstractListObject<TransactionScope> implements Comparable<TransactionScopeListObject>, Serializable { private TransactionSc...
apache-2.0
dbflute-test/dbflute-test-dbms-oracle
src/main/java/org/docksidestage/oracle/dbflute/bsentity/BsVendor$Dollar.java
6829
package org.docksidestage.oracle.dbflute.bsentity; import java.util.List; import java.util.ArrayList; import org.dbflute.dbmeta.DBMeta; import org.dbflute.dbmeta.AbstractEntity; import org.dbflute.dbmeta.accessory.DomainEntity; import org.docksidestage.oracle.dbflute.allcommon.DBMetaInstanceHandler; import org.docksi...
apache-2.0
jesty/orientdb-microservices
nut-corelationid/src/main/java/com/nutcore/nut/correlationid/ClientProducer.java
419
package com.nutcore.nut.correlationid; import javax.enterprise.inject.Produces; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; /** * Created by davidecerbo on 14/11/2016. */ public class ClientProducer { @Produces public Client newClient() { return ClientBuilder ...
apache-2.0
didi/DoraemonKit
Android/app/src/main/java/com/didichuxing/doraemondemo/dokit/SimpleDokitView.java
3618
package com.didichuxing.doraemondemo.dokit; import android.content.Context; import android.util.DisplayMetrics; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.widget.CompoundButton; import android.widget.FrameLayout; import a...
apache-2.0
robjcaskey/Unofficial-Coffee-Mud-Upstream
com/planet_ink/coffee_mud/Commands/Value.java
3508
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import com...
apache-2.0
ampproject/validator-java
src/main/java/dev/amp/validator/visitor/InvalidRuleVisitor.java
6111
/* * * ==================================================================== * 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 * * Unles...
apache-2.0