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) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
HuangLS/neo4j
community/kernel/src/test/java/org/neo4j/helpers/TestExceptions.java
Java
apache-2.0
5,841
/* * Copyright (C) 2010-2013 The SINA WEIBO 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 require...
joy-inc/joy-library
library-joy/src/main/java/com/joy/library/share/weibo/openapi/legacy/TagsAPI.java
Java
apache-2.0
4,888
/* * 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 ...
cloudera-labs/phoenix
phoenix-core/src/main/java/org/apache/phoenix/parse/ParseNodeFactory.java
Java
apache-2.0
31,006
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
IHTSDO/snow-owl
core/com.b2international.snowowl.datastore/src/com/b2international/snowowl/datastore/cdo/ICDOManagedItem.java
Java
apache-2.0
2,782
package org.gridkit.jvmtool.stacktrace; import java.io.IOException; import java.lang.management.ManagementFactory; import org.junit.Test; public class ThreadSamplerCheck { @Test public void checkNoTraceNoPriming() throws IOException { ThreadDumpSampler sampler = new ThreadDumpSampler(); sam...
aragozin/jvm-tools
sjk-stacktrace/src/test/java/org/gridkit/jvmtool/stacktrace/ThreadSamplerCheck.java
Java
apache-2.0
1,849
package com.java110.common.bmo.transactionLogMessage; import com.java110.po.transactionLog.TransactionLogMessagePo; import org.springframework.http.ResponseEntity; public interface ISaveTransactionLogMessageBMO { /** * 添加交互日志 * add by wuxw * * @param transactionLogMessagePo * @return ...
java110/MicroCommunity
service-common/src/main/java/com/java110/common/bmo/transactionLogMessage/ISaveTransactionLogMessageBMO.java
Java
apache-2.0
424
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
SrinivasanTarget/java-client
src/test/java/io/appium/java_client/ios/BaseIOSTest.java
Java
apache-2.0
2,135
package com.heaven7.java.data.mediator.compiler.insert; import com.heaven7.java.data.mediator.compiler.GlobalConfig; import com.heaven7.java.data.mediator.compiler.util.Util; import com.squareup.javapoet.AnnotationSpec; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.CodeBlock; import com.squareu...
LightSun/data-mediator
data-mediator-compiler/src/main/java/com/heaven7/java/data/mediator/compiler/insert/TypeAdapterInsertDelegate.java
Java
apache-2.0
1,918
package apple.coregraphics; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices....
Sellegit/j2objc
runtime/src/main/java/apple/coregraphics/CGPDFContentStream.java
Java
apache-2.0
530
/* * Copyright 2010-2016 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 "l...
dump247/aws-sdk-java
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Stack.java
Java
apache-2.0
55,664
package com.compomics.util.io.export.features.peptideshaker; import com.compomics.util.io.export.ExportFeature; import com.google.gson.annotations.SerializedName; import java.util.ArrayList; import java.util.Arrays; /** * This enum lists the export features linked to the validation process. * * @author Marc Vaudel...
compomics/compomics-utilities
src/main/java/com/compomics/util/io/export/features/peptideshaker/PsValidationFeature.java
Java
apache-2.0
7,103
package uk.ac.ox.zoo.seeg.abraid.mp.common.service.workflow; import uk.ac.ox.zoo.seeg.abraid.mp.common.domain.DiseaseOccurrence; import java.util.List; /** * Adds validation parameters to a disease occurrence. Marks it for manual validation (via the Data Validator GUI) * if appropriate. * * Copyright (c) 2014 Un...
SEEG-Oxford/ABRAID-MP
src/Common/src/uk/ac/ox/zoo/seeg/abraid/mp/common/service/workflow/DiseaseOccurrenceValidationService.java
Java
apache-2.0
917
package nl.esciencecenter.e3dchem.knime.pharmacophore.align; import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; import org.knime.core.node.defaultnodesettings.DialogComponentColumnNameSelection; import org.knime.core.node.defaultnodesettings.DialogComponentMultiLineString; import org.knime.core.no...
3D-e-Chem/knime-pharmacophore
plugin/src/java/nl/esciencecenter/e3dchem/knime/pharmacophore/align/AlignDialog.java
Java
apache-2.0
1,939
package vkaretko; import java.util.Iterator; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Class PrimeNumberIterator for iterating prime numbers. * * @author Karetko Victor * @version 1.00 * @since 14.12.2016 */ public class PrimeNumberIterator implements Iterator { /** * Int va...
V1toss/JavaPA
part_5/iterator/src/main/java/vkaretko/PrimeNumberIterator.java
Java
apache-2.0
1,945
/* * * Paros and its related class files. * * Paros is an HTTP/HTTPS proxy for assessing web application security. * Copyright (C) 2003-2004 Chinotec Technologies Company * * This program is free software; you can redistribute it and/or * modify it under the terms of the Clarified Artistic License *...
gsavastano/zaproxy
src/org/zaproxy/zap/extension/ascan/AllCategoryTableModel.java
Java
apache-2.0
9,478
package com.charonchui.framework.util; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.Sig...
CharonChui/AndroidDevelopFramework
framework/src/main/java/com/charonchui/framework/util/ApkUtils.java
Java
apache-2.0
21,539
package com.emistoolbox.common.model.mapping; import com.emistoolbox.common.model.meta.EmisMetaDateEnum; import com.emistoolbox.common.model.meta.EmisMetaEntity; public abstract interface EmisHierarchyDbMapEntry extends EmisDbMapBase { public abstract EmisMetaEntity getParentEntity(); public abstrac...
emistoolbox/emistoolbox
core/src/com/emistoolbox/common/model/mapping/EmisHierarchyDbMapEntry.java
Java
apache-2.0
1,049
/* * Copyright 2012-2014 Dan Cioca * * 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...
consulo/consulo-sql
src/com/dci/intellij/dbn/common/environment/EnvironmentChangeListener.java
Java
apache-2.0
1,041
package org.sculptor.betting.core.serviceapi; import java.util.Set; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.sculptor.framework.accessimpl.mon...
sculptor/sculptor
sculptor-examples/eda-samples/sculptor-betting/src/test/java/org/sculptor/betting/core/serviceapi/BettingEngineTest.java
Java
apache-2.0
1,583
package arez; import java.text.ParseException; import org.realityforge.guiceyloops.shared.ValueUtil; import org.testng.annotations.Test; import static org.testng.Assert.*; public final class ZoneTest extends AbstractTest { @Test public void zone_safeRun_Function() { ArezTestUtil.enableZones(); final ...
realityforge/arez
core/src/test/java/arez/ZoneTest.java
Java
apache-2.0
3,827
package com.tedmemo.others; import android.text.Editable; import android.text.style.ImageSpan; import com.tedmemo.view.ImageEditText; import java.util.Comparator; /** * Created by Ted on 2014/9/10. */ public class TComparator implements Comparator<ImageSpan> { private Editable mEditable = null; private Ima...
xiongwei-git/TedMemo
src/com/tedmemo/others/TComparator.java
Java
apache-2.0
835
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
zorzella/guiceberry
src/com/google/guiceberry/junit3/AutoTearDownGuiceBerry.java
Java
apache-2.0
2,628
package io.github.froger.instamaterial.ui.view; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.Vi...
AnkitAggarwalPEC/plumApp
app/src/main/java/io/github/froger/instamaterial/ui/view/LoadingFeedItemView.java
Java
apache-2.0
3,315
/* * Copyright 2014, Stratio. * * 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...
Stratio/deep-spark
deep-mongodb/src/main/java/com/stratio/deep/mongodb/reader/MongoReader.java
Java
apache-2.0
5,826
package util; import java.io.IOException; import java.io.Serializable; import java.net.BindException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.Future; import java.util.conc...
yunzhijia/isv
src/main/java/util/HttpHelperAsync.java
Java
apache-2.0
17,355
package com.danchu.momuck.vo; import com.fasterxml.jackson.annotation.JsonProperty; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.Pattern; import javax.validation.constraints.Size; import java.util.Date; /** * Account * * @author geine */ pu...
GESCC/danchu
momuck-web/src/main/java/com/danchu/momuck/vo/Account.java
Java
apache-2.0
3,203
/******************************************************************************* * * Copyright (C) 2015-2022 the BBoxDB 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 Licens...
jnidzwetzki/bboxdb
bboxdb-server/src/main/java/org/bboxdb/network/client/response/PageEndHandler.java
Java
apache-2.0
1,891
/* * Copyright 2013 Websquared, 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 agre...
fastcat-co/fastcatsearch3
core/src/main/java/org/fastcatsearch/ir/group/GroupEntryList.java
Java
apache-2.0
8,148
package org.gdg.frisbee.android.common; import android.content.Context; import android.support.annotation.DrawableRes; import android.text.TextUtils; import android.util.SparseBooleanArray; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.Animat...
ouzman/frisbee
app/src/main/java/org/gdg/frisbee/android/common/PeopleAdapter.java
Java
apache-2.0
3,175
package com.wildbitsfoundry.etk4j.control; import java.util.Arrays; import com.wildbitsfoundry.etk4j.math.MathETK; import com.wildbitsfoundry.etk4j.math.complex.Complex; import com.wildbitsfoundry.etk4j.math.polynomials.Polynomial; import com.wildbitsfoundry.etk4j.math.polynomials.RationalFunction; import com...
mlopz/ETK4J
src/com/wildbitsfoundry/etk4j/control/TransferFunction.java
Java
apache-2.0
12,993
package test.example; import java.nio.ByteBuffer; import com.firefly.net.Encoder; import com.firefly.net.Session; public class StringLineEncoder implements Encoder { private static final String LINE_LIMITOR = System.getProperty("line.separator"); @Override public void encode(Object message, Session session) th...
wangmingle/iyoutianxia
src/test/example/StringLineEncoder.java
Java
apache-2.0
471
/* * Copyright 2015 Jive Software. * * 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...
jivesoftware/filer
chunk-store/src/main/java/com/jivesoftware/os/filer/chunk/store/transaction/FPIndex.java
Java
apache-2.0
3,068
/** * Copyright 2011-2017 Asakusa Framework Team. * * 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...
cocoatomo/asakusafw
core-project/asakusa-runtime/src/main/java/com/asakusafw/runtime/directio/hadoop/BlockMap.java
Java
apache-2.0
7,806
package com.clouck.comparator; import java.util.Collection; import java.util.List; import org.apache.commons.lang3.tuple.Pair; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import com.amazonaws.services.ec2.model.GroupIdentifier; import com.amazonaws.servic...
veyronfei/clouck
src/main/java/com/clouck/comparator/Ec2InstanceComparator.java
Java
apache-2.0
13,136
package be.fgov.caamihziv.services.quickmon.interfaces.api; import be.fgov.caamihziv.services.quickmon.interfaces.api.healthChecks.HealthChecksController; import be.fgov.caamihziv.services.quickmon.interfaces.api.notifiers.NotifiersController; import org.springframework.hateoas.ResourceSupport; import org.springframew...
gilles-stragier/quickmon
src/main/java/be/fgov/caamihziv/services/quickmon/interfaces/api/RootController.java
Java
apache-2.0
1,023
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.exadel.borsch.web.controllers; import com.exadel.borsch.util.PDFCreator; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; impo...
skrauchenia/borsch
borsch-web/src/main/java/com/exadel/borsch/web/controllers/PrintController.java
Java
apache-2.0
1,648
package com.example.mosum.lightning; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import io.vov.vitamio.MediaPlayer; import io.vov.vitamio.Vitamio; import io.vov.vitamio.widget.VideoView; /** * Created by mosum on 2017/6/3. */ public class vitamioVi...
MosumTree/lightning
app/src/main/java/com/example/mosum/lightning/vitamioVideoView.java
Java
apache-2.0
1,658
/* * Copyright © 2009 HotPads (admin@hotpads.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 by applicable...
hotpads/datarouter
datarouter-filesystem/src/main/java/io/datarouter/filesystem/snapshot/encode/BlockDecoderFactory.java
Java
apache-2.0
1,262
package io.github.vladmk.randomport; import lombok.extern.slf4j.Slf4j; import org.springframework.context.event.ContextRefreshedEvent; import org.springframework.context.event.EventListener; import org.springframework.stereotype.Component; /** * Created by Vlad Mikerin on 7/7/17. */ @Component @Slf4j public class R...
vlad-mk/spring-randomport
src/main/java/io/github/vladmk/randomport/RefreshContextListener.java
Java
apache-2.0
580
package cn.edu.uoh.cs.weatherforecast; import java.util.HashMap; import java.util.Map; public class WeatherInfo { private String desc; private Integer status; private Data data; private Map<String, Object> additionalProperties = new HashMap<String, Object>(); /** * * @return * ...
yswift/WeatherForceast
app/src/main/java/cn/edu/uoh/cs/weatherforecast/WeatherInfo.java
Java
apache-2.0
1,288
package org.radargun.stages.cache.background; import org.radargun.DistStageAck; import org.radargun.config.Property; import org.radargun.config.Stage; import org.radargun.stages.AbstractDistStage; import org.radargun.stages.DefaultDistStageAck; /** * @author Radim Vansa &lt;rvansa@redhat.com&gt; */ @Stage(doc = "St...
wburns/radargun
core/src/main/java/org/radargun/stages/cache/background/CheckBackgroundStressorsStage.java
Java
apache-2.0
1,937
package org.activiti.engine.impl.persistence.entity; import java.io.Serializable; import org.activiti.engine.impl.context.Context; /** * <p>Encapsulates the logic for transparently working with {@link ByteArrayEntity}.</p> * * <p>Make sure that instance variables (i.e. fields) of this type are always initialized...
ahwxl/deep
src/main/java/org/activiti/engine/impl/persistence/entity/ByteArrayRef.java
Java
apache-2.0
2,505
/* * Copyright (C) 2012 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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 ...
aparod/jonix
jonix-common/src/main/java/com/tectonica/jonix/struct/JonixProductFormFeature.java
Java
apache-2.0
1,291
/* * Copyright (c) 2016. Daniel Kressner * * This file to 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...
kressnerd/JetPDF2CSV
src/main/java/de/kressnerd/jetpdf2csv/JetPDF2CSV.java
Java
apache-2.0
6,963
package org.semanticweb.elk.reasoner.saturation.inferences; /* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2015 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance...
aifargonos/elk-reasoner
elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/saturation/inferences/AbstractDisjointSubsumerInference.java
Java
apache-2.0
2,633
package javassist; /** * Created by liting06 on 16/1/27. */ public class JaopClassPool extends ClassPool { @Override protected CtClass createCtClass(String classname, boolean useCache) { CtClass ctClass = super.createCtClass(classname, useCache); if (ctClass instanceof CtClassType) { ...
ltshddx/jaop
gradle-plugin/src/main/groovy/javassist/JaopClassPool.java
Java
apache-2.0
428
package io.skysail.server.utils; import java.beans.*; import java.lang.reflect.*; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.util.*; import java.util.stream.Collectors; import org.apache.commons.beanutils.*; import org.apache.commons.beanutils...
evandor/skysail-framework
skysail.server/src/io/skysail/server/utils/SkysailBeanUtilsBean.java
Java
apache-2.0
10,209
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package co.edu.sena.mavenproject2.model.entities; import java.io.Serializable; import java.util.Collection; import javax.persistence.B...
SENA-CEET/1349397-Trimestre-4
java/JSF/mavenproject2/src/main/java/co/edu/sena/mavenproject2/model/entities/Ficha.java
Java
apache-2.0
5,169
package eu.motogymkhana.server.api.result; public class TokenResult extends GymkhanaResult{ }
xtien/motogymkhana-server-ui
src/main/java/eu/motogymkhana/server/api/result/TokenResult.java
Java
apache-2.0
96
package ru.maximum13.wsdemo.util; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.concurrent.TimeUnit; /** * Набор утилитных методов для работы с датой и временем. * * @author MAXIMUM13 */ public final class DateTimeUtils { ...
MAXIMUM13/websocket-demo
src/main/java/ru/maximum13/wsdemo/util/DateTimeUtils.java
Java
apache-2.0
5,002
package com.spring.pojo; import java.io.Serializable; import java.util.Date; import org.springframework.format.annotation.DateTimeFormat; public class Member implements Serializable{ private static final long serialVersionUID = 1L; private Integer id; private String name; private String phone; ...
gcock/spring-mybatis
729jishi/src/com/spring/pojo/Member.java
Java
apache-2.0
1,159
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2SecurityGroupPrefixListId.java
Java
apache-2.0
4,150
package com.alsan_grand_lyon.aslangrandlyon.service; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import com.alsan_grand_lyon.aslangrandlyon.dao.UserDAO; import com.alsan_grand_lyon.aslangrandlyon.model.DataSingleton; import com.al...
ArnaudFavier/Chatbot-GrandLyon
native-apps/android/AslanGrandLyon/app/src/main/java/com/alsan_grand_lyon/aslangrandlyon/service/LoadImageTask.java
Java
apache-2.0
1,639
package com.codamasters.pong.gameobjects; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import com.badlogic.gdx.physics.box2d.BodyDef; import com.badlogic.gdx.physics.box2d.BodyDef.BodyType; import com.badlogic.gdx.physics.box2d.ChainShape; import com.badlogic.gdx.physics.box2d.Cont...
CODA-Masters/Pong-Tutorial
core/src/com/codamasters/pong/gameobjects/Bounds.java
Java
apache-2.0
2,548
package com.dc.insta; import java.io.IOException; import java.io.InputStream; import java.util.Properties; public final class InstagramUtils { private static final String CONFIG_PROPERTIES = "/config.properties"; public static Properties getConfigProperties() { InputStream input = null; fina...
pomadchin/insta-followz
src/main/java/com/dc/insta/InstagramUtils.java
Java
apache-2.0
820
package se.claremont.taf.core.reporting.testrunreports.htmlsummaryreport; import org.junit.Assert; import org.junit.Test; import se.claremont.taf.core.logging.LogLevel; import se.claremont.taf.core.support.SupportMethods; import se.claremont.taf.core.testcase.TestCase; import se.claremont.taf.core.testset.UnitTestClas...
claremontqualitymanagement/TestAutomationFramework
Core/src/test/java/se/claremont/taf/core/reporting/testrunreports/htmlsummaryreport/NewErrorsListTest.java
Java
apache-2.0
8,375
/* * Copyright 2021 ThoughtWorks, 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...
GaneshSPatil/gocd
server/src/test-integration/java/com/thoughtworks/go/server/dao/PluginSqlMapDaoIntegrationTest.java
Java
apache-2.0
6,165
package com.xlw.mmweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by xmydeveloper on 2017/9/29/0029. */ public class Basic { @SerializedName("city") public String cityName; @SerializedName("id") public String weatherId; @SerializedName("update") public Update...
xmydeveloper/MMWeather
app/src/main/java/com/xlw/mmweather/gson/Basic.java
Java
apache-2.0
429
package cn.hugeterry.coordinatortablayoutdemo; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.ArrayList; /** * Created by hugeterry(http://hugeterry.cn) */ public class MyPagerAdapter extends FragmentPagerA...
hugeterry/CoordinatorTabLayout
sample/src/main/java/cn/hugeterry/coordinatortablayoutdemo/MyPagerAdapter.java
Java
apache-2.0
922
package com.crazysunj.multityperecyclerviewadapter.helper; import android.support.v7.util.DiffUtil; import android.util.Log; import com.chad.library.adapter.base.BaseQuickAdapter; import com.crazysunj.multitypeadapter.entity.HandleBase; import com.crazysunj.multitypeadapter.helper.RecyclerViewAdapterHelper; import co...
weiwenqiang/GitHub
ListView/MultiTypeRecyclerViewAdapter-master/app/src/main/java/com/crazysunj/multityperecyclerviewadapter/helper/ErrorAndEmptyAdapterHelper.java
Java
apache-2.0
5,114
package cz.skaut.mlha.odymaterialy; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.AlertDialog.Builder; import android.view.LayoutInflater; import android.view.View; import a...
GenaBitu/OdyMaterialy-app
app/src/main/java/cz/skaut/mlha/odymaterialy/LoadingFragment.java
Java
apache-2.0
2,033
/* * 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...
hazendaz/assertj-core
src/main/java/org/assertj/core/error/ShouldBeAssignableFrom.java
Java
apache-2.0
1,751
/* * 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...
hazendaz/assertj-core
src/test/java/org/assertj/core/internal/urls/Urls_assertHasNoHost_Test.java
Java
apache-2.0
2,310
package com.adms.pvcon.service; import java.io.File; import org.apache.poi.ss.usermodel.Sheet; public interface PvConverterService { public StringBuffer doConvert(Sheet sheet) throws Exception; public String writeout(File file, StringBuffer contents, String encodeType) throws Exception; }
AdamsTHDev/payroll-project
src/main/java/com/adms/pvcon/service/PvConverterService.java
Java
apache-2.0
307
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
lessthanoptimal/BoofCV
main/boofcv-ip/src/main/java/boofcv/alg/interpolate/impl/NearestNeighborPixel_U8.java
Java
apache-2.0
2,326
package org.reclipse.tracedefinition.editor.actions; import org.eclipse.jface.action.IAction; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.wizard.WizardDialog; import org.eclipse.ui.IObjectActionDelegate; import org.eclipse.ui.IWo...
CloudScale-Project/StaticSpotter
plugins/org.reclipse.tracer.ui/src/org/reclipse/tracedefinition/editor/actions/FilterTraceDefinitionAction.java
Java
apache-2.0
1,793
package org.reclipse.behavior.specification.ui.commands; import org.reclipse.behavior.specification.ui.editparts.BehavioralPatternEditPart; import de.uni_paderborn.basicSequenceDiagram.BasicSequenceDiagramFactory; import de.uni_paderborn.basicSequenceDiagram.CombinedFragment; /** * @author mcp * @auth...
CloudScale-Project/StaticSpotter
plugins/org.reclipse.behavior.specification.ui/src/org/reclipse/behavior/specification/ui/commands/CreateOptionalFragmentCommand.java
Java
apache-2.0
855
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory 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 o...
alancnet/artifactory
web/common/src/main/java/org/artifactory/common/wicket/component/table/columns/AttachColumnListener.java
Java
apache-2.0
1,018
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package model.interfacesdaoifs; import java.sql.SQLException; import java.util.List; import model.exceptions.DaoException; import mode...
jass2125/cinefilia
Cinefilia/src/main/java/model/interfacesdaoifs/UsuarioDaoIF.java
Java
apache-2.0
1,023
package com.jerry.crm.classes.domain; import java.util.Date; import com.jerry.crm.coursetype.domain.CrmCourseType; public class CrmClasses { /* * CREATE TABLE `crm_class` ( `classId` varchar(50) NOT NULL PRIMARY KEY, * `courseTypeId` varchar(255) DEFAULT NULL, * * `name` varchar(50) DEFAULT NULL, `beginTi...
luoyefeiwu/learn_java
ee19_crm/src/com/jerry/crm/classes/domain/CrmClasses.java
Java
apache-2.0
3,357
package com.github.uralmax; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang3.ArrayUti...
uralmax/jsonrpc4j-swagger-maven-plugin-helper
src/main/java/com/github/uralmax/JsonRpcSwaggerApiReader.java
Java
apache-2.0
17,914
/* */ package com.hundsun.network.gates.wulin.biz.dao.ibatis.funds; /* */ /* */ import com.hundsun.network.gates.luosi.common.base.BaseDAO; /* */ import com.hundsun.network.gates.wulin.biz.dao.funds.CashTradeStatusDAO; /* */ import com.hundsun.network.gates.wulin.biz.domain.funds.CashTradeStatus; /...
hnccfr/ccfrweb
basecore/src/com/hundsun/network/gates/wulin/biz/dao/ibatis/funds/CashTradeStatusDAOImpl.java
Java
apache-2.0
1,048
package edu.bupt.cameras; import java.io.BufferedInputStream; import java.io.IOException; import java.io.OutputStream; import java.net.Inet4Address; import java.net.URI; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop...
waka401/ZkTest
src/edu/bupt/cameras/CameraThread.java
Java
apache-2.0
2,656
/** * 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...
millecker/senti-storm
src/at/illecker/sentistorm/components/Tokenizer.java
Java
apache-2.0
2,047
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
pmuetschard/gwt-debug-panel
src/main/test/com/google/gwt/debugpanel/common/ExceptionDataTest.java
Java
apache-2.0
2,121
/* * 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-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/DirectoryNotEnabledException.java
Java
apache-2.0
1,257
/* * 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-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/QuietTime.java
Java
apache-2.0
8,652
package me.zhujiajie.exam; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import android.widget.TextView; import java.util.List; public class ChatAdapter extends Array...
zjj7725/exam
app/src/main/java/me/zhujiajie/exam/ChatAdapter.java
Java
apache-2.0
2,025
package sigp.src; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.validation.constraints.NotNull; import org.hi...
rafamanzo/SIGP
src/sigp/src/Disciplina.java
Java
apache-2.0
1,980
package uk.co.ribot.androidboilerplate.view.swipmenu; import android.content.Context; import java.util.ArrayList; import java.util.List; /** * * @author baoyz * @date 2014-8-23 * */ public class SwipeMenu { private Context mContext; private List<SwipeMenuItem> mItems; private int mViewType; public Swipe...
ebridfighter/GongXianSheng
app/src/main/java/uk/co/ribot/androidboilerplate/view/swipmenu/SwipeMenu.java
Java
apache-2.0
888
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
gawkermedia/googleads-java-lib
modules/ads_lib/src/main/java/com/google/api/ads/dfp/lib/client/DfpServiceClient.java
Java
apache-2.0
2,767
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/resources/customer_user_access.proto package com.google.ads.googleads.v10.resources; public interface CustomerUserAccessOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.resources...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/resources/CustomerUserAccessOrBuilder.java
Java
apache-2.0
5,138
/* * Copyright (c) 2014 AsyncHttpClient Project. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.or...
afelisatti/async-http-client
providers/netty4/src/main/java/org/asynchttpclient/providers/netty4/response/LazyNettyResponseBodyPart.java
Java
apache-2.0
2,231
/* * Copyright 2016 Santanu Sinha <santanu.sinha@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 by appl...
santanusinha/dropwizard-db-sharding-bundle
src/main/java/io/appform/dropwizard/sharding/caching/LookupCache.java
Java
apache-2.0
1,881
/******************************************************************************* * Copyright 2015, The IKANOW 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 * *...
robgil/Aleph2-contrib
aleph2_analytic_services_hadoop/src/test/java/com/ikanow/aleph2/analytics/hadoop/data_model/BasicHadoopConfigBean.java
Java
apache-2.0
5,584
// Copyright 2000-2020 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 org.jetbrains.yaml; import com.intellij.lang.ASTNode; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.project.Project; import com.intel...
allotria/intellij-community
plugins/yaml/src/org/jetbrains/yaml/YAMLElementGenerator.java
Java
apache-2.0
4,641
/* * Copyright 2016 ANI Technologies Pvt. Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
olacabs/fabric
fabric-compute-framework/src/test/java/com/olacabs/fabric/compute/pipelined/CountingProcessor.java
Java
apache-2.0
3,177
package io.omengye.gcs.feign; import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; import io.omengye.gcs.feign.impl.UserInfoServiceFallbackFactory; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.a...
omengye/ws
gcs/src/main/java/io/omengye/gcs/feign/UserInfoService.java
Java
apache-2.0
603
/* * Copyright 2013-2019 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...
sfat/spring-cloud-netflix
spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/EnableZuulProxy.java
Java
apache-2.0
1,513
/* * Copyright 2015-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 requi...
CodeSTD/spring-cxf-annotation-support
src/test/java/com/codestd/spring/cxf/ws/HelloServiceImpl.java
Java
apache-2.0
1,097
package me.emou.xworker.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletResponse; import java.io.*; /** * @author wangdao */ @RestController public class FileController { @RequestMapp...
wangdao/x-worker
src/main/java/me/emou/xworker/controller/FileController.java
Java
apache-2.0
1,584
/** * * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
codehaus-plexus/plexus-archiver
src/main/java/org/codehaus/plexus/archiver/zip/ZipUnArchiver.java
Java
apache-2.0
950
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
googleads/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202102/UnarchiveOrders.java
Java
apache-2.0
1,471
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.02.08 at 03:02:...
warnerbros/cpe-manifest-android-experience
src/com/wb/nextgenlibrary/parser/md/schema/v2_3/DigitalAssetCardsetType.java
Java
apache-2.0
3,755
package com.jrestless.aws.gateway.security; public abstract class AuthorizerFilterTest { // abstract AuthorizerFilter createCognitoAuthorizerFilter(GatewayRequest gatewayRequest); // // protected final GatewayRequest createRequest(Map<String, Object> authorizerData) { // GatewayRequestContext gatewayRequestContext =...
bbilger/jrestless
aws/gateway/jrestless-aws-gateway-handler/src/test/java/com/jrestless/aws/gateway/security/AuthorizerFilterTest.java
Java
apache-2.0
3,222
/* * Copyright 2013-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
joshiste/spring-cloud-netflix
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationContextTests.java
Java
apache-2.0
4,137
package com.ftfl.ftflnavigationdrawer; import android.app.Fragment; import android.app.FragmentManager; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; ...
nasser-munshi/Android
FTFLNavigationDrawer/src/com/ftfl/ftflnavigationdrawer/MainActivity.java
Java
apache-2.0
6,040
package uk.ac.ox.zoo.seeg.abraid.mp.common.service.workflow.support.runrequest.data; import org.apache.commons.io.FileUtils; import org.geotools.coverage.grid.io.GridCoverage2DReader; import org.geotools.factory.Hints; import org.geotools.gce.geotiff.GeoTiffReader; import org.junit.Rule; import org.junit.Test; import ...
SEEG-Oxford/ABRAID-MP
src/Common/test/uk/ac/ox/zoo/seeg/abraid/mp/common/service/workflow/support/runrequest/data/ExtentDataWriterTest.java
Java
apache-2.0
5,132
package play.learn.java.design.twin; public abstract class GameItem { /** * Template method, do some common logic before draw */ public void draw() { System.out.println("draw"); doDraw(); } public abstract void doDraw(); public abstract void click(); }
jasonwee/videoOnCloud
src/java/play/learn/java/design/twin/GameItem.java
Java
apache-2.0
270
/* * 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-documentai/v1beta2/1.31.0/com/google/api/services/documentai/v1beta2/model/GoogleCloudDocumentaiV1beta1DocumentPageFormField.java
Java
apache-2.0
9,758