id stringlengths 36 36 | meta stringlengths 429 697 | url stringlengths 27 109 | tokens int64 137 584 | domain_prefix stringlengths 16 106 | score float64 0.16 0.3 | code_content stringlengths 960 1.25k |
|---|---|---|---|---|---|---|
415cb27b-23e1-4b3c-a54f-a88e924e6fc1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 14:30:11", "repo_name": "Thorbjorns/Pizzeria", "sub_path": "/src/main/java/com/example/pizzeria/service/DrinkService.java", "file_name": "DrinkService.java", "file_ext": "java", "file_size_in_byte": 1141, "... | https://github.com/Thorbjorns/Pizzeria | 204 | FILENAME: DrinkService.java | 0.262842 | package com.example.pizzeria.service;
import com.example.pizzeria.model.Drink;
import com.example.pizzeria.repository.DrinkRepository;
import com.example.pizzeria.security.userApp.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDet... |
2b47fe45-e67c-4ca0-935a-5e788a710778 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-16 15:03:30", "repo_name": "tzuchiangshen/core-Wakanda", "sub_path": "/Server/Tests-v2/waf/widgets/radiogroup/src/test/java/selenium/TestSuiteRuntimeRadiogroup.java", "file_name": "TestSuiteRuntimeRadiogroup.j... | https://github.com/tzuchiangshen/core-Wakanda | 260 | FILENAME: TestSuiteRuntimeRadiogroup.java | 0.279828 | package selenium;
import java.io.File;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.wakanda.wastudio.common.Paths;
import org.wakanda.wastudio.common.Utils;
@RunWith(Suite.class)
@Suite.SuiteClasses({
TestCasesRadioAPI.class,
... |
c77afe20-209f-4888-a884-dd2b5fbaf6d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-24 08:03:13", "repo_name": "SeelabFhdo/lemma", "sub_path": "/de.fhdo.lemma.model_processing.eclipse.launcher/xtend-gen/de/fhdo/lemma/model_processing/eclipse/launcher/processing_configurations/arguments/kinds/... | https://github.com/SeelabFhdo/lemma | 211 | FILENAME: MultiValuedParameterArgumentKind.java | 0.292595 | package de.fhdo.lemma.model_processing.eclipse.launcher.processing_configurations.arguments.kinds;
import de.fhdo.lemma.model_processing.eclipse.launcher.processing_configurations.arguments.types.ArgumentTypeFactory;
import de.fhdo.lemma.model_processing.eclipse.launcher.processing_configurations.arguments.types.Inter... |
6f6c5ded-25b9-450e-a884-aa2bef779889 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-09 20:10:54", "repo_name": "wfairclough/Foundation4GWT", "sub_path": "/src/main/java/com/wfairclough/foundation4gwt/client/ui/resources/internal/DefaultInternalInjector.java", "file_name": "DefaultInternalInje... | https://github.com/wfairclough/Foundation4GWT | 246 | FILENAME: DefaultInternalInjector.java | 0.288569 | /*
* Copyright 2013 Foundation4GWT
*
* 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... |
d0fc0cad-900b-43da-babb-041900c7a15c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-11 23:18:13", "repo_name": "Priecn/bookstore-api", "sub_path": "/src/main/java/com/prince/bookstoreapi/service/RoleServiceImpl.java", "file_name": "RoleServiceImpl.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Priecn/bookstore-api | 206 | FILENAME: RoleServiceImpl.java | 0.276691 | package com.prince.bookstoreapi.service;
import com.prince.bookstoreapi.domain.security.Role;
import com.prince.bookstoreapi.repository.RoleRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
... |
25969537-1221-4132-8f0b-f57038c429ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-08 14:08:37", "repo_name": "kmohan96214/bingo", "sub_path": "/src/main/java/com/warikoo/round/bingo/tambola/controllers/TicketController.java", "file_name": "TicketController.java", "file_ext": "java", "file_s... | https://github.com/kmohan96214/bingo | 208 | FILENAME: TicketController.java | 0.278257 | package com.warikoo.round.bingo.tambola.controllers;
import java.util.ArrayList;
import java.util.Objects;
import com.warikoo.round.bingo.tambola.services.GameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.C... |
05b442d8-1289-42eb-93b4-f01345e9a5a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-16 06:37:55", "repo_name": "boyoung-dev/Spring_framework_setting", "sub_path": "/src/main/java/com/mycompany/persistence/LoginDAOImpl.java", "file_name": "LoginDAOImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/boyoung-dev/Spring_framework_setting | 191 | FILENAME: LoginDAOImpl.java | 0.279042 | package com.mycompany.persistence;
import javax.inject.Inject;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;
import com.mycompany.domain.MemberTokenVO;
import com.mycompany.domain.MemberVO;
@Repository
public class LoginDAOImpl implements LoginDAO{
@In... |
16bbbe6f-75a2-4480-8be3-f99f30093dd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-11 16:40:52", "repo_name": "pinduch/PlayerStatisticInzynierka", "sub_path": "/src/main/java/entity/Result.java", "file_name": "Result.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 66, "la... | https://github.com/pinduch/PlayerStatisticInzynierka | 252 | FILENAME: Result.java | 0.273574 | package entity;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
/**
* Created by Mateusz on 30.11.2016.
*/
@Entity
@Table
public class Result implements Serializable {
private Integer id;
private Long result;
private Track track;
private Player player;
public ... |
8d696ab2-cf28-490d-9958-94722da29509 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-29 09:44:38", "repo_name": "onlynight/StrongService", "sub_path": "/app/src/main/java/com/superlity/strongservice/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 1009, "line_co... | https://github.com/onlynight/StrongService | 205 | FILENAME: Utils.java | 0.220007 | package com.superlity.strongservice;
import java.util.List;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningAppProcessInfo;
import android.content.Context;
import android.widget.Toast;
public class Utils {
/**
* 判断进程是否运行
*
* @return
*/
public static boolean... |
3fde7c2d-a4c9-47c6-8b7e-1fabd9c2ea4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-26 16:20:10", "repo_name": "XZiar/Enhancer", "sub_path": "/src/xziar/enhancer/pojo/GroupBean.java", "file_name": "GroupBean.java", "file_ext": "java", "file_size_in_byte": 1103, "line_count": 76, "lang": "en",... | https://github.com/XZiar/Enhancer | 296 | FILENAME: GroupBean.java | 0.276691 | package xziar.enhancer.pojo;
import java.util.HashMap;
public class GroupBean extends UserBean
{
public static enum Role
{
leader, member;
}
private HashMap<Integer, String> members = new HashMap<>();
private int leaderID = -1;
private String leaderName = "";
public GroupBean()
{
this.role = AccountBean... |
2465321f-6ce6-47e9-9111-43a364178bc1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-27 03:39:27", "repo_name": "joinbobo/MyCode", "sub_path": "/JavaSE/src/com/dingli/test/io/Place1.java", "file_name": "Place1.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 58, "lang": "en"... | https://github.com/joinbobo/MyCode | 237 | FILENAME: Place1.java | 0.235108 | package com.dingli.test.io;
import java.io.Serializable;
public class Place1 implements Serializable{
private String pro;
private String city;
private String county;
public Place1() {
}
public Place1(String pro, String city, String county) {
this.pro = pro;
this.city = city;... |
c6d6a33c-3a59-47aa-a485-60b74c1dd30a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-30 06:40:07", "repo_name": "wangwei19910928/ilook", "sub_path": "/src/main/java/DecodeAndPlayAudioAndVideo.java", "file_name": "DecodeAndPlayAudioAndVideo.java", "file_ext": "java", "file_size_in_byte": 1101, ... | https://github.com/wangwei19910928/ilook | 270 | FILENAME: DecodeAndPlayAudioAndVideo.java | 0.264358 | import com.xuggle.mediatool.IMediaReader;
import com.xuggle.mediatool.IMediaViewer;
import com.xuggle.mediatool.MediaListenerAdapter;
import com.xuggle.mediatool.ToolFactory;
public class DecodeAndPlayAudioAndVideo extends MediaListenerAdapter
{
/**
* Takes a media container (file) as the first argument, opens i... |
20e78eb8-ec43-4dba-80bc-1e911e5ebc05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-13 15:57:15", "repo_name": "smileman/android-commons", "sub_path": "/library/src/main/java/org/kulabukhov/android/commons/helpers/StringHelper.java", "file_name": "StringHelper.java", "file_ext": "java", "file... | https://github.com/smileman/android-commons | 249 | FILENAME: StringHelper.java | 0.285372 | package org.kulabukhov.android.commons.helpers;
import android.support.annotation.Nullable;
/**
* Helper class to work with strings
*/
public class StringHelper {
/**
* Capitalizes given string
*
* @param string string to capitalize
* @return capitalized string or null if given string was null
*/
@Null... |
5ec04c3d-d0be-45d4-9ff1-dea30e8d03b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-29 09:43:29", "repo_name": "jinc666/ssm_jinc", "sub_path": "/service/src/main/java/com/jinchao/service/impl/OrdersServiceImpl.java", "file_name": "OrdersServiceImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/jinc666/ssm_jinc | 231 | FILENAME: OrdersServiceImpl.java | 0.275909 | package com.jinchao.service.impl;
import com.github.pagehelper.PageHelper;
import com.jinchao.dao.IOrdersDao;
import com.jinchao.domain.Orders;
import com.jinchao.service.IOrdersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.annotation.Order;
import org.springfr... |
6699b367-1236-456b-93b5-77988b63526f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 02:51:14", "repo_name": "zgyAdmin/qwe", "sub_path": "/src/main/java/com/turing/server/impl/SysUsersServerImpl.java", "file_name": "SysUsersServerImpl.java", "file_ext": "java", "file_size_in_byte": 982, "li... | https://github.com/zgyAdmin/qwe | 208 | FILENAME: SysUsersServerImpl.java | 0.278257 | package com.turing.server.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.turing.entity.SysUsers;
import com.turing.entity.SysUsersExample;
import com.turing.entity.SysUsersExample.Criteria;
import com.tur... |
afaf2986-9044-4e4a-8e5a-6052a55799d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-27 01:49:21", "repo_name": "mbragariano/go-study-api", "sub_path": "/src/main/java/br/com/mbragariano/gostudyapi/domains/presentation/handlers/failures/contracts/CreateUserFailureHandler.java", "file_name": "C... | https://github.com/mbragariano/go-study-api | 181 | FILENAME: CreateUserFailureHandler.java | 0.255344 | package br.com.mbragariano.gostudyapi.domains.presentation.handlers.failures.contracts;
import br.com.mbragariano.gostudyapi.domains.application.failures.contracts.CreateUserFailure;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springfra... |
711478c3-0e06-4485-a1d9-62bf6c362eef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-08 13:09:31", "repo_name": "RyanTech/yueji", "sub_path": "/amazon/src/main/java/com/yue/app/web/amazon/member/MemberDefaultCondition.java", "file_name": "MemberDefaultCondition.java", "file_ext": "java", "file... | https://github.com/RyanTech/yueji | 239 | FILENAME: MemberDefaultCondition.java | 0.282988 | /*
* Copyright 2011-2016 YueJi.com All right reserved. This software is the confidential and proprietary information of
* YueJi.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into with Yu... |
699013b6-53d9-4176-aeb8-b988b6b8f93d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-24T09:40:57", "repo_name": "junks89/nanodegree-memoryGame", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1141, "line_count": 24, "lang": "en", "doc_type": "tex... | https://github.com/junks89/nanodegree-memoryGame | 253 | FILENAME: README.md | 0.259826 | # Memory Game Project
## Table of Contents
* [Instructions](#instructions)
* [How to play](#Howtoplay)
* [Game dependencies](#GameDependancies)
## Instructions
Run the index.html file and play a round of Memory. You need to click on the cards and find the matching card. You will be able to restart the game wheneve... |
b2b09987-25d4-496b-ac1d-e35e5adab85d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-07 05:13:11", "repo_name": "STFinancial/SocTest", "sub_path": "/src/simobject/EmptyObject.java", "file_name": "EmptyObject.java", "file_ext": "java", "file_size_in_byte": 1140, "line_count": 44, "lang": "en", ... | https://github.com/STFinancial/SocTest | 256 | FILENAME: EmptyObject.java | 0.295027 | package simobject;
import java.awt.Color;
/**
* Rather than use a null value, we create an "empty object"
* singleton that will be used in all places in the world where there
* is no object. This is useful for getting the render color, being able
* to call getObject.getType to see if a space is occupied, and othe... |
d0793adb-34af-43c1-9ca9-c498979ab940 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-29T11:46:34", "repo_name": "zlberto/terraform-aws-grafana-ecs", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1037, "line_count": 22, "lang": "en", "doc_type": ... | https://github.com/zlberto/terraform-aws-grafana-ecs | 253 | FILENAME: README.md | 0.198064 | # Grafana on ECS Fargate
This Terraform Module deploys Grafana on ECS Fargate with an ALB on top of an ECS Cluster.

## What is an ECS Service?
To run Docker containers with ECS, you first define an [ECS
Task](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definti... |
9111b3b9-6852-4a91-952b-c97be98e7b89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-08 07:15:22", "repo_name": "shaon2016/firebase-upstream-android", "sub_path": "/app/src/main/java/com/wedevol/fcmtest/SessoinManager.java", "file_name": "SessoinManager.java", "file_ext": "java", "file_size_in... | https://github.com/shaon2016/firebase-upstream-android | 237 | FILENAME: SessoinManager.java | 0.282196 | package com.wedevol.fcmtest;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import static android.content.Context.MODE_PRIVATE;
/**
* Created by hp on 8/8/2017.
*/
public class SessoinManager {
private static final String KEY_GET_TOKEN = "token";
// Shar... |
6ef211e9-84ed-45aa-934b-529e9cbcfe69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-22 16:01:19", "repo_name": "DiegoDigo/RevendaApi", "sub_path": "/src/main/java/br/com/control/revenda/service/WebService.java", "file_name": "WebService.java", "file_ext": "java", "file_size_in_byte": 1030, "l... | https://github.com/DiegoDigo/RevendaApi | 219 | FILENAME: WebService.java | 0.214691 | package br.com.control.revenda.service;
import br.com.control.revenda.entity.Web;
import br.com.control.revenda.repository.WebRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframewo... |
5d46df29-c376-4753-bceb-5490cd42e65c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-23 11:16:03", "repo_name": "metno/kvjava", "sub_path": "/old/kv2kl/src/metno/kvalobs/kl/KvDataStation.java", "file_name": "KvDataStation.java", "file_ext": "java", "file_size_in_byte": 981, "line_count": 56, "... | https://github.com/metno/kvjava | 249 | FILENAME: KvDataStation.java | 0.29584 | package metno.kvalobs.kl;
import java.util.*;
public class KvDataStation implements Comparable<KvDataStation> {
int station;
TreeSet<KvDataType> container = null;
public KvDataStation( int station )
{
this.station= station;
try {
container = new TreeSet<KvDataType>();
}
catch( NullPointerException e... |
fba58d14-f6df-45aa-8c90-0d716da9d39e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-19 16:29:11", "repo_name": "NickJaNinja/Internet-Explorer", "sub_path": "/app/src/main/java/com/example/spacetraders/entities/PoliticalSystem.java", "file_name": "PoliticalSystem.java", "file_ext": "java", "fi... | https://github.com/NickJaNinja/Internet-Explorer | 272 | FILENAME: PoliticalSystem.java | 0.258326 | package com.example.spacetraders.entities;
import android.support.annotation.Nullable;
/**
* This enum represents the political systems
*/
public enum PoliticalSystem {
ANARCHY("Anarchy"),
CAPITALIST_STATE("Capitalist State"),
COMMUNIST_STATE("Communist State"),
CONFEDERACY("Confederacy"),
CORPO... |
1a243784-b043-4951-8d7a-34527ecdb05b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 19:10:40", "repo_name": "rogeriosilva-ifpi/android-teaching-projects", "sub_path": "/Hello4662019/app/src/main/java/ifpi/hello4662019/ListaCelularActivity.java", "file_name": "ListaCelularActivity.java", "f... | https://github.com/rogeriosilva-ifpi/android-teaching-projects | 228 | FILENAME: ListaCelularActivity.java | 0.250913 | package ifpi.hello4662019;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import java.util.List;
import ifpi.hello4662019.adapters.CelularAdapter;
import ifpi.hell... |
07559f95-309e-4bc7-8972-ae31aef2b480 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-25 04:07:10", "repo_name": "MarcusSlover/SloverHologram", "sub_path": "/src/main/java/net/marcusslover/sloverhologram/data/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 114... | https://github.com/MarcusSlover/SloverHologram | 240 | FILENAME: Config.java | 0.26588 | package net.marcusslover.sloverhologram.data;
import net.marcusslover.sloverhologram.SloverHologram;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import java.io.File;
import java.io.IOException;
public class Config {
@SuppressWarnings({"FieldCanB... |
d9fdfac9-69e6-4b21-b54b-30fed2da5e25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-11-02T15:30:41", "repo_name": "fcammy/ohmyfood", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1062, "line_count": 46, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/fcammy/ohmyfood | 250 | FILENAME: README.md | 0.267408 | # ohmyfood: Online food ordering #
Integrate a mobile website with animations in CSS
[My web page hosted online on GitHub Pages](https://fcammy.github.io/ohmyfood/)
## Graphic Effects and Animations ##
## Home Page ##
• A loading spinner will be displayed and cover the whole screen for 3 seconds
## Menu Pages ##... |
3c23bae2-480a-4567-bfd2-e26050f9b633 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-14 22:16:58", "repo_name": "evaniavi/Android-Location-Project", "sub_path": "/main/java/gr/hua/dit/myapplication/NetworkAvailability.java", "file_name": "NetworkAvailability.java", "file_ext": "java", "file_si... | https://github.com/evaniavi/Android-Location-Project | 187 | FILENAME: NetworkAvailability.java | 0.247987 | package gr.hua.dit.myapplication;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.widget.Toast;
public class NetworkAvailability extends BroadcastReceiver {
... |
939973e4-b8aa-4599-90de-298979c2e716 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-19 03:38:41", "repo_name": "gauravrmazra/gauravbytes", "sub_path": "/springjdbc-examples/src/main/java/com/gauravbytes/springjdbc/PreparedStatementCreatorExample.java", "file_name": "PreparedStatementCreatorEx... | https://github.com/gauravrmazra/gauravbytes | 227 | FILENAME: PreparedStatementCreatorExample.java | 0.292595 | package com.gauravbytes.springjdbc;
import java.util.logging.Logger;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.PreparedStatementCreator;
import com.gauravbytes.springjdbc.ds.JdbcDataSourceUtils;
/**
* Example usage of {@link PreparedStatementCreator} and
* {@link Retu... |
1668ea3a-2a4e-4dad-a5db-a5b9acd04e73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-25 13:37:21", "repo_name": "Kage0x3B/KageCloud", "sub_path": "/core/src/de/syscy/kagecloud/webserver/pages/webcomponents/navigation/BSNavigationComponent.java", "file_name": "BSNavigationComponent.java", "file... | https://github.com/Kage0x3B/KageCloud | 229 | FILENAME: BSNavigationComponent.java | 0.280616 | package de.syscy.kagecloud.webserver.pages.webcomponents.navigation;
import java.util.LinkedList;
import java.util.List;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
public abstract class BSNavigationComponent {
protected final @Getter List<BSNavigationComponent> components = new LinkedLis... |
377a6c17-cf4d-48f1-aca6-d2e70a5b814b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-08 04:38:14", "repo_name": "mayuri3-kumbhar/DailyTrainning", "sub_path": "/TrainingDailyWork/src/LinkedList/Menu.java", "file_name": "Menu.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 60... | https://github.com/mayuri3-kumbhar/DailyTrainning | 292 | FILENAME: Menu.java | 0.276691 | package LinkedList;
import java.util.Iterator;
import java.util.LinkedList;
public class Menu {
public static void main(String[] args) {
LinkedList<String> menu =new LinkedList<>();
LinkedList<String> submenu=new LinkedList<>();
LinkedList<LinkedList<String>> menuCard=new LinkedList<>();
//Syste... |
5d8504de-5f69-4aa2-a056-e62fba023c0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-18 01:50:53", "repo_name": "intangir/IdentityOverride", "sub_path": "/src/main/java/com/github/intangir/IdentityOverride/Commands/NameCommand.java", "file_name": "NameCommand.java", "file_ext": "java", "file_s... | https://github.com/intangir/IdentityOverride | 250 | FILENAME: NameCommand.java | 0.250913 | package com.github.intangir.IdentityOverride.Commands;
import com.github.intangir.IdentityOverride.MainConfig;
import com.github.intangir.IdentityOverride.NameOverrides;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.plugin.Command;
@SuppressWarnings("depre... |
1cd44965-02e5-4b85-a5c3-570a1927493d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-12T23:19:26", "repo_name": "pganssle-talks/chipy-nov-2020-zoneinfo", "sub_path": "/_posts/0001-02-10-early-adoption.md", "file_name": "0001-02-10-early-adoption.md", "file_ext": "md", "file_size_in_byte": ... | https://github.com/pganssle-talks/chipy-nov-2020-zoneinfo | 286 | FILENAME: 0001-02-10-early-adoption.md | 0.283781 | # What's next?
<br/>
- Ambiguous and imaginary time detection?
- Currently available via `dateutil.tz`:
- `tz.datetime_ambiguous`
- `tz.datetime_exists`
- `tz.resolve_imaginary`
<br/><br/>
- Improvements to `datetime` arithmetic
- Separate built-in functions for absolute and wall ti... |
0cbd5035-841f-46df-b603-4d17def2c625 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-30 18:26:32", "repo_name": "matthias-schneglberger/festlever", "sub_path": "/app/src/main/java/at/htlgkr/festlever/services/UpdateService.java", "file_name": "UpdateService.java", "file_ext": "java", "file_siz... | https://github.com/matthias-schneglberger/festlever | 231 | FILENAME: UpdateService.java | 0.286169 | package at.htlgkr.festlever.services;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import androidx.annotation.Nullable;
import at.htlgkr.festlever.logic.FireBaseCommunication;
public class UpdateService extends Service {
Thread thread;
@Nullable
@Override
p... |
ce85128d-28c0-4444-b9a5-55a0d571b459 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2011-06-02T18:57:56", "repo_name": "orangesparkleball/bakers-oven", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1056, "line_count": 42, "lang": "en", "doc_type": "tex... | https://github.com/orangesparkleball/bakers-oven | 242 | FILENAME: README.md | 0.200558 | Baker's Oven
============
An easy way to create valid hpubs for the Baker Framework.
About Baker
-----------
Baker Framework allows simple creation of HTML5-based eBooks. There is
a simple specification for html-based books that has been developed for
Baker - hpub.
Installing Baker's Oven
--------------------
Bake... |
34e20707-7f14-4db2-b4f8-30a381bf83b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 23:34:14", "repo_name": "qiuchili/ggnn_graph_classification", "sub_path": "/program_data/JavaProgramData/51/390.java", "file_name": "390.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 67... | https://github.com/qiuchili/ggnn_graph_classification | 390 | FILENAME: 390.java | 0.293404 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
String c = new String(new char[2000]);
char[][] x = new char[2000][100];
int n;
int m;
int j;
int len;
int i;
int max;
int[] p = new int[2000];
int[] co = new int[2000];
String tempVar = ConsoleInput.scanfRead();
if (tempVar != nu... |
3f836134-0241-4e5c-86c8-bfeefd2e013b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-23 16:13:37", "repo_name": "xrodrigo1982x/microservices-follow", "sub_path": "/src/main/java/com/tweet/follow/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1143, "line_co... | https://github.com/xrodrigo1982x/microservices-follow | 235 | FILENAME: User.java | 0.239349 | package com.tweet.follow.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.neo4j.graphdb.Direction;
import org.springframework.data.annotation.Transient;
import org.springframework.data.neo4j.a... |
ffa66f8f-547d-47cc-bef1-61f25d90faf3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-18 03:30:58", "repo_name": "zhilien-tech/juyo-visa", "sub_path": "/visa/src/main/java/io/znz/jsite/visa/entity/relationship/RelationShipEntity.java", "file_name": "RelationShipEntity.java", "file_ext": "java",... | https://github.com/zhilien-tech/juyo-visa | 289 | FILENAME: RelationShipEntity.java | 0.261331 | /**
* RelationShipEntity.java
* io.znz.jsite.visa.entity.relationship
* Copyright (c) 2017, 北京科技有限公司版权所有.
*/
package io.znz.jsite.visa.entity.relationship;
import java.util.Date;
import lombok.Data;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import ... |
ddea2c75-95fe-43ff-82db-da9c6837ed24 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-06 13:15:42", "repo_name": "spinfo/ang", "sub_path": "/AngAnalysisStandalone2/src/de/uni_koeln/spinfo/ang/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 40, "... | https://github.com/spinfo/ang | 259 | FILENAME: Main.java | 0.268941 | package de.uni_koeln.spinfo.ang;
import java.io.IOException;
import de.bkis.climate.Climate;
public class Main {
public static void main(String[] args) {
Climate cli = new Climate("-");
cli.addArgument("termsFile");
cli.addArgument("typesFile");
cli.addArgument("corpusDir");
cli.addArgument("matrixFile");... |
55d6b336-fb7a-4a54-bc1f-189be89d2ee5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 19:04:02", "repo_name": "gemini-hlsw/ocs", "sub_path": "/bundle/edu.gemini.spdb.reports.collection/src/main/java/edu/gemini/spdb/reports/util/SimpleSort.java", "file_name": "SimpleSort.java", "file_ext": "j... | https://github.com/gemini-hlsw/ocs | 256 | FILENAME: SimpleSort.java | 0.262842 | package edu.gemini.spdb.reports.util;
import edu.gemini.spdb.reports.IColumn;
import edu.gemini.spdb.reports.ISort;
/**
* Trivial javabean implementation of ISort. Just a container.
* @author rnorris
*/
public class SimpleSort implements ISort {
private static final long serialVersionUID = 1L;
private final IC... |
49cb53a3-bf89-433e-8f92-4b9c0ab98934 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-09 09:33:28", "repo_name": "LeeChangCheng/xkSystem", "sub_path": "/EducationalSystem/src/main/java/com/shu/controller/StudentController.java", "file_name": "StudentController.java", "file_ext": "java", "file_s... | https://github.com/LeeChangCheng/xkSystem | 217 | FILENAME: StudentController.java | 0.256832 | package com.shu.controller;
import com.shu.service.StudentService;
import org.json.Cookie;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CookieValue;
import org.springframework.... |
187b3e97-8935-4cf2-b52b-38a720025c23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-13 09:38:47", "repo_name": "wscheep/metastore", "sub_path": "/metastep/src/main/java/io/anemos/metastore/metastep/GitLabMagic.java", "file_name": "GitLabMagic.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/wscheep/metastore | 242 | FILENAME: GitLabMagic.java | 0.262842 | package io.anemos.metastore.metastep;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class GitLabMagic {
boolean gitLabEmptyCall = false;
String[] gitLabArgs = null;
String workDir = null;
public GitLabMagic() {
System.out.println("GitLab detected, start... |
aa396090-1ce4-4960-92cf-eb6d5b45b336 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-11 06:05:35", "repo_name": "love-somnus/SpringBoot", "sub_path": "/SpringBoot-18-Transaction/src/test/java/com/somnus/springboot/TransactionServiceTest.java", "file_name": "TransactionServiceTest.java", "file_... | https://github.com/love-somnus/SpringBoot | 246 | FILENAME: TransactionServiceTest.java | 0.292595 | package com.somnus.springboot;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.somnus.springboot.servic... |
db4c3a29-06ca-4824-bcf0-61fc9ce9bf71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-04 11:37:06", "repo_name": "Artoriaxx/JavaEditor", "sub_path": "/JavaEditor/src/function/Read.java", "file_name": "Read.java", "file_ext": "java", "file_size_in_byte": 1174, "line_count": 35, "lang": "en", "do... | https://github.com/Artoriaxx/JavaEditor | 225 | FILENAME: Read.java | 0.26971 | package function;
import javax.swing.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
public class Read implements ActionListener {
public static String text = null;
static HashMap<String, Integer> map = new HashMap<String, In... |
2f34095f-0e99-4972-a990-7fb2113af4e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-04 23:34:37", "repo_name": "Backchat/backchat-android", "sub_path": "/Backchat/src/com/youtell/backchat/tiles/GabTile.java", "file_name": "GabTile.java", "file_ext": "java", "file_size_in_byte": 996, "line_cou... | https://github.com/Backchat/backchat-android | 225 | FILENAME: GabTile.java | 0.245085 | package com.youtell.backchat.tiles;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.youtell.backchat.Util;
import com.youtell.backchat.models.Friend;
import com.youtell.backchat.models.Gab;
import com.youtell.backchat.R;
import com.youtell.backchat.R.drawable;
publ... |
5e17f6ab-769f-45b3-8370-5ea27022f7eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-28 18:22:37", "repo_name": "gurubabujampala/management", "sub_path": "/common/src/main/java/com/guru/management/common/dto/Inventory/ResourceOrderRequestDto.java", "file_name": "ResourceOrderRequestDto.java", ... | https://github.com/gurubabujampala/management | 220 | FILENAME: ResourceOrderRequestDto.java | 0.23231 | package com.telstra.tdm.common.dto.Inventory;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.telstra.tdm.common.Enum.StatusEnum;
import com.telstra.tdm.common.dto.resource.RequestBaseDto;
import lombok.Data;
import lombok.Equ... |
2548a695-c3e3-4ce8-b6f3-4c16fb391731 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-08 11:56:01", "repo_name": "DeglaTesting/OC_ODM", "sub_path": "/src/main/java/com/nihr/model/NameStructureView.java", "file_name": "NameStructureView.java", "file_ext": "java", "file_size_in_byte": 1138, "line... | https://github.com/DeglaTesting/OC_ODM | 232 | FILENAME: NameStructureView.java | 0.288569 | /*
* 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 com.nihr.model;
import com.nihr.controller.Printer;
import java.io.Serializable;
import java.util.ArrayList;
import ... |
10b26e1d-bab1-4db7-b9ff-5edeca924141 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-27T03:29:37", "repo_name": "kevinmirc/alexa-intrinio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1141, "line_count": 41, "lang": "en", "doc_type": "text", "... | https://github.com/kevinmirc/alexa-intrinio | 317 | FILENAME: README.md | 0.276691 | # Alexa-Intrinio
**An Amazon Alexa Intrinio Skill**
This is an API for the unofficial Intrinio Amazon Alexa skill: [Market Savvy](https://www.amazon.com/Kevin-Mircovich-Apps-Market-Savvy/dp/B01N4OW2Z4)
Status: Published
## Demo
"What was the opening price for Apple?" `120 dollars and 0 cents per share.`
"What was ... |
268dd20c-ee76-43d7-9976-0ef1560a46b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-03-02T03:41:18", "repo_name": "Ashbrooke/ForeverAFK_MC", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 981, "line_count": 26, "lang": "en", "doc_type": "text", "bl... | https://github.com/Ashbrooke/ForeverAFK_MC | 264 | FILENAME: README.md | 0.191933 |
----
# ForeverAFK
**Website:** [foreverafk.net](http://www.foreverafk.net)
**Minecraft IP:** mc.ForeverAFK.net
----
## Introduction
>This project will contain a plugin (or multiple plugins) for use in a [Bukkit](https://bukkit.org/) or [Spigot](http://www.spigotmc.org/) server. The main purpose is to reduce the ... |
17be80f7-d79f-4b5e-9fd6-bae88c8e9962 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-15 23:50:24", "repo_name": "schil227/BeepWeb", "sub_path": "/beepbeep/src/main/java/com/avionte/status/beepbeep/core/services/StatusRepository.java", "file_name": "StatusRepository.java", "file_ext": "java", "... | https://github.com/schil227/BeepWeb | 204 | FILENAME: StatusRepository.java | 0.289372 | package com.avionte.status.beepbeep.core.services;
import java.util.HashMap;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class StatusRepository implements IStatusRepository {
private HashMap<String, Boolean> currentStatuses;
private final Lock currentStatu... |
87eef8f0-8f9a-4077-bb78-26d9dce91f9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-15 13:49:21", "repo_name": "rhq-project/misc", "sub_path": "/cs-stuff/src/main/java/org/rhq/misc/checkstyle/InclusionFilter.java", "file_name": "InclusionFilter.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/rhq-project/misc | 224 | FILENAME: InclusionFilter.java | 0.272799 | package org.rhq.misc.checkstyle;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
import com.puppycrawl.tools.checkstyle.api.AuditEvent;
import com.puppycrawl.tools.checkstyle.api.AutomaticBean;
import com.puppycrawl.tools.checkstyle.api.Filter;
import com.puppycrawl.tools.checkstyle.api... |
191ff61a-6433-4cf1-97e3-30ea8e887f69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-07 23:33:47", "repo_name": "Drahness/APAC3-Hibernate", "sub_path": "/src/main/java/com/catalanrenegado/tinkdatabase/Shell.java", "file_name": "Shell.java", "file_ext": "java", "file_size_in_byte": 1141, "line_... | https://github.com/Drahness/APAC3-Hibernate | 235 | FILENAME: Shell.java | 0.278257 | package com.catalanrenegado.tinkdatabase;
public interface Shell {
default void startShell() {
String command;
String help = dotShell() ? ".help" : "help" ;
String quit = dotShell() ? ".quit" : "quit" ;
do {
boolean commandErrored;
command = Leer.leerTexto(t... |
b70c19cd-03eb-4e94-964c-19d6f1f60cae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-16 07:40:28", "repo_name": "Puleya-777/Graduation-project", "sub_path": "/project/order/src/main/java/com/order/model/vo/PaymentRetVo.java", "file_name": "PaymentRetVo.java", "file_ext": "java", "file_size_in_... | https://github.com/Puleya-777/Graduation-project | 232 | FILENAME: PaymentRetVo.java | 0.291787 | package com.order.model.vo;
import com.order.model.bo.Payment;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class PaymentRetVo{
private Long id;
private Long amount;
private Long actualAmount;
private String paymentPattern;
private LocalDateTime payTime;
private Loca... |
fe0ae716-e7d7-4c3f-a8a9-bab76fa01dd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-12 20:57:23", "repo_name": "VolodymyrChemodurov/BuyIt", "sub_path": "/BuyIt/src/main/java/com/epam/lab/buyit/controller/web/servlet/user/login/CheckLoginServlet.java", "file_name": "CheckLoginServlet.java", "f... | https://github.com/VolodymyrChemodurov/BuyIt | 170 | FILENAME: CheckLoginServlet.java | 0.293404 | package com.epam.lab.buyit.controller.web.servlet.user.login;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.epam.lab.buyit.controller.service.us... |
35e2fa6c-1e81-45ff-8b94-55bd0d26bb64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-26 11:08:33", "repo_name": "AnatoliiHanziuk/microservicesTestingDemo", "sub_path": "/src/main/java/example/weather/WeatherClient.java", "file_name": "WeatherClient.java", "file_ext": "java", "file_size_in_byte... | https://github.com/AnatoliiHanziuk/microservicesTestingDemo | 197 | FILENAME: WeatherClient.java | 0.258326 | package example.weather;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;
import java.util.Optional;
@Component
public class WeatherClient {
... |
e87aeb60-960c-4e2e-8c06-fb19c4c293db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-26 16:22:10", "repo_name": "ellehallal/java-echo-server", "sub_path": "/src/main/java/echoserver/MessageSender.java", "file_name": "MessageSender.java", "file_ext": "java", "file_size_in_byte": 998, "line_coun... | https://github.com/ellehallal/java-echo-server | 182 | FILENAME: MessageSender.java | 0.271252 | package echoserver;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
class MessageSender {
private final BufferedReader input;
private final PrintWriter output;
MessageSender(BufferedReader input, PrintWriter output) {
this.input = input;
this.output... |
4b64df86-0a97-4751-82ce-2b3395249dc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-08T20:38:47", "repo_name": "coach-plus/android", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1068, "line_count": 21, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/coach-plus/android | 248 | FILENAME: README.md | 0.258326 | [](https://dev.azure.com/mathandoro/CoachPlus/_build/latest?definitionId=6&branchName=master)
# android
Coach+ Android App
## Setup
1. Download google-services.json from Firebase and put it inside the an... |
ba8342d6-daa5-4445-9488-e14929e6132b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-03 18:29:10", "repo_name": "etp404/vocabinator", "sub_path": "/app/src/main/java/uk/co/mould/matt/vocabinator/Question.java", "file_name": "Question.java", "file_ext": "java", "file_size_in_byte": 995, "line_c... | https://github.com/etp404/vocabinator | 214 | FILENAME: Question.java | 0.283781 | package uk.co.mould.matt.vocabinator;
public class Question {
public final String questionWord;
public final String correctAnswer;
public Question(String questionWord, String correctAnswer) {
this.questionWord = questionWord;
this.correctAnswer = correctAnswer;
}
@Override
pub... |
90662a8c-ce4a-47db-83b8-9ff4282eefaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-19 08:08:59", "repo_name": "nordakademie-einfuehrung-java/studenten", "sub_path": "/src/de/nordakademie/github/beans/Century.java", "file_name": "Century.java", "file_ext": "java", "file_size_in_byte": 1141, "... | https://github.com/nordakademie-einfuehrung-java/studenten | 232 | FILENAME: Century.java | 0.243642 | package de.nordakademie.github.beans;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
public class Century {
private Path directoryPath;
private String name;
private List<Student> students = new ArrayList<>();
public Century(Path directoryPath) {
this.directoryP... |
fa18063c-15b1-4299-81d5-0543f339829d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-20 15:57:24", "repo_name": "RaulDr/learningProject", "sub_path": "/leaningProject/src/main/java/com/learningProject/config/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 113... | https://github.com/RaulDr/learningProject | 189 | FILENAME: Config.java | 0.255344 | package com.learningProject.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import com.learningProject.controller.GraphQLControl... |
4f9b5144-be3f-4dcc-b46e-0c86f12aad81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-17 05:47:46", "repo_name": "sudhir9031/SLMS", "sub_path": "/SLMS/src/com/scolere/lms/common/utils/ApplContextListener.java", "file_name": "ApplContextListener.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/sudhir9031/SLMS | 208 | FILENAME: ApplContextListener.java | 0.26971 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.scolere.lms.common.utils;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import org.slf4j.Logger;
import org.s... |
76a8b0b3-89cc-496a-9421-f91b62af371b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-02 17:46:35", "repo_name": "hrodriguezv/customer-api--MS-approach-", "sub_path": "/ui/src/main/java/com/client/manager/ui/configuration/UserDetailsServiceImpl.java", "file_name": "UserDetailsServiceImpl.java",... | https://github.com/hrodriguezv/customer-api--MS-approach- | 156 | FILENAME: UserDetailsServiceImpl.java | 0.239349 | package com.client.manager.ui.configuration;
import com.client.manager.ui.service.IUserService;
import com.client.manager.ui.util.SecurityUtil;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.securi... |
c1d9d393-cbdd-4d21-8a5f-2f45b539dabe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-10 09:45:51", "repo_name": "gladorange/meraee", "sub_path": "/_PRESENTATIONS/7 JPA/src/main/java/evilorange/jee/ejb/PersistenceController.java", "file_name": "PersistenceController.java", "file_ext": "java", "... | https://github.com/gladorange/meraee | 216 | FILENAME: PersistenceController.java | 0.290981 | package evilorange.jee.ejb;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import javax.transaction.Transactional;
import evilorange.jee.model.Use... |
3f49cb22-26fa-44d9-9ec7-6bd5c1a83850 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-15 13:27:22", "repo_name": "nikaalin/socks-app", "sub_path": "/src/main/java/com/test/socksapp/di/DIConfig.java", "file_name": "DIConfig.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 41, ... | https://github.com/nikaalin/socks-app | 216 | FILENAME: DIConfig.java | 0.282196 | package com.test.socksapp.di;
import com.test.socksapp.repository.SockRepository;
import com.test.socksapp.usecase.GetCount;
import com.test.socksapp.usecase.GetSocks;
import com.test.socksapp.usecase.RegIncome;
import com.test.socksapp.usecase.RegOutcome;
import org.springframework.beans.factory.annotation.Autowired;... |
ebe3e128-88bc-4195-8006-d584ebc83b6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 21:33:03", "repo_name": "vishalhatti/Springbootapplication", "sub_path": "/src/main/java/com/springbootexample/xworkz/service/PrintServiceImpl.java", "file_name": "PrintServiceImpl.java", "file_ext": "java"... | https://github.com/vishalhatti/Springbootapplication | 223 | FILENAME: PrintServiceImpl.java | 0.290981 | package com.springbootexample.xworkz.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.springbootexample.xworkz.dto.PrintDTO;
import com.springbootexample.xworkz.entity.PrintEntity;
import com.springbootexample.xworkz.repository.Pr... |
494db12d-97d5-4b5d-be48-4a6e59758ee7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-27 06:50:07", "repo_name": "ankitanubhav212/SpringBoot", "sub_path": "/docker-spring/src/main/java/com/doc/DockerSpringApplication.java", "file_name": "DockerSpringApplication.java", "file_ext": "java", "file_... | https://github.com/ankitanubhav212/SpringBoot | 209 | FILENAME: DockerSpringApplication.java | 0.282988 | package com.doc;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.doc.... |
d967a21b-a4bd-43af-9d23-46791ae08441 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-12 02:08:40", "repo_name": "Fhy40/mCourseINFS3605", "sub_path": "/app/src/main/java/com/example/mcourse/course_web_activity.java", "file_name": "course_web_activity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Fhy40/mCourseINFS3605 | 184 | FILENAME: course_web_activity.java | 0.205615 | package com.example.mcourse;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.widget.ProgressBar;
public class course_web_activity extends AppCompatActivity {
public static Str... |
db3bc240-02d5-4865-a112-42bd491e22ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-11 03:03:20", "repo_name": "Andrew8305/spring-boot-microservice-base", "sub_path": "/service-grpc-starter/src/main/java/jp/drjoy/service/grpc/starter/configure/GrpcAutoConfiguration.java", "file_name": "GrpcAu... | https://github.com/Andrew8305/spring-boot-microservice-base | 211 | FILENAME: GrpcAutoConfiguration.java | 0.23092 | package jp.drjoy.service.grpc.starter.configure;
import jp.drjoy.service.grpc.starter.EnableGrpcServer;
import jp.drjoy.service.grpc.starter.runner.GrpcServerRunner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframewo... |
f6b1449c-b85b-4fe3-af66-c8c97a4a02a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 21:15:54", "repo_name": "abdulasif96385/java", "sub_path": "/RandomSquares/GameObj.java", "file_name": "GameObj.java", "file_ext": "java", "file_size_in_byte": 1107, "line_count": 56, "lang": "en", "doc_typ... | https://github.com/abdulasif96385/java | 248 | FILENAME: GameObj.java | 0.262842 | import javax.swing.JPanel;
import java.awt.Graphics;
import java.awt.Color;
/**
*
*
* @author Abdul Asif, Zohaib Asif
*/
abstract public class GameObj extends Thread {
protected int x;
protected int y;
protected int width;
protected int height;
protected int speedX;
protected int spee... |
3d26a40c-4fbd-4989-96b1-6c6c68c7ce98 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-19 21:03:30", "repo_name": "aleperf/BuildItBigger", "sub_path": "/jokedisplay/src/main/java/com/example/aleperf/jokedisplay/JokeDisplayActivity.java", "file_name": "JokeDisplayActivity.java", "file_ext": "java... | https://github.com/aleperf/BuildItBigger | 202 | FILENAME: JokeDisplayActivity.java | 0.220007 | package com.example.aleperf.jokedisplay;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.MenuItem;
import android.widget.TextView;
public class JokeDisplayActivity extends AppCompatActivity {
private Strin... |
aa1cc35c-1c72-463a-a2e2-a013ade5531e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-27T23:27:14", "repo_name": "biomystery/Epigen_SetQC_manual", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 987, "line_count": 36, "lang": "en", "doc_type": "tex... | https://github.com/biomystery/Epigen_SetQC_manual | 257 | FILENAME: README.md | 0.228156 | # ATAC-seq data report's user manual
@ UCSD Center for Epigenomics
The Center for Epigenomics at University of California San Diego
(UCSD) generates a data report upon completion of all ATAC-seq
projects. An example report can be found here. This tutorial explains
each section of the data report, and provides guidelin... |
367d2b46-1e54-48e7-9525-e755c4d12730 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-19 10:00:38", "repo_name": "officerent/rebates", "sub_path": "/rebates-web/src/main/java/com/office/rebates/controller/web/WebQuestionController.java", "file_name": "WebQuestionController.java", "file_ext": "j... | https://github.com/officerent/rebates | 264 | FILENAME: WebQuestionController.java | 0.204342 | package com.office.rebates.controller.web;
import com.office.rebates.controller.RouteKey;
import com.office.rebates.service.web.WebQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springfram... |
35748e39-9225-4eba-9ef2-0cfa86c17dcf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-06 07:22:08", "repo_name": "WangAlainDelon/lilly-starter-parent", "sub_path": "/lilly-starter-core/src/main/java/org/lilly/core/validate/code/sms/ValidateCode.java", "file_name": "ValidateCode.java", "file_ext... | https://github.com/WangAlainDelon/lilly-starter-parent | 239 | FILENAME: ValidateCode.java | 0.246533 | package org.lilly.core.validate.code.sms;
import java.time.LocalDateTime;
/**
* User: Mr.Wang
* Date: 2020/6/14
* 手机验证码类
*/
public class ValidateCode {
/**
* 随机数验证码
*/
private String code;
/**
* 过期时间
*/
private LocalDateTime expireTime;
public ValidateCode(String code, Lo... |
1e83d9cf-7827-4aa2-bd42-c651d5362964 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 12:10:47", "repo_name": "zp4rker/rltrading", "sub_path": "/src/main/java/co/zpdev/bots/rltrading/commands/Ban.java", "file_name": "Ban.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 30,... | https://github.com/zp4rker/rltrading | 262 | FILENAME: Ban.java | 0.261331 | package co.zpdev.bots.rltrading.commands;
import co.zpdev.bots.core.command.Command;
import net.dv8tion.jda.core.Permission;
import net.dv8tion.jda.core.entities.Member;
import net.dv8tion.jda.core.entities.Message;
import java.util.Arrays;
public class Ban {
@Command(aliases = "ban")
public void onCommand(... |
dad5e4c5-1b3d-4fac-8700-9bd32fa557f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-07 18:40:34", "repo_name": "abhisrig/Task", "sub_path": "/app/src/main/java/com/uber/challenge/image/ImageTarget.java", "file_name": "ImageTarget.java", "file_ext": "java", "file_size_in_byte": 1141, "line_cou... | https://github.com/abhisrig/Task | 252 | FILENAME: ImageTarget.java | 0.261331 | package com.uber.challenge.image;
import android.view.View;
import com.uber.challenge.R;
import java.lang.ref.Reference;
import java.lang.ref.WeakReference;
/**
* container for imageview
* holds a weak reference to the view, so that it can be garbage collected
* @param <T>
*/
public class ImageTarget<T extends ... |
f033a4f7-eab6-456f-bf66-d21522c82a22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-16 11:37:04", "repo_name": "ruhui/ZZC", "sub_path": "/app/src/main/java/com/zzcar/zzc/networks/responses/GroupMenberResponse.java", "file_name": "GroupMenberResponse.java", "file_ext": "java", "file_size_in_by... | https://github.com/ruhui/ZZC | 251 | FILENAME: GroupMenberResponse.java | 0.220007 | package com.zzcar.zzc.networks.responses;
import com.zzcar.zzc.models.GroupModel;
import com.zzcar.zzc.models.MemberModel;
import java.util.List;
/**
* 描述:
* 创建作者: 黄如辉
* 创建时间: 2017/6/27 17:50
**/
public class GroupMenberResponse {
private boolean un_tip; //消息免打扰
private GroupModel group;
private List... |
4fcdd03b-6170-4080-be44-4ed42dce704a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-17 03:00:58", "repo_name": "zpf996/fenleibao", "sub_path": "/app/src/main/java/online/zpf666/fenleibao/jiazai_Activity.java", "file_name": "jiazai_Activity.java", "file_ext": "java", "file_size_in_byte": 1179,... | https://github.com/zpf996/fenleibao | 209 | FILENAME: jiazai_Activity.java | 0.235108 | package online.zpf666.fenleibao;
import android.content.Intent;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.WindowManager;
import online.zpf666.fenleibao.db.MyOpenHelper;
public class jiazai_Activity extends AppCompatActivity {
@Override
protected void onCre... |
2bcdacc0-1b23-4de5-9cac-d804a712d37b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 06:19:02", "repo_name": "rexren/Enterprise-Quality", "sub_path": "/hephaestus-common/src/main/java/com/hikvision/ga/hephaestus/common/support/BaseResult.java", "file_name": "BaseResult.java", "file_ext": "j... | https://github.com/rexren/Enterprise-Quality | 321 | FILENAME: BaseResult.java | 0.272799 | package com.hikvision.ga.hephaestus.common.support;
import java.io.Serializable;
import com.hikvision.ga.hephaestus.common.constant.RetStatus;
/**
* Created by rensu on 2017/5/28.
*/
public class BaseResult implements Serializable {
private static final long serialVersionUID = 1L;
private String code;
pri... |
b7f8050e-a6b3-4aa0-995c-d17e3872213d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-02 07:30:15", "repo_name": "pankajksewalia/communication", "sub_path": "/core/src/main/java/com/tricounsel/communication/core/handler/APIExceptionHandler.java", "file_name": "APIExceptionHandler.java", "file_e... | https://github.com/pankajksewalia/communication | 170 | FILENAME: APIExceptionHandler.java | 0.252384 | package com.tricounsel.communication.core.handler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.Excepti... |
a598e46a-6ca1-4967-ac2b-c3885a92357e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-01 12:05:17", "repo_name": "PhantomReign/brno-go-android", "sub_path": "/app/src/main/java/cz/vutbr/fit/brnogo/ui/settings/SettingsFragment.java", "file_name": "SettingsFragment.java", "file_ext": "java", "fil... | https://github.com/PhantomReign/brno-go-android | 203 | FILENAME: SettingsFragment.java | 0.252384 | package cz.vutbr.fit.brnogo.ui.settings;
import android.os.Bundle;
import android.support.v7.preference.Preference;
import android.support.v7.preference.PreferenceFragmentCompat;
import javax.inject.Inject;
import cz.vutbr.fit.brnogo.R;
import cz.vutbr.fit.brnogo.data.persistance.HawkPreferenceDataStore;
import dagg... |
f46938d1-d57e-44e1-93d6-614df83b60e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-27 06:09:34", "repo_name": "ridwan-julvianto-isat/qt-phptravel-assignment", "sub_path": "/src/main/java/pageobjects/MyAccountPage.java", "file_name": "MyAccountPage.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ridwan-julvianto-isat/qt-phptravel-assignment | 211 | FILENAME: MyAccountPage.java | 0.293404 | package pageobjects;
import org.apache.log4j.Logger;
import org.junit.Assert;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import utils.WaitUtils;
public class MyAccountPage {
priva... |
5c2e7d44-7a5d-4d88-bdb2-8bc17a237d6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-28 04:55:32", "repo_name": "smallclover/JTools", "sub_path": "/src/cn/jtools/util/CloneUtil.java", "file_name": "CloneUtil.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count": 43, "lang": "en", ... | https://github.com/smallclover/JTools | 245 | FILENAME: CloneUtil.java | 0.276691 | package cn.jtools.util;
import com.sun.xml.internal.messaging.saaj.util.ByteInputStream;
import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream;
import java.io.*;
/**
* Created by smallclover on 2016/7/9.
*/
public class CloneUtil {
/**
* 深克隆,使用序列化的方式。
* @param obj
* @param <T>
*... |
2741f578-50e4-4fa5-a8b5-19c7f0a200bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-12 03:57:51", "repo_name": "fishpro/spring-boot-study", "sub_path": "/spring-boot-study-webserviceclient/src/main/java/com/fishpro/webserviceclient/WebserviceclientApplication.java", "file_name": "Webservicecl... | https://github.com/fishpro/spring-boot-study | 203 | FILENAME: WebserviceclientApplication.java | 0.240775 | package com.fishpro.webserviceclient;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Webservicecli... |
43f71bda-b7a8-44d7-b843-92d8f920e489 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 08:44:44", "repo_name": "Hahahahx/firstSpringCloud", "sub_path": "/ux-zuul/src/main/java/com/ux/filter/PreRequestFilter.java", "file_name": "PreRequestFilter.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Hahahahx/firstSpringCloud | 258 | FILENAME: PreRequestFilter.java | 0.27513 | package com.ux.filter;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import com.netflix.zuul.exception.ZuulException;
import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;
import org.springframework.stereotype.Component;
import java.util.Date;
/**
* 在过滤... |
738897dd-8542-470a-ba28-cabfbb1b19f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-03 16:58:29", "repo_name": "IsaiahSmith/CSSE375-project", "sub_path": "/app/src/main/java/APICalls/CallAPI.java", "file_name": "CallAPI.java", "file_ext": "java", "file_size_in_byte": 1142, "line_count": 51, "... | https://github.com/IsaiahSmith/CSSE375-project | 211 | FILENAME: CallAPI.java | 0.282988 | package APICalls;
import android.os.AsyncTask;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
/**
* Created by smithij on 1/6/2016.
*/
public abstract class CallAPI extends AsyncTask<String, String, String> {
... |
ae6a0da3-b5ae-4c85-a86b-020ecc5a71af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-07 14:42:10", "repo_name": "Solomka/Pharmacy", "sub_path": "/src/main/java/com/upp/apteka/service/searchable/SearchablePatientService.java", "file_name": "SearchablePatientService.java", "file_ext": "java", "f... | https://github.com/Solomka/Pharmacy | 210 | FILENAME: SearchablePatientService.java | 0.275909 | package com.upp.apteka.service.searchable;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.upp.apteka.bo.Patient;
import com.upp.apteka.component.combobox.searchable.SearchableItem;
import com.... |
674e0b5e-3e37-4077-9fac-e06c98871ff0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-26 15:57:19", "repo_name": "YannCaron/Android-ENSG-2020-TP", "sub_path": "/app/src/main/java/eu/ensg/ing19/pointofinterest/dataaccess/PointOfInterestDAO.java", "file_name": "PointOfInterestDAO.java", "file_ext... | https://github.com/YannCaron/Android-ENSG-2020-TP | 214 | FILENAME: PointOfInterestDAO.java | 0.235108 | package eu.ensg.ing19.pointofinterest.dataaccess;
import android.content.ContentValues;
import android.database.sqlite.SQLiteDatabase;
import eu.ensg.ing19.pointofinterest.dataobject.PointOfInterest;
public class PointOfInterestDAO extends DAO<PointOfInterest> {
public PointOfInterestDAO(SQLiteDatabase db) {
... |
0c7b72af-af12-4be5-b597-83be9528af51 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 13:36:13", "repo_name": "xudongstorm/MVPDemo", "sub_path": "/app/src/main/java/com/example/mvpdemo/activity/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 110... | https://github.com/xudongstorm/MVPDemo | 195 | FILENAME: BaseActivity.java | 0.267408 | package com.example.mvpdemo.activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.LayoutRes;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.example.mvpdemo.presenter.BasePresenter;
public abstract cl... |
6b02911e-4da2-4b8e-a1e1-79b62794d073 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 07:00:00", "repo_name": "zlw364652506/githubtest", "sub_path": "/Stydjw.xfj.commons/src/com/aj/frame/ydjwpt/common/beans/AppWeekDownRank.java", "file_name": "AppWeekDownRank.java", "file_ext": "java", "file... | https://github.com/zlw364652506/githubtest | 275 | FILENAME: AppWeekDownRank.java | 0.295027 | package com.aj.frame.ydjwpt.common.beans;
import com.aj.frame.beans.AJFrameNamedBeanAbstract;
public class AppWeekDownRank extends AJFrameNamedBeanAbstract {
/**
*
*/
private static final long serialVersionUID = 3512448720163112332L;
/**
* APP主键
*/
private Long appId;
/**
* 下载量
*/
private Long d... |
f2f8a0e1-48cf-4c93-8447-aa9c18e4f240 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-19T04:07:37", "repo_name": "adbloomandrew/teachparttime", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 26, "lang": "en", "doc_type": "text",... | https://github.com/adbloomandrew/teachparttime | 244 | FILENAME: README.md | 0.218669 | # Teachpartime.com
This is the server for the site
# How to run
1. You need to create a `.env` file inside the root folder of the project. You can do this by hand, or you can install `sudo npm install -g @0x4447/cucumber` and run inside the root folder this command: `cucumber`. The `.env` will be automatically creat... |
a7f0cde0-5754-473b-a1de-39fff6789632 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-05 14:33:15", "repo_name": "crazycodeboy/react-native-splash-screen", "sub_path": "/android/src/main/java/org/devio/rn/splashscreen/SplashScreenReactPackage.java", "file_name": "SplashScreenReactPackage.java",... | https://github.com/crazycodeboy/react-native-splash-screen | 234 | FILENAME: SplashScreenReactPackage.java | 0.252384 | package org.devio.rn.splashscreen;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import java... |
096a9951-3a66-4c65-8c51-46f4516f450c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-27 18:35:57", "repo_name": "serge2nd/octopussy", "sub_path": "/octopussy-service-webmvc/src/main/java/ru/serge2nd/octopussy/api/QueryRq.java", "file_name": "QueryRq.java", "file_ext": "java", "file_size_in_byt... | https://github.com/serge2nd/octopussy | 212 | FILENAME: QueryRq.java | 0.280616 | package ru.serge2nd.octopussy.api;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Singular;
import lombok.Value;
import ru.serge2nd.octopussy.util.QueryWithParams;
import javax.validation.constraints.NotBlank;
import java.util.HashMap;
import java.util.Map;
@Value
@Builder... |
e322cf0b-1fce-4017-94af-189394e0f223 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-06 04:17:27", "repo_name": "hopewebsolution/HwsChat", "sub_path": "/app/src/main/java/hws/chat/com/hwschat/Activity/FullscreenActivity.java", "file_name": "FullscreenActivity.java", "file_ext": "java", "file_s... | https://github.com/hopewebsolution/HwsChat | 180 | FILENAME: FullscreenActivity.java | 0.200558 | package hws.chat.com.hwschat.Activity;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import hws.chat.com.hwschat.Helperclass.Utility;
import hws.chat.com.hwschat.R;
public class FullscreenActivity extends Activit... |
85d8505f-b080-4f88-b9c9-d5dc265d8196 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-02 01:50:14", "repo_name": "bePericon/desapp-grupoi-012019", "sub_path": "/desapp-grupoi-backend/src/main/java/app/aspect/LogServiceAspect.java", "file_name": "LogServiceAspect.java", "file_ext": "java", "file... | https://github.com/bePericon/desapp-grupoi-012019 | 261 | FILENAME: LogServiceAspect.java | 0.283781 | package app.aspect;
import java.util.Date;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframewo... |
0d3597fa-463c-47f0-a4d5-5be5afe1d6e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-22 09:22:28", "repo_name": "qw805880101/xuanxing", "sub_path": "/app/src/main/java/com/xuanxing/tc/game/utils/SendEvent.java", "file_name": "SendEvent.java", "file_ext": "java", "file_size_in_byte": 998, "line... | https://github.com/qw805880101/xuanxing | 229 | FILENAME: SendEvent.java | 0.226784 | package com.xuanxing.tc.game.utils;
/**
* Created by tianchao on 2017/10/14.
*/
public class SendEvent {
protected int code;
protected int position;
protected String key;
protected String value;
public SendEvent() {
}
public SendEvent(int code, String value) {
this.code = code... |
eda64904-993f-450e-b451-6b0bbcd7b112 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-11 16:42:08", "repo_name": "zhengdaone/2013121182Blog", "sub_path": "/src/servlet/articleManageServlet.java", "file_name": "articleManageServlet.java", "file_ext": "java", "file_size_in_byte": 1148, "line_coun... | https://github.com/zhengdaone/2013121182Blog | 211 | FILENAME: articleManageServlet.java | 0.276691 | package servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import Dao.articleDao;
public class articleManage... |
55eedc45-7685-4081-aeee-42ff3e30a901 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-17 16:04:03", "repo_name": "OuYangLiang/pracbiz-Ntuc-B2B", "sub_path": "/src/java/com/pracbiz/b2bportal/core/holder/UserSessionHolder.java", "file_name": "UserSessionHolder.java", "file_ext": "java", "file_siz... | https://github.com/OuYangLiang/pracbiz-Ntuc-B2B | 252 | FILENAME: UserSessionHolder.java | 0.276691 | package com.pracbiz.b2bportal.core.holder;
import java.math.BigDecimal;
import java.util.Date;
import com.pracbiz.b2bportal.base.holder.BaseHolder;
public class UserSessionHolder extends BaseHolder
{
private static final long serialVersionUID = -5742806256510677804L;
private String sessionId;
private B... |
6922dbb3-c655-46fd-8108-96d14133a0b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-13 04:30:02", "repo_name": "yyf736057729/sms", "sub_path": "/sanerzone-phone/src/main/java/com/sanerzone/common/modules/phone/entity/SmsPhoneWhitelist.java", "file_name": "SmsPhoneWhitelist.java", "file_ext": ... | https://github.com/yyf736057729/sms | 295 | FILENAME: SmsPhoneWhitelist.java | 0.271252 | /**
* Copyright © 2015-2016 SanerZone All rights reserved.
*/
package com.sanerzone.common.modules.phone.entity;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sanerzone.common.support.persistence.DataEntity;
/**
* 系统白名单Entity
* @author zhukc
* @version 2017-03-10
*/... |
0e56c2ef-1afa-4b6f-b613-c6891c980121 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-10 09:36:29", "repo_name": "KnightAndroid/wanandroid", "sub_path": "/library_network/src/main/java/com/knight/wanandroid/library_network/listener/HttpCallback.java", "file_name": "HttpCallback.java", "file_ext... | https://github.com/KnightAndroid/wanandroid | 276 | FILENAME: HttpCallback.java | 0.275909 | package com.knight.wanandroid.library_network.listener;
import okhttp3.Call;
/**
* @author created by knight
* @organize wanadroid
* @Date 2020/12/25 18:04
* @descript:请求回调包装类
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class HttpCallback<T> implements OnHttpListener<T> {
private final OnHttpList... |
49ef2901-8ece-47df-a7e0-13446f13d334 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-23 07:32:16", "repo_name": "code-tpl/manager-inititalizr", "sub_path": "/src/main/java/com/example/springboot/managerinititalizr/common/AuthFilter.java", "file_name": "AuthFilter.java", "file_ext": "java", "fi... | https://github.com/code-tpl/manager-inititalizr | 179 | FILENAME: AuthFilter.java | 0.226784 | package com.example.springboot.managerinititalizr.common;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@WebFilter(urlPatterns = {"/admin/*","/user/*"})
public class AuthFilter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.