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 |
|---|---|---|---|---|---|---|
dadeb10e-0e7e-4ef9-bce3-3d5c79363e83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-23 18:30:09", "repo_name": "executed/t-watch", "sub_path": "/src/main/java/com/devserbyn/twatch/controller/impl/DispatcherImpl.java", "file_name": "DispatcherImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/executed/t-watch | 212 | FILENAME: DispatcherImpl.java | 0.288569 | package com.devserbyn.twatch.controller.impl;
import com.devserbyn.twatch.controller.Dispatcher;
import com.devserbyn.twatch.controller.RequestResolver;
import com.devserbyn.twatch.model.bot.BaseBot;
import com.devserbyn.twatch.service.DispatcherService;
import com.devserbyn.twatch.service.ExceptionHandler;
import lom... |
136bbb6e-043e-41ce-8857-8c72687fa2d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-15 20:53:47", "repo_name": "mulwa/SuperMum", "sub_path": "/app/src/main/java/com/example/gen/supermum/Pojo/Reminder.java", "file_name": "Reminder.java", "file_ext": "java", "file_size_in_byte": 1084, "line_cou... | https://github.com/mulwa/SuperMum | 212 | FILENAME: Reminder.java | 0.199308 | package com.example.gen.supermum.Pojo;
public class Reminder {
private String reminderTitle;
private String description;
private String date;
private String time;
public Reminder() {
}
public Reminder(String reminderTitle, String description,
String date, String time) ... |
41f893a4-98a8-4537-ad29-9ec19176e804 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-24 08:44:24", "repo_name": "yanghp1984/CompInfo", "sub_path": "/src/main/java/common/exception/ExceptionResolver.java", "file_name": "ExceptionResolver.java", "file_ext": "java", "file_size_in_byte": 1234, "li... | https://github.com/yanghp1984/CompInfo | 247 | FILENAME: ExceptionResolver.java | 0.275909 | package common.exception;
import java.io.PrintWriter;
import java.io.StringWriter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.servlet.HandlerExceptionRe... |
f78a34f8-033d-45e4-8568-397181508220 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-20 13:42:37", "repo_name": "Gavinwgq/design-pattern", "sub_path": "/src/main/java/behavior/Interpreter/demo1/ExpressionNode.java", "file_name": "ExpressionNode.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Gavinwgq/design-pattern | 235 | FILENAME: ExpressionNode.java | 0.289372 | package behavior.Interpreter.demo1;
import com.google.common.collect.Lists;
import java.util.List;
/**
* @author wangguoqiang
* @date 2020/3/1 16:40
*/
public class ExpressionNode extends AbstractPracticeNode {
private AbstractPracticeNode practiceNode;
private static final String COPY = "COPY";
priva... |
1bf61fbc-16fa-454f-929e-9dd3594608e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-04T03:39:36", "repo_name": "santrasanchita13/PortfolioApp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1128, "line_count": 24, "lang": "en", "doc_type": "tex... | https://github.com/santrasanchita13/PortfolioApp | 323 | FILENAME: README.md | 0.285372 | # PortfolioApp
My portfolio
This app is a showcase of my Android development skills and a means to contact me for new apps. Instead of relying on a resume, I've built this app to make it easier to measure my app performance.
The app has material design, animations, custom components and Google API integration to show... |
6a1d68ec-7501-4259-a8e8-8a37307c5b1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-28 13:26:34", "repo_name": "diegowvalerio/dw-bi", "sub_path": "/dwbidiretor/dwbidiretor/src/main/java/br/com/dwbidiretor/converter/SigeModuloConverter.java", "file_name": "SigeModuloConverter.java", "file_ext"... | https://github.com/diegowvalerio/dw-bi | 253 | FILENAME: SigeModuloConverter.java | 0.279042 | package br.com.dwbidiretor.converter;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.FacesConverter;
import br.com.dwbidiretor.classe.SigeModulo;
@FacesConverter(forClass = SigeModulo.class,value="conversorSigeModulo... |
15b7cbaa-1712-469f-9237-2821a2df85f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-18 15:19:58", "repo_name": "omarsahl/HashLearning", "sub_path": "/src/main/java/com/hashlearning/utils/validators/PasswordConfirmationMismatchValidator.java", "file_name": "PasswordConfirmationMismatchValidato... | https://github.com/omarsahl/HashLearning | 205 | FILENAME: PasswordConfirmationMismatchValidator.java | 0.274351 | package com.hashlearning.utils.validators;
import com.jfoenix.controls.JFXPasswordField;
import com.jfoenix.controls.JFXTextField;
import com.jfoenix.validation.base.ValidatorBase;
import javafx.scene.control.TextInputControl;
/**
* Created by Omar on 09-Dec-16
*/
public class PasswordConfirmationMismatchValidator ... |
34471755-743c-4616-bbee-76b45d301a89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-29 06:32:21", "repo_name": "YHH-HJ/springboot02", "sub_path": "/src/main/java/com/atguigu/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte": 1080, "li... | https://github.com/YHH-HJ/springboot02 | 240 | FILENAME: UserController.java | 0.27513 | package com.atguigu.controller;
import com.atguigu.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
@RestController
@RequestMa... |
34561357-fff5-4e92-84c2-ea43c203233b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-07T18:31:51", "repo_name": "OxfordCity/oxfordcity.github.io", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1127, "line_count": 14, "lang": "en", "doc_type": "t... | https://github.com/OxfordCity/oxfordcity.github.io | 251 | FILENAME: README.md | 0.233706 | # oxfordcity.github.io
This is the GitHub Pages site used to supply the front-end for the Oxfordshire Data Portal at www.oxopendata.uk
The main portal uses the Socrata platform, but as this does not enable 'pages' to be created, this site sits in the front to enable additional information to be provided and more easil... |
85432d17-d1d8-4857-ae21-83a790b79dee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-21 10:12:32", "repo_name": "pordaniel01/Car-rental-website", "sub_path": "/back-end/cars/src/main/java/pd/cars/cars/model/Rent.java", "file_name": "Rent.java", "file_ext": "java", "file_size_in_byte": 1210, "l... | https://github.com/pordaniel01/Car-rental-website | 275 | FILENAME: Rent.java | 0.290176 | package pd.cars.cars.model;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import javax.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name = "rent")
public class Rent {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "re... |
2e0ffd3b-47e3-4023-a002-88941352eaf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-04 08:28:55", "repo_name": "JNU-econovation/contents-proxy-blog-team1", "sub_path": "/src/main/java/com/econo/hackday/contentsproxyblog/model/Post.java", "file_name": "Post.java", "file_ext": "java", "file_siz... | https://github.com/JNU-econovation/contents-proxy-blog-team1 | 239 | FILENAME: Post.java | 0.287768 | package com.econo.hackday.contentsproxyblog.model;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.List;
@Entity
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class Post {
@Id
@GeneratedValue(... |
0ee5164a-45b7-4492-b11e-b8654ad1ad45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-06 23:56:06", "repo_name": "stormpath/stormpath-spring-service-to-service-example", "sub_path": "/src/main/java/com/stormpath/examples/service/CommunicationService.java", "file_name": "CommunicationService.jav... | https://github.com/stormpath/stormpath-spring-service-to-service-example | 194 | FILENAME: CommunicationService.java | 0.259826 | package com.stormpath.examples.service;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.stormpath.examples.model.AccountsResponse;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.GetMethod;
import org.springframework.stereotype.Service;
import java.io.Buffe... |
eacf767b-ff55-4543-93dc-e1756f7466ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 05:14:33", "repo_name": "AochongZhang/openapi-auth-spring-boot-starter", "sub_path": "/src/main/java/com/zhangaochong/spring/starter/openapi/handler/DefaultAuthHandler.java", "file_name": "DefaultAuthHandle... | https://github.com/AochongZhang/openapi-auth-spring-boot-starter | 266 | FILENAME: DefaultAuthHandler.java | 0.239349 | package com.zhangaochong.spring.starter.openapi.handler;
import com.zhangaochong.spring.starter.openapi.properties.UserProperties;
import javax.annotation.Resource;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* 默认权限处理器实现
*
* @author AochongZhang
*/
public class DefaultAuthHandler ext... |
25d98249-ae9b-4f68-b7e8-c431c11f7b9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-22 10:03:52", "repo_name": "ZhicongLin/cgcg-base-starter", "sub_path": "/cgcg-base-spring-boot-starter/src/main/java/com/cgcg/base/language/Translator.java", "file_name": "Translator.java", "file_ext": "java",... | https://github.com/ZhicongLin/cgcg-base-starter | 215 | FILENAME: Translator.java | 0.259826 | package com.cgcg.base.language;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereot... |
d4fcee0c-81f8-465e-8de2-c6bdf476edb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-29 22:00:34", "repo_name": "elizaII/idgi", "sub_path": "/app/src/main/java/com/idgi/android/activity/SchoolListActivity.java", "file_name": "SchoolListActivity.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/elizaII/idgi | 220 | FILENAME: SchoolListActivity.java | 0.279828 | package com.idgi.android.activity;
import android.content.Intent;
import com.google.common.eventbus.Subscribe;
import com.idgi.R;
import com.idgi.android.ActivityType;
import com.idgi.core.Nameable;
import com.idgi.core.School;
import com.idgi.event.BusEvent;
import com.idgi.event.Event;
import com.idgi.service.FireD... |
0662976a-e627-499e-a636-bf291333d9a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-23 10:56:31", "repo_name": "milesburton/nzbair", "sub_path": "/providers/src/main/java/com/mb/nzbair/providers/converters/UsenetPostResultConverter.java", "file_name": "UsenetPostResultConverter.java", "file_e... | https://github.com/milesburton/nzbair | 217 | FILENAME: UsenetPostResultConverter.java | 0.292595 |
package com.mb.nzbair.providers.converters;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.Reader;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.map.ObjectMapper;
import com.mb.nzbair.providers.domain.UsenetPostResult;
i... |
3321f4d6-7420-4215-8280-e9dda3e8eb40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-25 14:11:19", "repo_name": "noobliuxg/JAVA-2", "sub_path": "/src/main/java/cn/com/java/thread/synch/DeadLock.java", "file_name": "DeadLock.java", "file_ext": "java", "file_size_in_byte": 1111, "line_count": 39... | https://github.com/noobliuxg/JAVA-2 | 215 | FILENAME: DeadLock.java | 0.274351 | package cn.com.java.thread.synch;
public class DeadLock {
private static final Object lockA = new Object();
private static final Object lockB = new Object();
public static void main(String[] args) {
new Thread(()->{a();},"main-1").start();
try {
Thread.sleep(50);
} cat... |
b9bb5955-d247-4cba-94ab-835fbb3eccef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-10 21:03:55", "repo_name": "Raluxa/AutomationProject", "sub_path": "/src/main/java/steps/LoginLogoutPageSteps.java", "file_name": "LoginLogoutPageSteps.java", "file_ext": "java", "file_size_in_byte": 1067, "li... | https://github.com/Raluxa/AutomationProject | 237 | FILENAME: LoginLogoutPageSteps.java | 0.281406 | package steps;
import common.UserInfo;
import net.thucydides.core.annotations.Step;
import net.thucydides.core.steps.ScenarioSteps;
import pages.LoginLogoutPage;
public class LoginLogoutPageSteps extends ScenarioSteps {
LoginLogoutPage sp;
@Step("Test 1: Login button functionality ")
public void loginOp... |
0f7860e9-962f-40f8-8c17-0a0556f64cc5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-10 23:52:50", "repo_name": "filiperecharte/SpaceInvaders", "sub_path": "/src/main/java/com/spaceinvaders/controller/states/playstate/playstatecontrollers/EnemiesShotsGenerator.java", "file_name": "EnemiesShots... | https://github.com/filiperecharte/SpaceInvaders | 244 | FILENAME: EnemiesShotsGenerator.java | 0.294215 | package com.spaceinvaders.controller.states.playstate.playstatecontrollers;
import com.spaceinvaders.model.arena.Arena;
import com.spaceinvaders.model.enemy.Enemy;
import com.spaceinvaders.model.pools.ShotPool;
import com.spaceinvaders.model.shots.Shot;
public class EnemiesShotsGenerator {
private Arena arena;
... |
83466cd3-6aac-4601-ac1c-049a91b2b2b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-29T03:53:55", "repo_name": "Nodirbek94/TeamProfileGenerator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1235, "line_count": 40, "lang": "en", "doc_type": "t... | https://github.com/Nodirbek94/TeamProfileGenerator | 322 | FILENAME: README.md | 0.289372 | # Team Profile Generator
## Description
This project demonstrates the node.js inquirer method and testing. It asks the user to enter information about individual team member such as engineer or intern and it renders the information and displays it the information to cards.
## Table of Contents
* [Installation](#inst... |
d15b8c82-18be-4330-95cc-20622d82e51a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-25 19:39:15", "repo_name": "kolatkat/java_dla_testera_selenium", "sub_path": "/test/java/tests/BaseTest.java", "file_name": "BaseTest.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 38, "lan... | https://github.com/kolatkat/java_dla_testera_selenium | 200 | FILENAME: BaseTest.java | 0.249447 | package tests;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import ... |
c31d70b7-0c64-497c-892f-225b36a2028e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-17 05:10:03", "repo_name": "Vigor377/springboot2.x_Java", "sub_path": "/Service_Tier/Blog_Service/src/main/java/com/chen/pei/service/Impl/LoginServiceImpl.java", "file_name": "LoginServiceImpl.java", "file_ext... | https://github.com/Vigor377/springboot2.x_Java | 218 | FILENAME: LoginServiceImpl.java | 0.250913 | package com.chen.pei.service.Impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chen.pei.entity.Blogger;
import com.chen.pei.mapper.BloggerMapper;
import com.chen.pei.mapper.LoginMapper;
import com.chen.pei.service.Lo... |
0ed52519-4e12-4ecc-908d-7cbcd69188cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-03 13:25:50", "repo_name": "SeekingHearts/ECSurvivalSystem", "sub_path": "/[EC] SurvivalSystem/src/me/aaron/survivalsystem/listeners/trade/listenerGameModeChange.java", "file_name": "listenerGameModeChange.jav... | https://github.com/SeekingHearts/ECSurvivalSystem | 283 | FILENAME: listenerGameModeChange.java | 0.289372 | package me.aaron.survivalsystem.listeners.trade;
import org.bukkit.GameMode;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerGameModeChangeEvent;
import me.aaron.survivalsystem.main.Main;
import me.aaron.survivalsys... |
d26d02a7-fa24-480c-81c9-d6ed050de533 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-19 05:55:06", "repo_name": "s838378358/nb-iot-gh-group", "sub_path": "/src/main/java/com/weeg/callbackHandler/CallbackHandlerImpl/Upload200ACallBackHandler.java", "file_name": "Upload200ACallBackHandler.java",... | https://github.com/s838378358/nb-iot-gh-group | 238 | FILENAME: Upload200ACallBackHandler.java | 0.290176 | package com.weeg.callbackHandler.CallbackHandlerImpl;
import com.weeg.callbackHandler.CallbackFactory;
import com.weeg.callbackHandler.CallBackHandler;
import com.weeg.util.DataFomat;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Component;
/**
* Created by SJ on 2020/8/13
*/
@Component
publi... |
f69aa904-0f30-4d3e-bfa1-4d5201332dd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 11:12:04", "repo_name": "yelang10000/power", "sub_path": "/src/main/java/com/sun/power/modules/system/user/dto/QueryUserVo.java", "file_name": "QueryUserVo.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/yelang10000/power | 260 | FILENAME: QueryUserVo.java | 0.184768 | package com.sun.power.modules.system.user.dto;
import com.sun.power.core.aop.mysql.MysqlQueryFieldHandle;
import com.sun.power.core.common.entity.BaseRequestVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @author : caoxin
* @Date: 2019/4/18
* @Description: 查询所有、模糊查询请求
*/
@Data
publi... |
70b9042d-44c9-4490-8376-db160cc536ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-26 00:49:46", "repo_name": "cbustamantem/testApp", "sub_path": "/src/main/java/cast/testapp/invoice/boundary/impl/InvoiceFileReaderImpl.java", "file_name": "InvoiceFileReaderImpl.java", "file_ext": "java", "fi... | https://github.com/cbustamantem/testApp | 221 | FILENAME: InvoiceFileReaderImpl.java | 0.250913 | /*
* 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 cast.testapp.invoice.boundary.impl;
import cast.testapp.invoice.boundary.InvoiceFileReader;
import java.io.File;
/**
*
* @a... |
23ebd960-ea1d-49ce-8aac-3956b11567c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-30 11:21:13", "repo_name": "waninoko68/ListViewHomework", "sub_path": "/app/src/main/java/wm/list/AnimalDetailsActivity.java", "file_name": "AnimalDetailsActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/waninoko68/ListViewHomework | 185 | FILENAME: AnimalDetailsActivity.java | 0.212069 | package wm.list;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import wm.list.model.Animal;
import static android.R.attr.name;
public class AnimalDetailsActivity extends AppCompatActivity {
... |
63f98fad-7fcd-4fc7-8e5c-a746790769a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-26 13:42:57", "repo_name": "15719298615/flink", "sub_path": "/src/main/java/com/atguigu/reflection/reflection_test1.java", "file_name": "reflection_test1.java", "file_ext": "java", "file_size_in_byte": 997, "l... | https://github.com/15719298615/flink | 244 | FILENAME: reflection_test1.java | 0.246533 | package com.atguigu.reflection;
import cn.hutool.core.util.ClassUtil;
import cn.hutool.crypto.SecureUtil;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* @author:yaoshuai.1024
* @date: 2021/1/25 4:58 下午
*/
public class reflectio... |
d2ea5da4-f618-4f57-8fa7-eadf7b5836d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-31 01:03:25", "repo_name": "PluCial/plucial-blog", "sub_path": "/src/com/appspot/plucial/controller/account/ActivityDeleteController.java", "file_name": "ActivityDeleteController.java", "file_ext": "java", "fi... | https://github.com/PluCial/plucial-blog | 210 | FILENAME: ActivityDeleteController.java | 0.239349 | package com.appspot.plucial.controller.account;
import java.util.ArrayList;
import org.slim3.controller.Navigation;
import com.appspot.plucial.model.ActivityModel;
import com.appspot.plucial.model.UserModel;
import com.appspot.plucial.service.ActivityService;
public class ActivityDeleteController extends BaseContro... |
3b00153e-67fe-45de-8ed3-ebe0ac91938b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-11-04T04:27:10", "repo_name": "RyanScottLewis/static_template-metalsmith-bootstrap-knockout", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1127, "line_count": 44,... | https://github.com/RyanScottLewis/static_template-metalsmith-bootstrap-knockout | 298 | FILENAME: README.md | 0.2227 | ## Static Website Template
A template for creating static sites.
**Languages/Libraries:**
* [NodeJS][nodejs]
* [Metalsmith][metalsmith]
* [Bootstrap][bootstrap]
* [Knockout][knockout]
* [Coffeescript][coffeescript]
* [HAML][haml]
* [SASS][sass]
## Usage
## Setup
`cake setup`
## Build
Single: `cake build`
Watc... |
7dedbdfd-d5a7-4b28-8537-06901a8d214c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-09-03 14:41:23", "repo_name": "VersusProject/versus-service", "sub_path": "/src/main/java/edu/illinois/ncsa/versus/service/FreeMarkerServletConfig.java", "file_name": "FreeMarkerServletConfig.java", "file_ext": "... | https://github.com/VersusProject/versus-service | 187 | FILENAME: FreeMarkerServletConfig.java | 0.236516 | /**
*
*/
package edu.illinois.ncsa.versus.service;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import freemarker.template.Configuration;
import freemarker.template.DefaultObjectWrapper;
/**
* Setup FreeMarker for templating.
*
* @... |
c8540bda-a33a-4f41-ab8d-acebb0a72dbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-19 15:19:57", "repo_name": "oflynned/JS-Assignments", "sub_path": "/3D5 Software Design/2-ToDo List/app/src/main/java/com/example/android/todolistgh/Connectivity.java", "file_name": "Connectivity.java", "file_... | https://github.com/oflynned/JS-Assignments | 200 | FILENAME: Connectivity.java | 0.246533 | package com.example.android.todolistgh;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.widget.Toast;
/**
* Created by ed on 27/11/15.
*/
public class Connectivity {
Context context;
public Connectivity(Context context){
this.context = context;... |
a1b5b5ea-ee58-4f68-9041-108a19ee0b1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-01 09:55:11", "repo_name": "Relynn/DontOpenTheDoor", "sub_path": "/app/src/main/java/edu/calbaptist/android/dontopenthedoorgame/database/DoorGameBaseHelper.java", "file_name": "DoorGameBaseHelper.java", "file_... | https://github.com/Relynn/DontOpenTheDoor | 231 | FILENAME: DoorGameBaseHelper.java | 0.262842 | package edu.calbaptist.android.dontopenthedoorgame.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import edu.calbaptist.android.dontopenthedoorgame.database.DoorGameDbSchema.PlayerTable;
/**
* Created by lynnreilly on 11/8/... |
5dffbdb9-7c9a-4c51-9ef0-8eeb321497a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-07 16:54:44", "repo_name": "KarlJiaweiZ/UG2_JAVA", "sub_path": "/Sample/09Week/src/sample/DelegationTest.java", "file_name": "DelegationTest.java", "file_ext": "java", "file_size_in_byte": 1030, "line_count": ... | https://github.com/KarlJiaweiZ/UG2_JAVA | 258 | FILENAME: DelegationTest.java | 0.273574 | package sample;
import javax.swing.JFrame;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class DelegationTest extends JFrame implements ActionListener {
private static final long serialVersionUID = 1... |
e7f8b9cb-91cb-4788-87f5-eddcd4d13a96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-05 03:23:10", "repo_name": "fan764093434/ChatUI", "sub_path": "/app/src/main/java/com/fsw/chat_ui/widget/chatrow/ChatRowFile.java", "file_name": "ChatRowFile.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/fan764093434/ChatUI | 236 | FILENAME: ChatRowFile.java | 0.290176 | package com.fsw.chat_ui.widget.chatrow;
import android.content.Context;
import com.fsw.chat_ui.ChatMessage;
import com.fsw.chat_ui.R;
import com.fsw.chat_ui.adapter.viewholder.ChatFileViewHolder;
import com.fsw.chat_ui.entity.Message;
/**
* Created by Admin on 2017/4/8.
*/
public class ChatRowFile extends ChatRow... |
d4bea0cb-00f6-4c6b-a721-681bf4a6d4d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-21 12:52:47", "repo_name": "joe-bq/algorithms", "sub_path": "/PojAlgorithms/src/dynamic/ScribersSolution.java", "file_name": "ScribersSolution.java", "file_ext": "java", "file_size_in_byte": 1079, "line_count"... | https://github.com/joe-bq/algorithms | 344 | FILENAME: ScribersSolution.java | 0.29584 | package dynamic;
import java.util.Scanner;
/* the link to the problem is :http://poj.org/problem?id=1505
*
problem 1505...
the problem is not yet done.
*/
public class ScribersSolution {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int inputCount... |
7d7681be-b695-407b-88ad-532ba03330a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-18 12:18:34", "repo_name": "StephanK90/FootballSimulator", "sub_path": "/src/FootballSimulator/Round.java", "file_name": "Round.java", "file_ext": "java", "file_size_in_byte": 1047, "line_count": 44, "lang": "... | https://github.com/StephanK90/FootballSimulator | 223 | FILENAME: Round.java | 0.278257 | /*
* 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 FootballSimulator;
import java.util.ArrayList;
/**
*
* @author Stephan
*/
public class Round {
private... |
32648397-2fdb-4cc6-aff5-9662c1d507b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-09 07:35:31", "repo_name": "SamWain/BasiqPVE", "sub_path": "/src/com/basiqnation/basiqpve/PlayerListener.java", "file_name": "PlayerListener.java", "file_ext": "java", "file_size_in_byte": 1112, "line_count": ... | https://github.com/SamWain/BasiqPVE | 267 | FILENAME: PlayerListener.java | 0.27513 | package com.basiqnation.basiqpve;
import java.sql.SQLException;
import org.bukkit.entity.*;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
public class PlayerListener implements Listener {
publi... |
0a56190a-0761-4e29-96d3-6014c2a27eac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-21 02:09:59", "repo_name": "kukaro/Tiramisu", "sub_path": "/TiramisuProject/Tiramisu/src/work/model/dto/Image.java", "file_name": "Image.java", "file_ext": "java", "file_size_in_byte": 1280, "line_count": 83, ... | https://github.com/kukaro/Tiramisu | 321 | FILENAME: Image.java | 0.249447 | package work.model.dto;
/**
* 사진
* ID : 시퀀스 + 프라이머리
* 파일명 : 200자
* @author cse
*
*/
public class Image {
private int imageId;
private String fileName;
/**
* Image 기본 생성자
*/
public Image() {
super();
}
/**
* Image 필수 / 모든 데이터 생성자
* @param imageId
* @param fileName
*/
public Image(int im... |
d94349d1-e879-4895-a69f-f55df8f03964 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-08 22:30:26", "repo_name": "HassenBenSlima/Mini-Project-Java", "sub_path": "/workspace/base/src/main/java/com/csys/parametrageachat/domain/Specialite.java", "file_name": "Specialite.java", "file_ext": "java", ... | https://github.com/HassenBenSlima/Mini-Project-Java | 223 | FILENAME: Specialite.java | 0.235108 | /*
* 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.csys.parametrageachat.domain;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
i... |
1f74ae14-7078-449b-ad5f-1cf724b2d444 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-16 19:24:21", "repo_name": "soderdahl/FileHandle", "sub_path": "/src/test/java/se/kth/payment/PaymentParserServiceTest.java", "file_name": "PaymentParserServiceTest.java", "file_ext": "java", "file_size_in_byt... | https://github.com/soderdahl/FileHandle | 212 | FILENAME: PaymentParserServiceTest.java | 0.283781 | package se.kth.payment;
import org.junit.jupiter.api.Test;
import java.io.File;
import static org.junit.jupiter.api.Assertions.*;
class PaymentParserServiceTest {
PaymentParserService paymentParserService = new PaymentParserService();
@Test
void readPaymentFileBetalningsservice() {
String fileP... |
ad1fe4a6-99d9-4cac-9172-3a1debf33454 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-11 14:14:28", "repo_name": "pr7vinas/atlas-api", "sub_path": "/src/main/java/com/atlas/api/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 306, "line_count": 34, "lang": "en", "doc... | https://github.com/pr7vinas/atlas-api | 265 | FILENAME: App.java | 0.27048 | /*
* Copyright 2016 Atlas, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... |
2de525f0-74ae-4d86-b57b-123f685827f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-27 14:16:43", "repo_name": "arraycto/Market-Data-Analysis", "sub_path": "/demo/src/main/java/com/example/demo/controller/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_si... | https://github.com/arraycto/Market-Data-Analysis | 224 | FILENAME: LoginController.java | 0.253861 | package com.example.demo.controller;
import com.example.demo.mapper.AdministratorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPar... |
320c5d32-eb4e-42ba-b8f8-18bb6eedcb87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 02:56:35", "repo_name": "hana153/Lab-7", "sub_path": "/src/QueueHospital.java", "file_name": "QueueHospital.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 57, "lang": "en", "doc_type": "... | https://github.com/hana153/Lab-7 | 219 | FILENAME: QueueHospital.java | 0.268941 | import java.util.LinkedList;
public class QueueHospital<PatientType> extends Hospital<PatientType>
{
private LinkedList<PatientType> waitList;
// constructor to initialize waitList
public QueueHospital()
{
waitList = new LinkedList<PatientType>();
}
@Override
public void addPati... |
3861542e-328c-4805-8d07-00f1031d7637 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-25 15:22:34", "repo_name": "yangmingyu06/javaWork", "sub_path": "/javaWork05/work08/mystarter/src/main/java/mingyu/data/MailService.java", "file_name": "MailService.java", "file_ext": "java", "file_size_in_byt... | https://github.com/yangmingyu06/javaWork | 250 | FILENAME: MailService.java | 0.276691 | /**
* @(#)MailService.java, 9月 06, 2021.
* <p>
* Copyright 2021 fenbi.com. All rights reserved.
* FENBI.COM PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package mingyu.data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import jav... |
7c4ac018-6be7-4030-b6c4-62005ef99179 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-20 14:27:24", "repo_name": "eXcellenceSPb/CRUD", "sub_path": "/src/main/java/controller/servlet/Filter/RoleServlet.java", "file_name": "RoleServlet.java", "file_ext": "java", "file_size_in_byte": 1127, "line_c... | https://github.com/eXcellenceSPb/CRUD | 196 | FILENAME: RoleServlet.java | 0.240775 | package controller.servlet.Filter;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
@WebFilter(urlPatterns = {"/listUser.jsp", "/Read", "/Up... |
c22af98e-4cc6-4dc2-878f-c20f23badb34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-20 16:25:14", "repo_name": "MinestomRewind/MinestomRewind", "sub_path": "/src/main/java/net/minestom/server/command/builder/arguments/minecraft/ArgumentColor.java", "file_name": "ArgumentColor.java", "file_ext... | https://github.com/MinestomRewind/MinestomRewind | 196 | FILENAME: ArgumentColor.java | 0.247987 | package net.minestom.server.command.builder.arguments.minecraft;
import net.kyori.adventure.text.format.NamedTextColor;
import net.kyori.adventure.text.format.TextColor;
import net.minestom.server.command.builder.arguments.Argument;
import net.minestom.server.command.builder.exception.ArgumentSyntaxException;
import o... |
24b90699-0e8e-43d0-ae45-6a6b65b7d344 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-17 04:01:37", "repo_name": "vipulbhale/splitter", "sub_path": "/src/main/java/aug/manas/splitter/web/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "file_size_in_byte": 992, "lin... | https://github.com/vipulbhale/splitter | 168 | FILENAME: HomeController.java | 0.252384 | package aug.manas.splitter.web;
import static org.springframework.web.bind.annotation.RequestMethod.*;
import org.apache.log4j.Logger;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
impo... |
dda42f51-534a-427f-bd14-224f019c12d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-19 07:28:47", "repo_name": "claboran/priceimporter", "sub_path": "/src/test/java/de/laboranowitsch/priceimporter/testutil/FactDataRecordHelper.java", "file_name": "FactDataRecordHelper.java", "file_ext": "java... | https://github.com/claboran/priceimporter | 244 | FILENAME: FactDataRecordHelper.java | 0.285372 | package de.laboranowitsch.priceimporter.testutil;
import de.laboranowitsch.priceimporter.domain.FactData;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import javax.sql.DataSource;
import java.util.List;
/**
* Reads {@link de.laboranowitsch.priceimporter.domain.FactData} for test purpo... |
c679f70d-03c1-4c82-accf-1c06fefe1822 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-16 11:50:35", "repo_name": "ainilili/no-framework", "sub_path": "/nico-nocat/src/main/java/org/nico/cat/server/processer/response/chains/segment/ProcessSession.java", "file_name": "ProcessSession.java", "file_... | https://github.com/ainilili/no-framework | 252 | FILENAME: ProcessSession.java | 0.282988 | package org.nico.cat.server.processer.response.chains.segment;
import java.util.Base64;
import java.util.Date;
import org.nico.cat.config.ConfigKey;
import org.nico.cat.server.container.Container;
import org.nico.cat.server.processer.response.chains.AbstractResponseProcess;
import org.nico.cat.server.request.Request;... |
5643f4ad-b355-4505-b331-5f3820e44ff5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-16 13:21:40", "repo_name": "mohamedkhairy953/WeatherStatusSharing", "sub_path": "/core/src/main/java/com/khairy/core/data/db/entities/WeatherPhotoEntity.java", "file_name": "WeatherPhotoEntity.java", "file_ext... | https://github.com/mohamedkhairy953/WeatherStatusSharing | 226 | FILENAME: WeatherPhotoEntity.java | 0.23793 | package com.khairy.core.data.db.entities;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.databinding.BindingAdapter;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import com.bumptech.glide.Glide;
import com.khairy.core.R;
import java.io.File;
@Entity(tableName ... |
2a1a2cb8-06bd-4484-bf76-5fa242884936 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-25 09:53:44", "repo_name": "DeTreMusketere/Database-Business-Slagelse-Server", "sub_path": "/dbs/src/model/data/Picture.java", "file_name": "Picture.java", "file_ext": "java", "file_size_in_byte": 1210, "line_... | https://github.com/DeTreMusketere/Database-Business-Slagelse-Server | 265 | FILENAME: Picture.java | 0.26588 | package model.data;
import abstracts.Data;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.io.Serializable;
import org.json.JSONObject;
/**
*
* @author Patrick
*/
public class Picture extends Data implements Serializable {
private String name;
private byte[] byteArray;
publ... |
7b80119e-b81a-4150-962a-4f48e3eea7f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-26 19:00:04", "repo_name": "SusannaAmatuni/OnlineArtGallery", "sub_path": "/src/java/shopper/data/ArtTypeDB.java", "file_name": "ArtTypeDB.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 52,... | https://github.com/SusannaAmatuni/OnlineArtGallery | 226 | FILENAME: ArtTypeDB.java | 0.284576 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package shopper.data;
import java.sql.*;
/**
*
* @author HP_Owner
*/
public class ArtTypeDB {
public static int selectArtType(String arttype) {
ConnectionPool pool = ConnectionPool.getInstance();
Conne... |
d21328b6-9f6b-4dd2-91ce-08fe82af51a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-25 05:37:05", "repo_name": "fanpengfei1993/cbk", "sub_path": "/ChaBaiKe/app/src/main/java/com/example/administrator/day0620_chabaike/LoadingActivity.java", "file_name": "LoadingActivity.java", "file_ext": "jav... | https://github.com/fanpengfei1993/cbk | 215 | FILENAME: LoadingActivity.java | 0.220007 | package com.example.administrator.day0620_chabaike;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import com.example.administrator.day0620_chabaike.Constant.ConstantKey;
import com.example.administrator.day0620_chabaike.Utils.Pref_... |
dd5a10e3-a310-4d26-9a8f-738d1bc227da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-08 06:28:19", "repo_name": "PopaRares/Proiect-IS", "sub_path": "/src/main/java/com/IS/SINU/controllers/GroupController.java", "file_name": "GroupController.java", "file_ext": "java", "file_size_in_byte": 1026,... | https://github.com/PopaRares/Proiect-IS | 184 | FILENAME: GroupController.java | 0.250913 | package com.IS.SINU.controllers;
import com.IS.SINU.entities.dao.Group;
import com.IS.SINU.entities.dao.User;
import com.IS.SINU.entities.dto.Request;
import com.IS.SINU.services.GroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springfra... |
0f215381-f839-492b-8be0-1767c23a79a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-18 20:28:33", "repo_name": "life0fun/MovementSensor", "sub_path": "/src/com/colorcloud/movementsensor/MovementSensorApiHandler.java", "file_name": "MovementSensorApiHandler.java", "file_ext": "java", "file_siz... | https://github.com/life0fun/MovementSensor | 230 | FILENAME: MovementSensorApiHandler.java | 0.288569 | package com.colorcloud.movementsensor;
import android.os.Handler;
import android.os.RemoteException;
import com.colorcloud.movementsensor.IMovementSensor;
/**
*<code><pre>
* CLASS:
* implements service API handler Interface. For now, service stub is empty.
* This is reserved here for future usage. The Intent f... |
97cd543e-7a91-41b9-819a-cc7d439b4fec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-02 16:56:48", "repo_name": "NemanjaVlaisavljevic/microservices-beer-project", "sub_path": "/inventory-failover/src/main/java/com/sfg/inventoryfailover/controller/InventoryFailoverController.java", "file_name":... | https://github.com/NemanjaVlaisavljevic/microservices-beer-project | 256 | FILENAME: InventoryFailoverController.java | 0.26588 | package com.sfg.inventoryfailover.controller;
import com.sfg.inventoryfailover.model.BeerInventoryDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.time.OffsetDateTime;
import java.util.ArrayList... |
d286585d-d438-4126-93b4-c1bb341046bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-20 10:41:49", "repo_name": "CQJTU-ZCT/SmartHospital", "sub_path": "/common/src/main/java/com/cqjtu/tools/MybatisGenerator.java", "file_name": "MybatisGenerator.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/CQJTU-ZCT/SmartHospital | 258 | FILENAME: MybatisGenerator.java | 0.250913 | package com.cqjtu.tools;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.mybatis.generator.api.MyBatisGenerator;
import org.mybatis.generator.config.Configuration;
import org.mybatis.generator.config.xml.ConfigurationParser;
import org.mybatis.generator.internal.DefaultShellCallback... |
40b24668-7094-4f6d-9b2d-8f912235f9d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 14:23:37", "repo_name": "NeptuneN/MoviesAndGrades", "sub_path": "/src/main/java/ee/kool/kool/actorsAndMovies/actors/movies/service/MovieService.java", "file_name": "MovieService.java", "file_ext": "java", "... | https://github.com/NeptuneN/MoviesAndGrades | 271 | FILENAME: MovieService.java | 0.290981 | package ee.kool.kool.actorsAndMovies.actors.movies.service;
import ee.kool.kool.actorsAndMovies.actors.dto.Actor;
import ee.kool.kool.actorsAndMovies.actors.movies.dto.Film;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
@Service
public class MovieService {
pub... |
d43692c8-5ce7-4672-804e-974bcbc1f649 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-21 02:38:43", "repo_name": "tree1123/Kafka-demo-version", "sub_path": "/src/main/java/com/tree/newversion/ProducerDemo.java", "file_name": "ProducerDemo.java", "file_ext": "java", "file_size_in_byte": 1062, "l... | https://github.com/tree1123/Kafka-demo-version | 260 | FILENAME: ProducerDemo.java | 0.253861 | package com.tree.newversion;
/**
* ues it after version 0.9
*
* http://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html
*/
import java.util.Properties;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
publi... |
29602767-2aa9-4a15-be07-339ed85aaa26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-14 09:31:59", "repo_name": "swatipriyadarsani/LogParser", "sub_path": "/LogParser/src/test/java/madbuildparser/LogParser/MadBuildLogParserTest.java", "file_name": "MadBuildLogParserTest.java", "file_ext": "jav... | https://github.com/swatipriyadarsani/LogParser | 225 | FILENAME: MadBuildLogParserTest.java | 0.272799 | package madbuildparser.LogParser;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import static org.junit.Assert.fail;
import java.io.IOException;
public class MadBuildLogParserTest {
@Test
public void readSampleLogFile() throws IOException {
String inp... |
af00d875-364d-455a-b1e2-f3d4229cd887 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-29 13:46:18", "repo_name": "changhe626/mmall", "sub_path": "/src/main/java/com/mmall/common/ExceptionResolver.java", "file_name": "ExceptionResolver.java", "file_ext": "java", "file_size_in_byte": 1089, "line_... | https://github.com/changhe626/mmall | 193 | FILENAME: ExceptionResolver.java | 0.213377 | package com.mmall.common;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.view.json.MappingJacksonJsonView;
import javax.servl... |
492a75c0-5bfd-49bf-a7d3-aa41a5703759 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 12:02:45", "repo_name": "Sondola/lab7", "sub_path": "/common/src/main/java/objects/Request.java", "file_name": "Request.java", "file_ext": "java", "file_size_in_byte": 1088, "line_count": 49, "lang": "en", ... | https://github.com/Sondola/lab7 | 234 | FILENAME: Request.java | 0.278257 | package objects;
import data.User;
import java.io.Serializable;
public class Request implements Serializable {
private String command;
private String commandArg;
private Object obj;
private User user;
public Request(String command, String commandArg, Object obj, User user) {
this.command... |
cafdbbe0-6cc5-482e-8297-b733d3fcd673 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-05T16:21:59", "repo_name": "operationBrass/Homework-assignment-15", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1210, "line_count": 41, "lang": "en", "doc_typ... | https://github.com/operationBrass/Homework-assignment-15 | 302 | FILENAME: README.md | 0.2227 | # Workout Tracker
[](http://www.wtfpl.net/about/)

### Description
Manage your workouts with this workout tracker.
### Table of Contents
- [Usage Guide](#Usage-Guide)
- [Install Instruct... |
1ecdc965-d658-41d9-af4a-cd21d2bcb887 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-16 13:02:29", "repo_name": "Switch-vov/JAVA-01", "sub_path": "/Week_13/exercise/kafka-demo/src/main/java/com/switchvov/kafka/demo/producer/KafkaProducerDemo.java", "file_name": "KafkaProducerDemo.java", "file_... | https://github.com/Switch-vov/JAVA-01 | 238 | FILENAME: KafkaProducerDemo.java | 0.261331 | package com.switchvov.kafka.demo.producer;
import com.alibaba.fastjson.JSON;
import com.switchvov.kafka.demo.domain.Order;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import java.math.BigDecimal;
import java.util.Properties;
/**
* @author switch
... |
5d47d94b-1eb1-4240-b94f-94cfe36efe63 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2011-10-25T13:32:25", "repo_name": "holyshared/Locater", "sub_path": "/Demos/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 966, "line_count": 28, "lang": "en", "doc_type": "text", "b... | https://github.com/holyshared/Locater | 198 | FILENAME: README.md | 0.26588 | YourPosition
==================================
This application is an application to display your present position in the map by using location information API.
This application is made for the demonstration of [Locater](https://github.com/holyshared/Locater "Locater").
Author
----------------------------------
Nor... |
55b4ee7e-84a7-4f85-8df7-e085c8da9ed4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-02 00:02:14", "repo_name": "brianNoreiko/udee", "sub_path": "/src/main/java/com/utn/UDEE/models/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size_in_byte": 1040, "line_count": 48, "lan... | https://github.com/brianNoreiko/udee | 220 | FILENAME: Address.java | 0.243642 |
package com.utn.UDEE.models;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Entity (name = "addresses")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Address ... |
997406b5-bdaa-4e6e-8938-e8f61710bce5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-06 04:03:41", "repo_name": "GauravNadar/COVID-19", "sub_path": "/app/src/main/java/com/gauravnadar/covid19stats/BroadcastReceiver/CustomBroadcastReceiver.java", "file_name": "CustomBroadcastReceiver.java", "fi... | https://github.com/GauravNadar/COVID-19 | 231 | FILENAME: CustomBroadcastReceiver.java | 0.245085 | package com.gauravnadar.covid19stats.BroadcastReceiver;
import android.app.job.JobInfo;
import android.app.job.JobScheduler;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import an... |
20f5b70d-6953-49cc-a518-a4ddef1d98f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-18 06:38:31", "repo_name": "hjhcode/JAVA", "sub_path": "/练习/wenjian/FileTest.java", "file_name": "FileTest.java", "file_ext": "java", "file_size_in_byte": 1066, "line_count": 44, "lang": "en", "doc_type": "cod... | https://github.com/hjhcode/JAVA | 218 | FILENAME: FileTest.java | 0.252384 | package wenjian;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import java.io.File;
import java.io.IOException;
import java.net.SocketPermission;
/**
* Created by hjh on 16-7-23.
*/
public class FileTest {
public static void main(String[] args)throws IOException{
File file = new File... |
7fdbff49-d52d-4e2a-87b2-cb809af54345 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-05T21:37:44", "repo_name": "ElanaLaskin/multi-user-blog", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1117, "line_count": 17, "lang": "en", "doc_type": "text"... | https://github.com/ElanaLaskin/multi-user-blog | 273 | FILENAME: README.md | 0.233706 | ##Multi-User Blog
A simple blog with user signup
Here's the [link](https://monsey-therapists.appspot.com) to the website.
Instructions for running application:
1. Install [Cloud SDK](https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python)
(runs on Linux, Mac OS X and Windows, and requires Pyt... |
541ebdcd-7a58-43bd-8537-812c95e1ab7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-15 12:02:55", "repo_name": "aliciaak/INFS3634_Task3_final", "sub_path": "/app/src/main/java/com/example/infs3634_task3/utils/GetAPIRequest.java", "file_name": "GetAPIRequest.java", "file_ext": "java", "file_si... | https://github.com/aliciaak/INFS3634_Task3_final | 207 | FILENAME: GetAPIRequest.java | 0.290981 | package com.example.infs3634_task3.utils;
import android.content.Context;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonArrayRequest;
import com.android.volley.toolbox.Volley;
import org.json.JSONArray;
import ... |
407644d7-5d87-4d89-984c-03f3718785c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-11 01:16:40", "repo_name": "nife86/Lab_JsonPlaceholder_Demo", "sub_path": "/app/src/main/java/com/example/lab_JsonPlaceholder_Demo/ProgressDialogUtil.java", "file_name": "ProgressDialogUtil.java", "file_ext": ... | https://github.com/nife86/Lab_JsonPlaceholder_Demo | 183 | FILENAME: ProgressDialogUtil.java | 0.23793 | package com.example.lab_JsonPlaceholder_Demo;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import androidx.appcompat.app.AlertDialog;
public class ProgressDialogUtil {
private static AlertDialog mAlertDialog;
public static void... |
2f0fd4ff-384f-49b6-bf63-9f527f55ba39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-23T02:06:17", "repo_name": "NikoBotDev/onee-sama", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 45, "lang": "en", "doc_type": "text", "blob... | https://github.com/NikoBotDev/onee-sama | 271 | FILENAME: README.md | 0.259826 | # Oneesama
Promise wrapper for [oppai-ng](https://github.com/Francesco149/oppai-ng).
## Getting started
To install the package, just install it from this repository:
`npm i NikoBotDev/onee-sama`
## Testing
Just clone this repository using:
`git clone https://github.com/NikoBotDev/onee-sama.git`
Then go to the ... |
82dda47d-fd8b-4703-9198-15cc80f8b073 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-20T09:25:03", "repo_name": "SlashArash/maah", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1130, "line_count": 40, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/SlashArash/maah | 322 | FILENAME: README.md | 0.261331 | # Maah for ZSH
A theme for [Oh My ZSH](https://github.com/robbyrussell/oh-my-zsh) with collapsed working directory and moon(Persian: ماه, Māh) icon!

## Install
### CURL
- Enter below command:
```
curl -o ~/.oh-my-zsh/c... |
e3eeea77-e540-4a9d-b0dc-d70b2d0f206a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 03:31:20", "repo_name": "Rscotl/Ht2", "sub_path": "/HomeTrainer2/app/src/main/java/com/bignerdranch/android/hometrainer2/ProfileActivity.java", "file_name": "ProfileActivity.java", "file_ext": "java", "file... | https://github.com/Rscotl/Ht2 | 199 | FILENAME: ProfileActivity.java | 0.190724 | package com.bignerdranch.android.hometrainer2;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class ProfileActivity extends AppCompatActivity {
private TextView mName;
private Text... |
2b30f647-8738-4ef4-8ec4-427db6986198 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-23 04:17:49", "repo_name": "jakartaredhat/cdi", "sub_path": "/api/src/main/java/jakarta/enterprise/inject/literal/SingletonLiteral.java", "file_name": "SingletonLiteral.java", "file_ext": "java", "file_size_in... | https://github.com/jakartaredhat/cdi | 249 | FILENAME: SingletonLiteral.java | 0.279042 | /*
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
901a748e-9c61-4e7d-b70b-f879a1283902 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 20:03:42", "repo_name": "sridevi20/WhiskyTracker", "sub_path": "/src/main/java/com/codeclan/example/WhiskyTracker/controllers/WhiskyController.java", "file_name": "WhiskyController.java", "file_ext": "java"... | https://github.com/sridevi20/WhiskyTracker | 183 | FILENAME: WhiskyController.java | 0.243642 | package com.codeclan.example.WhiskyTracker.controllers;
import com.codeclan.example.WhiskyTracker.models.Whisky;
import com.codeclan.example.WhiskyTracker.repositories.WhiskyRepository.WhiskyRepository;
import org.hibernate.Session;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
d17a6fb6-521c-4c12-82d5-bbd83524b081 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-03 09:46:06", "repo_name": "erickogi/zaidi_android", "sub_path": "/app/src/main/java/com/dev/lishabora/Views/Admin/CreateTraderConstants.java", "file_name": "CreateTraderConstants.java", "file_ext": "java", "f... | https://github.com/erickogi/zaidi_android | 212 | FILENAME: CreateTraderConstants.java | 0.273574 | package com.dev.lishabora.Views.Admin;
import com.dev.lishabora.Models.ProductsModel;
import com.dev.lishabora.Models.Trader.TraderModel;
import java.util.List;
public class CreateTraderConstants {
private static TraderModel traderModel;
private static List<ProductsModel> productModels;
public static Tr... |
8372f778-ba04-4933-878b-27d11be792c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 20:16:54", "repo_name": "tokanada/cs222-two-weeks-project", "sub_path": "/src/main/java/edu/bsu/cs222/RedirectParser.java", "file_name": "RedirectParser.java", "file_ext": "java", "file_size_in_byte": 1150,... | https://github.com/tokanada/cs222-two-weeks-project | 210 | FILENAME: RedirectParser.java | 0.261331 | package edu.bsu.cs222;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
public class RedirectParser {
public Redirect parse(InputStream inputStream) {
try {
... |
306f8c8a-4139-4e09-bbaf-d6a3b5933f49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-21 16:14:12", "repo_name": "nickolayrusev/trackteam", "sub_path": "/domain/src/main/java/com/nrusev/domain/AbstractAuditableEntity.java", "file_name": "AbstractAuditableEntity.java", "file_ext": "java", "file_... | https://github.com/nickolayrusev/trackteam | 215 | FILENAME: AbstractAuditableEntity.java | 0.253861 | package com.nrusev.domain;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;
import java.util.Date;
/**
* Created by nikolayrusev on 3/10/16.
*/
... |
1e2f9ded-1f96-404f-8ba1-c32f23384544 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-12 12:08:29", "repo_name": "abu131415/seata0.9.0-demo", "sub_path": "/seata-project/order-model/src/main/java/com/abu/order/controller/OrderTblController.java", "file_name": "OrderTblController.java", "file_ex... | https://github.com/abu131415/seata0.9.0-demo | 231 | FILENAME: OrderTblController.java | 0.250913 | package com.abu.order.controller;
import com.abu.order.client.StorageClient;
import com.abu.order.pojo.Order;
import com.abu.order.service.OrderTblService;
import com.abu.storage.pojo.Storage;
import io.seata.spring.annotation.GlobalTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import ... |
45a0dcf3-1e3d-44ed-be15-2b52c3d8537a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 12:55:46", "repo_name": "geekbrains-sms/backend", "sub_path": "/warehouse/src/main/java/com/geekbrains/internship/warehouse/controllers/rest/ImagesController.java", "file_name": "ImagesController.java", "fi... | https://github.com/geekbrains-sms/backend | 218 | FILENAME: ImagesController.java | 0.27513 | package com.geekbrains.internship.warehouse.controllers.rest;
import com.geekbrains.internship.warehouse.entities.Image;
import com.geekbrains.internship.warehouse.services.ImageService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.A... |
126f9b4e-4250-4be1-a7c4-4b72a869bbcb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-27 15:06:35", "repo_name": "DwarfPlanetGames/Tegris", "sub_path": "/core/src/ml/dpgames/tegris/GameObject.java", "file_name": "GameObject.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": 44, ... | https://github.com/DwarfPlanetGames/Tegris | 256 | FILENAME: GameObject.java | 0.264358 | package ml.dpgames.tegris;
import java.util.Random;
import ml.dpgames.tegris.TextureRender.Draw;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Rectangle;
public class GameObject {
public ... |
42550fad-7dc8-4677-be3a-d158a0a7c5dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-22 04:31:55", "repo_name": "koen08/eduTest", "sub_path": "/src/main/java/com/siberteam/koen/dictionary/FileStreamWorker.java", "file_name": "FileStreamWorker.java", "file_ext": "java", "file_size_in_byte": 112... | https://github.com/koen08/eduTest | 223 | FILENAME: FileStreamWorker.java | 0.291787 | package com.siberteam.koen.dictionary;
import java.io.*;
import java.util.Deque;
import java.util.Set;
import java.util.concurrent.ConcurrentLinkedDeque;
public class FileStreamWorker {
private final String fileReaderName;
public final String fileWriterName;
public FileStreamWorker(String fileRead, Strin... |
868422a3-4f5f-4ca0-bd27-c652853620a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-06 10:08:04", "repo_name": "zzyzy/otphelper", "sub_path": "/app/src/main/java/com/paperfly/otphelper/OtpListener.java", "file_name": "OtpListener.java", "file_ext": "java", "file_size_in_byte": 1055, "line_cou... | https://github.com/zzyzy/otphelper | 212 | FILENAME: OtpListener.java | 0.275909 | package com.paperfly.otphelper;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.SimpleTimeZone;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class OtpListener {
private String mSender;
private String mMessageFormat;
public OtpL... |
0a31ace5-dad0-4282-8128-3eff5cce96fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-14 16:20:14", "repo_name": "GuilleSO86/LiferayCRUD", "sub_path": "/LiferayProjectTest/modules/AdminData/src/main/java/com/ricoh/test/liferay/portlet/AdminDataAltaCocheRenderCommand.java", "file_name": "AdminDa... | https://github.com/GuilleSO86/LiferayCRUD | 248 | FILENAME: AdminDataAltaCocheRenderCommand.java | 0.247987 | package com.ricoh.test.liferay.portlet;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import org.osgi.service.component.annotations.Component;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.li... |
11963b19-070c-4b59-81f8-ecdac9e3c989 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-15 22:16:42", "repo_name": "mhgrove/cp-openrdf-utils", "sub_path": "/core/main/src/com/complexible/common/openrdf/vocabulary/DBPedia.java", "file_name": "DBPedia.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/mhgrove/cp-openrdf-utils | 271 | FILENAME: DBPedia.java | 0.275909 | package com.complexible.common.openrdf.vocabulary;
import org.openrdf.model.IRI;
/**
* <p>Vocabulary for the DBPedia schemas</p>
*
* @author Michael Grove
* @since 0.3.1
* @version 4.0
*/
public class DBPedia {
private static final Ontology ONT = new Ontology();
private static final Property PROP = new Pr... |
3164474d-f833-4664-85e0-fe704d3245c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-22 17:37:19", "repo_name": "cescoffier/vertx-cache", "sub_path": "/src/main/java/examples/Examples.java", "file_name": "Examples.java", "file_ext": "java", "file_size_in_byte": 1211, "line_count": 48, "lang": ... | https://github.com/cescoffier/vertx-cache | 300 | FILENAME: Examples.java | 0.293404 | package examples;
import io.vertx.core.Vertx;
import io.vertx.ext.cache.Cache;
import io.vertx.ext.cache.CacheOptions;
import io.vertx.ext.cache.ExpirationPolicy;
/**
* @author <a href="http://escoffier.me">Clement Escoffier</a>
*/
public class Examples {
public void create(Vertx vertx) {
Cache.create(vertx,... |
4c3d55fd-de28-4050-bb1d-a2df6e1f6521 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-06 07:42:53", "repo_name": "caoweizhao/PersonHealthRecord", "sub_path": "/app/src/main/java/com/example/administrator/personhealthrecord/util/SoftInputFixUtil.java", "file_name": "SoftInputFixUtil.java", "file... | https://github.com/caoweizhao/PersonHealthRecord | 199 | FILENAME: SoftInputFixUtil.java | 0.273574 | package com.example.administrator.personhealthrecord.util;
import android.graphics.Rect;
import android.view.View;
import android.view.ViewTreeObserver;
/**
* Created by andy on 2017/8/1.
*/
public class SoftInputFixUtil {
public static void fix(final View root, final View lastView){
root.getViewTreeOb... |
86b02260-1112-4d30-9808-44fabb7bdf60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-24 08:01:15", "repo_name": "andrejzlatevski/MusicManagement", "sub_path": "/app/src/main/java/andrej/com/musicmanagement/base/BaseScreenPresenter.java", "file_name": "BaseScreenPresenter.java", "file_ext": "ja... | https://github.com/andrejzlatevski/MusicManagement | 216 | FILENAME: BaseScreenPresenter.java | 0.282196 | package andrej.com.musicmanagement.base;
import andrej.com.musicmanagement.ScreenPresenter;
import andrej.com.musicmanagement.ScreenView;
import io.reactivex.disposables.CompositeDisposable;
public abstract class BaseScreenPresenter<T extends ScreenView> implements ScreenPresenter<T> {
private T mView;
prote... |
175b48ab-c08b-4ed3-b440-c8f9bf1e42ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-01 18:57:08", "repo_name": "h5dde45/JEE_31_10_17", "sub_path": "/src/main/java/gl_22_01/p6/SinglElemBuffLock.java", "file_name": "SinglElemBuffLock.java", "file_ext": "java", "file_size_in_byte": 1032, "line_c... | https://github.com/h5dde45/JEE_31_10_17 | 202 | FILENAME: SinglElemBuffLock.java | 0.290981 | package gl_22_01.p6;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class SinglElemBuffLock {
private final Lock lock = new ReentrantLock(true);
private final Condition notEmpty = lock.newCondition();
private fin... |
b3e0056c-bd66-4b1d-a4a5-145b91f02e8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-22 17:24:35", "repo_name": "annot8/annot8-common-deprecated", "sub_path": "/annot8-common-jackson-serialisation/src/test/java/io/annot8/common/serialisation/jackson/NoBoundsSerializerTest.java", "file_name": "... | https://github.com/annot8/annot8-common-deprecated | 186 | FILENAME: NoBoundsSerializerTest.java | 0.268941 | /* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.serialisation.jackson;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import org.junit.jupiter.api.Test;
import com.fasterxml.jackson.core.JsonProcessingException... |
cd3182e1-d8db-480d-8c1e-72c300d69f17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-27 06:42:12", "repo_name": "kunalbarchha/generic-wrapper-for-bitcoinforks", "sub_path": "/src/main/java/com/coin/controller/CoinController.java", "file_name": "CoinController.java", "file_ext": "java", "file_s... | https://github.com/kunalbarchha/generic-wrapper-for-bitcoinforks | 200 | FILENAME: CoinController.java | 0.245085 | package com.coin.controller;
import com.coin.models.AppResponse;
import com.coin.services.CoinBalanceUpdateService;
import com.coin.services.WalletAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.b... |
ff26f910-a1a5-4a32-ac04-90cc63ce28c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-18 12:36:57", "repo_name": "kbyyd24/cins-openday", "sub_path": "/src/main/java/cn/edu/swpu/cins/openday/model/service/AuthUser.java", "file_name": "AuthUser.java", "file_ext": "java", "file_size_in_byte": 1149... | https://github.com/kbyyd24/cins-openday | 306 | FILENAME: AuthUser.java | 0.279042 | package cn.edu.swpu.cins.openday.model.service;
public class AuthUser {
private String mail;
private String token;
public AuthUser() {}
public AuthUser(String mail, String token) {
this.mail = mail;
this.token = token;
}
public String getMail() {
return mail;
}
public void setMail(String mail) {
t... |
5c6e222a-47f6-4bf4-9dcb-c5f0c6bd0dfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-16 21:16:18", "repo_name": "etamorib/JavaGame2D", "sub_path": "/CinemaGame/src/dev/mate/cinemagame/states/MenuState.java", "file_name": "MenuState.java", "file_ext": "java", "file_size_in_byte": 1038, "line_co... | https://github.com/etamorib/JavaGame2D | 257 | FILENAME: MenuState.java | 0.290176 | package dev.mate.cinemagame.states;
import java.awt.Graphics;
import dev.mate.cinemagame.Handler;
import dev.mate.cinemagame.gfx.Assets;
import dev.mate.cinemagame.ui.ClickListener;
import dev.mate.cinemagame.ui.UIImageButton;
import dev.mate.cinemagame.ui.UIManager;
public class MenuState extends State {
private ... |
f106f02e-3a5c-43c8-9d5d-8efb9ae53f9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-29 06:55:20", "repo_name": "MahendraReddyP/TestRepository", "sub_path": "/DemoMavenSampleProject/src/test/java/Txl/DemoMavenSampleProject/ExampleTest.java", "file_name": "ExampleTest.java", "file_ext": "java",... | https://github.com/MahendraReddyP/TestRepository | 245 | FILENAME: ExampleTest.java | 0.274351 | package Txl.DemoMavenSampleProject;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
publi... |
04c96526-18e3-4ec0-8c3e-aa2b9eac844e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-03 03:28:56", "repo_name": "natanaelfonseca/msc-authserver", "sub_path": "/src/main/java/br/com/treinamento/auth/filter/InspectHeaderFilter.java", "file_name": "InspectHeaderFilter.java", "file_ext": "java", "... | https://github.com/natanaelfonseca/msc-authserver | 199 | FILENAME: InspectHeaderFilter.java | 0.205615 | package br.com.treinamento.auth.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletR... |
2f995761-e66c-4081-8f36-b0f737c9bbb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-14 05:46:03", "repo_name": "choitree/issue-tracker", "sub_path": "/BE/server/src/main/java/com/team11/issue/dto/comment/CommentResponseDTO.java", "file_name": "CommentResponseDTO.java", "file_ext": "java", "fi... | https://github.com/choitree/issue-tracker | 174 | FILENAME: CommentResponseDTO.java | 0.246533 | package com.team11.issue.dto.comment;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.team11.issue.domain.Comment;
import com.team11.issue.dto.user.UserResponseDTO;
import lombok.Builder;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import java.time.LocalDateTime;
@JsonPropertyO... |
e818f3b2-8c5c-4851-aeda-63fbab0e7d2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-03 08:07:34", "repo_name": "forbe/Carbon", "sub_path": "/carbon/src/main/java/carbon/drawable/ControlCheckedColorStateList.java", "file_name": "ControlCheckedColorStateList.java", "file_ext": "java", "file_siz... | https://github.com/forbe/Carbon | 206 | FILENAME: ControlCheckedColorStateList.java | 0.284576 | package carbon.drawable;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.util.TypedValue;
import carbon.R;
/**
* Created by Marcin on 2015-03-16.
*/
public class ControlCheckedColorStateList extends ColorStateList {
public ControlC... |
6a8e15a5-c2e7-48ff-97d8-1bde44efa871 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 11:20:25", "repo_name": "ytempest/WanAndroid", "sub_path": "/app/src/main/java/com/ytempest/wanandroid/listener/PasswordStatusChangeListener.java", "file_name": "PasswordStatusChangeListener.java", "file_ex... | https://github.com/ytempest/WanAndroid | 216 | FILENAME: PasswordStatusChangeListener.java | 0.229535 | package com.ytempest.wanandroid.listener;
import android.text.Editable;
import android.text.Selection;
import android.text.method.HideReturnsTransformationMethod;
import android.text.method.PasswordTransformationMethod;
import android.view.View;
import android.widget.EditText;
/**
* @author heqidu
* @since 2020/8/1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.