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
/* * devjav [http://devjav.com] * Copyright (C) 2014-2014 Pham Thai Thinh * Contact:phamthaithinh@gmail.com * */ package com.devjav.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.transacti...
phamthaithinh/spring4hibernat4
src/main/java/com/devjav/service/EmployeeService.java
Java
apache-2.0
784
package org.javers.shadow; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonSyntaxException; import org.javers.common.validation.Validate; import org.javers.core.commit.CommitMetadata; import org.javers.core.json.JsonConverter; import org.javers.core.metamodel.object.*;...
javers/javers
javers-core/src/main/java/org/javers/shadow/ShadowGraphBuilder.java
Java
apache-2.0
7,122
package model; public enum NewsType { PuTong,//普通新闻 RenShi,//人事变动 PuGuang;//曝光(曝光+召回) }
zhangzuoqiang/WebRiskMonitor
risk-web/src/main/java/model/NewsType.java
Java
apache-2.0
131
package com.miltrex.treaker.service; import com.miltrex.treaker.dto.Location; import com.miltrex.treaker.dto.TrackingLocation; import org.gavaghan.geodesy.Ellipsoid; import org.gavaghan.geodesy.GeodeticCalculator; import org.gavaghan.geodesy.GeodeticCurve; import org.gavaghan.geodesy.GlobalCoordinates; import org.spri...
Fameing/antena-treaker
src/main/java/com/miltrex/treaker/service/GeoCalculator.java
Java
apache-2.0
1,143
/* * Copyright 2014-2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
ppalaga/hawkular-metrics
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/handler/GaugeHandler.java
Java
apache-2.0
33,429
/* * @(#) ReplayLogs.java * Created Apr 19, 2010 by oleg * (C) ONE, SIA */ package org.apache.cassandra.tools; import java.io.File; import java.io.IOException; import org.apache.cassandra.config.DatabaseDescriptor; import org.apache.cassandra.db.ColumnFamily; import org.apache.cassandra.db.ColumnFamilyStore; impo...
odnoklassniki/apache-cassandra
src/java/org/apache/cassandra/tools/ReplayLogs.java
Java
apache-2.0
5,822
/* * Copyright 1999-2101 Alibaba Group Holding 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 applica...
gaoxianglong/shark
src/main/java/com/sharksharding/sql/dialect/mysql/ast/statement/MySqlShowCreateProcedureStatement.java
Java
apache-2.0
1,246
package controllers; import model.entity.WorkHours; import tools.Factory; import tools.json.JsonCommands; import javax.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.json.JsonArray; import javax.json.JsonException; import javax.json.JsonObject; import javax.servlet.http.Htt...
sentinalll/rotterdam
src/main/java/controllers/WeeklyRouteInfo.java
Java
apache-2.0
2,181
package edu.ur.ir.user; import java.io.File; import java.io.Serializable; /** * This will re-index all users * * @author Nathan Sarr * */ public interface ReIndexUserService extends Serializable{ /** * Re-Index the users in the institutional repository * * @param batchSize - number of ...
nate-rcl/irplus
ir_core/src/edu/ur/ir/user/ReIndexUserService.java
Java
apache-2.0
526
/* ****************************************************************************** * * * Practica ABD - Series * * Autores: David Garcia Alvarez * * Javier Toledano Regaño * * 3ºB * ******************************************************************...
own3dh2so4/MiGestorSeries
Pr1ABD/src/bbdd/patterns/ComentarioEpisodioMapper.java
Java
apache-2.0
3,137
package android.marshon.likequanmintv.utils; import android.marshon.likequanmintv.R; import android.support.v7.app.AppCompatActivity; import com.readystatesoftware.systembartint.SystemBarTintManager; /** * Created by ITMarshon.Chen on 2016/11/23. * emal:itmarshon@163.com * desc: */ public class SystemBarUtils {...
a371166028/likequanmintv
app/src/main/java/android/marshon/likequanmintv/utils/SystemBarUtils.java
Java
apache-2.0
1,123
package sample; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web.We...
dsyer/spring-cloud-sleuth
spring-cloud-sleuth-samples/spring-cloud-sleuth-sample-zipkin/src/test/java/sample/SampleSleuthApplicationTests.java
Java
apache-2.0
624
package com.cisco.trex.stateful; import com.cisco.trex.stateful.api.lowlevel.*; import java.util.ArrayList; import java.util.List; public class MixPcapFileAstfTraffic { public static ASTFProfile createProfile() { ASTFCapInfo capInfo1 = ASTFCapInfo.newBuilder().filePath(AstfTestUtil.PCAP_DIR + "http_bro...
cisco-system-traffic-generator/trex-java-sdk
src/e2e-test/java/com/cisco/trex/stateful/MixPcapFileAstfTraffic.java
Java
apache-2.0
937
package com.burstly.lib.constants; import java.util.Properties; import android.content.Context; import com.burstly.lib.BurstlySdk; import com.burstly.lib.exception.BurstlySdkNotInitializedException; public final class BurstlyProperties { public static final String TAG = BurstlyProperties.class.getName(); priva...
freshplanet/ANE-Burstly
android/src/com/burstly/lib/constants/BurstlyProperties.java
Java
apache-2.0
3,949
package com.tekihub.kameleon.utils; public class Config { public static final int FRAMES_PER_SECOND = 50; public static final int MAX_COLORS = 3; // Lines background config public static final int LINES_RENDERER_MIN_AMPLITUDE = 14; public static final int LINES_RENDERER_MAX_AMPLITUDE = 22; pu...
jcasero/kameleon
wear/src/main/java/com/tekihub/kameleon/utils/Config.java
Java
apache-2.0
978
package ru.spb.kpit.kivan.Networking; /** * Created with IntelliJ IDEA. * User: Kivan * Date: 03.09.13 * Time: 21:50 * To change this template use File | Settings | File Templates. */ public class MaskUserProperies { String userAgent; String cookie; public MaskUserProperies(String userAgent, String ...
kivan-mih/generalLib
src/ru/spb/kpit/kivan/Networking/MaskUserProperies.java
Java
apache-2.0
404
/* * 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 app...
GuillaumeDelente/contact-picker
library/src/main/java/com/guillaumedelente/android/contacts/common/analytics/AnalyticsPreferenceActivity.java
Java
apache-2.0
1,011
package org.csc.phynixx.tutorial; /* * #%L * phynixx-common * %% * Copyright (C) 2014 csc * %% * 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...
csc19601128/Phynixx
phynixx/phynixx-tutorial/src/main/java/org/csc/phynixx/tutorial/UTFWriterImpl.java
Java
apache-2.0
5,987
/* * * * 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 * * * * U...
xuzhongxing/deeplearning4j
deeplearning4j-scaleout/spark/dl4j-spark-nlp/src/main/java/org/deeplearning4j/spark/models/embeddings/glove/VocabWordPairs.java
Java
apache-2.0
1,602
/* * Copyright 2014 zhenguo (jingle1267@163.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 required...
jingle1267/TaskFramework
framework/src/main/java/com/worthed/framework/Task.java
Java
apache-2.0
5,778
/* * @(#)HexBinaryAttribute.java * * Copyright 2003-2004 Sun Microsystems, 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: * * 1. Redistribution of source code must retain the above c...
shaundmorris/arbitro
modules/arbitro-core/src/main/java/com/connexta/arbitro/attr/HexBinaryAttribute.java
Java
apache-2.0
9,761
package com.usingrestapi.usinglibraries; /** * Created by Nikhil Bhutani on 4/15/2016. */ public class MyModel { private String country; private String population; private String flag; int rank; public String getCountry() { return country; } public void setCountry(String countr...
NikhilBhutani/Android-Snippets
Using_UniversalImageLoader/app/src/main/java/com/usingrestapi/usinglibraries/MyModel.java
Java
apache-2.0
785
/* * 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...
inbloom/secure-data-service
sli/api/src/main/java/org/slc/sli/api/security/context/validator/StaffToDisciplineIncidentValidator.java
Java
apache-2.0
4,843
package it.playfellas.superapp.ui.master.survey; import android.view.View; import java.util.HashMap; import java.util.Map; import it.playfellas.superapp.R; import it.playfellas.superapp.logic.Config1; public class SurveyActivity1 extends SurveyActivity { public static final String MAX_SCORE_ID = "maxScore"; ...
playfellas/superapp
app/src/main/java/it/playfellas/superapp/ui/master/survey/SurveyActivity1.java
Java
apache-2.0
1,078
package apoc.periodic; import apoc.load.Jdbc; import apoc.util.MapUtil; import apoc.util.TestUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.neo4j.graphdb.*; import org.neo4j.helpers.collection.Iterators; import org.neo4j.kernel.enterprise.builtinprocs.EnterpriseBuiltInDbmsProc...
larusba/neo4j-apoc-procedures
src/test/java/apoc/periodic/PeriodicTest.java
Java
apache-2.0
17,048
/* * 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-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/DeleteCustomActionTypeResultJsonUnmarshaller.java
Java
apache-2.0
1,710
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.expression.function.aggregate; import org...
nknize/elasticsearch
x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRank.java
Java
apache-2.0
1,190
package com.example.achuan.bombtest.ui.assistant.fragment; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com...
lyc-changeworld/SignInAssistant
app/src/main/java/com/example/achuan/bombtest/ui/assistant/fragment/AssistantMainFragment.java
Java
apache-2.0
2,884
package com.qingbo.ginkgo.ygb.common.util; import java.util.HashSet; import java.util.Set; import org.junit.Test; public class QueueMakeTester { private static Set<Long> queues = new HashSet<Long>(); private static Long limit = 10L; @Test public void queue() { for(int i=1; i<=5; i++) { TaskU...
hwxiasn/archetypes
ygb/ygb-common/src/test/java/com/qingbo/ginkgo/ygb/common/util/QueueMakeTester.java
Java
apache-2.0
1,298
/* * 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 ...
rdblue/incubator-nifi
nifi-api/src/main/java/org/apache/nifi/expression/AttributeValueDecorator.java
Java
apache-2.0
1,089
package org.incode.module.communications.dom.impl.commchannel; import java.util.List; import javax.inject.Inject; import com.google.common.base.Optional; import com.google.common.collect.Iterables; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annotation.NatureOfService; impo...
estatio/estatio
estatioapp/app/src/main/java/org/incode/module/communications/dom/impl/commchannel/PhoneOrFaxNumberRepository.java
Java
apache-2.0
3,497
package it.polito.languagespotter; import static org.junit.Assert.assertArrayEquals; import it.polito.languagespotter.tokenizer.WekaLexicalProgrammingLanguageTokenizer; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import org.junit.Test; public class WekaLexicalProgrammingLanguageToke...
CrossLanguageProject/languagespotter
src/test/java/it/polito/languagespotter/WekaLexicalProgrammingLanguageTokenizerTest.java
Java
apache-2.0
2,248
// Code generated by Wire protocol buffer compiler, do not edit. // Source file: ../wire-runtime/src/test/proto/custom_options.proto at 84:1 package com.squareup.wire.protos.custom_options; import com.google.protobuf.MessageOptions; import com.squareup.wire.FieldEncoding; import com.squareup.wire.Message; import com.s...
amikey/wire
wire-runtime/src/test/proto-java/com/squareup/wire/protos/custom_options/MessageWithOptions.java
Java
apache-2.0
4,810
/* * Copyright (c) http://www.svoflee.com 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 * *...
svoflee/svoflee-spartacus-test
src/test/java/com/svoflee/spartacus/test/tutorial/TutorialBaseSpringTxTest.java
Java
apache-2.0
2,163
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Omegapoint/facepalm
src/main/java/se/omegapoint/facepalm/client/controllers/SearchController.java
Java
apache-2.0
1,944
package org.estatio.module.lease.imports; import java.math.BigDecimal; import java.math.BigInteger; import java.util.List; import javax.inject.Inject; import com.google.common.collect.Lists; import org.apache.commons.lang3.ObjectUtils; import org.apache.isis.applib.services.registry.ServiceRegistry; import org.joda...
estatio/estatio
estatioapp/app/src/main/java/org/estatio/module/lease/imports/LeaseTermForDepositImport.java
Java
apache-2.0
6,170
/* * Copyright 2021 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 obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or ag...
EBIBioSamples/biosamples-v4
models/core/src/main/java/uk/ac/ebi/biosamples/model/StaticViewWrapper.java
Java
apache-2.0
2,252
package gitflow.actions; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.Task; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.DialogWrapper; import git4idea.commands.GitCommandResult; impor...
OpherV/gitflow4idea
src/main/java/gitflow/actions/StartBugfixAction.java
Java
apache-2.0
2,763
package com.sample.linebot; import com.amazonaws.services.lambda.runtime.ClientContext; import com.amazonaws.services.lambda.runtime.CognitoIdentity; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; /** * A simple mock implementation of the {@code Conte...
moritalous/LineBot
src/test/java/com/sample/linebot/TestContext.java
Java
apache-2.0
2,975
package com.taskadapter.redmineapi; import com.taskadapter.redmineapi.bean.Group; import com.taskadapter.redmineapi.bean.GroupFactory; import com.taskadapter.redmineapi.bean.Role; import com.taskadapter.redmineapi.bean.User; import com.taskadapter.redmineapi.bean.UserFactory; import org.junit.Assert; import org.junit....
sleroy/redmine-java-api
src/test/java/com/taskadapter/redmineapi/UserIntegrationTest.java
Java
apache-2.0
13,638
package com.coolweaather.app.until; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.text.TextUtils; import com.coolweaather.app.db.CoolWeatherDB; import com.coolweaather.app.model.CityBean; import com.coolweaather.app.model.CountryB...
zhuanxin/coolweather
app/src/main/java/com/coolweaather/app/until/Utility.java
Java
apache-2.0
4,857
package com.planet_ink.coffee_mud.Items.Weapons; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.plan...
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Items/Weapons/EternityQuarterstaff.java
Java
apache-2.0
3,478
/* * Copyright (c) 2014 GRNET SA (grnet.gr) * * 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 ...
CELAR/SlipStreamConnector-Okeanos
java/jar/src/main/java/gr/grnet/celar/connector/OkeanosImageParametersFactory.java
Java
apache-2.0
1,373
/* Copyright 2012 Explorys, Inc * ...
ExplorysMedical/Apothecary
src/main/java/com/explorys/apothecary/hbase/mock/MockHTable.java
Java
apache-2.0
31,020
package info.holownia.przemyslaw.financial.manager.app; import android.app.Application; import android.content.Context; /** * Created by przemek on 9/26/17. */ public class App extends Application { private ApplicationComponent applicationComponent; @Override public void onCreate() { super.o...
przemyslaw-holownia/financial-manager
app/src/main/java/info/holownia/przemyslaw/financial/manager/app/App.java
Java
apache-2.0
837
/* * Copyright 2011 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...
cyberdrcarr/guvnor
guvnor-webapp-drools/src/main/java/org/drools/guvnor/server/ruleeditor/workitem/AssetWorkDefinitionsLoader.java
Java
apache-2.0
2,734
package com.example.playvideotest; import android.Manifest; import android.content.pm.PackageManager; import android.os.Environment; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.v...
DossShi/AndroidStudy
chapter8/PlayVideoTest/app/src/main/java/com/example/playvideotest/MainActivity.java
Java
apache-2.0
2,948
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.compiler.impl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.compiler.*; import com.intellij.openapi.diagnostic.Log...
paplorinc/intellij-community
java/compiler/impl/src/com/intellij/compiler/impl/FileProcessingCompilerAdapterTask.java
Java
apache-2.0
4,430
package ru.stqa.pft.mantis.tests; import org.testng.annotations.Test; import ru.stqa.pft.mantis.appmanager.HttpSession; import java.io.IOException; import static org.testng.Assert.assertTrue; /** * Created by Пользователь on 04.08.2017. */ public class LoginTests extends TestBase { @Test public void test...
sungatullina/java_pft
mantis-tests/src/test/java/ru/stqa/pft/mantis/tests/LoginTests.java
Java
apache-2.0
536
/* * Copyright (c) 2020 abluepoint All Rights Reserved. * File:ValidateExportInterceptor.java * Date:2020-12-30 17:30:30 */ package com.abluepoint.summer.mvc.interceptor; import com.abluepoint.summer.common.exception.SummerException; import com.abluepoint.summer.common.util.AppContextUtil; import com.abluepoint.s...
abluepoint/summer
summer-mvc/src/main/java/com/abluepoint/summer/mvc/interceptor/ValidateExportInterceptor.java
Java
apache-2.0
8,061
package ua.andriyantonov.sunshine.app.data; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.test.AndroidTestCase; import java.util.HashSet; public class TestDb extends AndroidTestCase { public static final String LOG_TAG = TestD...
pro100svitlo/SunshineApp
app/src/androidTest/java/ua/andriyantonov/sunshine/app/data/TestDb.java
Java
apache-2.0
5,026
package it.unibz.inf.ontop.owlrefplatform.core.reformulation; /* * #%L * ontop-reformulation-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
srapisarda/ontop
reformulation-core/src/main/java/it/unibz/inf/ontop/owlrefplatform/core/reformulation/TreeWitnessGenerator.java
Java
apache-2.0
7,424
package org.apache.lucene.search; /** * 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, Vers...
lpxz/grail-lucene477083
src/test/org/apache/lucene/search/SampleComparable.java
Java
apache-2.0
4,987
package com.google.api.ads.adwords.jaxws.v201402.billing; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import com.google.api.ads.adwords.jaxws.v201402.cm.Selector; /** * ...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201402/billing/BudgetOrderServiceInterfaceget.java
Java
apache-2.0
2,040
/* * Copyright (c) 2013 ITOCHU Techno-Solutions 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 ...
ctc-g/sinavi-jfw-examples
data/jfw-data-mongodb-showcase/src/main/java/jp/co/ctc_g/jse/data/mongo/showcase/business/service/package-info.java
Java
apache-2.0
759
package org.apereo.cas.services; import com.fasterxml.jackson.annotation.JsonIgnore; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apereo.cas.util.CollectionUtils; import org.apereo.cas...
Unicon/cas
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/DefaultRegisteredServiceAccessStrategy.java
Java
apache-2.0
15,980
package action; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.opensymphony.xwork2.ActionSupport; import bean.Favorite; import bean.Good; import dao.FavoriteDao; import dao.GoodDao; public class FavoriteAction extends ActionSupport { private static fin...
nuaalida/lab_3
src/main/java/action/FavoriteAction.java
Java
apache-2.0
2,314
/* * Copyright 2000-2017 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...
paplorinc/intellij-community
platform/lang-impl/src/com/intellij/ide/commander/CommanderPanel.java
Java
apache-2.0
22,758
/* * Copyright 2000-2014 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...
paplorinc/intellij-community
xml/impl/src/com/intellij/codeInsight/daemon/impl/analysis/InsertRequiredAttributeFix.java
Java
apache-2.0
6,552
package org.project.openbaton.nubomedia.api.persistence; import com.fasterxml.jackson.annotation.JsonIgnore; import org.project.openbaton.nubomedia.api.messages.BuildingStatus; import org.project.openbaton.nubomedia.api.openbaton.Flavor; import javax.persistence.ElementCollection; import javax.persistence.Entity; imp...
alincalinciuc/nubomedia-paas
src/main/java/org/project/openbaton/nubomedia/api/persistence/Application.java
Java
apache-2.0
4,464
package com.lifuz.dao; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.lifuz.bean.Employee; /** * 表employee的dao类实现类 * * @作者: 李富 * @邮箱:lifuzz@163.com * @时间:2016年2月27日 */ public class Dao { private static Map<Integer, Employ...
lifuz/Struts
StrutsCRUD/src/com/lifuz/dao/Dao.java
Java
artistic-2.0
1,238
package com.bitwaffle.spaceguts.util.xml; import java.io.File; import java.util.ArrayList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; public class SaveLister { public static final String SAVE_FOLDER_LOCATION = "./saves"; public Array...
TranquilMarmot/spaceout
src/com/bitwaffle/spaceguts/util/xml/SaveLister.java
Java
artistic-2.0
1,396
/** * Copyright (c) 2009 - 2012 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org> * * This file is part of org.appwork.utils.logging2 * * This software is licensed under the Artistic License 2.0, * see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php * for details */ package o...
jdownloader-mirror/appwork-utils
src/org/appwork/utils/logging2/LogSource.java
Java
artistic-2.0
11,980
package org.pfaa.chemica.processing; import java.util.Arrays; import java.util.stream.Stream; import org.pfaa.chemica.model.IndustrialMaterial; public class Stacking extends FormConversion implements MassTransfer { protected Stacking(IndustrialMaterial material) { super(material); } @Override public Form g...
lawremi/PerFabricaAdAstra
src/main/java/org/pfaa/chemica/processing/Stacking.java
Java
artistic-2.0
708
/*********************************************** * AUTHOR: Matt Vella * COURSE: CS 111 Intro to CS I * SECTION: Tues / Thurs + 11:30-1:30 * HOMEWORK #15 problem #1 * LAST MODIFIED: 12/3/14 ************************************************* ********************************************************************************...
vellanator/DnDCharacterGenerator
StatsCharacter.java
Java
artistic-2.0
4,053
package org.xstream.microexperiment.composite.product.model; import org.xstream.microexperiment.product.model.Product; import org.xstream.microexperiment.review.model.Review; import org.xstream.microexperiment.recommendation.model.Recommendation; import java.util.List; import java.util.stream.Collectors; public cla...
PaniczWayne/microexperiment
product-composite/src/main/java/org/xstream/microexperiment/composite/product/model/ProductAggregated.java
Java
bsd-2-clause
1,738
package com.sst.devtools.alterproxy; import static org.junit.Assert.*; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.SimpleFileVisitor; impor...
SecureSkyTechnology/sst-devtools-alter-proxy
src/test/java/com/sst/devtools/alterproxy/LFSMappableHttpFiltersTest.java
Java
bsd-2-clause
5,307
import aup.*; public class ReadNumbers { public static void main(String[] args) { System.out.print("Please type an integral number: "); int firstNumber = IOUtils.readInt(); System.out.println("Your number was: " + firstNumber); } }
thillux/AuPUtils
examples/ReadNumbers.java
Java
bsd-2-clause
240
/** * This class is generated by jOOQ */ package us.fok.lenzenslijper.models.jooq.routines; /** * This class is generated by jOOQ. */ @javax.annotation.Generated(value = { "http://www.jooq.org", "3.3.0" }, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({ "a...
fokus-llc/lenzenslijper
src/main/java/us/fok/lenzenslijper/models/jooq/routines/RasterOverbelow.java
Java
bsd-2-clause
2,257
package info.rssmixer; import info.rssmixer.db.Feeds; import info.rssmixer.model.FeedModel; import org.apache.cayenne.access.DataContext; import org.apache.log4j.Logger; import java.util.Date; import java.util.List; /** * Backend for RSS Mixer * * @author Lucas Holt */ public class RssMixer { private static ...
laffer1/rssmixer
src/info/rssmixer/RssMixer.java
Java
bsd-2-clause
1,291
package com.github.hiroshi_cl.seglang; import com.github.hiroshi_cl.seglang.compressors2.Compressor; import com.github.hiroshi_cl.util.Strings; public class Segmenter2 { public static int seg2(final String input, final Compressor comp1, final Compressor comp2) { final Compressor.LengthMatrix l1 = comp1.getLengthMa...
hiroshi-cl/seglang-core
src/com/github/hiroshi_cl/seglang/Segmenter2.java
Java
bsd-2-clause
655
package im.yangqiang.android.unicorn.data.http; import java.util.Map; import im.yangqiang.android.unicorn.core.log.ULog; /** * 显示请求日志 * Created by Carlton on 2014/12/24. */ public class HttpLog { private static final String TAG = "HttpLog"; /** * 请求参数 * * @param url ...
carltony/Unicorn
src/main/java/im/yangqiang/android/unicorn/data/http/HttpLog.java
Java
bsd-2-clause
1,119
/* Copyright (c) 2013, Colorado State University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and ...
malensek/sing
src/main/java/io/sigpipe/sing/graph/FeatureHierarchy.java
Java
bsd-2-clause
2,929
/** * menu - ${project.description} * Copyright (c) ${project.inceptionYear}, Matej Kormuth <http://www.github.com/dobrakmato> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redist...
pexelnet/menu
src/main/java/eu/pexel/menu/commands/server/FailingComponent.java
Java
bsd-2-clause
2,258
package org.jcodec.codecs.prores; import static java.lang.Math.min; import static org.jcodec.codecs.prores.ProresConsts.QMAT_CHROMA_APCH; import static org.jcodec.codecs.prores.ProresConsts.QMAT_CHROMA_APCN; import static org.jcodec.codecs.prores.ProresConsts.QMAT_CHROMA_APCO; import static org.jcodec.codecs.prores.Pro...
jcodec/jcodec
src/main/java/org/jcodec/codecs/prores/ProresEncoder.java
Java
bsd-2-clause
18,324
package com.beyondtechnicallycorrect.pong.models.collision; final class AdjustVelocityDelegateStub implements AdjustVelocityDelegate { private final int m_amountToReturn; public AdjustVelocityDelegateStub( int amountToReturn ) { m_amountToReturn = amountToReturn; } @Override public int getAdjustedA...
jeffcharles/pong
src/test/java/com/beyondtechnicallycorrect/pong/models/collision/AdjustVelocityDelegateStub.java
Java
bsd-2-clause
385
/** * Copyright 2005-2013 Restlet S.A.S. * * The contents of this file are subject to the terms of one of the following * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL * 1.0 (the "Licenses"). You can select the license that you prefer but you may * not use this file except in compli...
zhangjunfang/eclipse-dir
restlet/src/org/restlet/service/DecoderService.java
Java
bsd-2-clause
2,227
package evaluation.evalBench.panel; import evaluation.evalBench.EvaluationManager; import evaluation.evalBench.EvaluationResources; import evaluation.evalBench.task.Task; import javax.swing.*; import javax.swing.text.View; import javax.swing.text.html.HTMLDocument; import java.awt.*; import java.awt.event.ActionEvent...
ieg-vienna/EvalBench
src/evaluation/evalBench/panel/TaskPanel.java
Java
bsd-2-clause
8,131
package com.mapbox.mapboxandroiddemo.examples.basics; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.mapbox.mapboxandroiddemo.R; import com.mapbox.mapboxsdk.Mapbox; import com.mapbox.mapboxsdk.maps.MapView; import com.mapbox.mapboxsdk.maps.MapboxMap; import com.mapbox.m...
francistang97/New_Map_App_MasseyUni
MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/basics/SupportMapFragmentActivity.java
Java
bsd-2-clause
2,020
package org.kodejava.example.hibernate.model; import java.util.Objects; public class Artist { private Long id; private String name; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } p...
kodejava/kodejava.project
kodejava-hibernate/src/main/java/org/kodejava/example/hibernate/model/Artist.java
Java
bsd-2-clause
929
package assettocorsa.servermanager.model; import assettocorsa.servermanager.services.AppSettingsServiceImpl; import assettocorsa.servermanager.services.IAppSettingsService; import assettocorsa.servermanager.services.data.*; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty;...
p3t3c/AssettoCorsaServerManager
src/assettocorsa/servermanager/model/AppSettingsImpl.java
Java
bsd-2-clause
3,366
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INSTIT...
EPapadopoulou/PersoNIS
api/java/internal/src/main/java/org/societies/api/internal/slm/qosmonitor/IQoSReporterInternal.java
Java
bsd-2-clause
2,807
package com.norsez.dsp.synth; import com.norsez.dsp.block.*; /** * <p>Title: VoiceManager</p> * <p>Description: Encapsulates the algorithms that allocate voices. <i>This version is suitable for * monophonic input (like ArpSwing) only.</i> * This is not a MVC design like Voi...
norsez/norsez-dsp-kit
src/com/norsez/dsp/synth/VoiceManager.java
Java
bsd-2-clause
11,838
package com.nhl.link.rest.it.noadapter; import static org.junit.Assert.assertEquals; import javax.ws.rs.core.FeatureContext; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import org.junit.Test; import com.nhl.link.rest.it.fixture.JerseyTestOnDerby; import com.nhl.link.rest.it.fixture.re...
atomashpolskiy/link-rest
link-rest/src/test/java/com/nhl/link/rest/it/noadapter/GET_NonPersistentProperties_IT.java
Java
bsd-2-clause
2,112
// SECTION-START[License Header] // <editor-fold defaultstate="collapsed" desc=" Generated License "> /* * Java Object Management and Configuration * Copyright (C) Christian Schulte, 2005-206 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ar...
JOMC/JOMC-Sequences
jomc-sequences-api/src/main/java/org/jomc/sequences/SequenceChangeStatus.java
Java
bsd-2-clause
13,048
/* * #%L * ImageJ2 software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2021 ImageJ2 developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of...
imagej/imagej-ops
src/main/java/net/imagej/ops/geom/AbstractBoundarySizeConvexHull.java
Java
bsd-2-clause
2,729
/* * #%L * OME-XML library extension for document versioning. * %% * Copyright (C) 2012 - 2015 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or withou...
uw-loci/ome-versioning
src/main/java/ome/xml/version/Main.java
Java
bsd-2-clause
3,009
package de.ids_mannheim.korap.query.object; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import de.ids_mannheim.korap.query.serialize.MapBuilder; import de.ids_mannheim.korap.query.serialize.util.KoralException; /** Definition of koral:termGroup in KoralQue...
KorAP/Koral
src/main/java/de/ids_mannheim/korap/query/object/KoralTermGroup.java
Java
bsd-2-clause
1,604
package org.pm4j.core.pb; import org.pm4j.core.pm.PmAttrString; import org.pm4j.core.pm.PmObject; /** * Special factory for string attributes. Depending on the result of * {@link PmAttrString#isMultiLine()} it they will be represented either using * the configurable {@link #textAreaBinder} or the configurable * {...
pm4j/org.pm4j
pm4j-deprecated/src/main/java/org/pm4j/core/pb/PbMatcherForStrings.java
Java
bsd-2-clause
951
package pl.edu.agh.planner.dao; import org.hibernate.Criteria; import org.hibernate.criterion.Restrictions; import org.springframework.stereotype.Component; import pl.edu.agh.planner.domain.FacultyEntity; import pl.edu.agh.planner.utils.GenericQuery; import java.util.List; @Component("facultyDao") public class Facul...
Blondas/planner2
AghPlanner/src/main/java/pl/edu/agh/planner/dao/FacultyDao.java
Java
bsd-3-clause
2,028
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
levans/Open-Quark
src/CAL_Libraries/src/org/openquark/cal/foreignsupport/module/DatabaseMetadata/ConnectionSettings.java
Java
bsd-3-clause
2,610
package gtd.stack.filter.after; import gtd.stack.filter.IAfterFilter; public class CharRangeMatchRestriction implements IAfterFilter{ private final char from; private final char to; public CharRangeMatchRestriction(char from, char to){ super(); this.from = from; this.to = to; } public boolean isFilt...
arnoldlankamp/parser
src/main/java/gtd/stack/filter/after/CharRangeMatchRestriction.java
Java
bsd-3-clause
986
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cacore-sdk-pre411/LICENSE.txt for details. */ package gov.nih.nci.codegen.core.transformer; import gov.nih.nci.codegen.core.BaseArtifact; import gov.ni...
NCIP/cacore-sdk-pre411
src/gov/nih/nci/codegen/core/transformer/UML13EHCacheTransformer.java
Java
bsd-3-clause
12,753
package apps.lightrays.raytracer.scene; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * The Class Lighting. */ public class Lighting { /** * Gets the default light. * * @param lightpoint * the lightpoint * @return the default light */ public static Ligh...
synergynet/synergynet2.5
synergynet2.5/src/main/java/apps/lightrays/raytracer/scene/Lighting.java
Java
bsd-3-clause
1,652
package cmuoh.ticketService.util; import java.time.Clock; import java.time.OffsetDateTime; import java.util.TimeZone; /** * Helper class to return time stamp information */ public class HoldTimeStampProvider { public static int DEFAULT_TTL_SECONDS = 30; private int holdTtl; public HoldTimeStampProvide...
outro56/ticket-service
src/main/java/cmuoh/ticketService/util/HoldTimeStampProvider.java
Java
bsd-3-clause
1,034
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
awkwalrus/Robotics-Test
src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
Java
bsd-3-clause
2,030
package com.pengyifan.leetcode; import static org.junit.Assert.*; import org.junit.Test; import com.pengyifan.leetcode.commons.ListNode; public class RotateListTest { RotateList t = new RotateList(); @Test public void testRotateRight() { ListNode a = new ListNode(1); ListNode b = new ListNode(2);...
yfpeng/pengyifan-leetcode
src/test/java/com/pengyifan/leetcode/RotateListTest.java
Java
bsd-3-clause
1,182
/*L * Copyright SAIC, Ellumen and RSNA (CTP) * * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/national-biomedical-image-archive/LICENSE.txt for details. */ /** * $Id: SavedQueryLastExec.java 4417 2008-04-18 20:43:12Z saksass $ * * $Log: not supported by cvs2svn $ * R...
NCIP/national-biomedical-image-archive
software/nbia-dao/src/gov/nih/nci/nbia/internaldomain/SavedQueryLastExec.java
Java
bsd-3-clause
1,555
package com.petuum.ps.common.client; import com.google.common.cache.Cache; import com.petuum.ps.common.Row; import com.petuum.ps.common.oplog.RowOpLog; import com.petuum.ps.common.util.IntBox; import com.petuum.ps.oplog.TableOpLog; import com.petuum.ps.oplog.TableOpLogIndex; import com.petuum.ps.thread.GlobalContext; i...
zengjichuan/jetuum
src/main/java/com/petuum/ps/common/client/ThreadTable.java
Java
bsd-3-clause
4,640
package ch.codebulb.exceptionhandling.checked.fixed; public class CheckedUncheckedCallerFixed { public void callBusiness() { String fileName; fileName = new CheckedUncheckedClassFixed().getFileName(); } }
codebulb/exceptionhandlingbestpractices
src/main/java/ch/codebulb/exceptionhandling/checked/fixed/CheckedUncheckedCallerFixed.java
Java
bsd-3-clause
230