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
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Found...
teryk/sonarqube
sonar-batch/src/test/java/org/sonar/batch/scan/SensorContextAdapterTest.java
Java
lgpl-3.0
13,612
package org.eso.ias.plugin.filter; import org.eso.ias.plugin.Sample; import java.util.Optional; /** * The interface defining filter to apply to a monitored value * before sending to the IAS core. * * @author acaproni * */ public interface Filter { /** * The sample enriched with a flag to know if it has ...
IntegratedAlarmSystem-Group/ias
plugin/src/main/java/org/eso/ias/plugin/filter/Filter.java
Java
lgpl-3.0
2,071
/* * Model Tools. * Copyright (C) 2013 Pal Hargitai (pal@lunarray.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) an...
lunarray-org/model-descriptor
src/main/java/org/lunarray/model/descriptor/builder/annotation/base/builders/builder/package-info.java
Java
lgpl-3.0
866
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2012 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; e...
jmecosta/sonar
sonar-plugin-api/src/test/java/org/sonar/api/utils/UriReaderTest.java
Java
lgpl-3.0
3,695
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * ...
sikachu/jasperreports
src/net/sf/jasperreports/engine/fill/JRFillStaticText.java
Java
lgpl-3.0
5,302
/* * Copyright (C) 2008-2015 by Holger Arndt * * This file is part of the Universal Java Matrix Package (UJMP). * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * UJMP is free software; you can redistribute it and/or modify * it under t...
ujmp/universal-java-matrix-package
ujmp-core/src/main/java/org/ujmp/core/doublematrix/calculation/general/missingvalues/Impute.java
Java
lgpl-3.0
3,096
/* * tuProlog - Copyright (C) 2001-2002 aliCE team at deis.unibo.it * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
zakski/project-soisceal
scala-core/src/main/java/com/szadowsz/gospel/core/operation/Operator.java
Java
lgpl-3.0
1,436
/* * LibrAlign - A GUI library for displaying and editing multiple sequence alignments and attached data * Copyright (C) 2014-2018 Ben Stöver * <http://bioinfweb.info/LibrAlign> * * This file is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public Lice...
bioinfweb/LibrAlign
test/src/info/bioinfweb/libralign/test/tests/editalignment/SwingTest.java
Java
lgpl-3.0
5,577
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
RMarinDTI/CloubityRepo
Servicio-portlet/docroot/WEB-INF/service/es/davinciti/liferay/service/ConnectionTypesServiceClp.java
Java
unlicense
2,540
package org.litesoft.locales.server.tables; import org.litesoft.json.server.*; import org.litesoft.locales.shared.tables.*; import org.litesoft.server.util.*; public class LocalizationSuppliersPersister extends PersisterBackedGsonPersister<LocalizationSuppliers> { public static final String SUPPLIERS = "Suppliers...
litesoft/LiteSoftLocales
src/org/litesoft/locales/server/tables/LocalizationSuppliersPersister.java
Java
unlicense
473
import java.math.BigInteger; import java.security.MessageDigest; class Day4 { static final String PREFIX = "yzbqklnj"; public static void main(String[] args) throws Exception { boolean lookFor5 = true; for (int i = 1;; i++) { if (lookFor5 && test(i, "00000")) { System.out.println("First number with 5 ze...
Boreeas/advent-of-code
Day4/Day4.java
Java
unlicense
887
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * THE SOFTWARE I...
VSETH-GECO/GECkO
src/main/java/ch/ethz/geco/gecko/command/core/Restart.java
Java
unlicense
1,815
package de.oio.vaadin.demo.suggestingcombobox.component; /** * Simple entity class to be used as item data for the ComboBox. */ public class WikipediaPage { private Long id; private String title; public WikipediaPage() { super(); } public WikipediaPage(Long id, String title) { super(); this....
rolandkrueger/vaadin-by-example
all-in-one-demo/src/main/java/de/oio/vaadin/demo/suggestingcombobox/component/WikipediaPage.java
Java
unlicense
642
/** * @Author: yangjun * @CreateDate: 15/11/27 20:59 * @QQ: 756427684 * @Copyright: 2015 www.qianmi.com Inc. All rights reserved. */ package com.huaici.app.constant; /** * Created by yangjun on 15/11/27. * 具体类目的标识 */ public class ItemConstant { //大健康 public static final int dajiankang = 1; //逗你乐 ...
yangjun2/android
huaici/app/src/main/java/com/huaici/app/constant/ItemConstant.java
Java
unlicense
568
package cbs.repository.account.maininfo.model; /** * Created by IntelliJ IDEA. * User: haiyuhuang * Date: 2011-1-17 * Time: 16:17:06 * To change this template use File | Settings | File Templates. */ public class ActactForPlcRpt extends Actact { private String plctyp; //ËðÒæÀàÐÍ private long totalBokb...
rongshang/fbi-cbs2
common/main/java/cbs/repository/account/maininfo/model/ActactForPlcRpt.java
Java
unlicense
831
package com.nostra13.universalimageloader.core; import android.graphics.Bitmap; import android.os.Handler; import android.support.design.widget.K; import com.nostra13.universalimageloader.core.assist.FailReason.FailType; import com.nostra13.universalimageloader.core.assist.ImageScaleType; import com.nostra13.universal...
clilystudio/NetBook
allsrc/com/nostra13/universalimageloader/core/LoadAndDisplayImageTask.java
Java
unlicense
22,828
package services; import play.Logger; import akka.actor.ActorRef; import akka.actor.UntypedActor; import akkaGuice.PropsContext; import com.google.inject.Inject; import com.google.inject.Singleton; @Singleton public class HelloActor extends UntypedActor { private final SayHello hello; @Inject public HelloActor(S...
chanan/AkkaGuice
app/services/HelloActor.java
Java
unlicense
813
package io.github.picodotdev.blogbitix.javaraspberrypi; import com.diozero.LED; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.stream.LongStream; public class ChristmasTree { public static void main(String[] args) throws Exception { int[] pins = new int[] { ...
picodotdev/blog-ejemplos
JavaRaspberryPi/src/main/java/io/github/picodotdev/blogbitix/javaraspberrypi/ChristmasTree.java
Java
unlicense
1,081
package org.bocogop.shared.model; import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; import java.math.BigDecimal; import javax.persistence.Transient; import com.fasterxml.jackson.annotation.JsonAutoDetect; /** * This class is a convenience superclass for all persistent objects that are...
bocogop/main
webreport/trunk/core/src/main/java/org/bocogop/shared/model/AbstractDerivedPersistent.java
Java
unlicense
2,003
package cbs.repository.code.dao; import cbs.repository.code.model.Actery; import cbs.repository.code.model.ActeryExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface ActeryMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to ...
rongshang/fbi-cbs2
common/main/java/cbs/repository/code/dao/ActeryMapper.java
Java
unlicense
1,974
package com.smartgwt.mobile.showcase.client.resources; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.resources.client.ImageResource.ImageOptions; public interface AppResources extends ClientBundle...
will-gilbert/SmartGWT-Mobile
showcase/src/main/java/com/smartgwt/mobile/showcase/client/resources/AppResources.java
Java
unlicense
4,742
package com.mocha.unitcode.mina.code; public class MessageIncompleteException extends PDUException { /** * */ private static final long serialVersionUID = 5962852126061299064L; }
lewjeen/framework
unitecore-parent/unitecore/unitecore-common/src/main/java/com/mocha/unitcode/mina/code/MessageIncompleteException.java
Java
unlicense
189
package Mediator; public class ConcreteMediator implements Mediator { private int tomatoes; private int ketchup; public static void main(String[] args) { ConcreteMediator DIMON = new ConcreteMediator(); ConcreteFarmer VASYA = new ConcreteFarmer(); ConcreteFactory UNILEVER = new C...
Sequoza/Java-Patterns
Java-Patterns/Mediator/ConcreteMediator.java
Java
unlicense
3,085
package mymaps.utils; import android.database.MatrixCursor; public class FriendListManagerImpl { private MatrixCursor mCursor; }
hoolos/BreakTimeApp
BreakTimeApp/src/mymaps/utils/FriendListManagerImpl.java
Java
unlicense
150
/** * */ package edu.buffalo.cse.ir.wikiindexer.indexer; /** * Wrapper class for all indexing related exceptions. * You can add your own code and handling here if you like * @author nikhillo * */ public class IndexerException extends Exception { /** * Generated serial version ID */ private static final ...
pswzyu/wikipedia_indexer
src/edu/buffalo/cse/ir/wikiindexer/indexer/IndexerException.java
Java
unlicense
462
package com.hue.connection; import com.hue.connection.SshService.SshServiceBuilder; import com.hue.model.Datasource; public final class SshUtils { private SshUtils() { } public static SshService createSshService(Datasource datasource) { SshServiceBuilder sshServiceBuilder = SshServiceBuilder.create() .host...
ajoabraham/hue
src/main/java/com/hue/connection/SshUtils.java
Java
apache-2.0
838
package com.zagros.quiver.rest.core.parser; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public interface JsonResponseParser { void parse(JSONObject json) throws JSONException, ParserException; void parseError(JSONObject json) throws JSONException, ParserException; ...
mohadian/quiver
quiver/src/main/java/com/zagros/quiver/rest/core/parser/JsonResponseParser.java
Java
apache-2.0
392
/** * Copyright (C) 2016 * Michael Mosmann <michael@mosmann.de> * * 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 r...
flapdoodle-oss/de.flapdoodle.testdoc
src/main/java/de/flapdoodle/testdoc/Template.java
Java
apache-2.0
2,389
/* Copyright (c) 2010 James Ahlborn 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, softwa...
jahlborn/jackcess
src/main/java/com/healthmarketscience/jackcess/util/CaseInsensitiveColumnMatcher.java
Java
apache-2.0
2,156
package com.esri.samples.local_server_geoprocessing; /** * Wrapper required for launching a JavaFX 11 app through Gradle or from a jar. */ public class LocalServerGeoprocessingLauncher { public static void main(String[] args) { LocalServerGeoprocessingSample.main(args); } }
Esri/arcgis-runtime-samples-java
local_server/local-server-geoprocessing/src/main/java/com/esri/samples/local_server_geoprocessing/LocalServerGeoprocessingLauncher.java
Java
apache-2.0
286
/* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
gastaldi/hibernate-validator
hibernate-validator/src/main/java/org/hibernate/validator/engine/ConstraintViolationImpl.java
Java
apache-2.0
4,868
/* * Copyright [2015] [DoubleDutch] * * 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...
doubledutch/DDOptions
src/main/me/doubledutch/options/accessor/FloatFieldAccessor.java
Java
apache-2.0
1,465
/* * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * ...
johan/closure-compiler
test/com/google/javascript/rhino/jstype/JSTypeRegistryTest.java
Java
apache-2.0
8,541
/** * Copyright 2007-2015, Kaazing Corporation. 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 require...
chao-sun-kaazing/gateway
mina.netty/src/main/java/org/kaazing/mina/netty/config/InternalSystemProperty.java
Java
apache-2.0
2,699
package com.nostra13.universalimageloader.core.assist; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; /** * * Many streams obtained over slow connection show <a href="http://code.google.com/p/android/issues/detail?id=6066">this * problem</a>. */ public class FlushedInput...
jiangqqlmj/Android-Universal-Image-Loader-Modify
library/src/main/java/com/nostra13/universalimageloader/core/assist/FlushedInputStream.java
Java
apache-2.0
860
package com.agenthun.eseal.connectivity.manager; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import java.io.IOException; import java.io.StringReader; import okhttp3.ResponseBody; import retrofit2....
ecnuBeidou/ESeal
app/src/main/java/com/agenthun/eseal/connectivity/manager/XMLGsonResponseBodyConverter.java
Java
apache-2.0
1,101
package org.drools.jsr94.rules; /* * $Id: ExampleRuleEngineFacade.java,v 1.5 2004/11/17 03:09:50 dbarnett Exp $ * * Copyright 2002-2004 (C) The Werken Company. All Rights Reserved. * * Redistribution and use of this software and associated documentation * ("Software"), with or without modification, are p...
bobmcwhirter/drools
drools-jsr94/src/test/java/org/drools/jsr94/rules/ExampleRuleEngineFacade.java
Java
apache-2.0
7,322
package android.hispano.fotocach; import java.io.File; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.hispano.fotocach.utils.Utils; import android.support.v4.app.FragmentActivity; import android.sup...
Android-Hispano/FotoCach
src/android/hispano/fotocach/ImageCache.java
Java
apache-2.0
7,501
/* * 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-ecr/src/main/java/com/amazonaws/services/ecr/model/RegistryScanningRule.java
Java
apache-2.0
11,204
package com.fasterxml.jackson.databind.introspect; import com.fasterxml.jackson.databind.util.Annotations; import java.lang.annotation.Annotation; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; public final class AnnotationMap implements Annotations { protected HashMap<Class<? e...
mmmsplay10/QuizUpWinner
quizup/com/fasterxml/jackson/databind/introspect/AnnotationMap.java
Java
apache-2.0
2,793
/* * Copyright 2016 Martin Winandy * * 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...
pmwmedia/tinylog
tinylog-impl/src/test/java/org/tinylog/writers/ConsoleWriterTest.java
Java
apache-2.0
6,540
/** * Licensed to ESUP-Portail under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * ESUP-Portail licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this fil...
EsupPortail/esup-dematec
src/main/java/fr/univrouen/poste/web/SignUpController.java
Java
apache-2.0
6,239
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.grasea.grandroid.adapter; import android.content.Context; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.List; /** * @pa...
Grasea/Grandroid2
grandroid-core/src/main/java/com/grasea/grandroid/adapter/ObjectAdapter.java
Java
apache-2.0
3,683
package it.fadeout.acronetwork; import it.fadeout.acronetwork.business.config.AcronetworkNavigationConfig; import it.fadeout.acronetwork.business.config.SensorLinkConfig; import it.fadeout.acronetwork.viewmodels.SensorListTableRowViewModel; import it.fadeout.acronetwork.viewmodels.SensorListTableViewModel; impor...
fadeoutsoftware/acronetwork
AcronetworkServer/Acronetwork/src/it/fadeout/acronetwork/StationsService.java
Java
apache-2.0
8,730
package raky.train.javacore001; import java.util.HashMap; public class TestGenerics { public static void main(String[] args) { HashMap<Integer, String> map = new HashMap<Integer, String>(); map.put(1, "Jack"); map.put(2, "Rose"); map.put(3, "Annie"); String person = map.get(1); System.out.println(person)...
raky168/train
javacore/javacore022/src/raky/train/javacore001/TestGenerics.java
Java
apache-2.0
327
/* Copyright 2011-2013 The Cassandra Consortium (cassandra-fp7.eu) 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 requi...
cassandra-project/platform
src/eu/cassandra/server/mongo/util/DBConn.java
Java
apache-2.0
2,082
package model; public class User { private long id; private String name; private String screen_name; private String location; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; ...
xmruibi/CarsFinder
src/java/model/User.java
Java
apache-2.0
603
package com.fyp.mountainRescue2; import android.app.Activity; import android.os.Bundle; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.telephony.SmsManager; import android.v...
Albean/Mountain_Rescue
smsActivity.java
Java
apache-2.0
1,438
package com.tkmtwo.snops.dictionary; import com.tkmtwo.snops.TableOperations; import java.util.List; /** * */ public interface SysDictionaryOperations extends TableOperations<SysDictionary> { List<SysDictionary> findActive(SysDbObject sdo); List<SysDictionary> findActive(String tableName); }
TkmTwoProjects/tkmtwo-snops
dictionary/src/main/java/com/tkmtwo/snops/dictionary/SysDictionaryOperations.java
Java
apache-2.0
315
/* * Qlue Web Application Framework * Copyright 2009-2012 Ivan Ristic <ivanr@webkreator.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/LI...
ivanr/qlue
src/main/java/com/webkreator/qlue/exceptions/PersistentPageNotFoundException.java
Java
apache-2.0
1,014
package org.seasar.doma.internal.expr.node; import static org.seasar.doma.internal.util.AssertionUtil.*; public abstract class AbstractComparisonOperatorNode implements ComparisonOperatorNode { protected static final int PRIORITY = 40; protected final ExpressionLocation location; protected final String expre...
domaframework/doma
doma-core/src/main/java/org/seasar/doma/internal/expr/node/AbstractComparisonOperatorNode.java
Java
apache-2.0
1,274
/* * Copyright 2010-2011 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 "lice...
apetresc/aws-sdk-for-java-on-gae
src/main/java/com/amazonaws/services/s3/model/Region.java
Java
apache-2.0
4,845
/* * Copyright 2012, 2014 the original author or authors. * Copyright 2014 Kangmo Kim * * 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 3 of the License, or * (at your op...
Kangmo/bitcoinj
core/src/main/scala/com/nhnsoft/bitcoin/uri/BitcoinURI.java
Java
apache-2.0
16,517
/* * 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 ...
tteofili/jackrabbit-oak
oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/action/SaveAndSetHeadRevisionAction.java
Java
apache-2.0
2,391
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri Inc. 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 * ...
Esri/geoportal-server
geoportal/src/com/esri/gpt/server/csw/components/IProviderFactory.java
Java
apache-2.0
4,971
package br.computerinfo; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import jav...
KaynanCoelho/ComputerInfo
ComputerInfo/src/br/computerinfo/PegaIdentificacao.java
Java
apache-2.0
4,421
package listview.sample.padc.github.io.listviewexample; import android.app.Activity; import android.os.Bundle; import android.widget.ListView; import java.util.ArrayList; import java.util.List; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { ...
padc/ListViewSample
app/src/main/java/listview/sample/padc/github/io/listviewexample/MainActivity.java
Java
apache-2.0
414
/* * Copyright 2015-2019 52°North Initiative for Geospatial Open Source * Software GmbH * * 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...
52North/youngs
src/main/java/org/n52/youngs/harvest/XmlElementSource.java
Java
apache-2.0
2,016
package se.l4.vibe.internal.jmx; import java.util.Collection; /** * Something being exposed over JMX. */ public interface JmxExport { /** * Get exposed attributes. * * @return */ Collection<Attribute> getAttributes(); /** * Get a specific attribute from the service. * * @param attribute * @retur...
LevelFourAB/vibe
vibe-api/src/main/java/se/l4/vibe/internal/jmx/JmxExport.java
Java
apache-2.0
704
package com.android.org.bouncycastle.asn1.x509; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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 ...
Orange-OpenSource/matos-profiles
matos-android/src/main/java/com/android/org/bouncycastle/asn1/x509/GeneralSubtree.java
Java
apache-2.0
1,793
/* * 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...
webos21/xi
java/jcl/src/java/org/apache/harmony/security/provider/cert/X509CertFactoryImpl.java
Java
apache-2.0
28,956
package com.gh4a.loader; import java.util.ArrayList; import java.util.Collection; import org.eclipse.egit.github.core.client.NoSuchPageException; import org.eclipse.egit.github.core.client.PageIterator; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import android.util.Log; impor...
edyesed/gh4a
app/src/main/java/com/gh4a/loader/PageIteratorLoader.java
Java
apache-2.0
2,352
package com.hkh.korealocal114; import java.util.ArrayList; import java.util.Timer; import java.util.TimerTask; import android.app.ActionBar; import android.app.ActionBar.OnNavigationListener; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import a...
hkh412/KoreaLocal114
src/com/hkh/korealocal114/MainActivity.java
Java
apache-2.0
10,644
/* * * Copyright 2013 Justin Santa Barbara. * * 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 requir...
justinsb/SimianArmy
src/main/java/com/netflix/simianarmy/chaos/SshConfig.java
Java
apache-2.0
3,095
package com.sequenceiq.mock.swagger.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.sequenceiq.mock.swagger.model.ApiDataContext; import com.sequenceiq.mock.swagger.model.ApiListBase; import io.swagger.annotations.Ap...
hortonworks/cloudbreak
mock-infrastructure/src/generated/com/sequenceiq/mock/swagger/model/ApiDataContextList.java
Java
apache-2.0
2,503
/* * Copyright 2018 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...
reynoldsm88/drools
drools-compiler/src/test/java/org/drools/compiler/integrationtests/incrementalcompilation/TestUtil.java
Java
apache-2.0
5,588
/* * Place.java.java * * Created on 01-03-2010 01:31:37 PM * * Copyright 2010 Jonathan Colt * * 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/LICEN...
jivesoftware/upena
upena-deployable/src/main/java/com/jivesoftware/os/upena/deployable/profiler/visualize/paint/Place.java
Java
apache-2.0
3,197
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
coding0011/elasticsearch
server/src/main/java/org/elasticsearch/action/bulk/BulkProcessor.java
Java
apache-2.0
17,072
/* * 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 ...
martin-g/wicket-osgi
wicket-examples/src/main/java/org/apache/wicket/examples/tree/content/CheckedFolderContent.java
Java
apache-2.0
2,502
package gov.va.med.imaging.exchange.business; public class WorkList implements PersistentEntity { private int id; private String description; public WorkList() { } public WorkList(int id, String description) { this.id = id; this.description = description; } public int getId() { return id; } p...
VHAINNOVATIONS/Telepathology
Source/Java/CoreValueObjects/main/src/java/gov/va/med/imaging/exchange/business/WorkList.java
Java
apache-2.0
518
/* * Copyright 2015-2016 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 ...
javild/opencga
opencga-core/src/main/java/org/opencb/opencga/core/config/ServerConfiguration.java
Java
apache-2.0
1,530
package com.cvsintellect.servlet.user; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import com.cvsintellect.db.cac...
cvsintellect/code-samples
src/main/java/com/cvsintellect/servlet/user/Read.java
Java
apache-2.0
1,714
/* * Copyright 2022 Google * * 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 wr...
GoogleCloudPlatform/opentelemetry-operations-java
detectors/resources/src/test/java/com/google/cloud/opentelemetry/detectors/GCEResourceTest.java
Java
apache-2.0
4,053
package com.unsupervisedsentiment.analysis.experiment.seed; import java.io.File; import java.io.FileFilter; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.Charset; import java.util.Arrays; import java.util.List; import ja...
dariussuciu/unsupervised-sentiment-analysis
MainModule/source/com/unsupervisedsentiment/analysis/experiment/seed/Experiment.java
Java
apache-2.0
3,112
/*- * << * DBus * == * Copyright (C) 2016 - 2019 Bridata * == * 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 requir...
BriData/DBus
dbus-stream/dbus-stream-common/src/main/java/com/creditease/dbus/stream/common/appender/bolt/processor/appender/AppenderHeartbeatHandler.java
Java
apache-2.0
3,038
/** * Copyright 2009-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 * * Unle...
nyer/mybatis-3
src/main/java/org/apache/ibatis/mapping/BoundSql.java
Java
apache-2.0
2,597
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_2284 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_2284.java
Java
apache-2.0
151
package me.vilsol.nmswrapper.wraps.unparsed; import me.vilsol.nmswrapper.*; import me.vilsol.nmswrapper.reflections.*; import me.vilsol.nmswrapper.wraps.*; @ReflectiveClass(name = "GenLayer") public class NMSGenLayer extends NMSWrap { public NMSGenLayer(Object nmsObject){ super(nmsObject); } pub...
Vilsol/NMSWrapper
src/main/java/me/vilsol/nmswrapper/wraps/unparsed/NMSGenLayer.java
Java
apache-2.0
1,164
package siberis.atomis.task.utils; /** * Created by siberis on 10/28/2016. */ public class TaskConstants { public static final String TASK_TOPIC = "tasksTopic"; public static final String TASK_EXTENSION_TOPIC = "tasksTopic"; public static final Long TASK_DESCRIPTION_TYPE = 1l; public static final Str...
Siberis/AtomisProtocol
task-example/task-description-domain/src/main/java/siberis/atomis/task/utils/TaskConstants.java
Java
apache-2.0
375
/* * 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-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/OfferingPromotion.java
Java
apache-2.0
5,414
package com.digitalpetri.opcua.stack.core.types.structured; import com.digitalpetri.opcua.stack.core.Identifiers; import com.digitalpetri.opcua.stack.core.serialization.DelegateRegistry; import com.digitalpetri.opcua.stack.core.serialization.UaDecoder; import com.digitalpetri.opcua.stack.core.serialization.UaEncoder; ...
bcopy/opc-ua-stack
stack-core/src/main/java/com/digitalpetri/opcua/stack/core/types/structured/AddReferencesItem.java
Java
apache-2.0
3,835
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
GoogleCloudPlatform/java-docs-samples
run/markdown-preview/renderer/src/test/java/com/example/cloudrun/RendererApplicationTests.java
Java
apache-2.0
2,797
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
google/framework-for-osdu
osdu-r2/os-workflow/provider/workflow-gcp-datastore/src/test/java/org/opengroup/osdu/workflow/provider/gcp/repository/DatastoreIngestionStrategyRepositoryTest.java
Java
apache-2.0
4,606
package com.angkorteam.finance.faclient.dto.client; import java.io.Serializable; /** * Created by socheatkhauv on 4/7/17. */ public class ClientRejectTransferResponse implements Serializable { private Long clientId; private Long resourceId; public Long getClientId() { return clientId; } ...
PkayJava/FAClient
src/main/java/com/angkorteam/finance/faclient/dto/client/ClientRejectTransferResponse.java
Java
apache-2.0
570
/* * Copyright 2014 ecabrerar. * * 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 ...
ecabrerar/AirAlliance
src/main/java/org/ecabrerar/examples/airalliance/entities/Sector.java
Java
apache-2.0
3,104
/* * Copyright (c) 2017 Ahmed-Abdelmeged * * github: https://github.com/Ahmed-Abdelmeged * email: ahmed.abdelmeged.vm@gamil.com * Facebook: https://www.facebook.com/ven.rto * Twitter: https://twitter.com/A_K_Abd_Elmeged * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this ...
Ahmed-Abdelmeged/ADAS
app/src/main/java/com/example/mego/adas/car_advice_assistant/CarAdviceAssistantIntentService.java
Java
apache-2.0
1,607
package io.quarkus.undertow.test; import java.io.IOException; import javax.inject.Inject; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(urlPatterns = "/test") public class Tes...
quarkusio/quarkus
extensions/undertow/deployment/src/test/java/io/quarkus/undertow/test/TestServlet.java
Java
apache-2.0
567
/* * Copyright 2012-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Buzzardo/spring-boot
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointAutoConfiguration.java
Java
apache-2.0
3,163
package com.alsash.reciper.di.module; import android.content.Context; import com.alsash.reciper.data.cloud.CloudManager; import com.alsash.reciper.data.db.DbManager; import com.alsash.reciper.logic.BusinessLogic; import com.alsash.reciper.logic.StorageLogic; import javax.inject.Singleton; import dagger.Module; impo...
alsash/reciper
app/src/main/java/com/alsash/reciper/di/module/AppLogicModule.java
Java
apache-2.0
797
/* * Copyright 2014 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...
leapframework/framework
base/core/src/main/java/leap/core/i18n/XmlMessageReader.java
Java
apache-2.0
5,695
/* * Copyright © 2012-2016 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
chtyim/cdap
cdap-cli/src/main/java/co/cask/cdap/cli/ArgumentName.java
Java
apache-2.0
3,206
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
googleads/googleads-mobile-flutter
packages/google_mobile_ads/android/src/test/java/io/flutter/plugins/googlemobileads/FlutterInterstitialAdTest.java
Java
apache-2.0
9,553
package modules.helper.global; import static com.xceptance.xlt.api.engine.scripting.StaticScriptCommands.*; /** * <p>Open the selected url.</p> */ public class FHelper_Url_openPage { /** * <p>Open the selected url.</p> * * @param pageurl */ public static void execute(String pageurl) ...
Xceptance/XCMailr
xcmailr_testsuite/src/modules/helper/global/FHelper_Url_openPage.java
Java
apache-2.0
442
/* * 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 ...
Wenpei/incubator-systemml
src/main/java/org/apache/sysml/hops/globalopt/GlobalOptimizerWrapper.java
Java
apache-2.0
4,005
import com.mongodb.client.model.Indexes; import core.framework.mongo.MongoMigration; import org.bson.Document; /** * @author neo */ public class Main { public static void main(String[] args) { var migration = new MongoMigration("sys.properties", "sys.mongo.adminURI"); migration.migrate(mongo -> {...
neowu/core-ng-demo-project
demo-mongo-migration/src/main/java/Main.java
Java
apache-2.0
612
/* * The Gemma project. * * Copyright (c) 2006-2012 University of British Columbia * * 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....
ppavlidis/Gemma
gemma-core/src/main/java/ubic/gemma/model/common/measurement/MeasurementKindEnum.java
Java
apache-2.0
5,154
package com.distelli.europa.ajax; import javax.inject.Inject; import com.distelli.europa.Constants; import com.distelli.europa.db.TokenAuthDb; import com.distelli.europa.models.*; import com.distelli.persistence.PageIterator; import com.distelli.utils.CompactUUID; import com.distelli.webserver.AjaxHelper; import com....
ramakrishnamukku/europa
src/main/java/com/distelli/europa/ajax/CreateAuthToken.java
Java
apache-2.0
1,242
package com.planet_ink.coffee_mud.Abilities.Thief; 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 ...
oriontribunal/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Thief/Thief_Hide.java
Java
apache-2.0
6,069
package com.fishercoder.solutions; /** * 443. String Compression * * Given an array of characters, compress it in-place. * The length after compression must always be smaller than or equal to the original array. * Every element of the array should be a character (not int) of length 1. * After you are done modify...
cy19890513/Leetcode-1
src/main/java/com/fishercoder/solutions/_443.java
Java
apache-2.0
2,339
/* The following code was generated by JFlex 1.4.3 on 3/5/15 9:52 PM */ package ua.t3hnar.plugins.cmdsupport.lang.lexer; import com.intellij.lexer.FlexLexer; import com.intellij.psi.tree.IElementType; /** * This class is a scanner generated by * <a href="http://www.jflex.de/">JFlex</a> 1.4.3 * on 3/5/15 9:52 PM ...
t3hnar/CmdSupport
src/ua/t3hnar/plugins/cmdsupport/lang/lexer/JCmdLexer.java
Java
apache-2.0
34,334