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 |
|---|---|---|---|---|---|---|
b57451c7-a28b-424c-92bc-3780ddd800c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-18 10:07:17", "repo_name": "marti90/BenvenutoWeb", "sub_path": "/BenvenutoProgetto/src/it/alfasoft/martina/ServletTabella.java", "file_name": "ServletTabella.java", "file_ext": "java", "file_size_in_byte": 979... | https://github.com/marti90/BenvenutoWeb | 200 | FILENAME: ServletTabella.java | 0.280616 | package it.alfasoft.martina;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
... |
c1045bb8-a5d9-4050-afbb-934b21e3ca35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-08 10:02:44", "repo_name": "chudichen/design-pattern", "sub_path": "/flux/src/main/java/com/michael/flux/dispatcher/Dispatcher.java", "file_name": "Dispatcher.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/chudichen/design-pattern | 227 | FILENAME: Dispatcher.java | 0.27513 | package com.michael.flux.dispatcher;
import com.michael.flux.action.*;
import com.michael.flux.store.Store;
import java.util.LinkedList;
import java.util.List;
/**
* 分发动作到已经注册的store
*
* @author Michael Chu
* @date 2019-05-20 15:36
*/
public final class Dispatcher {
private static Dispatcher instance = new ... |
431d9834-bdd4-4b70-89e3-6a3719d15657 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-22 19:27:25", "repo_name": "RichtXO/SNN", "sub_path": "/app/src/main/java/com/example/snn/ui/targetDisplay.java", "file_name": "targetDisplay.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count":... | https://github.com/RichtXO/SNN | 204 | FILENAME: targetDisplay.java | 0.256832 | package com.example.snn.ui;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.widget.TextView;
import androidx.annotation.Nullable;
import com.example.snn.R;
public class targetDisplay extends Activity {
@SuppressLin... |
23b61b5c-70a8-407f-8e4b-65e6211ebcd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-10 15:46:31", "repo_name": "kimyongjin24/navermaps", "sub_path": "/app/src/main/java/com/kimyong/navermaps/KimhaeActivity.java", "file_name": "KimhaeActivity.java", "file_ext": "java", "file_size_in_byte": 101... | https://github.com/kimyongjin24/navermaps | 235 | FILENAME: KimhaeActivity.java | 0.220007 | package com.kimyong.navermaps;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.naver.maps.geometry.LatLng;
import com.naver.maps.map.MapView;
import com.naver.maps.map.NaverMap;
import com.naver.maps.map.OnMapReadyCallback;
import com.naver.ma... |
9ccb6161-68f9-433e-9d7d-3041bd646f06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-30 14:17:31", "repo_name": "AaronBison/tunde-part", "sub_path": "/backendwithmongodb/Sapi3DTourMongo/src/main/java/com/Sapi3DTourMongo/Sapi3DTourMongo/requests/RegistrationRequest.java", "file_name": "Registra... | https://github.com/AaronBison/tunde-part | 245 | FILENAME: RegistrationRequest.java | 0.236516 | package com.Sapi3DTourMongo.Sapi3DTourMongo.requests;
import java.util.Set;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
public class RegistrationRequest {
@NotNull
@NotEmpty
private String username;
@NotNull
@N... |
3815f590-5132-422a-af10-2de23a944075 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-26 05:53:41", "repo_name": "mybocog/hiveweb", "sub_path": "/src/main/java/killjobServlet.java", "file_name": "killjobServlet.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 25, "lang": "en"... | https://github.com/mybocog/hiveweb | 194 | FILENAME: killjobServlet.java | 0.277473 | import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.Date;
import java.text.SimpleDateFormat;
public class killjobServlet extends HttpServlet {
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String use... |
ea9ff651-52c5-4638-973b-dbe5b60e62a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-01 01:12:35", "repo_name": "franplk/SpringBoot-1.5.15", "sub_path": "/sb-admin/src/main/java/com/plk/sbdemo/admin/web/controller/user/LoginController.java", "file_name": "LoginController.java", "file_ext": "ja... | https://github.com/franplk/SpringBoot-1.5.15 | 196 | FILENAME: LoginController.java | 0.23231 | package com.plk.sbdemo.admin.web.controller.user;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.... |
1e78791a-68f4-4c9f-ad3c-e6aaa4e62071 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-11 12:13:49", "repo_name": "prakash-dwarampudi/practice", "sub_path": "/core/src/main/java/com/practice/core/rest/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_byte": 1100, "lin... | https://github.com/prakash-dwarampudi/practice | 253 | FILENAME: Message.java | 0.258326 | package com.practice.core.rest;
import java.util.Date;
public class Message {
private int id;
private String message;
private String author;
private Date created;
public Message(){}
public Message(int id, String message, String author, Date created) {
this.id = id;
this.message = message;
this.author ... |
4fbb7908-9ed7-4252-bc6f-08f252b9078b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-18 21:03:41", "repo_name": "tomcrook/Projects", "sub_path": "/Personal Assistant Terminal/Personal Assistant/src/SaveFile.java", "file_name": "SaveFile.java", "file_ext": "java", "file_size_in_byte": 979, "lin... | https://github.com/tomcrook/Projects | 209 | FILENAME: SaveFile.java | 0.280616 | import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.util.Scanner;
public class SaveFile {
Home home;
boolean opened;
public SaveFile(Home home) {
this.home = home;
this.opened = false;
}
public String save() {
try {
Fil... |
e60d73ee-b814-4b07-ad30-40492b50fecc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-18 12:32:40", "repo_name": "Maria61/Java02", "sub_path": "/JavaDaily/src/advance/data_structure/hashmap/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1050, "line_count": 44... | https://github.com/Maria61/Java02 | 270 | FILENAME: Person.java | 0.286169 | package advance.data_structure.hashmap;
import java.util.Objects;
/**
* @author Maria
* @program JavaDaily
* @date 2020/3/21 21:29
*/
public class Person {
private String name;
private int age;
private int gender;
@Override
public boolean equals(Object o) {
if (this == o) return true;... |
febadcd7-5e3c-4487-bba1-a1689f9173e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-09 09:53:26", "repo_name": "cgenin/remote-eventbus", "sub_path": "/src/main/java/net/genin/remote/eventbus/EventBusServer.java", "file_name": "EventBusServer.java", "file_ext": "java", "file_size_in_byte": 101... | https://github.com/cgenin/remote-eventbus | 195 | FILENAME: EventBusServer.java | 0.240775 | package net.genin.remote.eventbus;
import com.google.common.base.Preconditions;
import com.google.common.eventbus.EventBus;
/**
* EventBus Implementation.
*/
abstract class EventBusServer implements RemoteEventBusServer {
public final EventBus eventBus;
protected String groupName;
protected Integer por... |
51f1962b-343b-4c84-963a-741f395998a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 17:12:21", "repo_name": "githubybx/Medical", "sub_path": "/src/main/java/com/example/demo/Pulse/pulse.java", "file_name": "pulse.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 56, "lang"... | https://github.com/githubybx/Medical | 222 | FILENAME: pulse.java | 0.2227 | package com.example.demo.Pulse;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
public class pulse {
String phone;
String pulse;
String sid;
@JsonFormat(pattern = "yyyy-MM-dd")
Date date;
public pulse() {
}
public String getPhone() {
return phone;
... |
3a7a597e-e8e2-4764-a91e-e437b1c76758 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-10 06:28:16", "repo_name": "ashish30k/Weather_Coding", "sub_path": "/app/src/main/java/com/example/ashishkumar/weather/model/SearchResultResponse.java", "file_name": "SearchResultResponse.java", "file_ext": "j... | https://github.com/ashish30k/Weather_Coding | 223 | FILENAME: SearchResultResponse.java | 0.204342 |
package com.example.ashishkumar.weather.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class SearchResultResponse {
@SerializedName("message")
@Expose
private String message;
@SerializedName("code")
@Expose
... |
2c58ab63-7f6e-4471-88fa-bf50321616cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-19T13:46:20", "repo_name": "pennywise81/webboilerplate", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 72, "lang": "en", "doc_type": "text", ... | https://github.com/pennywise81/webboilerplate | 280 | FILENAME: README.md | 0.2227 | # webboilerplate
Let's start something new
## Download
```
git clone git@github.com:pennywise81/webboilerplate.git PROJECTNAME
```
## Download without version control
```
git clone --depth=1 git@github.com:pennywise81/webboilerplate.git PROJECTNAME && rm -rf PROJECTNAME/.git
```
## NPM tasks
### Install
Installs d... |
cf377329-f696-40f7-af62-1f1101e9a4b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-27 01:56:26", "repo_name": "MorphiaOrg/morphia", "sub_path": "/core/src/test/java/dev/morphia/test/aggregation/model/ProjectedBook.java", "file_name": "ProjectedBook.java", "file_ext": "java", "file_size_in_by... | https://github.com/MorphiaOrg/morphia | 214 | FILENAME: ProjectedBook.java | 0.249447 | package dev.morphia.test.aggregation.model;
import java.util.Objects;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Id;
@Entity
public class ProjectedBook {
@Id
private Integer id;
private String title;
private ProjectedAuthor author;
ProjectedBook() {
}
public P... |
abeab8d7-8556-47a9-85b6-668aaab2a87f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-28 20:39:23", "repo_name": "4060741400006143527/JaMP_Task8", "sub_path": "/src/com/epam/jamp/troubleshooting/five/FileReader.java", "file_name": "FileReader.java", "file_ext": "java", "file_size_in_byte": 1085... | https://github.com/4060741400006143527/JaMP_Task8 | 193 | FILENAME: FileReader.java | 0.256832 | package com.epam.jamp.troubleshooting.five;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class FileReader {
public List<String> read(File file) throws InterruptedException {
System.out.println("Reading started");... |
d85e926a-c7c3-44c4-98d3-066a0a88f99f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 07:52:10", "repo_name": "tianjinjiang/algorithm", "sub_path": "/com/java/function/socket/InetAddressOperate.java", "file_name": "InetAddressOperate.java", "file_ext": "java", "file_size_in_byte": 1205, "lin... | https://github.com/tianjinjiang/algorithm | 248 | FILENAME: InetAddressOperate.java | 0.291787 | package function.socket;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
/**
* InetAddress类的使用
*
* @author kimtian
*/
public class InetAddressOperate {
public static void main(String[] args) throws UnknownHostException {
//获取本机的InetAddress实例
InetAddr... |
1131fce0-713a-43ef-bc9f-558313fcc7ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-20 08:14:09", "repo_name": "bjzhaosq/YourCare", "sub_path": "/src/com/lawer/service/impl/ProcessTypeServiceImpl.java", "file_name": "ProcessTypeServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1051,... | https://github.com/bjzhaosq/YourCare | 214 | FILENAME: ProcessTypeServiceImpl.java | 0.292595 | package com.lawer.service.impl;
import com.lawer.dao.ProcessTypeDao;
import com.lawer.domain.ProcessType;
import com.lawer.model.SearchParam;
import com.lawer.service.ProcessTypeService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype... |
fa85a992-1ca4-496e-9b19-cc95d81deaea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-20 03:10:16", "repo_name": "tha2015/free-plugins", "sub_path": "/org.freejava.dependencyviewer/src/org/freejava/dependency/graphtransformer/impl/RetainOnlyFromSelectedNamesGraphTransformerImpl.java", "file_nam... | https://github.com/tha2015/free-plugins | 202 | FILENAME: RetainOnlyFromSelectedNamesGraphTransformerImpl.java | 0.280616 | package org.freejava.dependency.graphtransformer.impl;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.freejava.dependency.graphtransformer.GraphTransformer;
import org.freejava.dependency.model.Edge;
import org.freejava.dependency.model.Graph;
import org.freejava.dependency.mo... |
105e10fa-98ab-4299-b246-23f87dfbecbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 10:01:08", "repo_name": "1574582016/web-project-finance", "sub_path": "/web-project-service/src/main/java/com/sky/model/StockProfitAvaregeRate.java", "file_name": "StockProfitAvaregeRate.java", "file_ext": ... | https://github.com/1574582016/web-project-finance | 236 | FILENAME: StockProfitAvaregeRate.java | 0.264358 | package com.sky.model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.sky.core.model.BaseModel;
import lombok.Data;
import java.math.BigDecimal;
/**
* Created by ThinkPad on 2019/12/30.
*/
@Data
@TableName("stock_profit_avarege_rate")
publi... |
549b4227-7b52-433a-b78c-632f0984e8b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-22 09:50:01", "repo_name": "kartashian/rps-shell", "sub_path": "/src/main/java/com/wowapp/rps/component/command/AuthCommand.java", "file_name": "AuthCommand.java", "file_ext": "java", "file_size_in_byte": 1085... | https://github.com/kartashian/rps-shell | 216 | FILENAME: AuthCommand.java | 0.289372 | package com.wowapp.rps.component.command;
import com.wowapp.rps.component.Context;
import com.wowapp.rps.domain.dto.UserDto;
import com.wowapp.rps.domain.entity.User;
import com.wowapp.rps.service.UserService;
import java.util.Optional;
import static com.wowapp.rps.component.util.CommandLineUtil.print;
public class... |
e469c721-911f-4ef2-8a67-1b80783855f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 09:15:13", "repo_name": "TNG/ArchUnit", "sub_path": "/archunit-junit/junit5/engine/src/test/java/com/tngtech/archunit/junit/internal/testutil/TestLogExtension.java", "file_name": "TestLogExtension.java", "f... | https://github.com/TNG/ArchUnit | 182 | FILENAME: TestLogExtension.java | 0.246533 | package com.tngtech.archunit.junit.internal.testutil;
import org.junit.jupiter.api.extension.AfterEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.ParameterContext;
import org.junit.jupiter.api.extension.ParameterResolutionException;
import org.junit.jupiter... |
44955032-47c8-436f-8ebb-5a0b925752ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-11 21:30:02", "repo_name": "WeilunY/passwordEncryptiom", "sub_path": "/EncryptionBot.java", "file_name": "EncryptionBot.java", "file_ext": "java", "file_size_in_byte": 987, "line_count": 41, "lang": "en", "doc... | https://github.com/WeilunY/passwordEncryptiom | 194 | FILENAME: EncryptionBot.java | 0.213377 | /* File Header */
import java.util.*;
/* Class Header */
public class EncryptionBot
{
private String simplePass;
private String encryptedPass;
private String encryptionKey;
public EncryptionBot(String simplePass)
{
this.simplePass = simplePass;
encryptionKey = selectEncryptionSchem... |
1c4c4144-2194-4ddb-b759-511eaacd0ab7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-02 06:12:53", "repo_name": "andito19/sewa.mobil", "sub_path": "/AplikasiSewamobil/app/src/main/java/com/sewa/mobil/ListPelangganAdapter.java", "file_name": "ListPelangganAdapter.java", "file_ext": "java", "fil... | https://github.com/andito19/sewa.mobil | 239 | FILENAME: ListPelangganAdapter.java | 0.250913 | package com.sewa.mobil;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.sewa.mobil.domain.Pelanggan;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Andito19 on 8/30/2018.
*/
... |
0161ccf6-da65-4a15-843a-e443acccdaf5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-03 05:51:32", "repo_name": "aotuzhao/cloud-alibaba", "sub_path": "/consumer-consul-order80/src/main/java/com/zhao/springcloud/controller/OrderController.java", "file_name": "OrderController.java", "file_ext": ... | https://github.com/aotuzhao/cloud-alibaba | 216 | FILENAME: OrderController.java | 0.204342 | package com.zhao.springcloud.controller;
import com.zhao.springcloud.entities.CommentResult;
import com.zhao.springcloud.entities.Payment;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import javax.annotation.Resource;
/**
* @... |
81d4e359-6d01-467a-aaed-fbd60fff2786 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-27T15:56:04", "repo_name": "coltonhs/CUhackit_2019", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1010, "line_count": 43, "lang": "en", "doc_type": "text", "bl... | https://github.com/coltonhs/CUhackit_2019 | 235 | FILENAME: README.md | 0.191933 | # Cooking with Alexa VR
Unity VR cooking game integrated with Alexa
## Getting Started
These instructions will guide you through the setup process
### Unity Setup
Import files in CUhackit2019 folder to Unity
### Webserver Setup
Start by install Node.js
Install the [Heroku Toolkit](https://toolbelt.heroku.com/)
Ins... |
d7320a75-6b2e-48a9-adec-3a8974b71215 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-04 16:48:22", "repo_name": "hmcts/sscs-tribunals-case-api", "sub_path": "/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/esa/EsaActivityQuestion.java", "file_name": "EsaActivityQuestio... | https://github.com/hmcts/sscs-tribunals-case-api | 234 | FILENAME: EsaActivityQuestion.java | 0.249447 | package uk.gov.hmcts.reform.sscs.ccd.presubmit.writefinaldecision.esa;
import java.util.function.Function;
import uk.gov.hmcts.reform.sscs.ccd.domain.SscsCaseData;
import uk.gov.hmcts.reform.sscs.ccd.presubmit.writefinaldecision.ActivityQuestion;
import uk.gov.hmcts.reform.sscs.ccd.presubmit.writefinaldecision.Activit... |
13ca134f-ce4e-4fca-838b-2bb7eb615b19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-11 12:53:33", "repo_name": "zerr07/Wms-Parser", "sub_path": "/src/main/java/Dreamlove/size/size.java", "file_name": "size.java", "file_ext": "java", "file_size_in_byte": 1082, "line_count": 51, "lang": "en", "... | https://github.com/zerr07/Wms-Parser | 237 | FILENAME: size.java | 0.287768 | package Dreamlove.size;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "size")
@XmlType(propOrder = {"width", "height", "depth"})
public class size {
priva... |
795f49ef-0dd2-45d7-ad8d-632aca3a6e23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-08 20:28:05", "repo_name": "hadeerelnaggar/ITI-Work", "sub_path": "/Java-Database/Users-Edit-with-GUI/src/main/java/useredit/utilities/StageCoordinator.java", "file_name": "StageCoordinator.java", "file_ext": ... | https://github.com/hadeerelnaggar/ITI-Work | 177 | FILENAME: StageCoordinator.java | 0.286968 | package useredit.utilities;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.IOException;
public class StageCoordinator {
private Stage stage;
private static StageCoordinator stageCoordinator;
private StageCoordinator(){
... |
7d17f677-2600-4953-b98e-77e5ebfc51b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-02 11:48:26", "repo_name": "FutureWL/architecture-adventure", "sub_path": "/smart-plugin-rest/src/main/java/org/smart4j/plugin/rest/RestHelper.java", "file_name": "RestHelper.java", "file_ext": "java", "file_s... | https://github.com/FutureWL/architecture-adventure | 256 | FILENAME: RestHelper.java | 0.23092 | package org.smart4j.plugin.rest;
import org.apache.cxf.interceptor.Interceptor;
import org.apache.cxf.message.Message;
import java.util.ArrayList;
import java.util.List;
/**
* ==========================
* 功能描述:REST 助手类
* ==========================
*
* @author weilai
* @version 1.0.0
*/
public class RestHelper... |
78e58c9b-0e75-41ef-95f8-5db6cfcead64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-12 03:55:06", "repo_name": "schCRABicus/deltixlab-test-assignment", "sub_path": "/src/main/java/com/deltixlab/model/web/EventData.java", "file_name": "EventData.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/schCRABicus/deltixlab-test-assignment | 208 | FILENAME: EventData.java | 0.250913 | package com.deltixlab.model.web;
import com.deltixlab.model.Level;
import com.deltixlab.model.db.Event;
import java.util.Date;
import java.util.Optional;
/**
* UI representation of {@link Event} instance.
*/
public class EventData {
private final Event event;
public EventData() {
this.event = new ... |
3d0ac2d9-7b5c-475b-8a60-a200b18cbfaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-07T20:59:13", "repo_name": "wulffern/nRF52_saadc_barebone", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1038, "line_count": 44, "lang": "en", "doc_type": "tex... | https://github.com/wulffern/nRF52_saadc_barebone | 273 | FILENAME: README.md | 0.190724 |
# About
I'm Carsten Wulff, and I'm one of the engineers that worked on the
SAADC on nRF52. These examples are some of my barebone tricks and tips
on how SAADC can be used.
# To compile
Ideally it should be
```
make
make flash_softdevice
make flash
```
But rarely that will suffice, you probably have to at least chang... |
23edfb3a-42b6-4940-ac27-19aea4b522dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-31 05:39:53", "repo_name": "ChoiJoongHyun/bot-telegram", "sub_path": "/src/test/java/com/joonghyun/dispatch/MessageDispatchTest.java", "file_name": "MessageDispatchTest.java", "file_ext": "java", "file_size_in... | https://github.com/ChoiJoongHyun/bot-telegram | 234 | FILENAME: MessageDispatchTest.java | 0.258326 | package com.joonghyun.dispatch;
import com.joonghyun.function.ConferenceFunction;
import com.joonghyun.function.WakeupFunction;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.Sp... |
68540c08-18e0-4a3c-888d-91b8b5d3a64f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-05 08:28:55", "repo_name": "amatke/Task-managment-app", "sub_path": "/TaskManagmentApp/src/main/java/com/matovic/conntroller/ProfileController.java", "file_name": "ProfileController.java", "file_ext": "java", ... | https://github.com/amatke/Task-managment-app | 175 | FILENAME: ProfileController.java | 0.275909 | package com.matovic.conntroller;
import java.security.Principal;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapp... |
2aa683b3-4259-42b0-b373-c5935958a1aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-11 03:14:18", "repo_name": "super-bean/spring-cloud-netflix", "sub_path": "/mall-user-service/user-service-provider/src/main/java/com/learn/feign/UserAuthFeignClient.java", "file_name": "UserAuthFeignClient.ja... | https://github.com/super-bean/spring-cloud-netflix | 209 | FILENAME: UserAuthFeignClient.java | 0.214691 | package com.learn.feign;
import com.learn.api.R;
import com.learn.clients.IUserAuthFeignClient;
import com.learn.exception.ValidException;
import com.learn.utils.JwtGeneratorUtil;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.ExpiredJwtException;
import io.jsonwebtoken.SignatureException;
import org.apache.com... |
94a5f16c-3794-4cb6-ba18-32169d11adb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-09 07:46:30", "repo_name": "haikuowuya/Security", "sub_path": "/项目代码/Security/src/com/security/engine/UpdateInfoParser.java", "file_name": "UpdateInfoParser.java", "file_ext": "java", "file_size_in_byte": 1059... | https://github.com/haikuowuya/Security | 228 | FILENAME: UpdateInfoParser.java | 0.293404 | package com.security.engine;
import java.io.InputStream;
import org.xmlpull.v1.XmlPullParser;
import android.util.Xml;
import com.security.domain.UpdateInfo;
public class UpdateInfoParser
{
public static UpdateInfo getUpdateInfo(InputStream is) throws Exception
{
UpdateInfo info = new UpdateIn... |
80b730a5-a1cd-4fa0-8bd0-2c69d882ed05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 14:42:08", "repo_name": "snjkumar45/smarttaskmanager", "sub_path": "/src/main/java/com/smartprojectmanager/start/controller/MyController.java", "file_name": "MyController.java", "file_ext": "java", "file_si... | https://github.com/snjkumar45/smarttaskmanager | 176 | FILENAME: MyController.java | 0.225417 | package com.smartprojectmanager.start.controller;
import com.smartprojectmanager.start.dao.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping... |
7cd2b68b-b825-48ab-a875-fdceb0bbc2c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-30T02:21:36", "repo_name": "badlychadly/daily-trending-apps-cli-gem", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1234, "line_count": 40, "lang": "en", "doc_t... | https://github.com/badlychadly/daily-trending-apps-cli-gem | 282 | FILENAME: README.md | 0.26588 | # Daily::Trending::Apps
This is a ruby CLI Gem that displays a list of new and updated apps froms the Google Play Store,
follow CLI instructions to learn more about the apps that interest you.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'daily-trending-apps'
```
And then execute:
... |
57043bda-1880-4c11-8b27-1694e33ee71d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-08 15:59:00", "repo_name": "nija123098/DiscordBot", "sub_path": "/src/main/java/com/github/nija123098/evelyn/discordobjects/wrappers/event/events/DiscordNicknameChange.java", "file_name": "DiscordNicknameChang... | https://github.com/nija123098/DiscordBot | 240 | FILENAME: DiscordNicknameChange.java | 0.253861 | package com.github.nija123098.evelyn.discordobjects.wrappers.event.events;
import com.github.nija123098.evelyn.discordobjects.wrappers.Guild;
import com.github.nija123098.evelyn.discordobjects.wrappers.User;
import com.github.nija123098.evelyn.discordobjects.wrappers.event.BotEvent;
import sx.blah.discord.handle.impl.... |
ce74f40c-d5d9-48d4-98d8-9b9fcd36a974 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 11:00:14", "repo_name": "guoqingnan/demo", "sub_path": "/src/main/java/com/example/demo/JUC/CompletableFutureDemo.java", "file_name": "CompletableFutureDemo.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/guoqingnan/demo | 194 | FILENAME: CompletableFutureDemo.java | 0.272799 | package com.example.demo.JUC;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
/**
* @author Administrator
* @create 2020-07-21 21:35
*/
public class CompletableFutureDemo {
public static void main(String[] args) throws ExecutionException, InterruptedException {
... |
b7ab66be-3bcb-45ee-be97-f89a14eada8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-06 02:28:18", "repo_name": "johnlee175/android-demos", "sub_path": "/Services2/app/src/main/java/com/johnsoft/app/services/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/johnlee175/android-demos | 165 | FILENAME: MainActivity.java | 0.201813 | package com.johnsoft.app.services;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCr... |
127eb4b3-5b74-49ed-90af-40a2fab4d34f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-08 12:01:32", "repo_name": "LGCD/quartz", "sub_path": "/src/main/java/com/didi/lg/rocketmqdemo/demo/controller/control.java", "file_name": "control.java", "file_ext": "java", "file_size_in_byte": 972, "line_co... | https://github.com/LGCD/quartz | 212 | FILENAME: control.java | 0.200558 | package com.didi.lg.rocketmqdemo.demo.controller;
import com.didi.lg.rocketmqdemo.demo.entity.Status;
import com.didi.lg.rocketmqdemo.demo.quartz.Schedual;
import org.quartz.Scheduler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import o... |
cc012073-7ba7-4e85-977e-d058ca01c7a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-18T04:52:17", "repo_name": "cindyweiss/learning-journal", "sub_path": "/git-github.md", "file_name": "git-github.md", "file_ext": "md", "file_size_in_byte": 1087, "line_count": 26, "lang": "en", "doc_type"... | https://github.com/cindyweiss/learning-journal | 235 | FILENAME: git-github.md | 0.267408 | # Git vs GitHub
* **Git** is a version control software program used in code editing.
It is **DVCS** system that allows multiple users to colaberate easily. Git also allows all versions of the code worked on to be saved so the differant itterations made along the way can be revisited and tracked. This is true for eac... |
e49d65c8-5ea8-407b-9ea3-ead1496c11fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 12:57:19", "repo_name": "westwoodl/JavaSE", "sub_path": "/src/main/java/com/xu/day28__JDBC/JDBC.java", "file_name": "JDBC.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 39, "lang": "en"... | https://github.com/westwoodl/JavaSE | 220 | FILENAME: JDBC.java | 0.233706 | package com.xu.day28__JDBC;
import org.junit.Test;
import java.sql.*;
public class JDBC {
@Test
public void test() throws SQLException, ClassNotFoundException {
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/... |
66a85be9-4398-48a3-b718-fe3672113cdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-11T22:38:07", "repo_name": "saeel123/eventslogserver", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 34, "lang": "en", "doc_type": "text", "b... | https://github.com/saeel123/eventslogserver | 261 | FILENAME: README.md | 0.243642 | # Shopify Event Logger Backend API
The project dump event from shopify using nodejs threads and also lets user get local db dump events and search them by to and from date and searh message .</br>
### Demo API HOST
https://fathomless-lake-34348.herokuapp.com/
### Demo Frontend
https://shopifyeventlogs.web.app/
###... |
38a51667-b28e-49f6-bd78-678fccdc303f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-24 16:57:13", "repo_name": "kangzhihu/gewara", "sub_path": "/gewara-api/src/main/java/com/gewara/api/vo/order/CheckAddOrderGoodsGiftRes.java", "file_name": "CheckAddOrderGoodsGiftRes.java", "file_ext": "java",... | https://github.com/kangzhihu/gewara | 254 | FILENAME: CheckAddOrderGoodsGiftRes.java | 0.272799 | package com.gewara.api.vo.order;
import java.io.Serializable;
import com.gewara.api.vo.goods.GoodsVo;
public class CheckAddOrderGoodsGiftRes implements Serializable{
/**
*
*/
private static final long serialVersionUID = -1237001182538322948L;
private Integer quantity;//赠品数量
private boolean isGiftExist;/... |
4c832595-d9b1-4076-8881-55c505237b13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-16 18:00:43", "repo_name": "harshaa947/Search-Engine", "sub_path": "/WordEntry.java", "file_name": "WordEntry.java", "file_ext": "java", "file_size_in_byte": 1099, "line_count": 38, "lang": "en", "doc_type": "... | https://github.com/harshaa947/Search-Engine | 254 | FILENAME: WordEntry.java | 0.281406 |
public class WordEntry {
private String word="";
//private MyLinkedList<Position> mypositions = new MyLinkedList();
private AvlTree<Position> mypositions = new AvlTree();
public WordEntry(String word){
this.word=word;
}
public void addPosition(Position position){
//mypositions.addFirst(position);
//System.out.pr... |
a9e69b03-322c-431e-a520-5cae320b3d86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-03 08:41:55", "repo_name": "denisprog/chat-websockets", "sub_path": "/src/main/java/by/iba/bot/chat/dao/MessageDAORedisImpl.java", "file_name": "MessageDAORedisImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/denisprog/chat-websockets | 211 | FILENAME: MessageDAORedisImpl.java | 0.290981 | package by.iba.bot.chat.dao;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.data.redis.core.RedisOperations;
import org.springframework.data.redis.core.SessionCallback;
import or... |
452baf97-f412-4514-9bda-d44ae49d07b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 18:22:33", "repo_name": "salenko-svetlana/money-transfer-points", "sub_path": "/mtp-backend/src/main/java/ru/salenko/mtp/controller/BankController.java", "file_name": "BankController.java", "file_ext": "jav... | https://github.com/salenko-svetlana/money-transfer-points | 232 | FILENAME: BankController.java | 0.293404 | package ru.salenko.mtp.controller;
import org.springframework.web.bind.annotation.*;
import ru.salenko.mtp.dto.BankItem;
import ru.salenko.mtp.services.MtpService;
import java.util.List;
import java.util.Optional;
/**
* Контроллер для выполнения операций с банками
*/
@RestController
@RequestMapping(value = "/api/b... |
7c45ea8d-dc39-4c70-82c2-ba48fa61f4a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-29 11:53:08", "repo_name": "mrvinay07/Sketch", "sub_path": "/app/src/main/java/helper/ViewPagerAdapter.java", "file_name": "ViewPagerAdapter.java", "file_ext": "java", "file_size_in_byte": 969, "line_count": 3... | https://github.com/mrvinay07/Sketch | 184 | FILENAME: ViewPagerAdapter.java | 0.271252 | package helper;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
import java.util.ArrayList;
import java.util.List;
public class ViewPagerAdapter extends FragmentPagerAdapter {
private final List<String> lstTitles = new ArrayLi... |
5a8715c7-38bb-4e22-a978-bd30b7adf79e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-26 20:14:54", "repo_name": "caleron/Genie", "sub_path": "/app/src/main/java/de/teyzer/genie/model/Artist.java", "file_name": "Artist.java", "file_ext": "java", "file_size_in_byte": 972, "line_count": 43, "lang... | https://github.com/caleron/Genie | 196 | FILENAME: Artist.java | 0.277473 | package de.teyzer.genie.model;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
public class Artist {
public final ArrayList<Album> albums;
private final String name;
public Artist(String name) {
albums = new ArrayList<>();
this.name = name;
}
... |
76369a8a-0ae5-46db-9406-cb3b02878723 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 03:36:05", "repo_name": "PanShengTao/ywgk", "sub_path": "/reserve/src/main/java/cc/lecent/ywgk/reserve/fragment/MeetFragment.java", "file_name": "MeetFragment.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/PanShengTao/ywgk | 197 | FILENAME: MeetFragment.java | 0.206894 | package cc.lecent.ywgk.reserve.fragment;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import cc.lecent.bbc.base.B... |
4a783b73-a381-45f5-b3e9-e7bace9cc5d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18 10:51:07", "repo_name": "allegro/hermes", "sub_path": "/hermes-consumers/src/main/java/pl/allegro/tech/hermes/consumers/consumer/oauth/OAuthAccessToken.java", "file_name": "OAuthAccessToken.java", "file_ext... | https://github.com/allegro/hermes | 199 | FILENAME: OAuthAccessToken.java | 0.213377 | package pl.allegro.tech.hermes.consumers.consumer.oauth;
import java.util.Objects;
public class OAuthAccessToken {
private final String tokenValue;
private final Integer expiresIn;
public OAuthAccessToken(String tokenValue, Integer expiresIn) {
this.tokenValue = tokenValue;
this.expires... |
a08b740c-526e-4b75-8863-a678b98cde03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-27 02:12:04", "repo_name": "IdioticMadman/AndroidDemo", "sub_path": "/ablum/src/main/java/com/example/ablum/ImgFile.java", "file_name": "ImgFile.java", "file_ext": "java", "file_size_in_byte": 1018, "line_coun... | https://github.com/IdioticMadman/AndroidDemo | 222 | FILENAME: ImgFile.java | 0.205615 | package com.example.ablum;
/**
* Created by robert on 2016/11/15.
*/
public class ImgFile {
private int tag = 0;
private String thumbnail;
private String picture;
private boolean isChecked;
public ImgFile() {
super();
}
public ImgFile(int tag, String thumbnail, String picture) ... |
94646b0f-d6e4-4ece-9474-6e4bb11c47b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-31 12:06:08", "repo_name": "TaiJi-team/economic-daily-api", "sub_path": "/src/main/java/com/founder/econdaily/common/util/SpringContextUtil.java", "file_name": "SpringContextUtil.java", "file_ext": "java", "fi... | https://github.com/TaiJi-team/economic-daily-api | 183 | FILENAME: SpringContextUtil.java | 0.212069 | package com.founder.econdaily.common.util;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
import java.util.Locale;
@Component
public class SpringContex... |
3221c017-1f4f-4103-a0db-a14a19b49bc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-16 20:14:24", "repo_name": "Arfarin/Zuul-Game-Pr-fung", "sub_path": "/ZuulBad/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1099, "line_count": 64, "lang": "en", "doc_type": "c... | https://github.com/Arfarin/Zuul-Game-Pr-fung | 273 | FILENAME: Item.java | 0.272025 | package ZuulBad;
/**
* This class is the superclass for all items of the game. Specific item classes
* extend this class. It provides all information about each item.
*
* @author Sarah Engelmayer
*/
public abstract class Item {
/**
* A short description of the item
*/
private String description;
/**
* ... |
7b07ffa6-7b53-4a0d-b35b-2740c03b2be8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-02 07:48:36", "repo_name": "bl1n/SpaceXApp", "sub_path": "/app/src/main/java/com/lft/spacex/ui/history/EventsHolder.java", "file_name": "EventsHolder.java", "file_ext": "java", "file_size_in_byte": 1034, "line... | https://github.com/bl1n/SpaceXApp | 199 | FILENAME: EventsHolder.java | 0.250913 | package com.lft.spacex.ui.history;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.lft.spacex.R;
import com.lft.spacex.data.model.histories.HistoryEvent;
import com.lft.spacex.utils.DateUtils;
public class ... |
90eed922-3b4a-4ca3-ba64-21eee7b0a9f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-04 21:16:31", "repo_name": "enesusta/tasdik", "sub_path": "/src/main/java/com/github/enesusta/tasdik/validator/DefaultValidator.java", "file_name": "DefaultValidator.java", "file_ext": "java", "file_size_in_by... | https://github.com/enesusta/tasdik | 182 | FILENAME: DefaultValidator.java | 0.278257 | package com.github.enesusta.tasdik.validator;
import com.github.enesusta.tasdik.core.FieldContext;
import java.lang.reflect.Field;
public final class DefaultValidator implements Validator {
private static DefaultValidator instance = null;
private DefaultValidator() {
}
@Override
public final ... |
36c3a4a8-8768-49de-8691-8c8d9341db0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-07 12:55:22", "repo_name": "treasureanimal/shop", "sub_path": "/gmall-order/src/main/java/com/study/gmall/config/JwtProperties.java", "file_name": "JwtProperties.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/treasureanimal/shop | 264 | FILENAME: JwtProperties.java | 0.259826 | package com.study.gmall.config;
import com.study.core.utils.RsaUtils;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.annotation.PostConstruct;
import java.io.File;
import java.security.PublicKey;
/**
* 读取配置文件中的gmall下jwt参... |
4ff2e5c8-2071-4968-919d-0232a9372faa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-16 16:48:14", "repo_name": "panosax/sacchon", "sub_path": "/src/main/java/security/TokenBasedVerifier.java", "file_name": "TokenBasedVerifier.java", "file_ext": "java", "file_size_in_byte": 1094, "line_count":... | https://github.com/panosax/sacchon | 219 | FILENAME: TokenBasedVerifier.java | 0.264358 | package security;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.JwtException;
import org.restlet.Request;
import org.restlet.Response;
import org.restlet.data.ChallengeResponse;
import org.restlet.security.Role;
import org.restlet.security.User;
import org.restlet.security.Verifier;
import util.JWT;
public cl... |
ee05ee04-7e49-4048-99e1-273721c1fc52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-04 11:37:27", "repo_name": "Geraldine8/jurassic_park_project", "sub_path": "/dino_project/src/main/java/com/codeclan/example/dino_project/repositories/dinos/DinosaurRepositoryImpl.java", "file_name": "Dinosaur... | https://github.com/Geraldine8/jurassic_park_project | 168 | FILENAME: DinosaurRepositoryImpl.java | 0.264358 | package com.codeclan.example.dino_project.repositories.dinos;
import com.codeclan.example.dino_project.models.Dinosaur;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.springframework.beans.factory.annotation.Autowired;
import javax.persistence.EntityM... |
7baf06f5-8d99-4739-ac91-14bb579a3768 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-14 10:07:54", "repo_name": "baopanda/DoItLater", "sub_path": "/app/src/main/java/dunght/example/com/doitlater/controller/MessageReceiver.java", "file_name": "MessageReceiver.java", "file_ext": "java", "file_si... | https://github.com/baopanda/DoItLater | 200 | FILENAME: MessageReceiver.java | 0.236516 | package dunght.example.com.doitlater.controller;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import java.util.ArrayList;
import dunght.example.com.doitlater.dao.DatabaseHelper;
import dunght.example.com.doitlater.model.Remind;
public class MessageReceiver... |
0148719a-c1ef-46f1-9b34-21757c13324a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-27 16:56:15", "repo_name": "adn911/FinalProject", "sub_path": "/src/main/java/org/foodbar/service/RestaurantCategoryService.java", "file_name": "RestaurantCategoryService.java", "file_ext": "java", "file_size_... | https://github.com/adn911/FinalProject | 198 | FILENAME: RestaurantCategoryService.java | 0.267408 | package org.foodbar.service;
import org.foodbar.persistance.dao.RestaurantCategoryDao;
import org.foodbar.persistance.dao.RestaurantDao;
import org.foodbar.persistance.entity.Restaurant;
import org.foodbar.persistance.entity.RestaurantCategory;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
b9915624-efca-41e7-aa0b-74f991ead4be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-17 21:51:56", "repo_name": "vaclavslavik/GPS_Sensor", "sub_path": "/app/src/main/java/com/example/spartan13/myapplication/SettingsActivity.java", "file_name": "SettingsActivity.java", "file_ext": "java", "file... | https://github.com/vaclavslavik/GPS_Sensor | 198 | FILENAME: SettingsActivity.java | 0.245085 | package com.example.spartan13.myapplication;
import android.content.Context;
import android.os.Bundle;
import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;
/**
* Created by spartan13 on 16. 2. 2015.
... |
4b00eeb1-847b-41a7-9014-8d582252c4e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-17 06:53:33", "repo_name": "Yorxxx/playednext", "sub_path": "/app/src/main/java/com/piticlistudio/playednext/di/module/IGDBModule.java", "file_name": "IGDBModule.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Yorxxx/playednext | 182 | FILENAME: IGDBModule.java | 0.233706 | package com.piticlistudio.playednext.di.module;
import com.google.gson.GsonBuilder;
import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import com.piticlistudio.playednext.utils.AutoValueAdapterFactory;
import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;
import retrofit2.c... |
1dd956ab-c079-4e46-b86e-90a48e08de7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 18:23:19", "repo_name": "NirajRChaudhari/Roomic-Android-Application", "sub_path": "/app/src/main/java/com/niraj/project/Owner.java", "file_name": "Owner.java", "file_ext": "java", "file_size_in_byte": 998, ... | https://github.com/NirajRChaudhari/Roomic-Android-Application | 244 | FILENAME: Owner.java | 0.276691 | package com.niraj.project;
import java.util.ArrayList;
import java.util.List;
public class Owner {
public boolean o_stored_room;
public String o_id,o_email,o_name,o_password,o_company,o_phone,o_peraddress;
//public List<Room_class> o_roomlist;
public Owner() {
// this.o_stored_room=false;
... |
9cffe60b-bc43-4e38-a0d4-c62c7826468f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-07 08:26:35", "repo_name": "freegians/timeline", "sub_path": "/src/main/java/com/freegians/timeline/service/FollowerServiceImpl.java", "file_name": "FollowerServiceImpl.java", "file_ext": "java", "file_size_in... | https://github.com/freegians/timeline | 203 | FILENAME: FollowerServiceImpl.java | 0.23231 | package com.freegians.timeline.service;
import com.freegians.timeline.domain.Follower;
import com.freegians.timeline.repository.FollowerRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**... |
129ae6d3-f61e-4e25-9406-8c7c989128ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-22T06:44:29", "repo_name": "upell/Java", "sub_path": "/src/Connection/ConnectionDB.java", "file_name": "ConnectionDB.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 39, "lang": "en", "doc_ty... | https://github.com/upell/Java | 195 | FILENAME: ConnectionDB.java | 0.249447 | /*
* 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 Connection;
import java.sql.*;
import javax.swing.JOptionPane;
public class ConnectionDB {
String url = "jdbc:mysql://loc... |
b1200e7e-f5c0-4c30-9b27-a88ad085dd97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-06T09:48:43", "repo_name": "bozhinov/MongoDb-session-handler-for-PHP", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1099, "line_count": 14, "lang": "en", "doc_... | https://github.com/bozhinov/MongoDb-session-handler-for-PHP | 246 | FILENAME: README.md | 0.225417 | MongoDb session handler for PHP (5.6 & 7)
===================
Storing session in memory speeds code execution significantly, but most of all it helps you get rid of the files in the TEMP directory.
It also provides you, as any other database, with an easy access and control over the data stored.
The problem with the ... |
abf23030-20ed-425f-9ba0-cf1c68bae65d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-11 04:41:08", "repo_name": "GitHub2Cao/niubisoft", "sub_path": "/src/main/java/com/softnovo/ioc/scope/ThreadLocalScope.java", "file_name": "ThreadLocalScope.java", "file_ext": "java", "file_size_in_byte": 1065... | https://github.com/GitHub2Cao/niubisoft | 213 | FILENAME: ThreadLocalScope.java | 0.221351 | package com.softnovo.ioc.scope;
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.beans.factory.config.Scope;
/**
* @author cgm
*/
public class ThreadLocalScope implements Scope {
private static final ThreadLocal THREAD_LOCAL_SCOPE = new ThreadLocal();
@Override
public ... |
e937ea91-0e21-4586-8762-242c4c6296d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-21 12:02:16", "repo_name": "yzzanson/enterprise_train", "sub_path": "/enterprise_util/src/main/java/com/enterprise/util/oa/enums/DepartEnum.java", "file_name": "DepartEnum.java", "file_ext": "java", "file_size... | https://github.com/yzzanson/enterprise_train | 295 | FILENAME: DepartEnum.java | 0.2227 | package com.enterprise.util.oa.enums;
/**
* DepartEnum
*
* @author shisan
* @create 2018-03-09 下午4:48
**/
public enum DepartEnum {
/**
* 网吧钉钉体验站开发部门,用于接收消息一出
*/
DEVELOPDEPT("64433406", "内训部门",1),
/**
* 蓝波的专属OA消息提醒部门
*/
ACTIVEDEPT("64433406", "激活码销售部门",1);
private String d... |
491f4c6b-134c-4eaa-80a3-30cc772b0901 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-08 02:39:00", "repo_name": "sjc7140/study", "sub_path": "/src/chapter1/ReplaceString.java", "file_name": "ReplaceString.java", "file_ext": "java", "file_size_in_byte": 1044, "line_count": 38, "lang": "en", "do... | https://github.com/sjc7140/study | 215 | FILENAME: ReplaceString.java | 0.229535 | package chapter1;
import java.util.LinkedList;
import java.util.Stack;
public class ReplaceString {
public static String Main(String str){
char[] subStr = new char[20];
for(int i = 0;i<str.length()-1;i++){
int head = i-1;
int tail = i+2;
if(str.charAt(i) != str.... |
3fd35f40-cf8b-494c-95c1-689829cb813d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-28 10:44:19", "repo_name": "innoq/innoq-blockchain-java-common", "sub_path": "/blockchain-model/src/main/java/com/innoq/blockchain/java/common/noderegisty/NodeRegistry.java", "file_name": "NodeRegistry.java", ... | https://github.com/innoq/innoq-blockchain-java-common | 211 | FILENAME: NodeRegistry.java | 0.247987 | package com.innoq.blockchain.java.common.noderegisty;
import com.innoq.blockchain.java.common.NodeStatus;
import com.innoq.blockchain.java.common.events.Event;
import com.innoq.blockchain.java.common.events.EventRepository;
import java.util.*;
public class NodeRegistry {
EventRepository eventRepository;
public... |
933f5fc7-5326-4a24-bb5e-83eccdc100fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-06 02:34:11", "repo_name": "dzh2333/DMarkPlayer", "sub_path": "/app/src/main/java/com/mark/cyberpunkplayer/player/data/PlaySource.java", "file_name": "PlaySource.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/dzh2333/DMarkPlayer | 202 | FILENAME: PlaySource.java | 0.256832 | package com.mark.cyberpunkplayer.player.data;
import android.media.session.PlaybackState;
import com.mark.cyberpunkplayer.player.PlayerBean;
import java.util.List;
public class PlaySource {
private static PlaySource insatnce;
private List<PlayerBean> playerBeans;
private int playIndex;
private Pl... |
90a8d5c5-1ad5-4d12-8842-bcb24a793ac9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-25 14:19:15", "repo_name": "caidhome/erp", "sub_path": "/src/cn/itcast/erp/util/quartz/TimerTask.java", "file_name": "TimerTask.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count": 48, "lang": "... | https://github.com/caidhome/erp | 302 | FILENAME: TimerTask.java | 0.271252 | package cn.itcast.erp.util.quartz;
import org.springframework.mail.MailSender;
import org.springframework.mail.SimpleMailMessage;
import cn.itcast.erp.invoice.goods.business.ebi.GoodsEbi;
import cn.itcast.erp.util.format.FormatUtil;
public class TimerTask {
private GoodsEbi goodsEbi;
// 邮件发送器
private MailSender ... |
081bd80d-299e-42ba-a738-d9d820233dd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-15 03:53:24", "repo_name": "AnaTeresaQR/PROGRA-2_2016", "sub_path": "/I Examen/MaterialAdicionalPrincipiosPatrones/B40061_B42877/Builder_Prototype/src/Builder/Engine.java", "file_name": "Engine.java", "file_ex... | https://github.com/AnaTeresaQR/PROGRA-2_2016 | 239 | FILENAME: Engine.java | 0.245085 | /*
* 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 Builder;
/**
*
* @author guiselleH
*/
public class Engine {
private int cylinderCapacity;
private int numberOfCylin... |
b624c399-f103-4d25-a96c-9140259f4680 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-12 01:40:18", "repo_name": "Apl0m3/CLKJ-MINJIAOBAO-JAVA", "sub_path": "/src/main/java/com/lingkj/project/operation/entity/OperateDeliveryStaff.java", "file_name": "OperateDeliveryStaff.java", "file_ext": "java... | https://github.com/Apl0m3/CLKJ-MINJIAOBAO-JAVA | 269 | FILENAME: OperateDeliveryStaff.java | 0.212069 | package com.lingkj.project.operation.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 配送员信息
*
* @author chenyongsong... |
89614668-300d-4110-a7a0-7011d667692f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-17 08:00:03", "repo_name": "alexpopa95/DodgeLikeAPro", "sub_path": "/app/src/main/java/com/example/alexpopa95/dodgelikeapro/Punto.java", "file_name": "Punto.java", "file_ext": "java", "file_size_in_byte": 1074... | https://github.com/alexpopa95/DodgeLikeAPro | 309 | FILENAME: Punto.java | 0.287768 | package com.example.alexpopa95.dodgelikeapro;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
/**
* Created by alexpopa95 on 17/02/15.
*/
public class Punto implements Entita {
private double x, y;
private int larghezza;
public Punto(int x, int y, int larghe... |
6a8017b8-6b60-4f52-8f5d-5854ab47dcdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-22 12:21:16", "repo_name": "shl0331/Backend_project1", "sub_path": "/src/com/koreait/app/board/ReplyDeleteOkAction.java", "file_name": "ReplyDeleteOkAction.java", "file_ext": "java", "file_size_in_byte": 970, ... | https://github.com/shl0331/Backend_project1 | 217 | FILENAME: ReplyDeleteOkAction.java | 0.274351 | package com.koreait.app.board;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.koreait.action.Action;
import com.koreait.action.ActionForward;
import com.koreait.app.board.dao.BoardDAO;
public class ReplyDeleteOkAction implements Action {
@Override
public Act... |
4fa05195-a9ba-4f41-a321-fef77eac1a6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-14 12:06:38", "repo_name": "Stummi/executable-maven-plugin", "sub_path": "/executable-maven-plugin/src/main/java/org/stummi/maven/executable/jreprovider/SystemJreProvider.java", "file_name": "SystemJreProvider... | https://github.com/Stummi/executable-maven-plugin | 238 | FILENAME: SystemJreProvider.java | 0.283781 | package org.stummi.maven.executable.jreprovider;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.project.MavenProject;
import org.stummi.maven.executable.archiveBuilder.Archive... |
6f9323f7-f85c-4c10-8a66-248cb9727166 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-13 14:24:32", "repo_name": "mohanmanu484/Dagger-Example", "sub_path": "/app/src/main/java/com/example/mohang/daggerexample/adapter/ViewholderFactory.java", "file_name": "ViewholderFactory.java", "file_ext": "j... | https://github.com/mohanmanu484/Dagger-Example | 196 | FILENAME: ViewholderFactory.java | 0.277473 | package com.example.mohang.daggerexample.adapter;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.example.mohang.daggerexample.R;
import com.example.moha... |
ef3c3f54-d07e-4d67-afaa-96166c73d048 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-08 09:52:59", "repo_name": "iychoi/MR-PKM", "sub_path": "/src/edu/arizona/cs/mrpkm/types/PairwiseKmerMatchRecordColumn.java", "file_name": "PairwiseKmerMatchRecordColumn.java", "file_ext": "java", "file_size_i... | https://github.com/iychoi/MR-PKM | 229 | FILENAME: PairwiseKmerMatchRecordColumn.java | 0.289372 | package edu.arizona.cs.mrpkm.types;
import java.io.IOException;
/**
*
* @author iychoi
*/
public class PairwiseKmerMatchRecordColumn {
private int fileid;
private int[] readids;
public PairwiseKmerMatchRecordColumn(String str) throws IOException {
parse(str);
}
public int getF... |
80114647-a002-4c6a-a766-b69ff308e590 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-14 17:07:17", "repo_name": "Krzysztof-Kolodziejczyk/todo", "sub_path": "/src/main/java/com/company/logic/ProjectWriteModel.java", "file_name": "ProjectWriteModel.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Krzysztof-Kolodziejczyk/todo | 182 | FILENAME: ProjectWriteModel.java | 0.290981 | package com.company.logic;
import com.company.model.Project;
import com.company.model.ProjectStep;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
public class ProjectWriteModel {
private String description;
private List<ProjectStep> steps = new ArrayList<>();
public Project... |
558a24dd-ad2a-46f9-bb28-fa441f6c31f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-09 15:26:35", "repo_name": "M2i-CDA-0720-Grenoble/s18-java-jdbc-tba-javafx", "sub_path": "/src/main/java/tbajfx/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 985, "line_count":... | https://github.com/M2i-CDA-0720-Grenoble/s18-java-jdbc-tba-javafx | 211 | FILENAME: Main.java | 0.273574 | package tbajfx;
import tbajfx.game.Game;
import tbajfx.ui.Console;
import tbajfx.ui.GameUI;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage stage) {
Console console = new Console();... |
d31b3d74-6255-4687-9908-c4a68037eef9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-04 03:12:19", "repo_name": "yhforever4/jeesite-open", "sub_path": "/jeesite-framework-4.1.3-20190218.140934-2-fernflower/com/jeesite/common/mybatis/j/n/D.java", "file_name": "D.java", "file_ext": "java", "file... | https://github.com/yhforever4/jeesite-open | 278 | FILENAME: D.java | 0.292595 | package com.jeesite.common.mybatis.j.n;
import com.jeesite.common.cache.JedisUtils;
import org.apache.ibatis.session.RowBounds;
import org.hyperic.sigar.FileSystemUsage;
public class D extends E {
public static boolean ALLATORIxDEMO = true;
public String ALLATORIxDEMO(String sql, RowBounds rowBounds) ... |
cf2f76cb-9234-4aa7-949d-36e1ba708cd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-10 01:18:25", "repo_name": "kxgao9/DiscordBot", "sub_path": "/src/main/java/li/jeffrey/events/VerifyEvent.java", "file_name": "VerifyEvent.java", "file_ext": "java", "file_size_in_byte": 1234, "line_count": 38... | https://github.com/kxgao9/DiscordBot | 265 | FILENAME: VerifyEvent.java | 0.268941 | package li.jeffrey.events;
import java.util.List;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.entities.Role;
import net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
public class VerifyEvent extends ListenerAdapter {
private JD... |
76410c40-df50-4a8b-b8b9-287aed4a0f6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-11 14:33:06", "repo_name": "joochangyong/Springboot_bookstore", "sub_path": "/src/main/java/com/project/bookstore/web/Books/dto/BookListDto.java", "file_name": "BookListDto.java", "file_ext": "java", "file_siz... | https://github.com/joochangyong/Springboot_bookstore | 209 | FILENAME: BookListDto.java | 0.236516 | package com.project.bookstore.web.Books.dto;
import com.project.bookstore.domain.Books.Books;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookListDto {
private String isbn;
private Stri... |
869493b3-246b-4e04-a4c5-ff8e3804bb85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-24 06:19:38", "repo_name": "jhd147350/4Szaixian", "sub_path": "/src/com/fenghuo/jhdwxt/service/entity/Messages.java", "file_name": "Messages.java", "file_ext": "java", "file_size_in_byte": 1001, "line_count": ... | https://github.com/jhd147350/4Szaixian | 241 | FILENAME: Messages.java | 0.245085 | package com.fenghuo.jhdwxt.service.entity;
import java.sql.Date;
public class Messages {
private int id;
private String uid;
private String time;
private String content;
public Messages() {
super();
}
public Messages(int id, String uid, String time, String content) {
super();
this.id = ... |
521dc144-1fe7-401e-8199-cb6a5b4bd794 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-12 04:37:52", "repo_name": "hayatesa/RMJ_Cloud", "sub_path": "/common/src/main/java/rmj/cloud/common/validator/IdentityNumberValidator.java", "file_name": "IdentityNumberValidator.java", "file_ext": "java", "f... | https://github.com/hayatesa/RMJ_Cloud | 216 | FILENAME: IdentityNumberValidator.java | 0.256832 | package rmj.cloud.common.validator;
import org.apache.commons.lang.StringUtils;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.fac... |
51c02e15-7e29-4850-9445-0da2d1de4c30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-09 08:09:29", "repo_name": "wycliff/MQTTChatApp", "sub_path": "/app/src/main/java/com/example/wycliffenyakemwa/mqttchatapp/model/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_by... | https://github.com/wycliff/MQTTChatApp | 221 | FILENAME: Message.java | 0.205615 | package com.example.wycliffenyakemwa.mqttchatapp.model;
public class Message {
private String _payload;
private String _topic;
private int _qos;
private boolean _belongsToCurrentUser;
public Message(String payload, String topic, int qos , boolean belongsToCurrentUser) {
this._payload = p... |
8abc7733-a78e-4ea3-937b-7260cda12983 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-03 09:13:30", "repo_name": "ok406lhq/FrameDemos", "sub_path": "/app/src/main/java/app/lhq/ok406/framedemos/imageLoader/activity/ImageLoaderListViewActivity.java", "file_name": "ImageLoaderListViewActivity.java... | https://github.com/ok406lhq/FrameDemos | 201 | FILENAME: ImageLoaderListViewActivity.java | 0.20947 | package app.lhq.ok406.framedemos.imageLoader.activity;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;
import android.widget.TextView;
import app.lhq.ok406.framedemos.R;
import app.lhq.ok406.framedemos.imageLoader.adapter.ImageLoaderListViewAdapter;
import butterknife.BindView;
... |
c7e0407e-1460-4c29-8388-dcf92a7237a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-20 06:28:28", "repo_name": "maopanpan/xjp.app", "sub_path": "/xjp.app/src/test/java/com/xjp/app/example/SysUserTest.java", "file_name": "SysUserTest.java", "file_ext": "java", "file_size_in_byte": 1270, "line_... | https://github.com/maopanpan/xjp.app | 287 | FILENAME: SysUserTest.java | 0.278257 | package com.xjp.app.example;
import com.alibaba.fastjson.JSON;
import com.xjp.app.BaseTest;
import com.xjp.app.common.interceptor.pageinterceptor.Page;
import com.xjp.app.model.example.SysUser;
import com.xjp.app.service.example.UserService;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
impo... |
28839d42-d9df-4df3-9561-6717b8b09a78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-12 18:16:54", "repo_name": "NCSUWebClass/fall14-recognize2", "sub_path": "/Recognition/src/com/istudy/util/RegistrationValidator.java", "file_name": "RegistrationValidator.java", "file_ext": "java", "file_size... | https://github.com/NCSUWebClass/fall14-recognize2 | 201 | FILENAME: RegistrationValidator.java | 0.279828 | package com.istudy.util;
import java.util.ArrayList;
import com.istudy.auth.RegisterForm;
import com.istudy.enums.FormatValidation;
import com.istudy.exception.RegisterFormValidationException;
/**
* @author Gregory Daniels
*
*/
public class RegistrationValidator {
ArrayList<String> registrationErrors = new A... |
af16b960-7004-4280-b0f5-644772851d7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-11 18:57:01", "repo_name": "aysekilic34/SeleniumOfficeMaven", "sub_path": "/src/test/java/com/techproed/Question07.java", "file_name": "Question07.java", "file_ext": "java", "file_size_in_byte": 1084, "line_co... | https://github.com/aysekilic34/SeleniumOfficeMaven | 218 | FILENAME: Question07.java | 0.252384 | package com.techproed;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
impo... |
96d2d55a-8deb-4809-b45f-3d0c24df844c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-19 07:55:11", "repo_name": "terzeron/JavaGrammarTest", "sub_path": "/SimpleGrammars/src/main/java/com/terzeron/grammar/serialization/SerializationTest.java", "file_name": "SerializationTest.java", "file_ext": ... | https://github.com/terzeron/JavaGrammarTest | 192 | FILENAME: SerializationTest.java | 0.255344 | package com.terzeron.grammar.serialization;
import lombok.extern.slf4j.Slf4j;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
/**
* Created by terzeron on 2017. 9. 13..
*/
@Slf4j
public class SerializationTest {
public static void main(String args[]) {
SerializationTest serializer =... |
d6ab01e0-0583-4d7b-a306-d8fe0172c77d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-23 01:12:01", "repo_name": "numen06/JBM", "sub_path": "/jbm-framework/jbm-framework-autoconfigure/jbm-framework-autoconfigure-mybatis/src/main/java/com/jbm/framework/dao/mybatis/EntityDaoWarp.java", "file_name... | https://github.com/numen06/JBM | 235 | FILENAME: EntityDaoWarp.java | 0.229535 | package com.jbm.framework.dao.mybatis;
/**
* 封装业务服务的实体类型
*
* @param <T>
* @author wesley
*/
public class EntityDaoWarp<T> {
private Class<T> entityClass;
private Class<T> mapperClass;
private Class<T> pkClass;
private Class<T> repositoryClass;
public Class<T> getEntityClass() {
re... |
c25e04a8-b431-4676-91d8-fc0b9bc06be5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-18 08:04:40", "repo_name": "Jaeykurapati/API_Test", "sub_path": "/src/main/java/API/Utils/MySQLConnection.java", "file_name": "MySQLConnection.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count"... | https://github.com/Jaeykurapati/API_Test | 194 | FILENAME: MySQLConnection.java | 0.246533 | package API.Utils;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Properties;
public class MySQLConnection {
private static Connection connection = null;
private static ClassLoader loader = Thread.currentThread().getContextClassLoader();
private st... |
889ec443-143c-46f2-9e2d-d12ab1e5d463 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-23 18:34:00", "repo_name": "rejiejay/android-client", "sub_path": "/app/src/main/java/cn/rejiejay/application/selecttab/Tab.java", "file_name": "Tab.java", "file_ext": "java", "file_size_in_byte": 1034, "line_... | https://github.com/rejiejay/android-client | 245 | FILENAME: Tab.java | 0.240775 | package cn.rejiejay.application.selecttab;
/**
* 数据Model
* 自定义的Adapter依然遵循MVC设计模式
*/
public class Tab {
// 构造函数
public Tab(int id, String name, Boolean isDelete) {
this.id = id;
this.name = name;
this.isDelete = isDelete;
}
private int id; // 标签 唯一标识
private String nam... |
c80bc0de-6f24-4ae1-8ef4-dfdfb947812b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-05 09:45:28", "repo_name": "FFY00/deobfuscator", "sub_path": "/src/main/java/com/javadeobfuscator/deobfuscator/utils/WrappedClassNode.java", "file_name": "WrappedClassNode.java", "file_ext": "java", "file_size... | https://github.com/FFY00/deobfuscator | 254 | FILENAME: WrappedClassNode.java | 0.286169 | /*
* Copyright 2016 Sam Sun <me@samczsun.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
654f0676-799b-47e1-9663-b00f18a02195 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-02-18T13:35:07", "repo_name": "lfrsales/api-gui", "sub_path": "/README.markdown", "file_name": "README.markdown", "file_ext": "markdown", "file_size_in_byte": 1050, "line_count": 56, "lang": "en", "doc_type":... | https://github.com/lfrsales/api-gui | 263 | FILENAME: README.markdown | 0.2227 | # Liferay API GUI
A GUI for exploring Liferay's API's in Liferay DXP `7.3`.
## Usage
### Find the widget in the Control Panel under System > API GUI.

### View results of API requests.

### See example API Calls using `Liferay.Util.fetch`.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.