code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/*********************************************************************************************** * * Copyright (C) 2016, IBL Software Engineering spol. 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 cop...
iblsoft/iwxxm-validator
src/main/java/com/iblsoft/iwxxm/webservice/ws/internal/IwxxmWebServiceImpl.java
Java
apache-2.0
2,770
package org.jboss.resteasy.reactive.client.processor.beanparam; import static org.jboss.resteasy.reactive.common.processor.ResteasyReactiveDotNames.BEAN_PARAM; import static org.jboss.resteasy.reactive.common.processor.ResteasyReactiveDotNames.COOKIE_PARAM; import static org.jboss.resteasy.reactive.common.processor.Re...
quarkusio/quarkus
independent-projects/resteasy-reactive/client/processor/src/main/java/org/jboss/resteasy/reactive/client/processor/beanparam/BeanParamParser.java
Java
apache-2.0
9,998
/* * 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...
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/actions/GlobalPropertyTester.java
Java
apache-2.0
3,123
/* * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
mifos/1.5.x
application/src/test/java/org/mifos/customers/persistence/CustomerPersistenceIntegrationTest.java
Java
apache-2.0
73,142
/** * * @author Alex Karpov (mailto:karpov_aleksey@mail.ru) * @version $Id$ * @since 0.1 */ package ru.job4j.max;
AlekseyKarpov/akarpov
chapter_001/src/test/java/ru/job4j/max/package-info.java
Java
apache-2.0
113
package com.capgemini.resilience.employer.service; public interface ErrorSimulationService { void generateErrorDependingOnErrorPossibility(); }
microservices-summit-2016/resilience-demo
employer-service/src/main/java/com/capgemini/resilience/employer/service/ErrorSimulationService.java
Java
apache-2.0
150
package com.box.boxjavalibv2.responseparsers; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import junit.framework.Assert; import org.apache.commons.io.IOUtils; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import...
shelsonjava/box-java-sdk-v2
BoxJavaLibraryV2/tst/com/box/boxjavalibv2/responseparsers/PreviewResponseParserTest.java
Java
apache-2.0
3,189
// Copyright (C) 2018 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
qtproject/qtqa-gerrit
java/com/google/gerrit/server/git/receive/ResultChangeIds.java
Java
apache-2.0
1,920
package com.veneweather.android; import android.app.Fragment; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Adapte...
Ackerm-Zed/veneweather
app/src/main/java/com/veneweather/android/ChooseAreaFragment.java
Java
apache-2.0
9,584
package operationExtensibility.tests; import static org.junit.Assert.assertEquals; import org.junit.BeforeClass; import org.junit.Test; import operationExtensibility.*; public class TestEvaluator { private static Visitor<Integer> v; @BeforeClass public static void setUpBeforeClass() throws Exception...
egaburov/funstuff
Haskell/tytag/xproblem_src/samples/expressions/Java/operationExtensibility/tests/TestEvaluator.java
Java
apache-2.0
719
/* * 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...
jaikiran/ant-ivy
src/java/org/apache/ivy/core/pack/OsgiBundlePacking.java
Java
apache-2.0
1,656
package fr.openwide.core.wicket.more.markup.html.feedback; import java.util.ArrayList; import java.util.List; import org.apache.wicket.MarkupContainer; import org.apache.wicket.feedback.FeedbackMessage; import org.apache.wicket.markup.html.panel.FeedbackPanel; import org.apache.wicket.markup.html.panel.Panel; public...
openwide-java/owsi-core-parent
owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/feedback/AbstractFeedbackPanel.java
Java
apache-2.0
1,314
/* * EditorMouseMenu.java * * Created on March 21, 2007, 10:34 AM; Updated May 29, 2007 * * Copyright 2007 Grotto Networking */ package Samples.MouseMenu; import edu.uci.ics.jung.algorithms.layout.Layout; import edu.uci.ics.jung.algorithms.layout.StaticLayout; import edu.uci.ics.jung.graph.SparseMul...
ksotala/BayesGame
BayesGame/src/Samples/MouseMenu/EditorMouseMenu.java
Java
apache-2.0
3,984
package ru.job4j.max; /** *Класс помогает узнать, какое из двух чисел больше. *@author ifedorenko *@since 14.08.2017 *@version 1 */ public class Max { /** *Возвращает большее число из двух. *@param first содержит первое число *@param second содержит второе число *@return Большее из двух */ public int max(in...
fr3anthe/ifedorenko
1.1-Base/src/main/java/ru/job4j/max/Max.java
Java
apache-2.0
887
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
ua-eas/ua-rice-2.1.9
impl/src/main/java/org/kuali/rice/kew/docsearch/dao/impl/DocumentSearchDAOJdbcImpl.java
Java
apache-2.0
8,999
/* * Copyright 2016 Alexander Severgin * * 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...
alpinweiss/filegen
src/main/java/eu/alpinweiss/filegen/util/generator/impl/AutoNumberGenerator.java
Java
apache-2.0
2,280
/* * 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.analytics.mapper; import org.elasticsearch....
uschindler/elasticsearch
x-pack/plugin/analytics/src/test/java/org/elasticsearch/xpack/analytics/mapper/HistogramFieldTypeTests.java
Java
apache-2.0
632
/** * <copyright> * </copyright> * * $Id$ */ package net.opengis.gml.provider; import java.util.Collection; import java.util.List; import net.opengis.gml.FeatureStyleType; import net.opengis.gml.GmlFactory; import net.opengis.gml.GmlPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclip...
markus1978/citygml4emf
de.hub.citygml.emf.ecore.edit/src/net/opengis/gml/provider/FeatureStyleTypeItemProvider.java
Java
apache-2.0
10,661
/* * 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-neptune/src/main/java/com/amazonaws/services/neptune/model/RemoveRoleFromDBClusterResult.java
Java
apache-2.0
2,392
package ru.istolbov; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * @author istolbov * @version $Id$ */ public class TurnTest { /** * Test turn back array. */ @Test public void whenWeTurnBackArray() { final int[] targetArra...
istolbov/i_stolbov
chapter_001/src/test/java/ru/istolbov/TurnTest.java
Java
apache-2.0
2,196
package javay.test.security; import java.security.Key; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; /** * DES安全编码组件 * * <pre> * 支...
dubenju/javay
src/java/javay/test/security/DESCoder.java
Java
apache-2.0
4,047
/* * Copyright 2016 Yu Sheng. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
zeelichsheng/auth
auth-model/src/main/java/com/ysheng/auth/model/api/GrantType.java
Java
apache-2.0
769
package me.knox.zmz.mvp.model; import io.reactivex.Flowable; import io.reactivex.android.schedulers.AndroidSchedulers; import java.util.List; import javax.inject.Inject; import me.knox.zmz.App; import me.knox.zmz.entity.News; import me.knox.zmz.mvp.contract.NewsListContract; import me.knox.zmz.network.JsonResponse; /...
chowaikong/ZMZ
app/src/main/java/me/knox/zmz/mvp/model/NewsListModel.java
Java
apache-2.0
664
// Copyright 2017 The Nomulus Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
google/nomulus
core/src/main/java/google/registry/model/tld/Registry.java
Java
apache-2.0
40,835
import java.util.Scanner; /** * @author Oleg Cherednik * @since 27.10.2017 */ public class Solution { static int[] leftRotation(int[] a, int d) { for (int i = 0, j = a.length - 1; i < j; i++, j--) swap(a, i, j); d %= a.length; if (d > 0) { d = a.length - d; ...
oleg-cherednik/hackerrank
Data Structures/Arrays/Left Rotation/Solution.java
Java
apache-2.0
1,184
package com.pmis.manage.dao; import org.springframework.stereotype.Component; import com.pmis.common.dao.CommonDao; @Component public class UserInfoDao extends CommonDao{ }
twosunnus/zhcy
src/com/pmis/manage/dao/UserInfoDao.java
Java
apache-2.0
193
/** * Licensed to Odiago, Inc. under one or more contributor license * agreements. See the NOTICE.txt file distributed with this work for * additional information regarding copyright ownership. Odiago, Inc. * licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this ...
flumebase/flumebase
src/main/java/com/odiago/flumebase/lang/Function.java
Java
apache-2.0
2,315
/** * Copyright 2016 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 to in w...
benjchristensen/RxJava
src/main/java/io/reactivex/internal/operators/maybe/MaybeIgnoreElement.java
Java
apache-2.0
2,368
package com.intellij.util.xml.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.NullableFactory; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.XmlElementFactory; import com.intellij.psi.xml.XmlDocument; import com.intellij.psi.xml.XmlFile; import com.inte...
consulo/consulo-xml
xml-dom-impl/src/main/java/com/intellij/util/xml/impl/DomRootInvocationHandler.java
Java
apache-2.0
4,330
package org.consumersunion.stories.common.client.util; public class CachedObjectKeys { public static final String OPENED_CONTENT = "openedContent"; public static final String OPENED_STORY = "openedStory"; public static final String OPENED_COLLECTION = "openedCollection"; }
stori-es/stori_es
dashboard/src/main/java/org/consumersunion/stories/common/client/util/CachedObjectKeys.java
Java
apache-2.0
287
package dkalymbaev.triangle; class Triangle { /** * This class defines points a b and c as peacks of triangle. */ public Point a; public Point b; public Point c; /** * Creating of a new objects. * @param a is the length of the first side. * @param b is the length of the second side. * @param c is the...
Damir2805/java-a-to-z
Chapter_001/src/main/java/dkalymbaev/triangle/Triangle.java
Java
apache-2.0
783
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
Ensembl/ensj-healthcheck
src/org/ensembl/healthcheck/util/AbstractMapRowMapper.java
Java
apache-2.0
1,222
package com.linbo.algs.examples.queues; import java.util.Iterator; import com.linbo.algs.util.StdRandom; /** * Created by @linbojin on 13/1/17. * Ref: http://coursera.cs.princeton.edu/algs4/assignments/queues.html * RandomizedQueue: a double-ended queue or deque (pronounced "deck") is a * generalization of a sta...
linbojin/algorithms
java/src/main/java/com/linbo/algs/examples/queues/RandomizedQueue.java
Java
apache-2.0
4,619
/* * 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 ...
RackerWilliams/xercesj
src/org/apache/xerces/impl/scd/SCDParser.java
Java
apache-2.0
21,399
/* Copyright 2011 LinkedIn Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
smoothpanda1981/linkedin
java/src/com/linkedin/sample/Main.java
Java
apache-2.0
22,732
/* * Copyright 2013 Square, Inc. * Copyright 2016 PKWARE, 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 ...
pkware/truth-android
truth-android-appcompat/src/main/java/com/pkware/truth/androidx/appcompat/widget/SearchViewSubject.java
Java
apache-2.0
3,403
/******************************************************************************* * 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 t...
am0e/commons
src/main/java/com/github/am0e/jbeans/FieldInfo.java
Java
apache-2.0
7,111
package org.corpus_tools.annis.gui.visualizers.component.tree; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org...
korpling/ANNIS
src/test/java/org/corpus_tools/annis/gui/visualizers/component/tree/AnnisGraphToolsTest.java
Java
apache-2.0
2,637
// ---------------------------------------------------------------------------- // Copyright 2007-2011, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
CASPED/OpenGTS
src/org/opengts/dbtypes/DTIPAddress.java
Java
apache-2.0
3,318
package ru.stqa.pft.mantis.appmanager; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.MetadataSources; import org.hibernate.boot.registry.StandardServiceRegistry; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import ru.stqa.pft.mantis.model.User; impo...
SweetyDonut/java_pft
Mantis_tests/src/test/java/ru/stqa/pft/mantis/appmanager/DbHelper.java
Java
apache-2.0
1,105
package com.mricefox.androidhorizontalcalendar.library.calendar; import android.database.Observable; /** * Author:zengzifeng email:zeng163mail@163.com * Description: * Date:2015/12/25 */ public class DataSetObservable extends Observable<DataSetObserver> { public boolean hasObservers() { synchronized (...
MrIceFox/AndroidHorizontalCalendar
library/src/main/java/com/mricefox/androidhorizontalcalendar/library/calendar/DataSetObservable.java
Java
apache-2.0
918
/* * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
ceylon/ceylon
langtools-classfile/src/org/eclipse/ceylon/langtools/classfile/TypeAnnotation.java
Java
apache-2.0
23,331
package com.ticktick.testimagecropper; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import com.ticktick.imagecropper.CropImageActivity; import com.ticktick.imagecropper.CropIntent; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; im...
msdgwzhy6/ImageCropper
TestImageCropper/src/com/ticktick/testimagecropper/MainActivity.java
Java
apache-2.0
3,086
/* * 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 ...
boneman1231/org.apache.felix
trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/BundleInfoImpl.java
Java
apache-2.0
4,581
package com.zlwh.hands.api.domain.base; public class PageDomain { private String pageNo; private String pageSize = "15"; private long pageTime; // 上次刷新时间,分页查询时,防止分页数据错乱 public String getPageNo() { return pageNo; } public void setPageNo(String pageNo) { this.pageNo = pageNo; } public String getPageSize...
javyuan/jeesite-api
src/main/java/com/zlwh/hands/api/domain/base/PageDomain.java
Java
apache-2.0
593
package io.github.thankpoint.security.impl; import java.security.Provider; import java.security.Security; import io.github.thankpoint.security.api.provider.SecurityProviderBuilder; /** * Implementation of {@link SecurityProviderBuilder}. * * @param <B> type of the returned builder. * @author thks */ public inte...
thankpoint/thanks4java
security/src/main/java/io/github/thankpoint/security/impl/AbstractSecurityProviderBuilderImpl.java
Java
apache-2.0
589
package com.github.saulis.enumerables; import java.util.Iterator; import java.util.NoSuchElementException; public class EmptyIterator<T> implements Iterator<T> { @Override public boolean hasNext() { return false; } @Override public T next() { throw new NoSuchElementException(); ...
Saulis/enumerables
src/main/java/com/github/saulis/enumerables/EmptyIterator.java
Java
apache-2.0
326
package com.squarespace.template.expr; import java.util.Arrays; /** * Token representing a variable name. Could hold a reference or * a definition. */ public class VarToken extends Token { public final Object[] name; public VarToken(Object[] name) { super(ExprTokenType.VARIABLE); this.name = name; ...
Squarespace/template-compiler
core/src/main/java/com/squarespace/template/expr/VarToken.java
Java
apache-2.0
594
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
jjeb/kettle-trunk
engine/src/org/pentaho/di/trans/steps/jsonoutput/JsonOutput.java
Java
apache-2.0
14,853
package io.indexr.query.expr.arith; import com.google.common.collect.Lists; import java.util.List; import io.indexr.query.expr.BinaryExpression; import io.indexr.query.expr.Expression; import io.indexr.query.types.DataType; public abstract class BinaryArithmetic extends Expression implements BinaryExpression { ...
shunfei/indexr
indexr-query-opt/src/main/java/io/indexr/query/expr/arith/BinaryArithmetic.java
Java
apache-2.0
1,684
package org.ovirt.engine.ui.common.widget.table.column; import org.ovirt.engine.core.common.businessentities.Disk; import com.google.gwt.user.cellview.client.Column; public class DiskStatusColumn extends Column<Disk, Disk> { public DiskStatusColumn() { super(new DiskStatusCell()); } @Override ...
derekhiggins/ovirt-engine
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/DiskStatusColumn.java
Java
apache-2.0
391
/* * Copyright (C) 2016 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...
KiminRyu/ExoPlayer
library/core/src/androidTest/java/com/google/android/exoplayer2/text/tx3g/Tx3gDecoderTest.java
Java
apache-2.0
12,407
/* * Copyright 1999-2017 YaoTrue. * * 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 o...
yaotrue/learn-parent
learn-lang/src/main/java/com/yaotrue/web/command/BaseCommand.java
Java
apache-2.0
950
/** * <pre> * Project: cargo-itest Created on: 26 nov. 2014 File: fCommonDBConfiguration.java * Package: nl.tranquilizedquality.itest.configuration * * Copyright (c) 2014 Tranquilized Quality www.tr-quality.com All rights * reserved. * * This software is the confidential and proprietary information of D...
snkpetrus/cargo-itest
src/main/java/nl/tranquilizedquality/itest/configuration/CommonDBConfiguration.java
Java
apache-2.0
1,293
/* * 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 ...
jior/glaf
workspace/glaf-core/src/main/java/com/glaf/j2cache/CacheException.java
Java
apache-2.0
1,115
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
FlxRobin/presto
presto-main/src/test/java/com/facebook/presto/tpch/TpchIndex.java
Java
apache-2.0
2,063
/* * Copyright 2018-present Open Networking 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 appli...
kuujo/onos
core/net/src/test/java/org/onosproject/net/pi/impl/PiMulticastGroupTranslatorImplTest.java
Java
apache-2.0
5,443
package models; /** * This class is for boxing the response sent back to slack by the bot. * @author sabinapokhrel */ public class ResponseToClient { public String status; // Status of the response sent back to slack. It can be either success or fail. public String message; // The message sent back to the slac...
agiledigital/poet-slack-bot
server/app/models/ResponseToClient.java
Java
apache-2.0
455
package com.sequenceiq.redbeams.converter.stack; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers...
hortonworks/cloudbreak
redbeams/src/test/java/com/sequenceiq/redbeams/converter/stack/AllocateDatabaseServerV4RequestToDBStackConverterTest.java
Java
apache-2.0
37,660
package padroesprojeto.criacional.abstractfactorymethod.outroexemplo.model; /** * Created by felansu on 03/06/2015. */ public interface Roupa { void vestir(); }
felansu/calmanddev
src/main/padroesprojeto/criacional/abstractfactorymethod/outroexemplo/model/Roupa.java
Java
apache-2.0
168
/* * 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 ...
ivakegg/accumulo
core/src/main/java/org/apache/accumulo/core/conf/AccumuloConfiguration.java
Java
apache-2.0
20,603
/** * Copyright (c) 2011 Jonathan Leibiusky * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, pu...
cl9200/nbase-arc
api/java/src/main/java/com/navercorp/redis/cluster/RedisCluster.java
Java
apache-2.0
23,864
/* * 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-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetMediaCapturePipelineRequestProtocolMarshaller.java
Java
apache-2.0
2,781
/** * Copyright (c) 2013, Redsolution LTD. All rights reserved. * * This file is part of Xabber project; you can redistribute it and/or * modify it under the terms of the GNU General Public License, Version 3. * * Xabber is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even ...
bigbugbb/iTracker
app/src/main/java/com/itracker/android/data/roster/RosterContact.java
Java
apache-2.0
3,496
/* * Copyright 2011-2015 The Trustees of the University of Pennsylvania * * 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...
upenn-libraries/xmlaminar
parallel/src/main/java/edu/upenn/library/xmlaminar/parallel/SplittingXMLFilter.java
Java
apache-2.0
19,266
package bamboo.crawl; import java.util.Date; import java.util.concurrent.TimeUnit; public class RecordStats { private static final Date MAX_TIME = new Date(System.currentTimeMillis() + TimeUnit.DAYS.toMillis(900)); private static final Date MIN_TIME = new Date(631152000000L); private long records; pr...
nla/bamboo
ui/src/bamboo/crawl/RecordStats.java
Java
apache-2.0
1,362
package com.example.nm_gql_go_link_example; import io.flutter.embedding.android.FlutterActivity; public class MainActivity extends FlutterActivity { }
google/note-maps
flutter/nm_gql_go_link/example/android/app/src/main/java/com/example/nm_gql_go_link_example/MainActivity.java
Java
apache-2.0
153
/* * 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/incubator-asterixdb
hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/util/InvertedIndexUtils.java
Java
apache-2.0
19,511
package info.bati11.wearprofile; import android.app.ActionBar; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; public class AboutActivity extends Activity { public static Intent createIntent(Context context) { ...
bati11/wear-profile
mobile/src/main/java/info/bati11/wearprofile/AboutActivity.java
Java
apache-2.0
964
package com.coekie.gentyref.factory; @SuppressWarnings("rawtypes") public class RawOuter extends GenericOuter {}
coekie/gentyref
src/test/java/com/coekie/gentyref/factory/RawOuter.java
Java
apache-2.0
114
/* * Copyright 2002-2004 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...
cbeams-archive/spring-framework-2.5.x
sandbox/src/org/springframework/beans/factory/support/DependencyInjectionAspectSupport.java
Java
apache-2.0
10,662
/* * Copyright Anatoly Starostin (c) 2017. */ package treeton.prosody.corpus; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import treeton.core.config.BasicConfiguration; import treeton.core.util.xml.XMLParser; import javax.xml.parsers.ParserConfigurationException; import java.i...
TreetonOrg/Treeton
dev/prosody/src/treeton/prosody/corpus/CorpusFolder.java
Java
apache-2.0
5,453
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
ceylon/ceylon
compiler-java/src/org/eclipse/ceylon/compiler/java/codegen/recovery/Generate.java
Java
apache-2.0
1,204
package com.github.ruediste.c3java.invocationRecording; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.lang.annotation.ElementType; import org.junit.Before; import org.junit.Test; import com.google.common.reflect.TypeTo...
ruediste/c3java
src/test/java/com/github/ruediste/c3java/invocationRecording/MethodInvocationRecorderTest.java
Java
apache-2.0
2,917
/* * 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...
googleapis/google-api-java-client-services
clients/google-api-services-homegraph/v1/1.30.1/com/google/api/services/homegraph/v1/HomeGraphService.java
Java
apache-2.0
33,723
package org.jfl2.fx.controller.menu; import javafx.application.Platform; import javafx.event.Event; import javafx.scene.Node; import javafx.scene.control.RadioButton; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import lombok.extern.slf4j.Slf4j; import org.jfl2.core.util.Jfl2NumberUtils; i...
lei0229/jfl2
src/main/java/org/jfl2/fx/controller/menu/MenuWindowManager.java
Java
apache-2.0
6,781
package sunning.democollection.learn._0331.component; import dagger.Component; import sunning.democollection.learn._0331.UserActivity; import sunning.democollection.learn._0331.module.ShoppingCartModule; /** * Created by sunning on 16/3/31. */ @Component(dependencies = ActivityComponent.class, modules = ShoppingCar...
syg5201314/demoCollection
app/src/main/java/sunning/democollection/learn/_0331/component/ShoppingCartComponent.java
Java
apache-2.0
422
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
kristianolsson/tools4j
config/config-tck/src/main/java/org/deephacks/tools4j/config/test/XmlStorageHelper.java
Java
apache-2.0
2,047
package gui.sub_controllers; import gui.GraphDrawer; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.collections.transformation.SortedList; import javafx.fxml.FXML; import javafx.scene.control.TableColumn; import ja...
ProgrammingLife2017/DynamiteAndButterflies
src/main/java/gui/sub_controllers/AnnotationTableController.java
Java
apache-2.0
8,434
package liquibase.change.core; import liquibase.change.AbstractSQLChange; import liquibase.change.DatabaseChange; import liquibase.change.ChangeMetaData; /** * Allows execution of arbitrary SQL. This change can be used when existing changes are either don't exist, * are not flexible enough, or buggy. */ ...
ArloL/liquibase
liquibase-core/src/main/java/liquibase/change/core/RawSQLChange.java
Java
apache-2.0
2,252
package com.deleidos.dp.export; import com.deleidos.dp.beans.Schema; import com.deleidos.dp.exceptions.H2DataAccessException; import com.deleidos.dp.exceptions.SchemaNotFoundException; public interface Exporter { public abstract String generateExport(Schema schema); public abstract String generateExport(Schema s...
deleidos/de-schema-wizard
data-profiler/src/main/java/com/deleidos/dp/export/Exporter.java
Java
apache-2.0
356
package org.jtrim2.swing.component; import java.util.Collections; import org.jtrim2.image.transform.ZoomToFitOption; import org.junit.Test; public class TransformationAdapterTest { /** * Not much to test but that the methods does not throw exceptions. */ @Test public void testMethods() { ...
kelemen/JTrim
subprojects/jtrim-swing-component/src/test/java/org/jtrim2/swing/component/TransformationAdapterTest.java
Java
apache-2.0
731
/* * Copyright (C) 2013 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...
oli107/material-range-bar
RangeBarSample/src/main/java/com/appyvet/rangebarsample/colorpicker/ColorPickerDialog.java
Java
apache-2.0
6,997
package com.lling.qiqu.commons; import java.io.Serializable; /** * @ClassName: ResponseInfo * @Description: http接口返回数据封装类 * @author lling * @date 2015-5-30 */ public class ResponseInfo implements Serializable{ private static final long serialVersionUID = 1L; private String code; private String desc; privat...
liuling07/QiQuYing
app/src/main/java/com/lling/qiqu/commons/ResponseInfo.java
Java
apache-2.0
673
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package net.troja.eve.esi.model; import com.google.gson.TypeAdapter; import com.goog...
burberius/eve-esi
src/test/java/net/troja/eve/esi/model/CharacterPlanetResponseTest.java
Java
apache-2.0
1,583
/* * Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl) * Copyright 2012-2013 Netherlands eScience Center. * * 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 the following...
NLeSC/vbrowser
source/nl.esciencecenter.vlet.vfs.lfc/src/nl/esciencecenter/vlet/vfs/lfc/SEInfo.java
Java
apache-2.0
1,641
/* * 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-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CloudFormationStackRecordSourceInfo.java
Java
apache-2.0
8,005
/* * 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 ...
Coneboy-k/incubator-rocketmq
common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java
Java
apache-2.0
15,205
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.product.index; import static com.opengamma.strata.collect.TestHelper.assertSerialization; import static com.opengamma.strata.collect.TestHelper.coverBean...
OpenGamma/Strata
modules/product/src/test/java/com/opengamma/strata/product/index/IborFutureTradeTest.java
Java
apache-2.0
5,092
/* * Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.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...
debop/debop4k
debop4k-redis/src/test/java/debop4k/redisson/spring/cache/RedissonCacheTest.java
Java
apache-2.0
2,169
/* * 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 not ...
masaki-yamakawa/geode
geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/RedisDistributedSystemService.java
Java
apache-2.0
1,750
/* * 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/lang/src/main/java/leap/lang/meta/MNamed.java
Java
apache-2.0
748
package com.vladmihalcea.book.hpjp.hibernate.type.array; import org.hibernate.dialect.PostgreSQL95Dialect; import java.sql.Types; /** * @author Vlad Mihalcea */ public class PostgreSQL95ArrayDialect extends PostgreSQL95Dialect { public PostgreSQL95ArrayDialect() { super(); this.registerColumnT...
vladmihalcea/high-performance-java-persistence
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/type/array/PostgreSQL95ArrayDialect.java
Java
apache-2.0
355
package grammar.model.nouns; import grammar.model.Multiplicity; import grammar.model.PseudoEnum; import grammar.model.SubjectGender; import grammar.util.Utilities; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; public class Noun implements PseudoEnum<Noun> { private s...
dliroberts/lang
RomanceConjugator/src/main/java/grammar/model/nouns/Noun.java
Java
apache-2.0
3,873
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
dagnir/aws-sdk-java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/EnableDomainAutoRenewResult.java
Java
apache-2.0
2,301
/* * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2007 INRIA, France Telecom * 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. Re...
gstamac/powermock
powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/repackaged/asm/tree/MethodNode.java
Java
apache-2.0
16,512
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
EvilMcJerkface/presto
presto-main/src/main/java/com/facebook/presto/operator/FileFragmentResultCacheManager.java
Java
apache-2.0
10,483
/* * 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 ...
nivanov/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridPartitionedBackupLoadSelfTest.java
Java
apache-2.0
5,117
package org.opencommercesearch.client.impl; import java.util.Date; /** * Represents a sku's availability. * * @author rmerizalde */ public class Availability { public enum Status { InStock, OutOfStock, PermanentlyOutOfStock, Backorderable, Preorderable } private Status status; privat...
madickson/opencommercesearch
opencommercesearch-sdk-java/src/main/java/org/opencommercesearch/client/impl/Availability.java
Java
apache-2.0
947
package org.usfirst.frc.team4453.robot.commands; import org.usfirst.frc.team4453.library.Vision; import org.usfirst.frc.team4453.robot.Robot; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * */ public class DriveWithCamera extends Command { public...
RedHotChiliBots/FRC4453
Robot/Programming/FRC2016Robot/src/org/usfirst/frc/team4453/robot/commands/DriveWithCamera.java
Java
apache-2.0
2,359