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 |
|---|---|---|---|---|---|---|
376f27ab-53a2-4772-ba77-ad32092c07d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-07 02:14:42", "repo_name": "Dream-without-trace/topshow", "sub_path": "/service/src/main/java/com/luwei/models/checkIn/CheckIn.java", "file_name": "CheckIn.java", "file_ext": "java", "file_size_in_byte": 1123,... | https://github.com/Dream-without-trace/topshow | 287 | FILENAME: CheckIn.java | 0.26588 | package com.luwei.models.checkIn;
import lombok.Data;
import javax.persistence.*;
import java.util.Date;
/**
* @program: topshow
* @description: 每日签到
* @author: ZhangHongJie
* @create: 2018-12-04 14:18
**/
@Data
@Entity
public class CheckIn{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
p... |
4db583d9-a804-4dc4-b9b4-4af31f960664 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-26 14:55:14", "repo_name": "saloni-1907/DrivEase", "sub_path": "/src/main/java/com/drivease/controller/FeedbackController.java", "file_name": "FeedbackController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/saloni-1907/DrivEase | 175 | FILENAME: FeedbackController.java | 0.286169 | package com.drivease.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import co... |
28bd929d-5e2d-4a4e-9aae-ab4e2039d6b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-13 06:51:53", "repo_name": "abekoh/gcp-messaging-sand", "sub_path": "/gcp-messaging-sand-log-sink/src/main/java/jp/abekoh/log/sink/converter/mapstruct/MapStructConverterUtil.java", "file_name": "MapStructConve... | https://github.com/abekoh/gcp-messaging-sand | 239 | FILENAME: MapStructConverterUtil.java | 0.291787 | package jp.abekoh.log.sink.converter.mapstruct;
import java.net.MalformedURLException;
import java.net.URL;
import java.time.Instant;
import java.time.ZonedDateTime;
import java.util.TimeZone;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class MapStructConverterUtil {
private static fin... |
fe6a8df4-698a-4faf-b8c9-cfc73d61c72e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-26 08:29:12", "repo_name": "RockychengJson/eclipsender", "sub_path": "/com.ibm.gers.regeditor/src/com/ibm/gers/regeditor/editors/XMLTextDocumentProvider.java", "file_name": "XMLTextDocumentProvider.java", "fil... | https://github.com/RockychengJson/eclipsender | 192 | FILENAME: XMLTextDocumentProvider.java | 0.247987 | package com.ibm.gers.regeditor.editors;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IDocumentPartitioner;
import org.eclipse.jface.text.rules.FastPartitioner;
import org.eclipse.ui.editors.text.TextFileDocumentProvider;
public class XML... |
6ca0af39-10a0-49b3-a960-ca6cf10e3c00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-17 15:37:41", "repo_name": "xeema-nobody/prices-exercise", "sub_path": "/src/test/java/com/example/pricesexercise/integration/TestApplicationConfig.java", "file_name": "TestApplicationConfig.java", "file_ext":... | https://github.com/xeema-nobody/prices-exercise | 203 | FILENAME: TestApplicationConfig.java | 0.23793 | package com.example.pricesexercise.integration;
import com.example.pricesexercise.core.infrastructure.repository.InH2Prices;
import com.example.pricesexercise.core.infrastructure.repository.PricesRepository;
import com.zaxxer.hikari.HikariDataSource;
import org.springframework.boot.autoconfigure.jdbc.DataSourcePropert... |
ad1d25ad-be00-480b-9ae5-6812e8fd8c48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 02:32:24", "repo_name": "songhaoran/netty-study", "sub_path": "/netty-chat/src/main/java/com/song/server/handler/AuthHandler.java", "file_name": "AuthHandler.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/songhaoran/netty-study | 191 | FILENAME: AuthHandler.java | 0.214691 | package com.song.server.handler;
import com.song.util.LoginUtil;
import com.song.util.PacketType;
import com.song.vo.LoginResponsePacket;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
/**
* Created by Song on 2019/09/24.
*/
public class AuthHandler extends Chan... |
71872a05-6ff7-4346-bb62-dd530419fec6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-21T14:18:35", "repo_name": "MisterTeeRoland/Help-Me-Decide", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1162, "line_count": 39, "lang": "en", "doc_type": "te... | https://github.com/MisterTeeRoland/Help-Me-Decide | 266 | FILENAME: README.md | 0.252384 | # Help Me Decide (powered by Yelp!)
*Help Me Decide is a web application that, using predefined categories and user selections, helps a user decide what to do or what to eat using the Yelp Fusion API*
### Have you ever been hungry and not known what to eat, or been bored and not known what to do?
## Help Me De... |
b3f9a167-bd22-4e20-b5c8-9bd2bb9b1047 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-13 16:40:39", "repo_name": "downwine/Java-3-sem", "sub_path": "/src/ru/downwine/_27_TwentyseventhLab/Ex3/SnakeController.java", "file_name": "SnakeController.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/downwine/Java-3-sem | 225 | FILENAME: SnakeController.java | 0.288569 | package ru.downwine._27_TwentyseventhLab.Ex3;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.Timer;
public class SnakeController implements KeyListener, ActionListener {
private final SnakeView snakeVie... |
c954aac7-5b0c-4183-9d35-52ea302bdb7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-19 19:39:40", "repo_name": "Dineshkarri/ADS-2_2019501017", "sub_path": "/DAY1/ASSIGN1/WordNet.java", "file_name": "WordNet.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 32, "lang": "en", "... | https://github.com/Dineshkarri/ADS-2_2019501017 | 242 | FILENAME: WordNet.java | 0.262842 | import java.io.*;
public class WordNet {
public WordNet(String synsets, String hypernyms) throws IOException{
parseSynset(synsets);
parseHypernyms(hypernyms);
}
private void parseSynset(String synsets) throws IOException{
FileReader fr1 = new FileReader(synsets + ".txt");
Buff... |
22314506-2b76-45ff-864c-99b24519d279 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-02T17:35:11", "repo_name": "agzalewska/NASA-picture-of-the-day", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 33, "lang": "en", "doc_type":... | https://github.com/agzalewska/NASA-picture-of-the-day | 219 | FILENAME: README.md | 0.275909 | This project uses the popular NASA Astronomy Picture of the Day open API to produce wonderful images with details and lengthy descriptions which the users can scroll through and save to the favorites collection.
Built with vanilla JavaScript, HTML and pure CSS.
Functionality:
🚀 the app displays random Astronomy Pi... |
4d1ef6dd-3ab3-4d5f-b4dd-9c233efdb123 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-29 08:37:31", "repo_name": "doudizuczk/-", "sub_path": "/src/com/great/bean/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1170, "line_count": 60, "lang": "en", "doc_type": "cod... | https://github.com/doudizuczk/- | 283 | FILENAME: Role.java | 0.262842 | package com.great.bean;
import java.io.Serializable;
public class Role implements Serializable {
/**修改
* 角色实体对象 @linanp
*/
private static final long serialVersionUID = 1L;
private int roleId;
private String roleName;
private int roleState;
private String roleCdate;
public Role() ... |
b886712b-6b31-4108-aa47-b303ca2cf2ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-17T09:02:18", "repo_name": "Kenan7/bakujobs", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 53, "lang": "en", "doc_type": "text", "blob_id": ... | https://github.com/Kenan7/bakujobs | 232 | FILENAME: README.md | 0.267408 | # Setting Up for Development
* install dependencies (Debian/Ubuntu)
$ sudo apt-get update
$ sudo apt-get install -y gcc python3-dev python3-venv
* prepare directory for project code and virtualenv:
$ mkdir -p ~/webapps
$ cd ~/webapps
* download the project code:
$ git cl... |
df1a3b21-e30d-47f1-aea5-7fdccb50f29f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-23 06:22:29", "repo_name": "chrkyrong/WeTao", "sub_path": "/src/main/test/com/weitao/dao/ManageMapperTest.java", "file_name": "ManageMapperTest.java", "file_ext": "java", "file_size_in_byte": 1180, "line_count... | https://github.com/chrkyrong/WeTao | 283 | FILENAME: ManageMapperTest.java | 0.236516 | package com.weitao.dao;
import com.weitao.bean.Manager;
import com.weitao.utils.MD5;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.Spring... |
30f0a9e6-081c-4aeb-bbc8-6878de80d55c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-27 07:48:16", "repo_name": "muthukumaran001/selenium_codes", "sub_path": "/FaceBookTest/src/main/java/com/Fb/Pages/LoginPage.java", "file_name": "LoginPage.java", "file_ext": "java", "file_size_in_byte": 1006,... | https://github.com/muthukumaran001/selenium_codes | 227 | FILENAME: LoginPage.java | 0.268941 | package com.Fb.Pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import com.Utilie.Browser_Factory;
import net.bytebuddy.asm.Advice.This;
public class LoginPage extends Browser_Fac... |
c2bf32fc-cdee-492c-9db8-6e7f84703d5b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 13:49:56", "repo_name": "WangYouzheng1994/hyjf", "sub_path": "/hyjf-admin/src/main/java/com/hyjf/admin/wkcd/wkcdborrow/WkcdBorrowBean.java", "file_name": "WkcdBorrowBean.java", "file_ext": "java", "file_siz... | https://github.com/WangYouzheng1994/hyjf | 270 | FILENAME: WkcdBorrowBean.java | 0.258326 | package com.hyjf.admin.wkcd.wkcdborrow;
import java.io.Serializable;
import java.util.List;
import com.hyjf.common.paginator.Paginator;
import com.hyjf.mybatis.model.auto.WkcdBorrow;
public class WkcdBorrowBean extends WkcdBorrow implements Serializable {
/**
*
*/
private static final long serialVersionUID =... |
d0a3cc27-40c0-48fa-8c83-486e6f989863 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-12 04:28:15", "repo_name": "Pavithra-cpu/shopping-cart", "sub_path": "/Web Application/05.07.2019/webapps/Shopping/WEB-INF/classes/Writeitem.java", "file_name": "Writeitem.java", "file_ext": "java", "file_size... | https://github.com/Pavithra-cpu/shopping-cart | 193 | FILENAME: Writeitem.java | 0.275909 | import java.io.*;
import java.util.*;
import queryclass.Query;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespon... |
85e84a63-686c-401e-a1e8-ad5f4f8c7a88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-18T00:02:21", "repo_name": "kanonier14/questionnaire", "sub_path": "/src/main/java/com/questionnaire/entity/results/Question.java", "file_name": "Question.java", "file_ext": "java", "file_size_in_byte": 1161, ... | https://github.com/kanonier14/questionnaire | 254 | FILENAME: Question.java | 0.243642 | package com.questionnaire.entity.results;
import com.questionnaire.core.QuestionType;
import java.util.List;
/**
* Created by Igor on 21.11.2016.
*/
public class Question {
private String id;
private String title;
private QuestionType questionType;
private List<Answer> answers;
private List<Str... |
2cca81be-54a0-4e96-8aa9-a1a2564268d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-11 21:13:56", "repo_name": "Cristian-Sknz/MyAniList-API", "sub_path": "/src/main/java/me/skiincraft/mal/entity/experimental/top/TopType.java", "file_name": "TopType.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Cristian-Sknz/MyAniList-API | 249 | FILENAME: TopType.java | 0.242206 | package me.skiincraft.mal.entity.experimental.top;
import me.skiincraft.mal.MyAnimeList;
public enum TopType {
Airing("Top Airing","?type=airing"),
Upcoming("Top Upcoming","?type=upcoming"),
TV_Series("Top TV Series","?type=tv"),
Movies("Top Movies","?type=movie"),
OVAs("Top OVAs","?type=ova"),
... |
610fbf6c-81f1-4331-a978-527c5e4979f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-27 06:21:30", "repo_name": "cow-boy/spring-boot-samples", "sub_path": "/spring-boot-samples-aspect/src/main/java/com/example/demo/TestAspect.java", "file_name": "TestAspect.java", "file_ext": "java", "file_siz... | https://github.com/cow-boy/spring-boot-samples | 254 | FILENAME: TestAspect.java | 0.261331 | package com.example.demo;
import io.swagger.annotations.Api;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.annota... |
09ffac37-e009-486d-ad59-3c25910a5ff9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-01T19:08:41", "repo_name": "chenhaihong/smash-cli", "sub_path": "/RepoDocusaurus/docs/examples/usage/using-a-template.md", "file_name": "using-a-template.md", "file_ext": "md", "file_size_in_byte": 982, "l... | https://github.com/chenhaihong/smash-cli | 251 | FILENAME: using-a-template.md | 0.275909 | ---
title: Using a template
sidebar_label: Using a template
---
We are going to download `smash-template-react` and run the `dev-server` task on it.
> Make sure you have installed `smash-cli`.
## Download it first
```bash
$ mkdir demo && cd demo
$ smash download smash-template-react
```
Don't forget to install its... |
015a7e02-f97b-40b5-aed9-c227b5ba5381 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-06 06:52:21", "repo_name": "raika11/-", "sub_path": "/moka-common/moka-common-template/src/main/java/jmnet/moka/common/template/merge/TreeNode.java", "file_name": "TreeNode.java", "file_ext": "java", "file_siz... | https://github.com/raika11/- | 287 | FILENAME: TreeNode.java | 0.272799 | package jmnet.moka.common.template.merge;
import java.util.ArrayList;
import java.util.List;
import jmnet.moka.common.template.parse.model.TemplateElement;
/**
*
* <pre>
* 템플릿 관계 tree를 생성하기 위한 Tree Node 표현
* 2019. 9. 4. kspark 최초생성
* </pre>
* @since 2019. 9. 4. 오후 6:04:45
* @author kspark
*/
public class Tre... |
dff6e1f5-71d4-43b0-b8c0-f867b7c85473 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-07 18:30:30", "repo_name": "kldfsa/AliMsg", "sub_path": "/src/main/java/cn/cookily/msg/util/SendMsg.java", "file_name": "SendMsg.java", "file_ext": "java", "file_size_in_byte": 1333, "line_count": 30, "lang": ... | https://github.com/kldfsa/AliMsg | 341 | FILENAME: SendMsg.java | 0.258326 | package cn.cookily.msg.util;
import com.taobao.api.ApiException;
import com.taobao.api.DefaultTaobaoClient;
import com.taobao.api.TaobaoClient;
import com.taobao.api.request.AlibabaAliqinFcSmsNumSendRequest;
import com.taobao.api.response.AlibabaAliqinFcSmsNumSendResponse;
/**
* Created by cookily on 2017/5/8.
*/
p... |
baf0253d-42ff-4f8a-98b0-aac854aaaf00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 10:52:24", "repo_name": "NguyenKhacLam/fabulous", "sub_path": "/app/src/main/java/com/project/fabulous/api/ApiBuilder.java", "file_name": "ApiBuilder.java", "file_ext": "java", "file_size_in_byte": 1008, "l... | https://github.com/NguyenKhacLam/fabulous | 181 | FILENAME: ApiBuilder.java | 0.274351 | package com.project.fabulous.api;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiBuilder {
private static Api api;
pub... |
bc49007e-5b11-493e-914d-1d85954837a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-25 05:52:23", "repo_name": "Devendra015/Release", "sub_path": "/src/MultipleWindows.java", "file_name": "MultipleWindows.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 36, "lang": "en", "d... | https://github.com/Devendra015/Release | 227 | FILENAME: MultipleWindows.java | 0.295027 | import java.util.Iterator;
import java.util.Set;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class MultipleWindows {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver",
"C:\\Users\\devendra.swarn... |
0428f5ed-593c-402e-b903-d666e866b2df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 09:06:05", "repo_name": "kardidev/poc-service-probes-consumer", "sub_path": "/src/main/java/com/kardidev/poc/cloud/probes/consumer/service/load/LoadService.java", "file_name": "LoadService.java", "file_ext"... | https://github.com/kardidev/poc-service-probes-consumer | 208 | FILENAME: LoadService.java | 0.264358 | package com.kardidev.poc.cloud.probes.consumer.service.load;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;
@Component
public class LoadService {
private final RestTem... |
8b720bfd-58df-47a6-9328-eff29fa44157 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-20T08:22:00", "repo_name": "didinem/dmfqa", "sub_path": "/src/test/java/org/didinem/ZkTest.java", "file_name": "ZkTest.java", "file_ext": "java", "file_size_in_byte": 975, "line_count": 32, "lang": "en", "doc_... | https://github.com/didinem/dmfqa | 214 | FILENAME: ZkTest.java | 0.214691 | package org.didinem;
import org.I0Itec.zkclient.ZkClient;
import org.apache.commons.lang3.StringUtils;
import org.didinem.sprops.DubboProperties;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* Created by zhongzhengmin on 2017/3/10.
*/
public class ZkTest {
@Autowir... |
ce9ebe49-1abe-402f-a5ee-45193c7f66a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-25 04:13:23", "repo_name": "basecampstartup/sharpNodeAndroid", "sub_path": "/app/src/main/java/com/sharpnode/adapter/DeviceDashboardPagerAdaper.java", "file_name": "DeviceDashboardPagerAdaper.java", "file_ext"... | https://github.com/basecampstartup/sharpNodeAndroid | 200 | FILENAME: DeviceDashboardPagerAdaper.java | 0.249447 | package com.sharpnode.adapter;
import android.content.Context;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.sharpnode.DeviceDashboardFragment;
/**
* Created by admin on 12/8/2016.
*/
public class DeviceDashboardPagerAdaper extends FragmentPagerAdapte... |
ce381190-ff62-4766-9a16-0d179c161645 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 02:34:30", "repo_name": "fangls/simple-seckill", "sub_path": "/src/test/java/com/fang/seckill/queue/KafkaQueueTests.java", "file_name": "KafkaQueueTests.java", "file_ext": "java", "file_size_in_byte": 1188,... | https://github.com/fangls/simple-seckill | 280 | FILENAME: KafkaQueueTests.java | 0.289372 | package com.fang.seckill.queue;
import com.fang.seckill.BaseTests;
import com.fang.seckill.consumer.KafkaQueueConsumer;
import com.fang.seckill.entity.GoodsDO;
import lombok.extern.slf4j.Slf4j;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... |
9c92d2fd-4034-4bca-8031-5eb96ef3508a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-12 20:31:17", "repo_name": "TheSchnoo/CourseAuditServer", "sub_path": "/src/web/CourseConverter.java", "file_name": "CourseConverter.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 34, "lang... | https://github.com/TheSchnoo/CourseAuditServer | 178 | FILENAME: CourseConverter.java | 0.258326 | package web;
import org.json.JSONObject;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
/**
* Apathetic spawn of Wesb on 11/11/16.
*/
public class CourseConverter {
public List<Course> convertResultSetToCourseList(ResultSet resultSet) {
List... |
4f2846c3-2fc8-41c7-8d6a-cebad0002118 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-09 05:51:03", "repo_name": "Novthirteen/esupply-yfkey", "sub_path": "/src/main/java/com/yfkey/webapp/filter/ThemeFilter.java", "file_name": "ThemeFilter.java", "file_ext": "java", "file_size_in_byte": 1027, "l... | https://github.com/Novthirteen/esupply-yfkey | 188 | FILENAME: ThemeFilter.java | 0.23231 | package com.yfkey.webapp.filter;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.hibernate.internal.util.StringHelper;
im... |
d1f4331d-cb7d-4b3a-9f8b-efb48f5257d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-12 07:36:00", "repo_name": "jzykk/erp", "sub_path": "/erp/src/com/company/bean/Decorate.java", "file_name": "Decorate.java", "file_ext": "java", "file_size_in_byte": 1044, "line_count": 71, "lang": "en", "doc_... | https://github.com/jzykk/erp | 288 | FILENAME: Decorate.java | 0.258326 | package com.company.bean;
/**
* @author Davi
* @category 装潢件信息表
*/
public class Decorate {
/**
* 商品编号
*/
private int spid;
/**
* 装潢名称
*/
private String decoratename;
/**
* 类型Id
*/
private int typeid;
/**
* 装潢 编号
*/
private int id;
public int getSpid() {
return ... |
2611d037-8326-4e01-9e52-ada91fcd7a13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-19 06:27:04", "repo_name": "rivkaer/WhisperServer", "sub_path": "/src/main/java/com/bloodsport/whisper/feature/encrypt/EncryptionController.java", "file_name": "EncryptionController.java", "file_ext": "java", ... | https://github.com/rivkaer/WhisperServer | 265 | FILENAME: EncryptionController.java | 0.233706 | package com.bloodsport.whisper.feature.encrypt;
import com.bloodsport.whisper.core.annotation.ResultSkip;
import com.bloodsport.whisper.core.annotation.SecurityParameter;
import com.bloodsport.whisper.model.pojo.PublicKeyDTO;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bin... |
8210fbbc-e517-496f-b28d-0ebfe1bb5377 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 09:20:33", "repo_name": "zchLee/WebProject", "sub_path": "/src/com/lea/servlet/expand/listener/AttributeListenerServlet.java", "file_name": "AttributeListenerServlet.java", "file_ext": "java", "file_size_in... | https://github.com/zchLee/WebProject | 209 | FILENAME: AttributeListenerServlet.java | 0.23793 | package com.lea.servlet.expand.listener;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException... |
12d6f125-079c-4b87-805c-2a2c8765ff9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-24 13:37:11", "repo_name": "IntelliQ/Android", "sub_path": "/IntelliQ/backend/src/main/java/com/intelliq/appengine/api/PermissionSet.java", "file_name": "PermissionSet.java", "file_ext": "java", "file_size_in_... | https://github.com/IntelliQ/Android | 202 | FILENAME: PermissionSet.java | 0.228156 | package com.intelliq.appengine.api;
import com.intelliq.appengine.datastore.entries.PermissionEntry;
import java.util.ArrayList;
import java.util.List;
public class PermissionSet {
public static final byte REQUIRE_ANY = 0;
public static final byte REQUIRE_ALL = 1;
private List<PermissionEntry> permissi... |
39208849-c64c-423a-b226-c49c93ac5900 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-19T17:27:22", "repo_name": "mstepovanyy/PQC", "sub_path": "/src/main/java/com/stepomy/core/consumer/Consumer.java", "file_name": "Consumer.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 36... | https://github.com/mstepovanyy/PQC | 196 | FILENAME: Consumer.java | 0.286169 | package com.stepomy.core.consumer;
import com.stepomy.core.Configuration;
import com.stepomy.core.QueueItem;
import java.util.Timer;
import java.util.concurrent.*;
import java.util.stream.IntStream;
public class Consumer {
private LinkedBlockingQueue<QueueItem> queue = new LinkedBlockingQueue<>(Configuration.CO... |
27193e32-c2bd-48bb-ae5c-c652a4007f59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-28 03:23:55", "repo_name": "xcpxcp198608/BPlay", "sub_path": "/app/src/main/java/com/wiatec/bplay/utils/OkHttp/Request/PostRequest.java", "file_name": "PostRequest.java", "file_ext": "java", "file_size_in_byte... | https://github.com/xcpxcp198608/BPlay | 217 | FILENAME: PostRequest.java | 0.288569 | package com.wiatec.bplay.utils.OkHttp.Request;
import java.util.Map;
import okhttp3.FormBody;
import okhttp3.Headers;
import okhttp3.Request;
/**
* Created by patrick on 2016/12/23.
*/
public class PostRequest extends RequestMaster {
private String url;
public PostRequest (String url){
this.url... |
62d561c2-61a5-4ad1-ad3e-f072f4a173fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-05 13:53:50", "repo_name": "PhoenixNest/Aurora", "sub_path": "/app/src/main/java/com/dev/aurora/utils/LazyFragment.java", "file_name": "LazyFragment.java", "file_ext": "java", "file_size_in_byte": 1162, "line_... | https://github.com/PhoenixNest/Aurora | 201 | FILENAME: LazyFragment.java | 0.256832 | package com.dev.aurora.utils;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
public abstract class La... |
8f6b64ec-bff2-429c-b7ce-046b34a75a12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-06 11:31:45", "repo_name": "prifkywahyu/aquafish", "sub_path": "/app/src/main/java/com/mobile/aquafish/SharedPreferences.java", "file_name": "SharedPreferences.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/prifkywahyu/aquafish | 229 | FILENAME: SharedPreferences.java | 0.255344 | package com.mobile.aquafish;
import android.content.Context;
import static android.content.Context.MODE_PRIVATE;
public class SharedPreferences {
private static final String AQUAFISH_APP = "aquafishApp";
static final String AQUA_CODE = "aquaCode";
static final String AQUA_NAME = "nameUser";
private... |
e731f292-7ca4-435d-84da-eefdf295249c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-16 08:10:29", "repo_name": "OpenConext/OpenConext-pdp", "sub_path": "/pdp-server/src/test/java/pdp/access/BasicAuthenticationManagerTest.java", "file_name": "BasicAuthenticationManagerTest.java", "file_ext": "... | https://github.com/OpenConext/OpenConext-pdp | 197 | FILENAME: BasicAuthenticationManagerTest.java | 0.255344 | package pdp.access;
import org.junit.Test;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.TestingAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.userdetails.UsernameNot... |
a4be60ed-a18d-4c90-887e-5a78d9178705 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-25 04:48:10", "repo_name": "Tushar-W/CRUD-Operation-In-SpringBoot", "sub_path": "/src/main/java/com/bl/springboot/controller/ProductController.java", "file_name": "ProductController.java", "file_ext": "java", ... | https://github.com/Tushar-W/CRUD-Operation-In-SpringBoot | 190 | FILENAME: ProductController.java | 0.26588 | package com.bl.springboot.controller;
import com.bl.springboot.model.Product;
import com.bl.springboot.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
public class ProductController {
... |
0fee8b59-1adb-427d-8432-e84747d66aca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-20 08:10:19", "repo_name": "gaofeifan/linkemore", "sub_path": "/ops-server/src/main/java/cn/linkmore/ops/biz/controller/ReceiveController.java", "file_name": "ReceiveController.java", "file_ext": "java", "file... | https://github.com/gaofeifan/linkemore | 225 | FILENAME: ReceiveController.java | 0.229535 | package cn.linkmore.ops.biz.controller;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.spring... |
1a7c5f1d-6578-4842-b823-5d6062692c7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-07 17:38:33", "repo_name": "rajeshk486/Data_Structure_stuffs", "sub_path": "/leetcode/InvertBinaryTree.java", "file_name": "InvertBinaryTree.java", "file_ext": "java", "file_size_in_byte": 986, "line_count": 3... | https://github.com/rajeshk486/Data_Structure_stuffs | 212 | FILENAME: InvertBinaryTree.java | 0.279828 | package com.parkinglot.design.ProblemSolving;
public class InvertBinaryTree {
static boolean isSymmetric(Node root)
{
return true;
}
public static void inorderTraversal(Node root)
{
if(root == null)
return;
inorderTraversal(root.left);
System.out.print(ro... |
6661bee3-ee09-450e-a967-25314b3d1dce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-05 09:31:24", "repo_name": "tomingerson/concurrency_demo", "sub_path": "/src/test/java/concurrency/motivation/Example3_AppleShopTest.java", "file_name": "Example3_AppleShopTest.java", "file_ext": "java", "file... | https://github.com/tomingerson/concurrency_demo | 210 | FILENAME: Example3_AppleShopTest.java | 0.268941 | package concurrency.motivation;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.... |
717bbeff-8e7d-4d88-821d-6c6e61b621a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-02 15:00:40", "repo_name": "cheneasternsun/KeyDemo", "sub_path": "/app/src/main/java/com/dongchen/keydemo/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 998, "li... | https://github.com/cheneasternsun/KeyDemo | 196 | FILENAME: BaseActivity.java | 0.204342 | package com.dongchen.keydemo;
import android.app.Activity;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.MenuItem;
/**
*
*
* @author dongchen
* created at 2018/5/25 17:37
*
* 功能:
* 目的:
*/
public ... |
9ef4c0a3-5fd3-4a6a-8aba-ab984e9c303a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-26 22:20:46", "repo_name": "mcelrea/DummyServerTest", "sub_path": "/core/src/com/mcelrea/firstservertry/Player.java", "file_name": "Player.java", "file_ext": "java", "file_size_in_byte": 987, "line_count": 49,... | https://github.com/mcelrea/DummyServerTest | 234 | FILENAME: Player.java | 0.264358 | package com.mcelrea.firstservertry;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
public class Player {
private float x;
private float y;
private Color color;
private float prevX;
private float prevY;
public Player(Color color) {
this.... |
14e37f9b-8a3a-48b2-94b2-7b79a51c0b5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-18 21:46:43", "repo_name": "java-prolog-connectivity/jpc", "sub_path": "/src/main/java/org/jpc/util/termprocessor/strategy/PredicateTermProcessorStrategy.java", "file_name": "PredicateTermProcessorStrategy.jav... | https://github.com/java-prolog-connectivity/jpc | 199 | FILENAME: PredicateTermProcessorStrategy.java | 0.288569 | package org.jpc.util.termprocessor.strategy;
import java.util.List;
import java.util.Map;
import java.util.function.Predicate;
import org.jpc.term.Term;
import org.jpc.util.termprocessor.CompositeTermProcessor;
import org.jpc.util.termprocessor.TermProcessor;
public class PredicateTermProcessorStrategy implements T... |
954ea923-467b-4b15-b7e3-c43b7daf56d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-20T09:47:46", "repo_name": "kshwetabh/GoogleCalendarWallpaper-Golang", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1051, "line_count": 28, "lang": "en", "doc_... | https://github.com/kshwetabh/GoogleCalendarWallpaper-Golang | 282 | FILENAME: README.md | 0.288569 |
# Sample

# Install Dependencies:
- Get the Google Calendar API Go client library and OAuth2 package using the following commands:
go get -u google.golang.org/api/calendar/v3
go get -u golang.... |
949568f0-6923-4f23-a90a-32d7989aec93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-20 15:51:02", "repo_name": "linkedpipes/etl", "sub_path": "/libraries/library-pipeline/src/main/java/com/linkedpipes/etl/library/pipeline/adapter/RawPipelineDataFlow.java", "file_name": "RawPipelineDataFlow.ja... | https://github.com/linkedpipes/etl | 233 | FILENAME: RawPipelineDataFlow.java | 0.27048 | package com.linkedpipes.etl.library.pipeline.adapter;
import org.eclipse.rdf4j.model.Resource;
import org.eclipse.rdf4j.model.Value;
import java.util.ArrayList;
import java.util.List;
public class RawPipelineDataFlow {
/**
* Connection resource.
*/
public Resource resource;
/**
* Connect... |
d1360ffe-c73b-4b7c-ae03-63dd12fff5bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-27 11:32:07", "repo_name": "BondarenkoJek/todo-list-spring-boot", "sub_path": "/src/main/java/ua/bondarenkojek/controllers/AdminController.java", "file_name": "AdminController.java", "file_ext": "java", "file_... | https://github.com/BondarenkoJek/todo-list-spring-boot | 183 | FILENAME: AdminController.java | 0.273574 | package ua.bondarenkojek.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;
import ua.bondarenkojek.models.User;
import ua.bondarenkojek.services.UserServ... |
114ef183-e1b0-415d-bc58-be62f26f7ee5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-11 02:09:29", "repo_name": "gothamp/groupshopping", "sub_path": "/src/main/java/com/glosoft/inventory_service/item/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 987, "line_coun... | https://github.com/gothamp/groupshopping | 190 | FILENAME: Item.java | 0.224055 | package com.glosoft.inventory_service.item;
import java.util.concurrent.atomic.AtomicLong;
public class Item {
private final long id;
private final long categoryId;
private final String name;
private final String description;
private final String imageURL;
public long getId() {
retur... |
c7e54329-ad76-44f6-a0eb-d848face046a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-09 07:37:43", "repo_name": "Denijar/SOFTENG364_Assignment2", "sub_path": "/src/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1157, "line_count": 48, "lang": "en", "doc_type... | https://github.com/Denijar/SOFTENG364_Assignment2 | 254 | FILENAME: Client.java | 0.290981 | public class Client {
private String _clientName;
private String _clientType;
private String _hostname;
private int _port;
private int _responseTime;
public Client(String row){
// Parse the data, assigning to fields
String[] data = row.split(",");
_clientName... |
27e4f620-f508-4bee-b7e1-dd544f10c6df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-18 05:25:02", "repo_name": "Shanisahu10121998/FirebaseTesting", "sub_path": "/app/src/main/java/shani/firebasetesting/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Shanisahu10121998/FirebaseTesting | 184 | FILENAME: MainActivity.java | 0.212069 | package shani.firebasetesting;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.google.firebase.database.DatabaseReference;
public class MainActivity extends AppCompatActivity {
Button addB... |
8834e7e0-01f4-4946-b61e-1503725075c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-11 11:55:48", "repo_name": "Vasilis-wx/springboot_vue__demo", "sub_path": "/src/main/java/com/wx/control/login/LoginControl.java", "file_name": "LoginControl.java", "file_ext": "java", "file_size_in_byte": 110... | https://github.com/Vasilis-wx/springboot_vue__demo | 218 | FILENAME: LoginControl.java | 0.204342 | package com.wx.control.login;
import com.wx.VO.ResultVO;
import com.wx.model.user.TUser;
import com.wx.service.user.UserService;
import com.wx.util.ResultVOUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.... |
c2920861-de81-4288-971c-3f89daac3263 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-04T19:37:40", "repo_name": "DmitryBelonogov/Replicator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1024, "line_count": 35, "lang": "en", "doc_type": "text",... | https://github.com/DmitryBelonogov/Replicator | 258 | FILENAME: README.md | 0.210766 | # Replicator
News, full-text, and article metadata extraction in Java with Jsoup
[](https://travis-ci.org/nougust3/Replicator)
## Usage
```
Loader loader = new Loader(url,
new LoaderCallback() {
@Override
public void onLoaded... |
398f92bd-02fa-48c8-a000-93e04511a144 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-22 04:49:20", "repo_name": "friskac/Tubes1", "sub_path": "/app/src/main/java/com/example/makanapa/LobbyFragment.java", "file_name": "LobbyFragment.java", "file_ext": "java", "file_size_in_byte": 1162, "line_co... | https://github.com/friskac/Tubes1 | 205 | FILENAME: LobbyFragment.java | 0.249447 | package com.example.makanapa;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import androidx.fragment.app.Fragment;
public class LobbyFragment extends Fragment {
private static LobbyFragment lobbyFragment;
p... |
edd36e41-d3b1-4091-af48-177b3e83b62e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-15 02:56:10", "repo_name": "FlyMyFish/ScenicSportWithOut", "sub_path": "/app/src/main/java/com/shichen/scenicsport/data/source/local/ScenicSportDatabase.java", "file_name": "ScenicSportDatabase.java", "file_ex... | https://github.com/FlyMyFish/ScenicSportWithOut | 181 | FILENAME: ScenicSportDatabase.java | 0.268941 | package com.shichen.scenicsport.data.source.local;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.content.Context;
import android.support.annotation.NonNull;
import com.shichen.scenicsport.data.Sport;
@Databa... |
b171e5bc-6dc3-498f-8b91-c753d3b1902a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-06 06:20:18", "repo_name": "AworldIcon/MainProject", "sub_path": "/MainProject/app/src/main/java/com/coder/kzxt/course/adapter/CourseClassAdapter.java", "file_name": "CourseClassAdapter.java", "file_ext": "jav... | https://github.com/AworldIcon/MainProject | 248 | FILENAME: CourseClassAdapter.java | 0.256832 | package com.coder.kzxt.course.adapter;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.coder.kzxt.activity.R;
import java.util.ArrayList;
/**
* 课程班级适配器
* Created by wangtingshun on 2... |
e5f28436-4227-4716-9cf3-fe2b2fd2e5aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-16 06:39:29", "repo_name": "PaliwalArpit/selenium-chormedevtools-demo", "sub_path": "/src/test/java/me/tests/IgnoreCertTest.java", "file_name": "IgnoreCertTest.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/PaliwalArpit/selenium-chormedevtools-demo | 211 | FILENAME: IgnoreCertTest.java | 0.259826 | package me.tests;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.devtools.DevTools;
import org.openqa.selenium.devtools.security.Security;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class IgnoreCertTest {
private static ... |
a22f0984-d748-431b-bfea-dc6715f6a3b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-14 04:49:52", "repo_name": "duggankimani/WIRA", "sub_path": "/src/main/java/com/duggan/workflow/shared/model/dashboard/TaskAging.java", "file_name": "TaskAging.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/duggankimani/WIRA | 228 | FILENAME: TaskAging.java | 0.246533 | package com.duggan.workflow.shared.model.dashboard;
import com.wira.commons.shared.models.SerializableObj;
public class TaskAging extends SerializableObj{
/**
*
*/
private static final long serialVersionUID = 1L;
private String period;
private int taskCount;
private int percentage;
private int position;
... |
c2df2f73-b8fb-4b17-a151-8e621faf0b85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-05 11:03:40", "repo_name": "BROWN3QQQ/Cstatour", "sub_path": "/src/main/java/com/brown3qqq/cstatour/dao/Impl/UserRepositoryimpl.java", "file_name": "UserRepositoryimpl.java", "file_ext": "java", "file_size_in_... | https://github.com/BROWN3QQQ/Cstatour | 214 | FILENAME: UserRepositoryimpl.java | 0.255344 | package com.brown3qqq.cstatour.dao.Impl;
import com.brown3qqq.cstatour.dao.UserCustomerRepository;
import com.brown3qqq.cstatour.dao.UserRepository;
import com.brown3qqq.cstatour.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import... |
dbb5a1cd-3340-4393-8599-24fc205846e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-04 12:19:06", "repo_name": "yang-shixiong/concurrent", "sub_path": "/src/main/java/com/yang/lock/CyclicBarrierDemo.java", "file_name": "CyclicBarrierDemo.java", "file_ext": "java", "file_size_in_byte": 1162, "... | https://github.com/yang-shixiong/concurrent | 231 | FILENAME: CyclicBarrierDemo.java | 0.272025 | package com.yang.lock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CyclicBarrier;
import static com.yang.util.Sleeper.sleep;
/**
* Description:
*
* @author mark
* Date 2020/11/4
*/
public class CyclicBarrierDemo {
... |
bf0669e2-cef4-47fe-bf47-25f7d9b22033 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-16T02:42:58", "repo_name": "an1meshk/ChutesAndLaddersGame", "sub_path": "/.github/CONTRIBUTING.md", "file_name": "CONTRIBUTING.md", "file_ext": "md", "file_size_in_byte": 1056, "line_count": 28, "lang": "e... | https://github.com/an1meshk/ChutesAndLaddersGame | 240 | FILENAME: CONTRIBUTING.md | 0.249447 | # Contributing to ChutesAndLaddersGame
Thanks for your interest in ChutesAndLaddersGame.
## Getting Started
ChutesAndLaddersGame's [open issues are here](https://github.com/animesh2712/ChutesAndLaddersGame/issues).
An easy way to get started helping the project is to *file an issue*.
Issues can include bugs to fi... |
549f1165-0025-4536-af34-d5cbca6e0ccc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-13 05:00:13", "repo_name": "amritkrishan/ParallelUniverse", "sub_path": "/src/main/java/com/universe/tasks/service/FamilyServiceImpl.java", "file_name": "FamilyServiceImpl.java", "file_ext": "java", "file_size... | https://github.com/amritkrishan/ParallelUniverse | 176 | FILENAME: FamilyServiceImpl.java | 0.293404 | package com.universe.tasks.service;
import com.universe.tasks.model.Family;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.universe.tasks.repository.FamilyRepository;
import ja... |
b6e43016-3d18-42e3-8f18-4802ee822dfb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-07 11:08:39", "repo_name": "jzxyouok/XinShang", "sub_path": "/app/src/main/java/com/qluxstory/qingshe/information/adapter/InformationAdapter.java", "file_name": "InformationAdapter.java", "file_ext": "java", "... | https://github.com/jzxyouok/XinShang | 237 | FILENAME: InformationAdapter.java | 0.264358 | package com.qluxstory.qingshe.information.adapter;
import android.widget.ImageView;
import com.qluxstory.ptrrecyclerview.BaseRecyclerViewHolder;
import com.qluxstory.ptrrecyclerview.BaseSimpleRecyclerAdapter;
import com.qluxstory.qingshe.R;
import com.qluxstory.qingshe.common.utils.ImageLoaderUtils;
import com.qluxst... |
dd8f307c-bf9b-4a9e-9734-67389285c453 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-21 23:25:30", "repo_name": "Refactorality/alone", "sub_path": "/src/main/java/com/palehorsestudios/alone/Food.java", "file_name": "Food.java", "file_ext": "java", "file_size_in_byte": 1162, "line_count": 54, "... | https://github.com/Refactorality/alone | 290 | FILENAME: Food.java | 0.287768 | package com.palehorsestudios.alone;
import java.util.Objects;
public class Food extends Item {
private double caloriesPerGram;
private double grams;
public Food() {
}
public Food(String name, double caloriesPerGram, double grams) {
super(name);
this.caloriesPerGram = caloriesPerGram;
this.gra... |
0fc4cd8e-b0d2-4d9f-95f2-be488ddfd38f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-15 02:44:44", "repo_name": "bugjc/quick-ea", "sub_path": "/ea-gateway-layer/zuul-api-gateway/src/main/java/com/bugjc/ea/gateway/zuul/core/exception/BizException.java", "file_name": "BizException.java", "file_e... | https://github.com/bugjc/quick-ea | 219 | FILENAME: BizException.java | 0.228156 | package com.bugjc.ea.gateway.zuul.core.exception;
import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
public class BizException extends RuntimeException {
private int code; //异常状态码
private String message; //异常信息
private String method; //发生的方法,位置等
privat... |
cb645c55-546d-41c7-9428-8da099431511 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-18T15:42:56", "repo_name": "miseryprevails/TrackFittUpdated", "sub_path": "/Prototype HTML & Pictures/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1163, "line_count": 17, "l... | https://github.com/miseryprevails/TrackFittUpdated | 286 | FILENAME: README.md | 0.261331 |
# Prototype

This the Log In Screen. Here you have a username and password box to enter credentials.
you have the forgot password option to retrieve password, and below you can click new signup to ... |
559b4bb6-6473-45f8-98f5-cbc2a18444b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-30 07:26:36", "repo_name": "itolisto/ConversaBusiness-Android", "sub_path": "/app/src/main/java/ee/app/conversamanager/model/nCategory.java", "file_name": "nCategory.java", "file_ext": "java", "file_size_in_by... | https://github.com/itolisto/ConversaBusiness-Android | 240 | FILENAME: nCategory.java | 0.235108 | package ee.app.conversamanager.model;
import android.content.Context;
import android.text.TextUtils;
import ee.app.conversamanager.R;
/**
* Created by edgargomez on 9/15/16.
*/
public class nCategory {
private final String objectId;
private final String name;
private final String avatarUrl;
privat... |
65af0666-d637-4e7a-8e48-dee1f9440bda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-12T13:36:59", "repo_name": "ymittal/info-retrieval-final-project", "sub_path": "/retrieval/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 30, "lang": "en", ... | https://github.com/ymittal/info-retrieval-final-project | 216 | FILENAME: README.md | 0.282988 | This folder contains:
1. Queries for evaluating our systems
2. Configuration files for searching in Galago
3. Raw results from Solr
4. Results from both systems ready for pooling
Experiment 1 (Galago)
Using `Galago`, we analysed the following:
1. Retrieval performance using different query operators:
- BM25
-... |
01628dbb-f571-4728-9dad-e357a4d90935 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-18 14:17:24", "repo_name": "PIH/mirebalais-smoke-tests", "sub_path": "/src/test/java/org/openmrs/module/mirebalais/smoke/helper/Exporter.java", "file_name": "Exporter.java", "file_ext": "java", "file_size_in_b... | https://github.com/PIH/mirebalais-smoke-tests | 207 | FILENAME: Exporter.java | 0.252384 | package org.openmrs.module.mirebalais.smoke.helper;
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.database.QueryDataSet;
import org.dbunit.dataset.xml.FlatXmlDataSet;
import org.openmrs.module.mirebalais.smoke.helper.SmokeTestProperties;
import java.i... |
72329ed7-a4b6-4f3e-854b-eb0f3d90d354 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-08 21:07:21", "repo_name": "ChrisMitov/Repo", "sub_path": "/Test3Practice/src/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 51, "lang": "en", "doc_type"... | https://github.com/ChrisMitov/Repo | 289 | FILENAME: Client.java | 0.291787 | import java.util.Arrays;
import java.util.List;
public class Client implements Runnable{
private Shop shop;
@Override
public void run() {
List<Product> moqtSpisyk = Arrays.asList(
new Product("Pork", ProductType.MEATS),
new Product("Cucumber", ProductType.VEGETABLES),
new Product("Banana", Product... |
4540b577-308b-4e81-8b4b-6bc5ec198015 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-17T16:53:58", "repo_name": "willjohnsonio/eggheadio-web-security-essentails", "sub_path": "/01-web-security-course-overview.md", "file_name": "01-web-security-course-overview.md", "file_ext": "md", "file_s... | https://github.com/willjohnsonio/eggheadio-web-security-essentails | 312 | FILENAME: 01-web-security-course-overview.md | 0.212069 | [Video Link](https://egghead.io/lessons/egghead-web-security-course-overview)
# 01. Web Security Course Overview
**These instructions are for macOS**
* Download Charles Proxy [charlesproxy.com/download](https://www.charlesproxy.com/download)
* Download Git run `git --version` in the command line to check if you have... |
47f657d2-175c-4d33-8878-26ba75ef2060 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 09:18:16", "repo_name": "Pawel-Iskra/LocalWeatherStationAPI", "sub_path": "/src/main/java/com/local_weather_API/external_APIs/darksky/DarkSkyApiFetcher.java", "file_name": "DarkSkyApiFetcher.java", "file_ex... | https://github.com/Pawel-Iskra/LocalWeatherStationAPI | 227 | FILENAME: DarkSkyApiFetcher.java | 0.282988 | package com.local_weather_API.external_APIs.darksky;
import com.local_weather_API.external_APIs.darksky.model.Currently;
import com.local_weather_API.external_APIs.darksky.model.WeatherFromDarkSkyApi;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
impo... |
48fb2fb1-9907-486a-9ffe-cad723d9ced2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-30 06:16:13", "repo_name": "motodale/homework9", "sub_path": "/src/Frame.java", "file_name": "Frame.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count": 54, "lang": "en", "doc_type": "code", "bl... | https://github.com/motodale/homework9 | 197 | FILENAME: Frame.java | 0.206894 | import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* Created by Dale.
*/
public class Frame extends JFrame {
private JPanel menu;
public Frame(){
this.setLayout(new FlowLayout());
this.setSize(400,300);
this.setTitle... |
e7249531-f4b0-49d9-a038-0bb320d79024 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-20 09:29:35", "repo_name": "ivanstoykovivanov-telerik/OOP_exam_preparation", "sub_path": "/src/models/base/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 63,... | https://github.com/ivanstoykovivanov-telerik/OOP_exam_preparation | 250 | FILENAME: Task.java | 0.275909 | package models.base;
import java.util.Date;
import models.TicketPriority;
public class Task extends Item {
private TicketPriority priority;
private String assignee ;
private Date plannedTime;
private Date dueDate;
public Task(String title, String description, Date dueDate, TicketPriority priority, Date pl... |
5b346cb2-1281-4fef-900a-957bf5bf775f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-17 23:57:17", "repo_name": "Atonement100/Computer-Networking", "sub_path": "/Project-2/src/packet.java", "file_name": "packet.java", "file_ext": "java", "file_size_in_byte": 979, "line_count": 44, "lang": "en"... | https://github.com/Atonement100/Computer-Networking | 203 | FILENAME: packet.java | 0.233706 | import java.io.Serializable;
public class packet implements Serializable{
private byte sequenceNum;
private byte packetId;
private int checksum;
private String content;
public packet(byte seqNum, byte packetId, int checksum, String content){
this.sequenceNum = seqNum;
this.packetId... |
00f3dc39-09cf-4837-aec9-b0c0ecc78de4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-12-12T14:47:56", "repo_name": "plone/guillotina", "sub_path": "/docs/source/training/extending/configuration.md", "file_name": "configuration.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 30... | https://github.com/plone/guillotina | 211 | FILENAME: configuration.md | 0.259826 | # Configuration
All application extension configuration is defined with Guillotina's `configure`
module and the `app_settings` object.
Defining content types, behaviors, services, etc all require the use of the
`configure` module. Guillotina reads all the registered configuration in code
for each install application ... |
8d755d04-6a14-4e11-b7c2-d2017b1fbe33 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-12 15:56:51", "repo_name": "ammyblabla/spring-security-spike", "sub_path": "/src/main/java/com/example/spikespringsecurity/student/StudentManagementController.java", "file_name": "StudentManagementController.j... | https://github.com/ammyblabla/spring-security-spike | 228 | FILENAME: StudentManagementController.java | 0.262842 | package com.example.spikespringsecurity.student;
import lombok.RequiredArgsConstructor;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapping("management/v1/students")
@RequiredArgsConstructor
public c... |
048455c0-2ac8-49b0-91e0-8cb969f06bd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-08 13:33:38", "repo_name": "Alexygui/MicroMessage", "sub_path": "/src/com/aaa/dao/CommandDao.java", "file_name": "CommandDao.java", "file_ext": "java", "file_size_in_byte": 1062, "line_count": 42, "lang": "en"... | https://github.com/Alexygui/MicroMessage | 257 | FILENAME: CommandDao.java | 0.294215 | package com.aaa.dao;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import com.aaa.bean.Command;
import com.aaa.db.DBAccess;
/**
* 和Command表相关的数据库操作
*/
public class CommandDao {
/**
* 根据查询条件查询指令列表
*/
public List<Command> queryComma... |
31750068-d5fd-4535-bdd3-f339288d20c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 02:25:48", "repo_name": "biantaiwuzui/netx", "sub_path": "/trunk/netx-job/netx-schedule/src/main/java/com/netx/schedule/jobhandler/ucenter/ArticleDeletedJobHandler.java", "file_name": "ArticleDeletedJobHand... | https://github.com/biantaiwuzui/netx | 201 | FILENAME: ArticleDeletedJobHandler.java | 0.206894 | package com.netx.schedule.jobhandler.ucenter;
import com.netx.core.biz.model.ReturnT;
import com.netx.core.handler.IJobHandler;
import com.netx.core.handler.annotation.JobHandler;
import com.netx.core.log.XxlJobLogger;
import com.netx.ucenter.biz.user.ArticleAction;
import org.apache.commons.lang.StringUtils;
import o... |
58df204c-24c6-45bc-81f2-34d6f848530d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-27T15:54:11", "repo_name": "jraleman/afinar.me", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 988, "line_count": 31, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/jraleman/afinar.me | 248 | FILENAME: README.md | 0.243642 | # Afinar.me

## Idea
### G and F Cleff Trainer (Gamify it)
- will show music sheet with some notes
- user has to tap on the correct note
- notes can be tapped by a music notes wheel
- if the note is b or #, then have additional 5 notes to display outside wheel
- notes from music notes whee... |
b72a14f7-4317-4294-91b1-5807cd9f2578 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-27 11:30:19", "repo_name": "luckyNB/junit-mood-analyser-usecase", "sub_path": "/src/main/java/com/moodanalyser/MoodAnalyser.java", "file_name": "MoodAnalyser.java", "file_ext": "java", "file_size_in_byte": 108... | https://github.com/luckyNB/junit-mood-analyser-usecase | 222 | FILENAME: MoodAnalyser.java | 0.239349 | package com.moodanalyser;
public class MoodAnalyser {
private String message;
public MoodAnalyser(String message) {
this.message = message;
}
public MoodAnalyser() {
}
public String analyzeMood() throws MoodException {
try {
if (message == null) {
... |
54c06f25-1fdd-43af-bbf6-7f0b417bced5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-16 02:22:07", "repo_name": "Kaioru/nautilus-legacy", "sub_path": "/nautilus-core/src/main/java/co/kaioru/nautilus/core/packet/IReceiver.java", "file_name": "IReceiver.java", "file_ext": "java", "file_size_in_b... | https://github.com/Kaioru/nautilus-legacy | 254 | FILENAME: IReceiver.java | 0.291787 | package co.kaioru.nautilus.core.packet;
import co.kaioru.nautilus.core.user.User;
import co.kaioru.nautilus.core.util.IValue;
import org.slf4j.LoggerFactory;
import java.util.Map;
public interface IReceiver<U extends User, T extends IPacketHandler<U>> {
Map<Integer, T> getPacketHandlers();
default void registerP... |
63dde2fc-a7d3-470d-a1ad-18715e82420e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-05 20:22:18", "repo_name": "harinder2612/Warehouse", "sub_path": "/app/src/main/java/com/harinder/home_page2/snackbar.java", "file_name": "snackbar.java", "file_ext": "java", "file_size_in_byte": 1162, "line_c... | https://github.com/harinder2612/Warehouse | 209 | FILENAME: snackbar.java | 0.233706 | package com.harinder.home_page2;
import android.app.Activity;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
public class snackbar extends AppCompatActivity {
Snackbar snackbar;
... |
b02a7a54-be58-45f3-b64a-345d62fe5775 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-06 20:24:15", "repo_name": "abhigupta19/Adstory", "sub_path": "/app/src/main/java/com/sars/user/adstory/fullp.java", "file_name": "fullp.java", "file_ext": "java", "file_size_in_byte": 964, "line_count": 32, "... | https://github.com/abhigupta19/Adstory | 168 | FILENAME: fullp.java | 0.221351 | package com.sars.user.adstory;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.widget.ImageView;
import com.squareup.picasso.Picasso;
public class fullp extends AppCompatActivity {
ImageView imageView3;
@Overri... |
14de4c8a-0461-41f7-94c7-d0ecb556b9d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-04 14:07:41", "repo_name": "menezessn/AndroidStudio", "sub_path": "/Extras2/app/src/main/java/com/example/extras2/MainActivity2.java", "file_name": "MainActivity2.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/menezessn/AndroidStudio | 205 | FILENAME: MainActivity2.java | 0.289372 | package com.example.extras2;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity2 extends AppCompatActivity {
Button btnProximo2;
EditText et... |
cf82394c-2ce1-423d-95a4-f0d7257b2a10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-07 13:32:19", "repo_name": "jovicigor/SongRecommenderWeb", "sub_path": "/src/main/java/com/songrecommender/dataaccess/repository/SQL/associations/InsertTrackArtistAssociationQuery.java", "file_name": "InsertTr... | https://github.com/jovicigor/SongRecommenderWeb | 213 | FILENAME: InsertTrackArtistAssociationQuery.java | 0.268941 | package com.songrecommender.dataaccess.repository.SQL.associations;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class InsertTrackArtistAssociationQuery {
private int trackId = -1;
private static final String SQL = "INSERT INTO track_artist (track_Id, a... |
c6551ce9-857a-4857-95fd-d165963fe2db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-28 08:36:07", "repo_name": "EmptyPages0430/bxxc", "sub_path": "/app/src/main/java/com/jgkj/bxxc/adapter/SimpleFragmentPagerAdapter.java", "file_name": "SimpleFragmentPagerAdapter.java", "file_ext": "java", "fi... | https://github.com/EmptyPages0430/bxxc | 225 | FILENAME: SimpleFragmentPagerAdapter.java | 0.224055 | package com.jgkj.bxxc.adapter;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.jgkj.bxxc.PageFragment;
/**
* Created by fangzhou on 2017/1/4.
* viewPager适配器
*/
public class Simpl... |
273847ba-34fd-4a41-88a8-54a8cf273ce4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-09 11:30:08", "repo_name": "michealJC/system", "sub_path": "/src/main/java/com/micheajc/system/controller/Food_controller.java", "file_name": "Food_controller.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/michealJC/system | 193 | FILENAME: Food_controller.java | 0.235108 | package com.micheajc.system.controller;
import com.micheajc.system.bean.sys_food;
import com.micheajc.system.service.Food_service;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import or... |
b46c253e-7434-4909-9cc2-b26cb0b033d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-19 06:36:57", "repo_name": "zane29/dubbo-demo", "sub_path": "/serverdemo/src/main/java/com/dubbodemo/server/service/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in... | https://github.com/zane29/dubbo-demo | 259 | FILENAME: UserServiceImpl.java | 0.213377 | package com.dubbodemo.server.service;
import com.alibaba.dubbo.rpc.RpcContext;
import com.dubbodemo.common.UserInfo;
import com.dubbodemo.common.UserService;
/**
* Created with IntelliJ IDEA.
* User: lu
* Date: 16-12-20
* Time: 下午3:55
* To change this template use File | Settings | File Templates.
*/
public cla... |
44c6d0cc-8f8e-4974-8e64-e5eb901f3ad9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-22 06:57:13", "repo_name": "876860131robert/edot", "sub_path": "/edot-server/src/main/java/com/asiainfo/aigov/web/controller/edot/layout/page/PageMaterial.java", "file_name": "PageMaterial.java", "file_ext": "... | https://github.com/876860131robert/edot | 237 | FILENAME: PageMaterial.java | 0.242206 | package com.asiainfo.aigov.web.controller.edot.layout.page;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* 材料提交页
* @author songxiaoliang
*/
public class PageMaterial {
private Map<String,String> datas = new HashMap<String, ... |
72fd67f7-36e5-46fa-b49a-be464e4ae6e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-26 18:27:41", "repo_name": "jaren/AegisGame", "sub_path": "/app/src/main/java/io/github/automaticspork/aegis/components/EliteEnemy.java", "file_name": "EliteEnemy.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/jaren/AegisGame | 294 | FILENAME: EliteEnemy.java | 0.29584 | package io.github.automaticspork.aegis.components;
import android.graphics.Color;
import java.util.List;
import java.util.Random;
import io.github.automaticspork.aegis.GameView;
import io.github.automaticspork.aegis.Sprite;
import io.github.automaticspork.aegis.Vector;
/**
* Created by jaren on 5/25/17.
*/
publi... |
8147bfc9-5fa4-4040-a1d9-86c1f25b5c02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-21 15:47:12", "repo_name": "charlieboggus/simple-game-library", "sub_path": "/src/main/java/com/github/charlieboggus/sgl/graphics/gl/GLVertexArray.java", "file_name": "GLVertexArray.java", "file_ext": "java", ... | https://github.com/charlieboggus/simple-game-library | 258 | FILENAME: GLVertexArray.java | 0.279042 | package com.github.charlieboggus.sgl.graphics.gl;
import static org.lwjgl.opengl.GL20.glDisableVertexAttribArray;
import static org.lwjgl.opengl.GL20.glEnableVertexAttribArray;
import static org.lwjgl.opengl.GL20.glVertexAttribPointer;
import static org.lwjgl.opengl.GL30.glBindVertexArray;
import static org.lwjgl.open... |
7eb87e9a-672e-40cf-a173-86c36ef431e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-07 18:23:15", "repo_name": "MaheshSaini/AssignmentSpotSoon", "sub_path": "/app/src/main/java/com/assignment/spotsoon/view/IconTextTabLayout.java", "file_name": "IconTextTabLayout.java", "file_ext": "java", "fi... | https://github.com/MaheshSaini/AssignmentSpotSoon | 224 | FILENAME: IconTextTabLayout.java | 0.243642 | package com.assignment.spotsoon.view;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.design.widget.TabLayout;
import android.support.v4.view.PagerAdapter;
import android.util.AttributeSet;
import com.assignment.spotsoon.R;
/**
* Created by MAHESH on 10-Jun-17.
*/
... |
c55a8f7e-7de3-40c5-8111-c42b983105c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-19 08:53:58", "repo_name": "victorrentea/rx-java", "sub_path": "/src/main/java/victor/training/rx/sample/madalina/ChunkProcessor.java", "file_name": "ChunkProcessor.java", "file_ext": "java", "file_size_in_byt... | https://github.com/victorrentea/rx-java | 234 | FILENAME: ChunkProcessor.java | 0.229535 | package victor.training.rx.sample.madalina;
import java.io.InputStream;
import java.util.List;
public class ChunkProcessor {
private int currentChunkId;
private List<InputStream> listOfInputStreams;
private DocumentChunk[] unprocessedChunks;
public ChunkProcessor(int noOfChunks) {
}
public void p... |
6fc654ae-0ddc-40c4-ac0e-49731230be68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-30 16:10:41", "repo_name": "zhangchenmmtd/mediamonks-wechat-web", "sub_path": "/src/main/java/com/mediamonks/configuration/MvcConfiguration.java", "file_name": "MvcConfiguration.java", "file_ext": "java", "fil... | https://github.com/zhangchenmmtd/mediamonks-wechat-web | 183 | FILENAME: MvcConfiguration.java | 0.212069 | package com.mediamonks.configuration;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.*;
import org.springframework.web.servlet.view.InternalResourceViewResolver;
/**
* Created by zhangchen on 16/6/1.
*/
@Configuration
@EnableWebMvc
public class ... |
fa74b48d-b9ea-47be-afb3-b8bbb2c5c59b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-28 10:43:47", "repo_name": "miujoke/miujoke-springcloud", "sub_path": "/miujoke-common/src/main/java/com/miujoke/common/aspect/IdempotentAspect.java", "file_name": "IdempotentAspect.java", "file_ext": "java", ... | https://github.com/miujoke/miujoke-springcloud | 223 | FILENAME: IdempotentAspect.java | 0.220007 | package com.miujoke.common.aspect;
import com.miujoke.common.annotation.IdempotentAnnotation;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Compon... |
5e4ec809-8185-49e1-8b7c-7df006ad69a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-08 13:34:26", "repo_name": "yingwei0831/cuiweitourism", "sub_path": "/java/com/jhhy/cuiweitourism/http/ResponseResult.java", "file_name": "ResponseResult.java", "file_ext": "java", "file_size_in_byte": 994, "l... | https://github.com/yingwei0831/cuiweitourism | 240 | FILENAME: ResponseResult.java | 0.273574 | package com.jhhy.cuiweitourism.http;
import com.jhhy.cuiweitourism.utils.LoadingIndicator;
import com.jhhy.cuiweitourism.net.utils.LogUtil;
import org.xutils.common.Callback;
/**
* Created by jiahe008 on 2016/9/1.
*/
public abstract class ResponseResult implements Callback.CommonCallback<String>, ResponseCallback{... |
2b20faa5-ee23-457f-bfa9-78c16bdd705f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-02 10:18:06", "repo_name": "aktgb31/PLACEMENT-MANAGEMENT-SYSTEM", "sub_path": "/src/main/java/app/LoginStudentServlet.java", "file_name": "LoginStudentServlet.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/aktgb31/PLACEMENT-MANAGEMENT-SYSTEM | 190 | FILENAME: LoginStudentServlet.java | 0.259826 | package app;
import database.*;
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
public class LoginStudentServlet extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
t... |
e3768d82-9984-4510-93a5-115e05450dcf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-03 10:20:21", "repo_name": "tsbonev/cvetozar_bonev_web_and_servlets", "sub_path": "/src/main/java/com/clouway/bankapp/adapter/web/filter/util/SessionCleanupTask.java", "file_name": "SessionCleanupTask.java", "... | https://github.com/tsbonev/cvetozar_bonev_web_and_servlets | 211 | FILENAME: SessionCleanupTask.java | 0.278257 | package com.clouway.bankapp.adapter.web.filter.util;
import com.google.common.util.concurrent.AbstractScheduledService;
import com.clouway.bankapp.core.*;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.concurrent.TimeUnit;
public class SessionCleanupTask ext... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.