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 |
|---|---|---|---|---|---|---|
8970f05a-f27f-4af4-ab29-3302f8da4984 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-21 04:28:03", "repo_name": "jcbarbour72/InstrumentMaintenance", "sub_path": "/InstrumentMaintenanceGUI/src/instrumentmaintenancegui/Acoustic.java", "file_name": "Acoustic.java", "file_ext": "java", "file_size_... | https://github.com/jcbarbour72/InstrumentMaintenance | 268 | FILENAME: Acoustic.java | 0.23092 | /**
*
*/
package instrumentmaintenancegui;
import java.io.Serializable;
/**
*
* @author Coleman Barbour
*/
class Acoustic extends Guitar implements Serializable{
/**
* Variable Initializers
*/
private String humidificationType;
private int humidificationDate;
/**
* An Enum ... |
9cba3b11-528f-4cde-922a-7b8832fabd6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-24 06:28:52", "repo_name": "tomxukui/EaseMob", "sub_path": "/easeui/src/main/java/com/hyphenate/easeui/dao/UserDao.java", "file_name": "UserDao.java", "file_ext": "java", "file_size_in_byte": 1021, "line_count... | https://github.com/tomxukui/EaseMob | 224 | FILENAME: UserDao.java | 0.226784 | package com.hyphenate.easeui.dao;
import com.hyphenate.easeui.domain.EaseUser;
import java.util.List;
import java.util.Map;
public class UserDao {
public static final String TABLE_NAME = "contactuser";
public static final String COLUMN_NAME_ID = "username";
public static final String COLUMN_NAME_NICK = ... |
b92aef1a-68cb-441b-ad63-4097fd39c74a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-29 15:02:01", "repo_name": "HubertYoung/AcFun", "sub_path": "/acfun5_7/src/main/java/org/junit/rules/ErrorCollector.java", "file_name": "ErrorCollector.java", "file_ext": "java", "file_size_in_byte": 1031, "li... | https://github.com/HubertYoung/AcFun | 220 | FILENAME: ErrorCollector.java | 0.294215 | package org.junit.rules;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import org.hamcrest.Matcher;
import org.junit.Assert;
import org.junit.runners.model.MultipleFailureException;
public class ErrorCollector extends Verifier {
private List<Throwable> a = new ArrayList(... |
cf9eff0a-95f4-49a7-80b8-25ffb7a57135 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-31 23:30:23", "repo_name": "grmaciel/android-good-practices-study", "sub_path": "/app/src/test/java/LoginActivityTest.java", "file_name": "LoginActivityTest.java", "file_ext": "java", "file_size_in_byte": 971,... | https://github.com/grmaciel/android-good-practices-study | 198 | FILENAME: LoginActivityTest.java | 0.239349 | import android.content.Intent;
import org.junit.Test;
import org.robolectric.Robolectric;
import org.robolectric.Shadows;
import br.com.lowestprice.view.activity.LoginActivity;
import br.com.lowestprice.view.activity.RegistrationActivity;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Created by G... |
d44c45cd-6fb7-4b27-8262-7d64793c7d4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-09 19:52:54", "repo_name": "mccreery/sandbox", "sub_path": "/java/textadventure/src/main/java/adventure/item/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 4... | https://github.com/mccreery/sandbox | 225 | FILENAME: Item.java | 0.284576 | package adventure.item;
import adventure.INamed;
public class Item implements INamed {
public static final Item LIT_TORCH = new Torch(true);
public static final Item UNLIT_TORCH = new Torch(false);
public static final Item FLINT = new Item("flint");
private final String nameKey;
public Item(String ... |
0bab57c7-6217-48fb-8d7c-c83e77bc9f4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 02:03:04", "repo_name": "cainiaobang/smart-framework", "sub_path": "/src/main/java/org/smart4j/framework/Util/CodeUtil.java", "file_name": "CodeUtil.java", "file_ext": "java", "file_size_in_byte": 1116, "li... | https://github.com/cainiaobang/smart-framework | 227 | FILENAME: CodeUtil.java | 0.288569 | package org.smart4j.framework.Util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.URLDecoder;
import java.net.URLEncoder;
import org.apache.commons.codec.digest. DigestUtils;
public final class CodeUtil {
private static final Logger LOGGER= LoggerFactory.getLogger(CodeUtil.class);
... |
cea94259-2735-4fcf-8226-e7f766e7193e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-16 06:26:06", "repo_name": "SijiaLiu/testgit", "sub_path": "/folder/15843_中台_刘斯佳/src/main/Service/LoginService.java", "file_name": "LoginService.java", "file_ext": "java", "file_size_in_byte": 1142, "line_coun... | https://github.com/SijiaLiu/testgit | 205 | FILENAME: LoginService.java | 0.273574 | package main.Service;
import main.Dao.Dao;
import main.DaoImpl.DaoImpl;
import main.Entity.Customer;
import main.Util.ConnectionFactory;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Created by LiuSijia on 2017/8/15.
*/
public class LoginService {
private Dao dao = ... |
419271f3-3333-4bd1-b6e2-a23f561f02d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-23 13:27:15", "repo_name": "rajksaha/hospital_platform", "sub_path": "/service/src/main/java/com/raydar/service/echo/ModuleService.java", "file_name": "ModuleService.java", "file_ext": "java", "file_size_in_by... | https://github.com/rajksaha/hospital_platform | 225 | FILENAME: ModuleService.java | 0.262842 | package com.raydar.service.echo;
import com.raydar.common.exception.RaydarException;
import com.raydar.mybatis.domain.echo.ModuleData;
import com.raydar.mybatis.persistence.echo.ModuleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util... |
8ddc0cbe-f9b1-454a-a735-201001dbf940 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-01 14:55:02", "repo_name": "rlopes85/SDIS_servoClock", "sub_path": "/src/Master/SysCall.java", "file_name": "SysCall.java", "file_ext": "java", "file_size_in_byte": 1170, "line_count": 44, "lang": "en", "doc_t... | https://github.com/rlopes85/SDIS_servoClock | 221 | FILENAME: SysCall.java | 0.247987 | package Master;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* Chamada ao sistema
* @author Ricardo Lopes
*
*/
public class SysCall {
String result = "";
/**
* Execução de chamada ao sistema
* @param command Sring com o comando a executar pe... |
d167d478-116d-46ba-b86a-c1c244bc20e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-31 14:35:44", "repo_name": "yrjkqq/CourseManagement", "sub_path": "/src/com/cdsxt/po/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1085, "line_count": 54, "lang": "en", "... | https://github.com/yrjkqq/CourseManagement | 238 | FILENAME: Student.java | 0.280616 | package com.cdsxt.po;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "test_student")
public class Student {
@Id
@SequenceGenerator(name = "studentGen", sequenceName = "seq_test_student")
@GeneratedValue(generator = "studentGen")
private Integer sid;... |
790eea45-2313-4d46-af98-8b6d532115a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-07 11:05:03", "repo_name": "tornqvistb/tage-sthlm", "sub_path": "/src/main/java/se/goteborg/retursidan/service/ExpireService.java", "file_name": "ExpireService.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/tornqvistb/tage-sthlm | 232 | FILENAME: ExpireService.java | 0.287768 | package se.goteborg.retursidan.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.liferay.portal.kernel.log.Log... |
7cc276df-a992-4ec9-8d27-53c66ef33769 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-12 23:23:45", "repo_name": "gaofu/XposedHook", "sub_path": "/app/src/main/java/gaofu/xposedhook/domain/HookClass.java", "file_name": "HookClass.java", "file_ext": "java", "file_size_in_byte": 1164, "line_count... | https://github.com/gaofu/XposedHook | 255 | FILENAME: HookClass.java | 0.233706 | package gaofu.xposedhook.domain;
import java.util.List;
/**
* Created by gaofu.
* Created on 2016/5/2.
*/
public class HookClass {
private String name;
private String tag;
private boolean constructor;
private List<HookMethod> hookMethods;
public String getTag() {
return tag;
}
... |
e30b0cd5-5980-4ea1-a5ec-c69deec778aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-09T23:44:04", "repo_name": "shreyasdamle2017/Restaurant_Review_Mobile_App", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1140, "line_count": 13, "lang": "en", ... | https://github.com/shreyasdamle2017/Restaurant_Review_Mobile_App | 241 | FILENAME: README.md | 0.23793 | # Restaurant_Review_Mobile_App
Mobile IOS/Android application which fetches restaurants and reviews in the New York with the help of RESTful api provided by Yelp
This app is developed using React-Native with the help of Yelp-Api to get updated JSON data.
This app has additonal dependencies which you can download by f... |
101b9323-569c-4eb5-9de6-dc242944a07b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-27 02:27:11", "repo_name": "ifpb-disciplinas-2016-2/dac-topicos-especiais", "sub_path": "/src/main/java/ifpb/ads/dac/aop/LogEntities.java", "file_name": "LogEntities.java", "file_ext": "java", "file_size_in_by... | https://github.com/ifpb-disciplinas-2016-2/dac-topicos-especiais | 252 | FILENAME: LogEntities.java | 0.255344 | package ifpb.ads.dac.aop;
import ifpb.ads.dac.domain.Aluno;
import java.time.LocalDateTime;
import javax.persistence.PostLoad;
import javax.persistence.PostPersist;
import javax.persistence.PrePersist;
/**
* @author Ricardo Job
* @mail ricardo.job@ifpb.edu.br
* @since 26/04/2017, 08:01:51
*/
public class LogEntit... |
fe1904aa-6047-476e-9a25-e39dd5953866 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-21 19:32:59", "repo_name": "sathish256/zoneddatetime-spring-boot", "sub_path": "/src/main/java/com/sat/poc/datetime/api/DateController.java", "file_name": "DateController.java", "file_ext": "java", "file_size_... | https://github.com/sathish256/zoneddatetime-spring-boot | 179 | FILENAME: DateController.java | 0.256832 | package com.sat.poc.datetime.api;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.R... |
523af6bf-4a60-4a4d-ab6f-552ad1a14365 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-07 02:29:38", "repo_name": "WhosNickDoglio/NYCSchools", "sub_path": "/app/src/main/java/com/nicholasdoglio/nycschools/ui/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/WhosNickDoglio/NYCSchools | 209 | FILENAME: MainActivity.java | 0.224055 | package com.nicholasdoglio.nycschools.ui;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import com.nicholasdoglio.nycschools.R;
import com.nicholasdoglio.nycschools.ui.common.NavigationController;
import javax.inject.Inject;
import dagger.android.... |
44fd8dcc-ef6f-46a1-9649-a6137699e827 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-11-03T15:05:15", "repo_name": "tpitale/watch_later", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1142, "line_count": 33, "lang": "en", "doc_type": "text", "blob_... | https://github.com/tpitale/watch_later | 291 | FILENAME: README.md | 0.253861 | # Watch Later #
At some point I saw a neat page that GitHub put up of all the speaking their
team did. Since then, I've wanted a page of my own, but, not just for my own
speaking, but any videos that I had queued up in Instapaper.
This is that page.
## About ##
This setup has three parts:
1. A ruby script which us... |
67ead292-c4f3-4da1-973e-0ea6b89697a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-11 09:17:56", "repo_name": "qqhard/game", "sub_path": "/user/src/main/java/crazy/action/UserDetailAction.java", "file_name": "UserDetailAction.java", "file_ext": "java", "file_size_in_byte": 2518, "line_count"... | https://github.com/qqhard/game | 201 | FILENAME: UserDetailAction.java | 0.240775 | package crazy.action;
import java.util.HashMap;
import java.util.Map;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.web.csrf.HttpSessionCsrfTokenRepository;
import org.springframework.web.bi... |
47cfddaa-4d73-4c06-95c9-e1c6834582ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-20 12:41:13", "repo_name": "dipeshiem/microservice", "sub_path": "/netflix-zuul/src/main/java/com/training/netflixzuul/ZuulFilterSample.java", "file_name": "ZuulFilterSample.java", "file_ext": "java", "file_si... | https://github.com/dipeshiem/microservice | 221 | FILENAME: ZuulFilterSample.java | 0.243642 | /**
*
*/
package com.training.netflixzuul;
import javax.servlet.http.HttpServletRequest;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import com.netflix.zuul.exception.ZuulException;
/**
* @author dipesh
*
*/
public class ZuulFilterSample extends ZuulFilter... |
d1bf522f-abe8-465d-9821-2db39a3053e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-04T19:24:29", "repo_name": "waffle-iron/SOLSV", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1143, "line_count": 15, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/waffle-iron/SOLSV | 273 | FILENAME: README.md | 0.2227 | [](https://waffle.io/pnshr/SOLSV?utm_source=badge)
# Streetz of Los Santos
The Streetz of Los Santos is the first and only Grand Theft: Mutli-Player roleplay server based on the story line and concept of the original game. Delivering fu... |
e4d7aeb5-bd32-45ae-a1de-9a955faac90c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-25 03:26:47", "repo_name": "govi22d/PracticeProjectsJava", "sub_path": "/SpringProject/src/main/java/spring/example/SpringProject/EmployeeController.java", "file_name": "EmployeeController.java", "file_ext": "... | https://github.com/govi22d/PracticeProjectsJava | 212 | FILENAME: EmployeeController.java | 0.272025 | package spring.example.SpringProject;
import java.util.List;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class EmployeeController {
@Request... |
0cc35dff-0703-480e-86c8-94888a1bebde | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-17 18:40:29", "repo_name": "janswain/microservice", "sub_path": "/oneservice-consumer/src/main/java/com/sabre/consumer/StartConsumer.java", "file_name": "StartConsumer.java", "file_ext": "java", "file_size_in_... | https://github.com/janswain/microservice | 182 | FILENAME: StartConsumer.java | 0.243642 | package com.sabre.consumer;
import java.io.IOException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;
import org.s... |
550581cc-dd84-4f5b-af6f-b9cf71834b90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-10 08:07:13", "repo_name": "icokeamy2/ResearchProject", "sub_path": "/src/main/java/com/algridashboard/dashboard/model/Temperature.java", "file_name": "Temperature.java", "file_ext": "java", "file_size_in_byte... | https://github.com/icokeamy2/ResearchProject | 202 | FILENAME: Temperature.java | 0.23793 | package com.algridashboard.dashboard.model;
public class Temperature {
private Integer id;
private Double temperature;
private String time;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Double getTemperature() {
... |
3f59dafc-3c6e-4b15-b57c-73a3170c0306 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-27T06:07:24", "repo_name": "erha19/eslint-plugin-weex", "sub_path": "/docs/rules/vue/valid-v-on.md", "file_name": "valid-v-on.md", "file_ext": "md", "file_size_in_byte": 1166, "line_count": 47, "lang": "en... | https://github.com/erha19/eslint-plugin-weex | 320 | FILENAME: valid-v-on.md | 0.288569 | # enforce valid `v-on` directives (weex/vue/valid-v-on)
- :gear: This rule is included in all of `"plugin:weex/vue/essential"`, `"plugin:weex/vue/strongly-recommended"` and `"plugin:weex/vue/recommended"`.
This rule checks whether every `v-on` directive is valid.
## :book: Rule Details
This rule reports `v-on` dire... |
47763368-adad-41ac-b8f9-81be21b1efc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-08 14:09:31", "repo_name": "eqxDev/Death-Room", "sub_path": "/src/me/eqxdev/deathroom/utils/Matcher.java", "file_name": "Matcher.java", "file_ext": "java", "file_size_in_byte": 1082, "line_count": 43, "lang": ... | https://github.com/eqxDev/Death-Room | 206 | FILENAME: Matcher.java | 0.252384 | package me.eqxdev.deathroom.utils;
import me.eqxdev.deathroom.utils.cache.UUIDCache;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.util.UUID;
/**
* Created by eqxDev.
*/
public class Matcher {
public static Player matchPlayer(String name){
for(Player player : B... |
84eeef17-b26b-4ea4-a56a-cb5d85efca6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-17 17:43:36", "repo_name": "Ferenus/chess", "sub_path": "/src/main/java/com/danielstradowski/controller/TablesController.java", "file_name": "TablesController.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/Ferenus/chess | 211 | FILENAME: TablesController.java | 0.255344 | package com.danielstradowski.controller;
import com.danielstradowski.dto.Game;
import com.danielstradowski.dto.Move;
import com.danielstradowski.dto.OutputMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework... |
4ae914ec-fc0a-4af4-ace1-873fe08b5476 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-31 10:35:05", "repo_name": "nvduong97/CarGara", "sub_path": "/src/com/ptit/model/Manager.java", "file_name": "Manager.java", "file_ext": "java", "file_size_in_byte": 1047, "line_count": 52, "lang": "en", "doc_... | https://github.com/nvduong97/CarGara | 214 | FILENAME: Manager.java | 0.194368 | /*
* 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.ptit.model;
/**
*
* @author DUONGNV
*/
public class Manager extends Employee{
private String managerID;
private... |
2d888e02-fbc2-4ed6-9ddf-d4fac76deaa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-15 10:11:28", "repo_name": "aaronang/git-server", "sub_path": "/git-server/src/main/java/nl/tudelft/ewi/git/web/BaseApi.java", "file_name": "BaseApi.java", "file_ext": "java", "file_size_in_byte": 1105, "line_... | https://github.com/aaronang/git-server | 267 | FILENAME: BaseApi.java | 0.286169 | package nl.tudelft.ewi.git.web;
import java.net.URLDecoder;
import javax.ws.rs.NotFoundException;
import lombok.SneakyThrows;
import nl.minicom.gitolite.manager.models.Config;
import nl.minicom.gitolite.manager.models.Group;
import nl.minicom.gitolite.manager.models.Repository;
import nl.minicom.gitolite.manager.mod... |
b8989b46-bde1-4d29-b676-3921a3b172fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 07:39:00", "repo_name": "ShurAnd/test-chat-jpa", "sub_path": "/src/main/java/org/andrey/testchatjpa/service/MessageService.java", "file_name": "MessageService.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/ShurAnd/test-chat-jpa | 201 | FILENAME: MessageService.java | 0.282196 | package org.andrey.testchatjpa.service;
import java.util.List;
import org.andrey.testchatjpa.domain.Message;
import org.andrey.testchatjpa.repository.MessageRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class MessageService {... |
8465aa09-61d5-4ce1-96b1-3bd57cfd1cf1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-30 08:31:16", "repo_name": "KimNamKyu/JavaWeb", "sub_path": "/20190128maven/src/main/java/com/java/View.java", "file_name": "View.java", "file_ext": "java", "file_size_in_byte": 1092, "line_count": 31, "lang":... | https://github.com/KimNamKyu/JavaWeb | 180 | FILENAME: View.java | 0.279828 | package com.java;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class View extends HttpServlet {
private ... |
22a15cb9-365e-46ab-9d42-831401e0618b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-11 13:35:34", "repo_name": "indigo-dc/Monitoring", "sub_path": "/zabbix-wrapper/monitoring-pillar-domain/src/main/java/it/reply/monitoringpillar/domain/dsl/monitoring/pillar/zabbix/response/ZabbixAuthenticatio... | https://github.com/indigo-dc/Monitoring | 230 | FILENAME: ZabbixAuthenticationResponse.java | 0.225417 | package it.reply.monitoringpillar.domain.dsl.monitoring.pillar.zabbix.response;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.j... |
bbdd22e9-b469-42ff-b7f6-b7e787a29066 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-26 08:27:38", "repo_name": "dudefu/oldx-admin", "sub_path": "/oldx-generator/src/main/java/cc/oldx/mbg/domain/OSysMenuRole.java", "file_name": "OSysMenuRole.java", "file_ext": "java", "file_size_in_byte": 1115... | https://github.com/dudefu/oldx-admin | 221 | FILENAME: OSysMenuRole.java | 0.225417 | package cc.oldx.mbg.domain;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
public class OSysMenuRole implements Serializable {
@ApiModelProperty(value = "角色ID")
private Long roleId;
@ApiModelProperty(value = "权限ID")
private Long permissionId;
private static final lo... |
8bcfdb49-1cfc-4456-95b6-d370b307549a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-27 06:18:23", "repo_name": "DogaDumanoglu/QueueStack", "sub_path": "/MyStack.java", "file_name": "MyStack.java", "file_ext": "java", "file_size_in_byte": 1109, "line_count": 39, "lang": "en", "doc_type": "code... | https://github.com/DogaDumanoglu/QueueStack | 226 | FILENAME: MyStack.java | 0.289372 | import java.util.ArrayList;
import java.util.EmptyStackException;
public class MyStack {
private ArrayList<Integer> stack =new ArrayList<>();
public void push(int integer){
/*adds an element to the top of the stack*/
stack.add(0,integer);
}
public boolean isEmpty(){
/*removes ... |
58e8ea7c-0ece-46d9-bce0-63488226a15e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-24 14:00:35", "repo_name": "HotCoode/ScighTravel", "sub_path": "/app/src/main/java/com/scigh/activities/LauncherActivity.java", "file_name": "LauncherActivity.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/HotCoode/ScighTravel | 191 | FILENAME: LauncherActivity.java | 0.235108 | package com.scigh.activities;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBarActivity;
/**
* Created by Abhay on 3/20/2015.
*/
public class LauncherActivity extends ActionBarActivi... |
f3f66279-33ca-45ee-96e6-e85d8fd3ea36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-12 08:52:54", "repo_name": "catalin-burcea/playground", "sub_path": "/spring/spring-retry/src/main/java/ro/cburcea/playground/spring/retry/DefaultListenerSupport.java", "file_name": "DefaultListenerSupport.jav... | https://github.com/catalin-burcea/playground | 201 | FILENAME: DefaultListenerSupport.java | 0.216012 | package ro.cburcea.playground.spring.retry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.retry.RetryCallback;
import org.springframework.retry.RetryContext;
import org.springframework.retry.RetryListener;
public class DefaultListenerSupport implements RetryListener {
priva... |
65eb63a0-f183-42b7-a778-d831f26fb775 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-28 17:57:36", "repo_name": "mckonieczny/ZPI", "sub_path": "/src/main/java/database/repository/LanguageRepository.java", "file_name": "LanguageRepository.java", "file_ext": "java", "file_size_in_byte": 1139, "l... | https://github.com/mckonieczny/ZPI | 217 | FILENAME: LanguageRepository.java | 0.29584 | package database.repository;
import database.document.LanguageDocument;
import database.mongo.MongoRepository;
import org.bson.Document;
import java.util.ArrayList;
import java.util.List;
import static com.mongodb.client.model.Filters.eq;
import static database.document.LanguageDocument.M_LANGUAGE;
/**
* Created b... |
8b2849b7-3b98-48cf-aa08-bbe46372200d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-21 04:32:03", "repo_name": "l-w-h/DebugTools", "sub_path": "/Module/DebugTools/src/main/java/com/lwh/debugtools/base/utils/md5/Md5Utils.java", "file_name": "Md5Utils.java", "file_ext": "java", "file_size_in_by... | https://github.com/l-w-h/DebugTools | 236 | FILENAME: Md5Utils.java | 0.280616 | package com.lwh.debugtools.base.utils.md5;
import android.text.TextUtils;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* @author lwh
* @Date 2019/10/19 15:33
* @description Md5Utils
*/
public class Md5Utils {
/**
* 加密
* @param plaintext 明文
* @return ci... |
6c4df209-8d14-4048-9c09-7c3abc4e42f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-14 08:23:04", "repo_name": "helinad/myRepoTest", "sub_path": "/ConstantTherapy/src/com/constant_therapy/dashboard/DragandDropTask.java", "file_name": "DragandDropTask.java", "file_ext": "java", "file_size_in_b... | https://github.com/helinad/myRepoTest | 231 | FILENAME: DragandDropTask.java | 0.261331 | package com.constant_therapy.dashboard;
import java.io.Serializable;
import java.util.ArrayList;
public class DragandDropTask implements Serializable {
public String task;
public String taskType;
public ArrayList<String> sequence = new ArrayList<String>();
public ArrayList<String> resources = new ArrayList<Stri... |
1674ec0e-dd3c-4387-ac61-fc553b025759 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-06 15:42:49", "repo_name": "moutainhigh/kuaixiu", "sub_path": "/src/com/common/wechat/bean/kefu/result/WxMpKfSessionGetResult.java", "file_name": "WxMpKfSessionGetResult.java", "file_ext": "java", "file_size_i... | https://github.com/moutainhigh/kuaixiu | 283 | FILENAME: WxMpKfSessionGetResult.java | 0.255344 | package com.common.wechat.bean.kefu.result;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.google.gson.annotations.SerializedName;
import com.common.wechat.util.json.WxMpGsonBuilder;
/**
*
* @author Binary Wang
*
*/
public class WxMpKf... |
443025a8-393c-45e9-bd01-1a4c62ab6eba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-18 15:50:26", "repo_name": "HeavenBackedup/oh-my-news", "sub_path": "/oh-my-news-model/src/main/java/com/oh/my/news/model/dto/Image.java", "file_name": "Image.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/HeavenBackedup/oh-my-news | 287 | FILENAME: Image.java | 0.258326 | package com.oh.my.news.model.dto;
/**
* Created by shj on 2017/4/13.
*/
public class Image {
private int id;
private String url;
public Image(int id, String url) {
this.id = id;
this.url = url;
}
public Image() {
}
@Override
public String toString() {
return ... |
1da88881-82ef-41a7-b10e-af571f1fb43b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-18 19:37:24", "repo_name": "latishpavan/codebook-backend", "sub_path": "/src/main/java/com/codebook/server/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/latishpavan/codebook-backend | 180 | FILENAME: UserService.java | 0.250913 | package com.codebook.server.service;
import com.codebook.server.domain.User;
import com.codebook.server.domain.request.CreateAccountRequest;
import com.codebook.server.repository.UserRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springfram... |
9f9a3830-e555-4cad-8310-44aa75488ebb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-18 15:43:56", "repo_name": "aydangoon/SimpleLM", "sub_path": "/code/TextureSwapper/Logger.java", "file_name": "Logger.java", "file_ext": "java", "file_size_in_byte": 1166, "line_count": 43, "lang": "en", "doc_... | https://github.com/aydangoon/SimpleLM | 231 | FILENAME: Logger.java | 0.282988 | import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JScrollBar;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.text.DefaultCaret;
public class Logger extends JFrame{
private JTextArea log;
public Logger(String name) {
... |
eaca7505-5466-4fc5-960f-2114bd6078ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 23:59:02", "repo_name": "jcsteele26/Library_Management_System", "sub_path": "/Cardholder.java", "file_name": "Cardholder.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 52, "lang": "en",... | https://github.com/jcsteele26/Library_Management_System | 234 | FILENAME: Cardholder.java | 0.23793 | import java.util.ArrayList;
import java.util.List;
public class Cardholder {
private String name;
private String address;
private int cardNumber;
// members for overdue items
List <String> overdueBook = new ArrayList<>();
List <String> overduePeriodical = new ArrayList<>();
List <String> ... |
a087a493-a493-49b0-a4e0-e89bd01ec678 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-24 19:38:40", "repo_name": "daominhdam/arquillian-testng-parallel", "sub_path": "/src/test/java/org/jboss/arquillian/pages/test/GoogleTest2.java", "file_name": "GoogleTest2.java", "file_ext": "java", "file_siz... | https://github.com/daominhdam/arquillian-testng-parallel | 250 | FILENAME: GoogleTest2.java | 0.293404 | package org.jboss.arquillian.pages.test;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.graphene.Graphene;
import org.jboss.arquillian.graphene.page.Page;
import org.jboss.arquillian.pages.GooglePage;
import org.jboss.arquillian.testng.Arquillian;
import org.testng.Asser... |
4b661e2c-c55e-4a15-9d14-310e5f69ed5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-14 14:11:55", "repo_name": "mimarox/testng-databinding", "sub_path": "/testng-databinding-xml/src/test/java/net/sf/testng/databinding/xml/beans/InnerTestBean.java", "file_name": "InnerTestBean.java", "file_ext... | https://github.com/mimarox/testng-databinding | 289 | FILENAME: InnerTestBean.java | 0.292595 | package net.sf.testng.databinding.xml.beans;
public class InnerTestBean {
private String testValue;
public InnerTestBean() {
}
public InnerTestBean(final String testValue) {
setTestValue(testValue);
}
public String getTestValue() {
return testValue;
}
public void setTestValue(final String testValue) {
... |
ca2b87f5-96f9-4e46-b784-8ef2f6719d54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-04 08:19:38", "repo_name": "huttonj/chevrolet", "sub_path": "/chevrolet-web/src/main/java/com/chevrolet/web/interceptor/ChevroletBaseInterceptor.java", "file_name": "ChevroletBaseInterceptor.java", "file_ext":... | https://github.com/huttonj/chevrolet | 211 | FILENAME: ChevroletBaseInterceptor.java | 0.2227 | package com.chevrolet.web.interceptor;
import com.maihaoche.acura.api.model.Staff;
import com.mhc.subaru.validation.holder.CurrentUserHolder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.se... |
d4574b0d-2995-4af9-af19-e2d378148b18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-18T11:41:04", "repo_name": "taps1197/micro-ATM", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1086, "line_count": 30, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/taps1197/micro-ATM | 330 | FILENAME: readme.md | 0.288569 | # Micro ATM & Smile to Pay
This project was made as a part of 24 hour hackathon by InterviewBit Academy. This repo hosts the code for the same. It is built with ReactJS, Firebase and Kairos.
## What is this project all about
[Click here](https://docs.google.com/document/d/1mXxgxSHYVAGsIiYFxyVNA61DIelp53n9EgfO80uQLoY... |
28b8bd5b-f669-4de9-b1e0-8599c4d34ab1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-13 10:39:30", "repo_name": "bksinha4497/Spring", "sub_path": "/spring-in-5-steps/src/main/java/com/tm/srping/basics/springin5steps/SpringIn5StepsScopeApplication.java", "file_name": "SpringIn5StepsScopeApplica... | https://github.com/bksinha4497/Spring | 229 | FILENAME: SpringIn5StepsScopeApplication.java | 0.286968 | package com.tm.srping.basics.springin5steps;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import com.t... |
e115e033-78d3-48b3-8dbe-cad282007d8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-30T18:13:59", "repo_name": "giladshanan/phase0-gps-1", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1089, "line_count": 19, "lang": "en", "doc_type": "text", "... | https://github.com/giladshanan/phase0-gps-1 | 252 | FILENAME: README.md | 0.272025 | # phase0-gps-1
cd .. - change directory up one level
cd - change to home directory
cd desktop/git - change directory to 'git' directory
git clone https://github.com/giladshanan/phase0-gps-1.git - telling the current directory to clone the repo from github to the local drive
ls - list contents of current directory
cd p... |
d52c047b-b7d9-47da-bd4c-ee6d94861d58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-23 06:23:39", "repo_name": "MikyPopescu/SoftwareQualityAndTesting", "sub_path": "/Exam_CheatSheet_DesignPatterns/1_creationale/01_singleton/src/cts/patterns/miky/implementation/SingletonConnection.java", "file... | https://github.com/MikyPopescu/SoftwareQualityAndTesting | 196 | FILENAME: SingletonConnection.java | 0.250913 | package cts.patterns.miky.implementation;
import cts.patterns.miky.exceptions.ExceptionCreateSingletonConnection;
public class SingletonConnection {
String name;
String password;
private static SingletonConnection instance = null;
private SingletonConnection() {
}
private SingletonConnectio... |
2f64782b-66be-4e74-bfc6-1dfeefabb5e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-04 16:04:50", "repo_name": "WildWeazel/naturenet-android", "sub_path": "/app/src/main/java/org/naturenet/data/model/PhotoCaptionContent.java", "file_name": "PhotoCaptionContent.java", "file_ext": "java", "file... | https://github.com/WildWeazel/naturenet-android | 225 | FILENAME: PhotoCaptionContent.java | 0.201813 | package org.naturenet.data.model;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY,
getterVisibility = JsonAutoDetect.Visibilit... |
963b1520-b869-4ef2-87c5-90fca6d422aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-07 17:31:37", "repo_name": "Contrast-Security-OSS/contrast-sdk-java", "sub_path": "/src/test/java/com/contrastsecurity/TestDataConstants.java", "file_name": "TestDataConstants.java", "file_ext": "java", "file_... | https://github.com/Contrast-Security-OSS/contrast-sdk-java | 281 | FILENAME: TestDataConstants.java | 0.279828 | package com.contrastsecurity;
/*-
* #%L
* Contrast Java SDK
* %%
* Copyright (C) 2022 Contrast Security, 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... |
304128f0-e1c5-4ce4-b5cd-4c2054a0dc90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-02 13:13:10", "repo_name": "mrtngv/University", "sub_path": "/Other-Projects/Java/Project1/src/com/company/Entry.java", "file_name": "Entry.java", "file_ext": "java", "file_size_in_byte": 1070, "line_count": 4... | https://github.com/mrtngv/University | 235 | FILENAME: Entry.java | 0.276691 | package com.company;
public class Entry {
private double cost_whenSell;
private String title;
private EntryType entryType;
private paperSize paperSize;
private int entryPageNumber;
public Entry(String title,EntryType entryType,paperSize paperSize,int entryPageNumber){
this.title = titl... |
8d5068ab-f168-4704-8325-4ea2690a7c20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-26 09:43:15", "repo_name": "jackfo/mini-rpc", "sub_path": "/mini-remoting/src/main/java/com/cfs/mini/remoting/TimeoutException.java", "file_name": "TimeoutException.java", "file_ext": "java", "file_size_in_byt... | https://github.com/jackfo/mini-rpc | 245 | FILENAME: TimeoutException.java | 0.261331 | package com.cfs.mini.remoting;
import java.net.InetSocketAddress;
public class TimeoutException extends RemotingException {
private static final long serialVersionUID = 3122966731958222692L;
/**
* 客户端
*/
public static final int CLIENT_SIDE = 0;
/**
* 服务端
*/
public static fin... |
e77cad3c-92a5-45e2-889e-73d759e638e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-29 18:01:29", "repo_name": "ab74883/mdw", "sub_path": "/mdw-common/src/com/centurylink/mdw/util/TextHelper.java", "file_name": "TextHelper.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 26... | https://github.com/ab74883/mdw | 362 | FILENAME: TextHelper.java | 0.276691 | package com.centurylink.mdw.util;
import java.io.UnsupportedEncodingException;
import java.util.regex.Pattern;
public class TextHelper {
private static Pattern p = Pattern.compile("\\A(\n" +
" [\\x09\\x0A\\x0D\\x20-\\x7E] # ASCII\\n" +
"| [\\xC2-\\xDF][\\x80-\\xBF] ... |
e09cffe6-f645-44d0-982e-4e9e7f5f48e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-17 06:11:49", "repo_name": "zaizi/activiti-form-rest-service", "sub_path": "/activiti-form-setup/src/main/java/com/zaizi/demo/activiti/util/ActivitiProperty.java", "file_name": "ActivitiProperty.java", "file_e... | https://github.com/zaizi/activiti-form-rest-service | 272 | FILENAME: ActivitiProperty.java | 0.282196 | package com.zaizi.demo.activiti.util;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
/**
* This class is used to retrieve configured property values
* @author kvaratharaja
*
*/
public class ActivitiProperty {
private Properties prop = new Properties();
private InputStre... |
3feb6da7-8117-4c8a-9b32-f6cf1f66d1d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-27 15:59:11", "repo_name": "khaledchobi/rest-api-project", "sub_path": "/src/test/java/com/rest/api/test/databaseLib/DataBaseUtil.java", "file_name": "DataBaseUtil.java", "file_ext": "java", "file_size_in_byte... | https://github.com/khaledchobi/rest-api-project | 225 | FILENAME: DataBaseUtil.java | 0.249447 | package com.rest.api.test.databaseLib;
import java.sql.*;
public class DataBaseUtil {
public static void main(String[] args) throws SQLException {
// create the connection with database
String myDriver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
String myUrl = "jdbc:sqlserver://loca... |
14bb3920-51d9-4ff7-b6e6-9256db3d985d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-09-16 09:11:54", "repo_name": "ycy2012/ylbms", "sub_path": "/src/com/ylbms/system/service/MenuService.java", "file_name": "MenuService.java", "file_ext": "java", "file_size_in_byte": 1187, "line_count": 66, "lang... | https://github.com/ycy2012/ylbms | 299 | FILENAME: MenuService.java | 0.277473 | package com.ylbms.system.service;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
... |
b4280037-1d2e-43e0-ad09-531411b12c50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-20 19:08:24", "repo_name": "richthofen911/LibDevContainer", "sub_path": "/app/src/main/java/net/callofdroidy/libdevcontainer/ActivityMain.java", "file_name": "ActivityMain.java", "file_ext": "java", "file_size... | https://github.com/richthofen911/LibDevContainer | 199 | FILENAME: ActivityMain.java | 0.235108 | package net.callofdroidy.libdevcontainer;
import android.content.ContentValues;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
public class ActivityMain extends AppCompatActivity {
... |
8fd08fff-4a88-4769-a06d-6ac61a770904 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-03-03T04:11:50", "repo_name": "jer/docker_playground", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1167, "line_count": 38, "lang": "en", "doc_type": "text", "blo... | https://github.com/jer/docker_playground | 302 | FILENAME: README.md | 0.208179 | Docker Playground
=================
This is a Vagrant image for playing with various docker images. Just
run `vagrant up`, and there is a working docker with a handful of
`Dockerfile`s for experimentation.
Docker build scripts
--------------------
**chef-solo**: Intended as a playground for creating Docker images wi... |
2036a777-182c-425e-a4bf-a288b1e680d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-28 10:52:53", "repo_name": "A-Julien/krowemarf", "sub_path": "/krowemarf-kernel/src/main/java/appli/connexion/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count": ... | https://github.com/A-Julien/krowemarf | 244 | FILENAME: Main.java | 0.261331 | package appli.connexion;
import com.prckt.krowemarf.struct.Server.Server;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import java.io.File;
import java.net.URL;
public class Main extends Application {
... |
7335b1b3-8354-4bb2-9bfb-231a34ddd6c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-20T21:26:38", "repo_name": "garrensweet/laravel-elixir-env", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1087, "line_count": 56, "lang": "en", "doc_type": "te... | https://github.com/garrensweet/laravel-elixir-env | 277 | FILENAME: README.md | 0.279042 | # laravel-elixir-env
[![NPM version][npm-image]][npm-url]
Use .env variables in your Javascript files with Laravel Elixir.
Currently supports Webpack.
## Installation
`
npm install laravel-elixir-env --save
`
or
`
yarn add laravel-elixir-env
`
## Requirements
- Laravel Elixir
- Laravel-elixir-webpack-official... |
ed9ebdfa-caf7-4c06-ad36-1bfee294ccd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-11-24 01:40:10", "repo_name": "rafikrafael/avaliacao-jpa-2012", "sub_path": "/src/main/java/entidade/ComposedProduct.java", "file_name": "ComposedProduct.java", "file_ext": "java", "file_size_in_byte": 1066, "lin... | https://github.com/rafikrafael/avaliacao-jpa-2012 | 203 | FILENAME: ComposedProduct.java | 0.23793 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package entidade;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import ja... |
39189964-781f-4128-85a0-59ba94bbee44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-02 12:48:23", "repo_name": "hanlipengpeng/blog", "sub_path": "/CloudDocLib/src/com/cdl/servlet/JspServlet.java", "file_name": "JspServlet.java", "file_ext": "java", "file_size_in_byte": 1085, "line_count": 47,... | https://github.com/hanlipengpeng/blog | 204 | FILENAME: JspServlet.java | 0.290176 | package com.cdl.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class JspServlet extends HttpServlet{
public J... |
9f5587ef-a885-4db2-b89e-2d6aa78f3f0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-06 17:39:08", "repo_name": "theNightosphere/JStateDrawer", "sub_path": "/src/edu/uwm/JStateDrawer/DrawerMain.java", "file_name": "DrawerMain.java", "file_ext": "java", "file_size_in_byte": 1167, "line_count": ... | https://github.com/theNightosphere/JStateDrawer | 252 | FILENAME: DrawerMain.java | 0.292595 | package edu.uwm.JStateDrawer;
import org.jhotdraw.app.Application;
import org.jhotdraw.app.DefaultApplicationModel;
import org.jhotdraw.app.MDIApplication;
import org.jhotdraw.app.OSXApplication;
import org.jhotdraw.app.SDIApplication;
public class DrawerMain {
/**
* Main.
*
*/
/** Creates a new insta... |
aba93390-99fb-4f95-821b-547518fe4951 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-27 05:00:57", "repo_name": "zachtjones/Java-Compiler", "sub_path": "/src/main/java/main/FileWriter.java", "file_name": "FileWriter.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 33, "lang"... | https://github.com/zachtjones/Java-Compiler | 194 | FILENAME: FileWriter.java | 0.259826 | package main;
import helper.CompileException;
import org.jetbrains.annotations.NotNull;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class FileWriter {
/**
* Utility method for writing to the output directory
* @param directory The OutputDirs constant for the directory.
... |
5116e042-e2fb-490c-9a18-c05dae5fc64e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-06 10:52:56", "repo_name": "moali2402/Git", "sub_path": "/Android/APPS/Rave/src/dev/vision/rave/views/SquareText.java", "file_name": "SquareText.java", "file_ext": "java", "file_size_in_byte": 1012, "line_coun... | https://github.com/moali2402/Git | 209 | FILENAME: SquareText.java | 0.293404 | package dev.vision.rave.views;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;
public class SquareText extends TextView {
int bH = 80;
public SquareText(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
}
public Sq... |
110eabbf-26bd-4df1-80a2-87779c363bca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-29 14:52:29", "repo_name": "pauloavelar/donee-android", "sub_path": "/app/src/main/java/me/avelar/donee/util/ConnectivityHelper.java", "file_name": "ConnectivityHelper.java", "file_ext": "java", "file_size_in_... | https://github.com/pauloavelar/donee-android | 206 | FILENAME: ConnectivityHelper.java | 0.259826 | package me.avelar.donee.util;
import android.content.Context;
import android.location.LocationManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public final class ConnectivityHelper {
public static boolean isConnectedToInternet(Context c) {
ConnectivityManager cm = (Connect... |
21ed9ad6-a743-4a37-9ed6-4421c0495b6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-01 16:54:50", "repo_name": "abhishekghante/RestAPI", "sub_path": "/src/main/java/com/RestAPI/RestApiApplication.java", "file_name": "RestApiApplication.java", "file_ext": "java", "file_size_in_byte": 1163, "li... | https://github.com/abhishekghante/RestAPI | 251 | FILENAME: RestApiApplication.java | 0.250913 | package com.RestAPI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import com.RestAPI.dao.userDetailDao;
import com.RestAPI.model.UserDetails;
@SpringBootApplication
public class RestApiAp... |
b1158980-8e69-43cf-a051-c94a581be3e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 02:11:13", "repo_name": "TongzheZhang/CodeWork", "sub_path": "/Android/CS8803-Mobile-Appplications-and-Services/app/src/main/java/com/jluo80/amazinggifter/utils/URLReader.java", "file_name": "URLReader.java... | https://github.com/TongzheZhang/CodeWork | 231 | FILENAME: URLReader.java | 0.284576 | package com.jluo80.amazinggifter.utils;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
public class URLReader {
public static String sendGet(String address) throws Exception{
URL url = new URL(address);
URLConnection connecti... |
81403729-d5f5-463b-8395-db63baacb264 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-30 14:42:34", "repo_name": "vinsguru/vinsguru-blog-code-samples", "sub_path": "/architectural-pattern/saga-choreography/inventory-service/src/main/java/com/vinsguru/inventory/config/InventoryConfig.java", "fil... | https://github.com/vinsguru/vinsguru-blog-code-samples | 205 | FILENAME: InventoryConfig.java | 0.291787 | package com.vinsguru.inventory.config;
import com.vinsguru.events.inventory.InventoryEvent;
import com.vinsguru.events.order.OrderEvent;
import com.vinsguru.events.order.OrderStatus;
import com.vinsguru.inventory.service.InventoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... |
181d7acd-0f8d-4f6d-a7db-ad996a296dee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-18 12:12:42", "repo_name": "jkueng83/OO", "sub_path": "/src/at/cc/jk/OO/Mensch/Athlete.java", "file_name": "Athlete.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 39, "lang": "en", "doc_ty... | https://github.com/jkueng83/OO | 251 | FILENAME: Athlete.java | 0.291787 | package at.cc.jk.OO.Mensch;
public class Athlete extends Person {
private int fitnessLevel;
private int weekTrainingHours;
public Athlete(String firstName, String familyName, String birthday, float weight, float height , int fitnessLevel,
int weekTrainingHours) {
super(firstNam... |
4937c02e-55d4-401c-b428-b6c5d73579d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-15 09:44:44", "repo_name": "AnnaPivovarchik/pdd", "sub_path": "/app/src/main/java/com/anna/pdd/SplashScreen/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/AnnaPivovarchik/pdd | 193 | FILENAME: SplashActivity.java | 0.221351 | package com.anna.pdd.SplashScreen;
import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import com.anna.pdd.Home.MainActivity;
import com.anna.pdd.LoginActivity;
import com.anna... |
2c62c999-b3c4-4de9-819d-15c6b67f59d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-26 09:42:09", "repo_name": "gdufexzq/exercise_app", "sub_path": "/src/main/java/com/gdufe/exercise_app/entity/CourseCategory.java", "file_name": "CourseCategory.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/gdufexzq/exercise_app | 298 | FILENAME: CourseCategory.java | 0.204342 | package com.gdufe.exercise_app.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/... |
b44e8b14-971f-48b4-b9b3-b489aaeedc5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-14 16:54:40", "repo_name": "AlawnLyu/lyu-tech", "sub_path": "/src/main/java/com/lyu/tech/common/config/security/CustomLogoutHandler.java", "file_name": "CustomLogoutHandler.java", "file_ext": "java", "file_siz... | https://github.com/AlawnLyu/lyu-tech | 209 | FILENAME: CustomLogoutHandler.java | 0.213377 | package com.lyu.tech.common.config.security;
import com.lyu.tech.common.util.redis.RedisCache;
import com.lyu.tech.sys.entity.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org... |
650b33e4-8c5f-45e2-bb7d-33a9347b4b57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-15 16:01:53", "repo_name": "AlisaMartyanova/Linux_System_Monitor", "sub_path": "/src/main/java/GpuTypes/Nvidia/NvidiaGpu.java", "file_name": "NvidiaGpu.java", "file_ext": "java", "file_size_in_byte": 1077, "li... | https://github.com/AlisaMartyanova/Linux_System_Monitor | 238 | FILENAME: NvidiaGpu.java | 0.272025 | import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import java.util.ArrayList;
public class NvidiaGpu extends Gpu {
NvidiaUtilization nvUtilization;
NvidiaMemory nvMemory;
public NvidiaGpu() {
super();
nvUtilization = new NvidiaUt... |
f92e2ea2-f536-4e9f-8231-af04dff10541 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-03 08:24:24", "repo_name": "piglete/DAST", "sub_path": "/app_base/src/main/java/club/map/base/model/AuthToken.java", "file_name": "AuthToken.java", "file_ext": "java", "file_size_in_byte": 1109, "line_count": ... | https://github.com/piglete/DAST | 230 | FILENAME: AuthToken.java | 0.255344 | package club.map.base.model;
import club.map.core.model.RootObject;
import club.map.core.model.TableName;
@TableName("auth_token")
public class AuthToken extends RootObject {
private String token;
private Integer type;
private Integer foreignId;
public String getToken() {
return token;
... |
78e0250f-6dbe-4e46-ab1a-177e48c19f81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-25 13:52:21", "repo_name": "zhabba/jdbctest", "sub_path": "/src/JDBCTest.java", "file_name": "JDBCTest.java", "file_ext": "java", "file_size_in_byte": 1142, "line_count": 36, "lang": "en", "doc_type": "code", ... | https://github.com/zhabba/jdbctest | 230 | FILENAME: JDBCTest.java | 0.258326 | import java.sql.Connection;
import java.sql.SQLException;
/**
* Created by zhabba on 22.07.14.
*/
public class JDBCTest {
public static void main(String[] args) {
JDBCConnector JDBCConnector;
Connection myConnection = null;
if (args[0] == null) {
System.err.println("Server ty... |
20a839c1-7d79-4467-bcd4-c32210860210 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-20 17:59:36", "repo_name": "fedevelatec/asic-core", "sub_path": "/src/main/java/com/fedevela/core/cod/Messages.java", "file_name": "Messages.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count": ... | https://github.com/fedevelatec/asic-core | 238 | FILENAME: Messages.java | 0.294215 | package com.fedevela.core.cod;
/**
* Created by Federico on 20/04/14.
*/
import java.util.ArrayList;
import java.util.StringTokenizer;
public class Messages {
private int code;
private ArrayList params;
/**
*
* @param str String format
* <code>[|param1|param2|param3...|paramn]
*/
... |
eaad6e40-e7f5-490b-8626-e3e694fb6ccc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-21 20:08:59", "repo_name": "testcurry/javaweb", "sub_path": "/javaweb-servlet/servlet/src/com/testcy/servlet/ContextServlet.java", "file_name": "ContextServlet.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/testcurry/javaweb | 242 | FILENAME: ContextServlet.java | 0.261331 | package com.testcy.servlet;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;
public class ContextServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IO... |
c5a7fc0d-fe88-49da-9061-f5061adb3001 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-25 16:21:22", "repo_name": "yeehomfoo/sell-server", "sub_path": "/src/main/java/com/yeehom/learn/service/impl/CategoryServiceImpl.java", "file_name": "CategoryServiceImpl.java", "file_ext": "java", "file_size_... | https://github.com/yeehomfoo/sell-server | 217 | FILENAME: CategoryServiceImpl.java | 0.259826 | package com.yeehom.learn.service.impl;
import com.yeehom.learn.dataobject.ProductCategory;
import com.yeehom.learn.repository.ProductCategoryRepository;
import com.yeehom.learn.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import... |
d0118306-6946-4019-8538-ca1e54cbc2a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-22 12:53:51", "repo_name": "ha-heihei/DormitoryManage", "sub_path": "/src/test/java/com/lh/MyTest.java", "file_name": "MyTest.java", "file_ext": "java", "file_size_in_byte": 1166, "line_count": 43, "lang": "en... | https://github.com/ha-heihei/DormitoryManage | 257 | FILENAME: MyTest.java | 0.216012 | package com.lh;
import com.google.gson.Gson;
import com.lh.dao.ScoreMapper;
import com.lh.utils.ExcelUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import... |
915afc0c-c952-4ae3-b9af-7688dc697a5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-28T05:47:49", "repo_name": "Rtaylo16/At-What-Cost-", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 37, "lang": "en", "doc_type": "text", "bl... | https://github.com/Rtaylo16/At-What-Cost- | 237 | FILENAME: README.md | 0.253861 | # At What Cost?

## Table of contents
* [General info](#general-info)
* [Technologies](#technologies)
* [Usage](#usage)
## General info
At what cost is an e-commerce application that optimizes the customer experience.
This application is an online thrift store meant to stir up nostalgi... |
81f04b75-9d47-4037-9c17-157117aef58b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-19T03:21:44", "repo_name": "OI-wiki/api", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1168, "line_count": 89, "lang": "en", "doc_type": "text", "blob_id": "0f... | https://github.com/OI-wiki/api | 340 | FILENAME: README.md | 0.261331 | # API.oi-wiki.org
A collection of public APIs maintained by the OI Wiki Team.
## Installation
Clone the repository
```
npm install
```
For development:
```
npm run dev
```
To start:
```
npm run start
```
To debug in visual studio code:
```
npm run debug
```
Then run the `launch.json` configuration inside visua... |
57384b8b-94ef-4f92-9c94-cd5bf6689a6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-23 00:22:15", "repo_name": "quinscape/automaton", "sub_path": "/src/main/java/de/quinscape/automaton/model/view/CompositeComponent.java", "file_name": "CompositeComponent.java", "file_ext": "java", "file_size_... | https://github.com/quinscape/automaton | 235 | FILENAME: CompositeComponent.java | 0.286169 | package de.quinscape.automaton.model.view;
import de.quinscape.automaton.model.NamedModel;
import org.svenson.JSONTypeHint;
import java.util.List;
public class CompositeComponent
implements NamedModel
{
private String name;
private List<ViewDeclaration> declarations;
private Component root;
p... |
cdfb662f-56a8-4475-b737-aef375727b2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-07T17:03:25", "repo_name": "freebz/Lucene-in-Action", "sub_path": "/ch09/ex9-3.java", "file_name": "ex9-3.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 39, "lang": "en", "doc_type": "code... | https://github.com/freebz/Lucene-in-Action | 298 | FILENAME: ex9-3.java | 0.293404 | // 예제 9.3 워드넷 유의어 색인에서 유의어 찾아오기
public static void main(String[] args) throws IOException {
if (args.length != 2) {
System.out.println(
"java org.apache.lucene.wordnet.SynLookup <index path> <word>");
}
FSDirectory directory = FSDirectory.open(new File(args[0]));
IndexSearcher searcher = new Inde... |
4c9979bb-bca5-41b2-aab6-80b6b2a739b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-18 19:08:57", "repo_name": "BusraSahin/Employee_Project", "sub_path": "/EmployeeProject/src/main/java/MainApp.java", "file_name": "MainApp.java", "file_ext": "java", "file_size_in_byte": 1151, "line_count": 41... | https://github.com/BusraSahin/Employee_Project | 224 | FILENAME: MainApp.java | 0.272799 | import Controller.EmployeeController;
import Controller.EmployeeControllerImpl;
import Entity.Employee;
import java.util.List;
public class MainApp {
public static void main(String[] args) {
EmployeeController employeeController = new EmployeeControllerImpl();
Employee employee = new Employee();
... |
4b0bf2ae-e281-4029-8dd6-9770b6eba3d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-06T20:02:43", "repo_name": "prestodb/presto", "sub_path": "/presto-base-jdbc/src/main/java/com/facebook/presto/plugin/jdbc/JdbcMetadataConfig.java", "file_name": "JdbcMetadataConfig.java", "file_ext": "java", ... | https://github.com/prestodb/presto | 233 | FILENAME: JdbcMetadataConfig.java | 0.268941 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
4d68b733-e4c2-4763-aeda-bb3447cb3f8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 08:35:47", "repo_name": "infinitete/upchain-solution", "sub_path": "/consumer/src/main/java/com/fecred/cxpt/consumer/utils/netUtil.java", "file_name": "netUtil.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/infinitete/upchain-solution | 193 | FILENAME: netUtil.java | 0.228156 | package com.fecred.cxpt.consumer.utils;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.util.Enumeration;
public class netUtil {
public static final String getLocalIp() {
String ipString = "";
try {
Enumeration<NetworkInterface... |
dce6db19-2990-41c8-9b04-0c18c8aa9076 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-31 03:13:23", "repo_name": "firebat/common-java", "sub_path": "/common-monitor/src/main/java/common/monitor/servlet/MonitorServlet.java", "file_name": "MonitorServlet.java", "file_ext": "java", "file_size_in_b... | https://github.com/firebat/common-java | 199 | FILENAME: MonitorServlet.java | 0.27048 | package common.monitor.servlet;
import common.monitor.Cache;
import common.monitor.Monitor;
import org.apache.commons.lang3.StringUtils;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintW... |
bfb40b1a-8bf8-48f6-af7d-28e3eda8b250 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-02 15:12:59", "repo_name": "mikeoles/SwiftSet", "sub_path": "/app/src/main/java/com/michaeloles/swiftset/SortingGroups/LatMovementPatterns.java", "file_name": "LatMovementPatterns.java", "file_ext": "java", "f... | https://github.com/mikeoles/SwiftSet | 208 | FILENAME: LatMovementPatterns.java | 0.256832 | package com.michaeloles.swiftset.SortingGroups;
import com.michaeloles.swiftset.SortingCategory;
import com.michaeloles.swiftset.SortingGroup;
import com.michaeloles.swiftset.SortingGroups.Grip;
import java.io.Serializable;
public class LatMovementPatterns extends SortingGroup implements Serializable {
public La... |
aa4584be-8891-4c34-af21-85039d55c744 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-25 03:09:38", "repo_name": "guyuetftb/guyue-flink-learning", "sub_path": "/src/main/java/com/guyue/flink/duoyi/examples/KafkaSourceSimpleTest.java", "file_name": "KafkaSourceSimpleTest.java", "file_ext": "java... | https://github.com/guyuetftb/guyue-flink-learning | 275 | FILENAME: KafkaSourceSimpleTest.java | 0.267408 | package com.guyue.flink.duoyi.examples;
import com.guyue.utils.KafkaUtils;
import java.util.Properties;
import org.apache.flink.api.common.serialization.SimpleStringSchema;
import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
i... |
54535b0a-a009-41a8-ab44-0dd87f26a86c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-05 12:59:17", "repo_name": "ShamsTabish/AndroidSamples", "sub_path": "/Session10/app/src/main/java/com/acadgild/session10/SwipeRefreshDemo.java", "file_name": "SwipeRefreshDemo.java", "file_ext": "java", "file... | https://github.com/ShamsTabish/AndroidSamples | 183 | FILENAME: SwipeRefreshDemo.java | 0.261331 | package com.acadgild.session10;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
public class SwipeRefreshDemo extends AppCompatActivity {
SwipeRefreshLayout refreshLayout;
@Override
protected void... |
17b5a0d8-d969-4f90-b768-e9815cc9beec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-01 09:00:24", "repo_name": "aishadiga7/Google-Places-Assignment", "sub_path": "/app/src/main/java/com/robosoftin/assignment/myapplication/model/PlaceResults.java", "file_name": "PlaceResults.java", "file_ext":... | https://github.com/aishadiga7/Google-Places-Assignment | 237 | FILENAME: PlaceResults.java | 0.239349 | package com.robosoftin.assignment.myapplication.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
/**
* Created by aishwarya on 28/5/16.
*/
public class PlaceResults {
@SerializedName("html_attributions")
... |
94adecae-5dd0-4445-8629-d6d0cf17b9b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 13:46:10", "repo_name": "weeroshara/Hotel-Management-System", "sub_path": "/src/entity/RoomBookDate.java", "file_name": "RoomBookDate.java", "file_ext": "java", "file_size_in_byte": 1092, "line_count": 44, ... | https://github.com/weeroshara/Hotel-Management-System | 252 | FILENAME: RoomBookDate.java | 0.280616 | package entity;
import java.sql.Date;
public class RoomBookDate implements SupperEntity{
private RoomBookDatePK roomBookDatePK;
private Date bookingDate;
public RoomBookDate() {
}
public RoomBookDate(RoomBookDatePK roomBookDatePK, Date bookingDate) {
this.roomBookDatePK = roomBookDatePK... |
d1300acf-9df8-4b23-8642-5b0e0be97f02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-24T04:02:50", "repo_name": "ortizjavier10/employee-tracker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1111, "line_count": 40, "lang": "en", "doc_type": "te... | https://github.com/ortizjavier10/employee-tracker | 266 | FILENAME: README.md | 0.262842 | # Employee Tracker

## Description
Employee Traker is an application that helps you keep track of employees. Simply answer some questions and it will automatically update your employees database with the information. Try it for your employees!
## T... |
d1fb40d8-5a3c-4d82-9d0e-88d2010727bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-17 03:36:20", "repo_name": "ddeniel1/EP-Redes", "sub_path": "/src/java/main/br/com/cinemaja/AppStarter.java", "file_name": "AppStarter.java", "file_ext": "java", "file_size_in_byte": 1142, "line_count": 41, "l... | https://github.com/ddeniel1/EP-Redes | 270 | FILENAME: AppStarter.java | 0.290176 | package br.com.cinemaja;
import br.com.cinemaja.Model.Object.Session;
import br.com.cinemaja.Network.Client.Client;
import br.com.cinemaja.Network.Server.Server;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
public class AppStarter{
public static void main(String[] args) {
... |
59ec580e-ff2d-4ce2-b7a4-90901503ae61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-09T21:33:14", "repo_name": "otavioprado/gumga-passwordmeter", "sub_path": "/src/main/java/br/com/db1/gumga/passwordmeter/dto/PasswordMeterResponse.java", "file_name": "PasswordMeterResponse.java", "file_ext": ... | https://github.com/otavioprado/gumga-passwordmeter | 244 | FILENAME: PasswordMeterResponse.java | 0.27513 | package br.com.db1.gumga.passwordmeter.dto;
import java.util.Objects;
import br.com.db1.gumga.passwordmeter.enums.LevelScore;
public class PasswordMeterResponse {
private Long score;
private LevelScore levelScore;
public PasswordMeterResponse() {
}
public PasswordMeterResponse(Long score, LevelScore levelSco... |
e0b4e814-e0a1-4f41-819f-17c734fbeb52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-01-02 13:30:06", "repo_name": "PriyankaPathak/birdsquare", "sub_path": "/src/test/java/birdsquare/controller/LoginControllerTest.java", "file_name": "LoginControllerTest.java", "file_ext": "java", "file_size_in_b... | https://github.com/PriyankaPathak/birdsquare | 197 | FILENAME: LoginControllerTest.java | 0.264358 | package birdsquare.controller;
import org.junit.Before;
import org.junit.Test;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.annotation.AnnotationMe... |
0fbf6557-b2ec-46db-86a1-c88c68c73d7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 02:58:01", "repo_name": "hongchun166/SlideSwitchDome", "sub_path": "/app/src/main/java/com/thc/mydomeview/dome/SlideSwitchDomeActivity.java", "file_name": "SlideSwitchDomeActivity.java", "file_ext": "java",... | https://github.com/hongchun166/SlideSwitchDome | 240 | FILENAME: SlideSwitchDomeActivity.java | 0.278257 | package com.thc.mydomeview.dome;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.thc.mydomeview.R;
import thc.com.view.slideswitch.SlideSwitch;
/**
* Created by Nicky on 2017/1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.