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 |
|---|---|---|---|---|---|---|
371d153c-582f-4b04-af64-131af01f5e14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-08 15:40:25", "repo_name": "macielbombonato/apolo", "sub_path": "/apolo-core/src/main/java/apolo/common/util/ThreadLocalContextUtil.java", "file_name": "ThreadLocalContextUtil.java", "file_ext": "java", "file_... | https://github.com/macielbombonato/apolo | 248 | FILENAME: ThreadLocalContextUtil.java | 0.268941 | package apolo.common.util;
import apolo.common.config.enums.Language;
import org.springframework.util.Assert;
public class ThreadLocalContextUtil {
private static final ThreadLocal<String> tenantContextHolder = new ThreadLocal<String>();
private static final ThreadLocal<String> languageContextHolder = new Thread... |
7b536c82-bad0-4a72-b23a-ad4044f592af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-06 21:02:07", "repo_name": "Micromegas/ProyectoUni", "sub_path": "/src/proyectouni/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 43, "lang": "en", "... | https://github.com/Micromegas/ProyectoUni | 215 | FILENAME: Conexion.java | 0.23793 | /*
* 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 proyectouni;
import java.sql.*;
/**
*
* @author Administrador
*/
public class Conexion {
/* datos para... |
293c5140-5812-4269-a6d0-9d2b76fed21e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-13 07:32:56", "repo_name": "569934390/darenbao", "sub_path": "/jinbang/src/main/java/com/compses/dao/impl/system/AgreementInfoDao.java", "file_name": "AgreementInfoDao.java", "file_ext": "java", "file_size_in_... | https://github.com/569934390/darenbao | 209 | FILENAME: AgreementInfoDao.java | 0.253861 | package com.compses.dao.impl.system;
import com.compses.dao.system.IAgreementInfoDao;
import com.compses.model.AgreementInfo;
import com.compses.util.DBUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springfram... |
74228a09-7ec2-44e9-9e42-1a3d59872006 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-11 11:23:59", "repo_name": "adurenator/InteractionProgrammingLab", "sub_path": "/DinnerApp/src/se/kth/csc/iprog/dinnerplanner/DescriptionPopup.java", "file_name": "DescriptionPopup.java", "file_ext": "java", "... | https://github.com/adurenator/InteractionProgrammingLab | 201 | FILENAME: DescriptionPopup.java | 0.278257 | package se.kth.csc.iprog.dinnerplanner;
import controllers.DescriptionPopupController;
import controllers.HeaderController;
import se.kth.csc.iprog.dinnerplanner.model.DinnerModel;
import views.DescriptionPopupView;
import views.HeaderView;
import android.app.Activity;
import android.os.Bundle;
public cla... |
51fa0df0-4367-425f-92f0-a88eb3651fea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-13 06:08:31", "repo_name": "lavin-q/qhm-elasticsearch", "sub_path": "/src/main/java/com/qhm/elasticsearch/controller/ContainerController.java", "file_name": "ContainerController.java", "file_ext": "java", "fil... | https://github.com/lavin-q/qhm-elasticsearch | 204 | FILENAME: ContainerController.java | 0.213377 | package com.qhm.elasticsearch.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation... |
97fede6e-1ff0-456e-aee8-045fdd324185 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-27 21:48:21", "repo_name": "tamoop5858/cdh5", "sub_path": "/futuredata/FileManager.java", "file_name": "FileManager.java", "file_ext": "java", "file_size_in_byte": 1047, "line_count": 49, "lang": "en", "doc_ty... | https://github.com/tamoop5858/cdh5 | 184 | FILENAME: FileManager.java | 0.228156 | package futuredata;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class FileManager {
public String getOutputPath() {
String filePath = "";
File directory = new File("");
try {
filePath = di... |
051b246a-66f1-4161-b797-25bfb57df453 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-06 03:29:03", "repo_name": "DanielliUrbieta/souzaUrbieta", "sub_path": "/org.eclipse.jgit/src/command/Command.java", "file_name": "Command.java", "file_ext": "java", "file_size_in_byte": 1200, "line_count": 79... | https://github.com/DanielliUrbieta/souzaUrbieta | 315 | FILENAME: Command.java | 0.279828 | package command;
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.Repository;
/**
* @author Urbieta Souza Superclasse dos comandos basicos do Git
*
*/
abstract class Command {
/***/
protected static Git git;
/**
* Caminho do repositorio local
*/
protected static String localPath;
/**
* Re... |
2e26667e-dcf5-47ef-8e49-a193de82f2e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 09:27:19", "repo_name": "Albert-Hugo/RobinDB", "sub_path": "/client/src/main/java/com/ido/robin/client/RobinClient.java", "file_name": "RobinClient.java", "file_ext": "java", "file_size_in_byte": 1122, "lin... | https://github.com/Albert-Hugo/RobinDB | 264 | FILENAME: RobinClient.java | 0.23231 | package com.ido.robin.client;
import com.ido.robin.client.netty.Connector;
import com.ido.robin.rpc.proto.RemoteCmd;
import lombok.extern.slf4j.Slf4j;
/**
* @author Ido
* @date 2019/1/24 10:18
*/
@Slf4j
public class RobinClient {
private Connector connector;
public RobinClient(String host, int port) thr... |
56c2a79e-8019-4640-aa40-c51ccd1bcab7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-09 12:51:04", "repo_name": "NewChenJie/JUC-demo", "sub_path": "/src/main/java/com/juc/demo/Lock/LockTest2.java", "file_name": "LockTest2.java", "file_ext": "java", "file_size_in_byte": 1224, "line_count": 47, ... | https://github.com/NewChenJie/JUC-demo | 267 | FILENAME: LockTest2.java | 0.283781 | package com.juc.demo.Lock;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* @author : chenjie
* @date : 2019-12-07 15:33
* @describe : lockInterruptibly 可以被打断 并且自己释放锁
*/
public class LockTest2 {
public static void main(String[] args) throws InterruptedException {
... |
879fe662-e468-4208-acca-3487c7513948 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-01T22:43:07", "repo_name": "Rutwik99/Simple-C-Shell", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1071, "line_count": 59, "lang": "en", "doc_type": "text", "b... | https://github.com/Rutwik99/Simple-C-Shell | 289 | FILENAME: README.md | 0.278257 | **Shell Implementation in C**
**By Rutwik Reddy**
*Introduction*
This is a basic shell implemented using syscalls and C language.
*How to Run*
- Install make (if not installed) by running the command
sudo apt-get install make
- Type the command
make run
- Run the shell
./run
*Features of this She... |
4d39b125-21b4-4ac5-a88a-61f51da9f0d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-17 09:35:50", "repo_name": "webshine6/SpringProjects", "sub_path": "/Spring-Data-JPA-Security/src/main/java/com/springdev/springbootcrud/services/NotificationService.java", "file_name": "NotificationService.ja... | https://github.com/webshine6/SpringProjects | 206 | FILENAME: NotificationService.java | 0.276691 | package com.springdev.springbootcrud.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service... |
160c8155-5a7b-4d0f-8a57-2f044f72da80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 04:55:39", "repo_name": "guojunliangJava/concurrent-coding", "sub_path": "/concurrent-coding-service/src/main/java/com/spring/transaction/propagation/TransactionPropagationService.java", "file_name": "Trans... | https://github.com/guojunliangJava/concurrent-coding | 220 | FILENAME: TransactionPropagationService.java | 0.235108 | package com.spring.transaction.propagation;/**
* @author
* @since 2020-11-04 14:45
*/
import com.spring.transaction.OperationService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Service;
/**
... |
e358450f-3d8d-473c-b038-46e4da230c3a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-22 13:26:26", "repo_name": "HasonHuang/java-design-patterns", "sub_path": "/prototype-pattern/src/main/java/com/hason/patterns/prototype/AnimalMapResource.java", "file_name": "AnimalMapResource.java", "file_ex... | https://github.com/HasonHuang/java-design-patterns | 248 | FILENAME: AnimalMapResource.java | 0.262842 | package com.hason.patterns.prototype;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.atomic.AtomicLong;
/**
* 动物资源(具体原型类)
*
* @author Huanghs
* @since 2.0
* @date 2019/1/19
*/
@Data
@Slf4j
public class AnimalMapResource implements MapResource... |
1e80deaa-c8fb-47a3-8e47-ef8f92ba26c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-03 14:52:17", "repo_name": "dip77/Bus-Reservation-and-Pass-Creation-System", "sub_path": "/src/com/digimation/gujjubus/controller/UserDeleteServlet.java", "file_name": "UserDeleteServlet.java", "file_ext": "ja... | https://github.com/dip77/Bus-Reservation-and-Pass-Creation-System | 202 | FILENAME: UserDeleteServlet.java | 0.293404 | package com.digimation.gujjubus.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.digimation.gujjubus.dao.UserDAO;
public class UserDeleteServlet... |
0415c86d-a07c-4662-bf5f-bfb48893b0a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-05 17:39:01", "repo_name": "Knicksaas/minecraft-server-plugins", "sub_path": "/MLGrush/src/ch/nte/mc/bungee/mlgrush/commands/CMD_logout.java", "file_name": "CMD_logout.java", "file_ext": "java", "file_size_in_... | https://github.com/Knicksaas/minecraft-server-plugins | 233 | FILENAME: CMD_logout.java | 0.245085 | package ch.nte.mc.bungee.mlgrush.commands;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import ch.nte.mc.bungee.mlgrush.events.PlayerJoinEvent;
import ch.nte.mc.bungee.mlgrush.main.Messages;
import ch.nte.mc.bungee.mlgrush.ma... |
768e49f3-eb26-4873-b86d-224a183022bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-10T07:39:17", "repo_name": "gitter-badger/cr-examples", "sub_path": "/vehicle-simulator/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1201, "line_count": 41, "lang": "en", "d... | https://github.com/gitter-badger/cr-examples | 276 | FILENAME: README.md | 0.261331 | # Bosch IoT Central Registry - Example Vehicle Simulator
This example shows how to integrate devices information using Java with the CR.
**Notice:** Currently this demo uses the REST API for the updating the properties of Features of Things.
As soon as the CR supports updating feature properties using the CR-Integrat... |
c96d641b-5c1f-4b8a-8917-4be43057f56a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-11 14:05:51", "repo_name": "dcvh/Android-AugmentedReality", "sub_path": "/app/src/main/java/com/example/op/arview/arview/DetailLocation.java", "file_name": "DetailLocation.java", "file_ext": "java", "file_size... | https://github.com/dcvh/Android-AugmentedReality | 201 | FILENAME: DetailLocation.java | 0.224055 | package com.example.op.arview.arview;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import com.example.op.arview.R;
public class DetailLocation extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
supe... |
b8ba2fa0-93b2-46cb-bb7e-8c114d54c2d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-12 00:43:00", "repo_name": "lavsvemulapalli/selenium-using-java", "sub_path": "/SeleniumDemo.java", "file_name": "SeleniumDemo.java", "file_ext": "java", "file_size_in_byte": 1122, "line_count": 45, "lang": "e... | https://github.com/lavsvemulapalli/selenium-using-java | 257 | FILENAME: SeleniumDemo.java | 0.294215 | package klm;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Sel... |
9e93e5bd-385e-44a6-876c-a55b0756f552 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-02 02:02:03", "repo_name": "yupengyan/gzucm_web", "sub_path": "/src/main/java/cn/edu/gzucm/web/framework/config/PropertyStrategy.java", "file_name": "PropertyStrategy.java", "file_ext": "java", "file_size_in_b... | https://github.com/yupengyan/gzucm_web | 199 | FILENAME: PropertyStrategy.java | 0.258326 | package cn.edu.gzucm.web.framework.config;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import org.springframework.core.io.AbstractResource;
import cn.edu.gzucm.web.utils.MyProperties;
public class PropertyStrategy extends AbstractResource {... |
411371a8-d3fa-462c-8060-fc18a4f2439f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-09 11:55:37", "repo_name": "MartinDai/weChatRobot", "sub_path": "/robot-web/src/main/java/com/doodl6/wechatrobot/response/TextMessage.java", "file_name": "TextMessage.java", "file_ext": "java", "file_size_in_b... | https://github.com/MartinDai/weChatRobot | 211 | FILENAME: TextMessage.java | 0.200558 | package com.doodl6.wechatrobot.response;
import com.doodl6.wechatrobot.enums.MessageType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Getter;
impor... |
1c97ddfc-a224-456b-a5ad-68629dab4b79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-11 04:22:05", "repo_name": "cah-richard-duckworth/fantasy-api", "sub_path": "/src/main/java/com/therick/fantasy/api/data/model/NflTeam.java", "file_name": "NflTeam.java", "file_ext": "java", "file_size_in_byte... | https://github.com/cah-richard-duckworth/fantasy-api | 287 | FILENAME: NflTeam.java | 0.252384 | package com.therick.fantasy.api.data.model;
import javax.persistence.*;
import java.util.Objects;
import java.util.Set;
/**
* @author Richard W. Duckworth
* @created 11/21/2019
*/
@Entity
public class NflTeam {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
private String name;
@OneT... |
e5c57eae-743c-4c9b-8b21-09ca26211721 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-25 12:27:00", "repo_name": "Sonat-Consulting/cicd-demo-app", "sub_path": "/src/main/java/no/sonat/fagdag/cicd/demo/person/resource/PersonController.java", "file_name": "PersonController.java", "file_ext": "jav... | https://github.com/Sonat-Consulting/cicd-demo-app | 223 | FILENAME: PersonController.java | 0.235108 | package no.sonat.fagdag.cicd.demo.person.resource;
import lombok.extern.slf4j.Slf4j;
import no.sonat.fagdag.cicd.demo.person.Person;
import no.sonat.fagdag.cicd.demo.person.PersonRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.ut... |
6c0e37d2-d521-4121-9849-13e4df4d14a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-22T20:54:38", "repo_name": "mdhedman/Aceable-Robotic-Pilot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1047, "line_count": 34, "lang": "en", "doc_type": "te... | https://github.com/mdhedman/Aceable-Robotic-Pilot | 254 | FILENAME: README.md | 0.247987 | # Aceable-Robotic-Pilot
> Aceable Robot Pilot Licensing System
####
## Author: Michael Hedman
## Date: 2/22/2019
## Description: This project is to build out the Aceable robot pilot licensing system.
## The project initially calls a public API to retrieve a list of products, including their title, description... |
11fbae64-79ef-41d9-9b9a-142eeb858726 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-27 02:07:20", "repo_name": "csc668-868-hakunamatata/android-finance-app", "sub_path": "/app/src/main/java/com/example/financeapp/activities/HelpActivity.java", "file_name": "HelpActivity.java", "file_ext": "ja... | https://github.com/csc668-868-hakunamatata/android-finance-app | 191 | FILENAME: HelpActivity.java | 0.210766 | package com.example.financeapp.activities;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.drawerlayout.widget.DrawerLayout;
import android.os.Bundle;
import com.example.financeapp.R;
import com.google.andr... |
07c3a89b-b690-4d86-a455-2c364129f310 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-08T01:23:33", "repo_name": "ANGELOS-TSILAFAKIS/NavigationDrawerPublic", "sub_path": "/app/src/main/java/info/android_angel/navigationdrawer/model_tv_id_get_images/TVGetImages.java", "file_name": "TVGetImages.j... | https://github.com/ANGELOS-TSILAFAKIS/NavigationDrawerPublic | 246 | FILENAME: TVGetImages.java | 0.255344 | package info.android_angel.navigationdrawer.model_tv_id_get_images;
/**
* Created by ANGELOS on 2017.
*/
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class TVGetImages {
@SerializedName("backdrops")
@Expose
private List<TVGe... |
92866090-89c9-48c9-a935-b4189f2b9553 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-13T09:56:30", "repo_name": "luckyshot/frontend-framework", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1023, "line_count": 45, "lang": "en", "doc_type": "text... | https://github.com/luckyshot/frontend-framework | 227 | FILENAME: README.md | 0.220007 | # LuckyShot Front End Framework
This is a collection of HTML, CSS and JS files that include all the boilerplate code to start a powerful front-end website development project.
It is constantly updated to adapt to the latest changes and best practices in their languages and adapts to modern desktop and mobile browsers... |
7764475a-ba5c-49ec-b5fc-834633bda92e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-28 12:59:42", "repo_name": "amid123/motoapp", "sub_path": "/src/main/java/pl/arek/motoappserver/configuration/security/LogedInChecker.java", "file_name": "LogedInChecker.java", "file_ext": "java", "file_size_i... | https://github.com/amid123/motoapp | 205 | FILENAME: LogedInChecker.java | 0.255344 | /*
* 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 pl.arek.motoappserver.configuration.security;
import pl.arek.motoappserver.domain.entities.User;
import org.springframework.se... |
80a2d2c6-f8e4-4c34-98e1-3c78ab73a764 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-18 07:44:04", "repo_name": "enmaoFu/infrastructure", "sub_path": "/infrastructure-common/src/main/java/com/infrastructure/utils/NumberGeneratorUtils.java", "file_name": "NumberGeneratorUtils.java", "file_ext":... | https://github.com/enmaoFu/infrastructure | 365 | FILENAME: NumberGeneratorUtils.java | 0.295027 | package com.infrastructure.utils;
import java.text.DecimalFormat;
public class NumberGeneratorUtils {
private static DecimalFormat df = new DecimalFormat("0000");
/**
* @return String
* @throws :
* @Description(功能描述) : 获取商品单号
* @author(作者) : suyuanliu
* @date (开发日期) : 2... |
29292672-7edb-44b8-a882-faf7c00efb55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-16 09:39:32", "repo_name": "khemzacz/SImpleUnitConverter", "sub_path": "/app/src/main/java/Listeners/MySettingsListListener.java", "file_name": "MySettingsListListener.java", "file_ext": "java", "file_size_in_... | https://github.com/khemzacz/SImpleUnitConverter | 213 | FILENAME: MySettingsListListener.java | 0.287768 | package Listeners;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Toast;
import com.example.konrad.simpleunitconverter.SettingsActivity;
import java.io.Console;
/**
* Created by Konrad on 3/10/2016.
*/
public class MySett... |
e152dd1c-b163-4b31-8ff0-1e6e853c59ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-24 11:23:12", "repo_name": "namhellfire/demoPlayer", "sub_path": "/app/src/main/java/com/app/letsbigo/Handler/EndlessRecyclerOnScrollListener.java", "file_name": "EndlessRecyclerOnScrollListener.java", "file_e... | https://github.com/namhellfire/demoPlayer | 228 | FILENAME: EndlessRecyclerOnScrollListener.java | 0.26971 | package com.app.letsbigo.Handler;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
/**
* Created by nguyennam on 3/11/17.
*/
public class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener {
public final static String TAG = "EndlessRecyclerO... |
65107f24-0f3b-40e2-8e5a-39dc4bdbd78b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-04 08:12:16", "repo_name": "huangzhibing/softwareComponents", "sub_path": "/src/main/java/com/hqu/modules/purchasemanage/transtype/entity/TranStype.java", "file_name": "TranStype.java", "file_ext": "java", "fi... | https://github.com/huangzhibing/softwareComponents | 375 | FILENAME: TranStype.java | 0.278257 | /**
* Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
*/
package com.hqu.modules.purchasemanage.transtype.entity;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
/**
* 运输方式定义Entity
* @author 石豪迈
* @version... |
19b80cf2-5278-4f30-bccc-aef797c62adf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-26 09:35:59", "repo_name": "jango89/transaction-api", "sub_path": "/src/main/java/com/n26/usecase/AddTransaction.java", "file_name": "AddTransaction.java", "file_ext": "java", "file_size_in_byte": 1083, "line_... | https://github.com/jango89/transaction-api | 195 | FILENAME: AddTransaction.java | 0.294215 | package com.n26.usecase;
import com.n26.domain.Transaction;
import com.n26.exception.FutureTransactionException;
import com.n26.exception.OldTransactionException;
import com.n26.json.TransactionDto;
import com.n26.repository.TransactionRepository;
import org.springframework.stereotype.Service;
@Service
public class A... |
6b34806a-fa25-49fd-aa94-82755b99671c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-15 20:55:13", "repo_name": "HospitalAssistant/HospitalAssistantServer", "sub_path": "/hospital-assistant-controller/src/main/java/com/hospital/assistant/service/UserServiceImpl.java", "file_name": "UserService... | https://github.com/HospitalAssistant/HospitalAssistantServer | 186 | FILENAME: UserServiceImpl.java | 0.245085 | package com.hospital.assistant.service;
import com.hospital.assistant.domain.UserEntity;
import com.hospital.assistant.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
@Service("u... |
d601576d-e19b-4d29-aa13-aeb6fb36ca24 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-11 08:20:58", "repo_name": "ShaoZeng/Android-OpenCV-Demo", "sub_path": "/app/src/main/java/com/example/opencvdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/ShaoZeng/Android-OpenCV-Demo | 186 | FILENAME: MainActivity.java | 0.212069 | package com.example.opencvdemo;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private ImageView ima... |
ea200850-2023-4112-9207-84dadb6d145e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 15:49:10", "repo_name": "SmokedKoala/tamagotchi", "sub_path": "/app/src/main/java/ru/practice/tamagotchi/minigame/GameActivity.java", "file_name": "GameActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/SmokedKoala/tamagotchi | 196 | FILENAME: GameActivity.java | 0.286968 | package ru.practice.tamagotchi.minigame;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.Point;
import android.os.Bundle;
import android.view.Display;
import ru.practice.tamagotchi.minigame.GameView;
public class GameActivity extends AppCompatActivity {
private GameView gameView;
... |
f0299d52-22ef-48e5-b45e-010f98591be4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-17 21:18:50", "repo_name": "acasadoquijada/popularmovies-stage2", "sub_path": "/app/src/main/java/com/example/popularmoviesstage2/database/MovieDataBase.java", "file_name": "MovieDataBase.java", "file_ext": "j... | https://github.com/acasadoquijada/popularmovies-stage2 | 189 | FILENAME: MovieDataBase.java | 0.26588 | package com.example.popularmoviesstage2.database;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;
import com.example.popularmoviesstage2.movie.Movie;
@Database(entities = {Movie.class}, version = 1, exp... |
5287fd98-2b8b-4248-b911-81499d2452f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-27 20:28:38", "repo_name": "Robertelving/CardSmith", "sub_path": "/CardSmith/src/cardSmith/Elements.java", "file_name": "Elements.java", "file_ext": "java", "file_size_in_byte": 1201, "line_count": 51, "lang":... | https://github.com/Robertelving/CardSmith | 250 | FILENAME: Elements.java | 0.29584 | package cardSmith;
import java.util.ArrayList;
/**
*
* @author Robert
*/
public class Elements {
//holds all possible elements
private static ArrayList<String> elements = null;
//loads all possible elements from elements.txt
public Elements() {
Elements.elements = FileHandling.readFromfil... |
a8d66168-c2ea-4bc3-9355-b188a1d4f55d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-10 19:01:22", "repo_name": "adelinastancioi/proiect", "sub_path": "/Project/app/src/main/java/com/example/cristina/project/adapter/QuestionsAdapter.java", "file_name": "QuestionsAdapter.java", "file_ext": "jav... | https://github.com/adelinastancioi/proiect | 209 | FILENAME: QuestionsAdapter.java | 0.255344 | package com.example.cristina.project.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.BaseAdapter;
import com.example.cristina.project.R;
import com.example.cristina.project.m... |
4f755925-c4a7-47f8-8444-b490c3c02b17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-01 13:59:22", "repo_name": "MykolaBova/Pavel-Yanushka-interview", "sub_path": "/src/main/java/org/pavel/yanushka/common/models/City.java", "file_name": "City.java", "file_ext": "java", "file_size_in_byte": 108... | https://github.com/MykolaBova/Pavel-Yanushka-interview | 217 | FILENAME: City.java | 0.278257 | package org.pavel.yanushka.common.models;
import java.io.Serializable;
public class City implements Serializable {
private String placeId;
private String name;
public String getPlaceId() {
return placeId;
}
public void setPlaceId(String placeId) {
this.placeId = placeId;
}
... |
d8558a6d-98ca-46de-8787-a3c64b325c83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-03 08:35:40", "repo_name": "woshiwjma956/netty-learn", "sub_path": "/src/main/java/com/ycorn/nettypractices/simple/SimpleNettyClientHandler.java", "file_name": "SimpleNettyClientHandler.java", "file_ext": "jav... | https://github.com/woshiwjma956/netty-learn | 265 | FILENAME: SimpleNettyClientHandler.java | 0.259826 | package com.ycorn.nettypractices.simple;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import java.nio.charset.Charset;
/**
* @author : Jim Wu
* @version 1.0
* @function :
* @since : 2020/6/24 ... |
80bca789-f4d8-4e6b-b275-2b7cfe25068f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-19 08:11:30", "repo_name": "Otaka/KOSBuild", "sub_path": "/VisualEagle/src/main/java/org/visualeagle/gui/small/directorychooser/ProjectDirectoryChooser.java", "file_name": "ProjectDirectoryChooser.java", "file... | https://github.com/Otaka/KOSBuild | 204 | FILENAME: ProjectDirectoryChooser.java | 0.278257 | package org.visualeagle.gui.small.directorychooser;
import java.io.File;
import org.visualeagle.utils.ImageManager;
/**
* @author Dmitry
*/
public class ProjectDirectoryChooser extends DirectoryChooser {
public ProjectDirectoryChooser() {
setOnFileFoundEvent(createOnFileFoundEvent());
... |
7ac2bfc5-8a9a-4b7b-b037-688e12d7cf0f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-17 13:58:16", "repo_name": "findlunch/WebApp", "sub_path": "/src/main/java/edu/hm/cs/projektstudium/findlunch/webapp/model/validation/passwordReset/PasswordResetPasswordEqualValidator.java", "file_name": "Pass... | https://github.com/findlunch/WebApp | 206 | FILENAME: PasswordResetPasswordEqualValidator.java | 0.282988 | package edu.hm.cs.projektstudium.findlunch.webapp.model.validation.passwordReset;
import edu.hm.cs.projektstudium.findlunch.webapp.components.PasswordResetForm;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
/**
* Valida... |
1c8d0d62-6171-402f-85ec-ac890470f799 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-25T19:24:35", "repo_name": "gwyndol1n/hades-asl-extension", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1122, "line_count": 29, "lang": "en", "doc_type": "tex... | https://github.com/gwyndol1n/hades-asl-extension | 248 | FILENAME: README.md | 0.205615 | # hades-asl-extension
Extensions added to Hades Autosplitter script, includes additional information about current run.
# HOW TO USE
1. Download the script and place somewhere accessible by Livesplit.
2. **IMPORTANT!** Make sure to disable Autosplitter if it's being used.
3. Right-click Livesplit > Edit Layout... ... |
ac0c4a16-e90a-4be4-b007-7479153349fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-22 01:56:01", "repo_name": "kanyanan/canal-elasticsearch", "sub_path": "/src/test/java/test/syn/Lock.java", "file_name": "Lock.java", "file_ext": "java", "file_size_in_byte": 1209, "line_count": 68, "lang": "e... | https://github.com/kanyanan/canal-elasticsearch | 283 | FILENAME: Lock.java | 0.249447 | package test.syn;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.LockSupport;
/**
* 说明 . <br>
* <p>
* <p>
* Copyright: Copyright (c) 2017/12/04 下午2:19
* <p>
* Company: xxx
* <p>
*
* @author zhongcheng_m@yeah.net
* @version 1.0.0
*/
public class Lock {
public stati... |
26226c24-6d37-42a7-891f-80e99d6d4776 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-25T07:26:03", "repo_name": "MCastleSolutions/Scaffold-Framework", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 972, "line_count": 23, "lang": "en", "doc_type":... | https://github.com/MCastleSolutions/Scaffold-Framework | 204 | FILENAME: README.md | 0.213377 | # Scaffold
Scaffold is an experimental YAML based Android framework written in Kotlin. It aims to provide a mean of dynamic UI. There is a list of features:
- An approach of UI definition that gives a sense of direct representation for visual elements.
- A restricted remote definition of UI elements that allows d... |
67580a10-a98e-440a-9fd3-38c793ce7e0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-20T13:29:39", "repo_name": "uk-gov-mirror/ministryofjustice.hmpps-delius-core-terraform", "sub_path": "/application/ndelius/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1122... | https://github.com/uk-gov-mirror/ministryofjustice.hmpps-delius-core-terraform | 289 | FILENAME: README.md | 0.245085 | # National Delius - WebLogic NDelius domain
Supports the front-end application for National Delius.
This terraform module defines a load-balanced WebLogic auto-scaling group with the NDelius application deployed.
## Resources
* `weblogic-ndelius.tf` - Module defining WebLogic ASG with an internal application load-ba... |
0742caf7-6034-4a28-b55c-35741c9807d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-06 11:40:49", "repo_name": "kundan-gif/Amazon-Clone", "sub_path": "/app/src/main/java/com/example/amazonclone/Activities/ui/Settings/SettingsFragment.java", "file_name": "SettingsFragment.java", "file_ext": "j... | https://github.com/kundan-gif/Amazon-Clone | 169 | FILENAME: SettingsFragment.java | 0.243642 | package com.example.amazonclone.Activities.ui.Settings;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.PreferenceFragmentCompat;
import com.example.amazonclone.Activities.LoginActivityP;
import com.e... |
ec1b1258-84fc-4d0f-bb82-678c29f15afd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-08T20:58:22", "repo_name": "samicoman/nethuns_sameday_m2", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 35, "lang": "en", "doc_type": "text... | https://github.com/samicoman/nethuns_sameday_m2 | 277 | FILENAME: README.md | 0.229535 | # Sameday Courier Romania - Magento 2.3 Module
## Current Features - v. 1.0.0
- get price quote from the API (checkout)
- choose between Sameday and Nextday delivery - if applicable (checkout)
- change the shipping origin (admin)
- change the package type (admin)
- add service taxes by default (admin)
- create shippin... |
7dfcadb7-3279-4d47-84ad-c2ad376de25e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-08 13:21:49", "repo_name": "avtuhovich/politech", "sub_path": "/src/test/java/HashTableTest.java", "file_name": "HashTableTest.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count": 46, "lang": "e... | https://github.com/avtuhovich/politech | 244 | FILENAME: HashTableTest.java | 0.293404 |
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import main.java.HashTable;
public class HashTableTest {
private HashTable hs;
@Test
... |
379d5e4c-4a78-469a-8ae6-e678abc519c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-28 13:09:43", "repo_name": "lesoudera/bibliotheque", "sub_path": "/SIObibliothequeScratch-master/src/entites/CTest.java", "file_name": "CTest.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count":... | https://github.com/lesoudera/bibliotheque | 269 | FILENAME: CTest.java | 0.259826 | package entites;
public class CTest {
protected int id;
protected String nom;
protected int age;
public CTest(int id, String nom, int age) {
this.id = id;
this.nom = nom;
this.age = age;
}
@Override
public String toString() {
String str = "... |
7afa5dac-085d-41cf-97b9-3a394838907c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-26T20:36:14", "repo_name": "Meganimation/ingamecc", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1201, "line_count": 42, "lang": "en", "doc_type": "text", "blo... | https://github.com/Meganimation/ingamecc | 377 | FILENAME: README.md | 0.261331 | </u> <h1> inGame CC</h1> </u>
</br>
</br>
<b> A novelty web application that converts in-game currency into USD </b>
</br>
Deployed at:
<a href='https://morning-crag-16734.herokuapp.com/'> heroku </a>
</br>
</br>
Back-end can be found<a href='https://github.com/Meganimation/inGameCurrencyConverterBACKEND/'> here. </a>... |
f578fc4b-3792-4a67-bea8-ce404e696642 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-25 09:59:07", "repo_name": "Faon2018/springcloud", "sub_path": "/provider-user/src/main/java/com/faon/springcloud/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_... | https://github.com/Faon2018/springcloud | 219 | FILENAME: UserController.java | 0.216012 | package com.faon.springcloud.controller;
import com.faon.springcloud.entities.User;
import com.faon.springcloud.service.impl.UserServiceImpl;
import com.faon.springcloud.util.ResponsResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import ... |
1680a7dc-e098-47c3-9592-0de419c75d81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-26 17:00:03", "repo_name": "stwerner97/BKG", "sub_path": "/knowledge_graph/src/main/java/com/group/proseminar/knowledge_graph/nlp/SAXHandler.java", "file_name": "SAXHandler.java", "file_ext": "java", "file_siz... | https://github.com/stwerner97/BKG | 273 | FILENAME: SAXHandler.java | 0.253861 | package com.group.proseminar.knowledge_graph.nlp;
import java.util.Stack;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
/**
* SAX parser handling responses by the DBpedia lookup API.
*
* @author Stefan Werner
*
*/
public class SAXHandler extends Defa... |
c739aae3-a0d2-47b6-99bf-cf7983e6e38f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-02 20:54:00", "repo_name": "PPPPPPika/rpo", "sub_path": "/src/main/java/com/example/rpo/Services/Operations/DeleteOperation.java", "file_name": "DeleteOperation.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/PPPPPPika/rpo | 202 | FILENAME: DeleteOperation.java | 0.295027 | package com.example.rpo.Services.Operations;
import com.example.rpo.Models.Comment;
import com.example.rpo.Repositorys.CommentRepository;
import com.example.rpo.Repositorys.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("delet... |
9cbb6703-282f-4d5d-9958-60e86006a620 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-18T20:01:46", "repo_name": "fsmoke/ESP8266-Wizard-Package", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1039, "line_count": 24, "lang": "en", "doc_type": "tex... | https://github.com/fsmoke/ESP8266-Wizard-Package | 276 | FILENAME: README.md | 0.203075 | # ESP8266-Wizard-Package
Esp8266 visual studio add-in
Originally forked this add in https://bbs.espressif.com/viewtopic.php?t=3577
All copyrights saved.
# Fixes and changes
* Removed VsixInstaller and dependencies from setup script, instead used regkey to determine vs2017 path to run native VsixInstaller
* Fixed iro... |
5a1dcc05-971b-4781-a481-225c29329a47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-09 20:12:39", "repo_name": "iammaxence/MochiCine", "sub_path": "/src/servlet/AddFavoris.java", "file_name": "AddFavoris.java", "file_ext": "java", "file_size_in_byte": 1108, "line_count": 40, "lang": "en", "do... | https://github.com/iammaxence/MochiCine | 226 | FILENAME: AddFavoris.java | 0.290981 | package servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
/**
* servlet gerant l'ajout de favoris
* @... |
9b474448-aa5d-489e-b97f-9d608febcc27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-23 07:56:32", "repo_name": "crazyfly1115/jeesite", "sub_path": "/src/main/java/com/thinkgem/jeesite/common/utils/AssertUtil.java", "file_name": "AssertUtil.java", "file_ext": "java", "file_size_in_byte": 1071,... | https://github.com/crazyfly1115/jeesite | 272 | FILENAME: AssertUtil.java | 0.26588 | package com.thinkgem.jeesite.common.utils;
import org.springframework.util.Assert;
import java.util.List;
/**
* @Author zhangsy
* @Description AssertUtil 继承Assert
* @Date 23:11 2019/1/4
* @Param
* @return
* @Company 重庆尚渝网络科技
* @version v1000
**/
public class AssertUtil extends Assert {
/**
* @Au... |
b4a6db15-19f5-4844-ac3d-f26ad4585231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 22:29:12", "repo_name": "ensiasit/project-tracker-demo", "sub_path": "/src/main/java/ma/ensiasit/ensias/project_tracking/services/TaskServiceImpl.java", "file_name": "TaskServiceImpl.java", "file_ext": "jav... | https://github.com/ensiasit/project-tracker-demo | 215 | FILENAME: TaskServiceImpl.java | 0.278257 | package ma.ensiasit.ensias.project_tracking.services;
import lombok.AllArgsConstructor;
import ma.ensiasit.ensias.project_tracking.exceptions.DocumentNotFoundException;
import ma.ensiasit.ensias.project_tracking.models.Task;
import ma.ensiasit.ensias.project_tracking.repositories.TaskRepository;
import org.springframe... |
f2df9c1a-6f3a-440e-b028-6d523a497c95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-16 15:02:46", "repo_name": "GlobalLogicLatam/android-barcamp", "sub_path": "/app/src/main/java/com/globallogic/barcamp/home/MainPresenter.java", "file_name": "MainPresenter.java", "file_ext": "java", "file_siz... | https://github.com/GlobalLogicLatam/android-barcamp | 211 | FILENAME: MainPresenter.java | 0.261331 | package com.globallogic.barcamp.home;
import android.content.DialogInterface;
import com.globallogic.barcamp.BasePresenter;
import com.globallogic.barcamp.data.firebase.FirebaseWorker;
/**
* Created by Gonzalo.Martin on 9/27/2016
*/
public class MainPresenter extends BasePresenter<MainView> {
private Firebase... |
498cd374-85ee-4d97-a9f8-134f9ec87582 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-04 11:59:27", "repo_name": "zmf2006/shop_cloud", "sub_path": "/fenbushi_Log/src/main/java/com/fh/tuils/RedisUtils.java", "file_name": "RedisUtils.java", "file_ext": "java", "file_size_in_byte": 1275, "line_cou... | https://github.com/zmf2006/shop_cloud | 292 | FILENAME: RedisUtils.java | 0.26971 | package com.fh.tuils;
import com.alibaba.fastjson.JSONObject;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;
import java.util.concurrent.TimeUnit;
//redis的工具类
public class RedisUtils {
//某某池对象
private static JedisPool jedisPool;
//执行一次... |
e8e6a203-49b5-48e2-bf82-6b2768cf621a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-07 13:50:46", "repo_name": "Cod4Man/Thread", "sub_path": "/src/com/codeman/thread/activeObject/ActiveObjectProxy.java", "file_name": "ActiveObjectProxy.java", "file_ext": "java", "file_size_in_byte": 1014, "li... | https://github.com/Cod4Man/Thread | 203 | FILENAME: ActiveObjectProxy.java | 0.293404 | package com.codeman.thread.activeObject;
class ActiveObjectProxy implements ActiveObject {
private final Servant servant;
private final SchedularThread schedularThread;
public ActiveObjectProxy(Servant servant, SchedularThread schedularThread) {
this.servant = servant;
this.schedularThre... |
3130fa07-36bf-4ff9-8e67-698ef9cbb53b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-26 22:35:03", "repo_name": "el-keith/Assignment4", "sub_path": "/PokemonTrainer.java", "file_name": "PokemonTrainer.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 52, "lang": "en", "doc_ty... | https://github.com/el-keith/Assignment4 | 227 | FILENAME: PokemonTrainer.java | 0.262842 | import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
public class PokemonTrainer {
private String name = "";
private int win = 0;
private ArrayList<Pokemon>... |
e467eb40-e081-4e8e-89be-77e4330c3d96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-30T06:34:34", "repo_name": "sgnyjohn/scripts", "sub_path": "/README.mkdn", "file_name": "README.mkdn", "file_ext": "mkdn", "file_size_in_byte": 1123, "line_count": 23, "lang": "en", "doc_type": "text", "bl... | https://github.com/sgnyjohn/scripts | 316 | FILENAME: README.mkdn | 0.225417 | Scripts
=========
Bunch of homemade bash scripts which I often use to make my life easier :)
Feel free to fork it for your own use, and I'm open to PRs if you'd like to improve something or fix issues!
* `build-rom.sh`: Builds any android ROM for any device, and uploads it to transfer.sh
* `clone-hals.sh`: Clones ... |
217ca324-654c-4bbc-87c3-c54b8162191b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-15 17:20:27", "repo_name": "klyvechen/exchangeme", "sub_path": "/src/main/java/com/sporty/digitalcurrency/tx/GenericTx.java", "file_name": "GenericTx.java", "file_ext": "java", "file_size_in_byte": 1001, "line... | https://github.com/klyvechen/exchangeme | 200 | FILENAME: GenericTx.java | 0.214691 | package com.sporty.digitalcurrency.tx;
import java.util.ArrayList;
import java.util.List;
public class GenericTx {
private List<Long> inputs;
private List<Long> outputs;
private List<String> signatures;
private List<Long> requireAddresses;
public void addInput(Long input) {
if (input... |
8cca54a9-f710-497b-aa2d-83c9f0c9925a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-27 06:52:23", "repo_name": "xiaoy00/sharding-jdbc-springcloud-plugin", "sub_path": "/sharding-jdbc-base-service/src/main/java/com/xin/sharding/controller/DataBaseController.java", "file_name": "DataBaseControl... | https://github.com/xiaoy00/sharding-jdbc-springcloud-plugin | 254 | FILENAME: DataBaseController.java | 0.226784 | package com.xin.sharding.controller;
import com.car.resume.common.SysResult;
import com.xin.sharding.model.vo.ShardingDataBaseVO;
import com.xin.sharding.service.ShardingDataBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import or... |
91c86725-ea63-49ae-a856-f08339bb4dd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-19 01:20:57", "repo_name": "wgcjy/java8", "sub_path": "/src/reflect/ReflectTest01.java", "file_name": "ReflectTest01.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 43, "lang": "en", "doc_ty... | https://github.com/wgcjy/java8 | 255 | FILENAME: ReflectTest01.java | 0.264358 | package reflect;/**
* @Author:zhouxuan
* @Description:
* @Date:2018/1/10 0010 23:24
*/
import java.lang.reflect.Field;
/**
* @Author:zhouxuan
* @create:2018-01-10-23:24
**/
public class ReflectTest01 {
public static void main(String[] args) throws Exception {
//Person p = new Person();
//p... |
a67fe182-fd4b-4365-9e97-078a51ecb106 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-08 04:28:36", "repo_name": "be10ff/AndroidApplication", "sub_path": "/androidApplication/src/main/java/ru/tcgeo/application/wkt/GIDBaseField.java", "file_name": "GIDBaseField.java", "file_ext": "java", "file_s... | https://github.com/be10ff/AndroidApplication | 299 | FILENAME: GIDBaseField.java | 0.268941 | package ru.tcgeo.application.wkt;
public class GIDBaseField
{
public int m_id;
public String m_name;
public String m_description;
public int m_type;
public int m_sub_type;
public int m_order;
public String m_default_value;
public Object m_value;
public GIDBaseField()
{
m_id = 0;
m_name = "";
m_descri... |
e35a602c-43c3-4fb1-96b7-d71930655668 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-15 19:20:05", "repo_name": "lsim6580/Cs349-Java-Servlets", "sub_path": "/src/main/java/src/MVC/Models/QuestionViewModel.java", "file_name": "QuestionViewModel.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/lsim6580/Cs349-Java-Servlets | 203 | FILENAME: QuestionViewModel.java | 0.255344 | package main.java.src.MVC.Models;
import java.util.ArrayList;
import java.util.List;
/**
* Created by luke on 11/12/2016.
*/
public class QuestionViewModel {
//private List<QuestionViewModel> questions;
private String question;
private int id;
public QuestionViewModel(Question question){
... |
8e15721d-cd6a-4144-8b7f-8339a1b95c1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-30 03:12:03", "repo_name": "King-Pan/java-architect", "sub_path": "/code/thread/src/main/java/club/javalearn/thread/lock/ThisLock2.java", "file_name": "ThisLock2.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/King-Pan/java-architect | 222 | FILENAME: ThisLock2.java | 0.239349 | package club.javalearn.thread.lock;
import java.util.concurrent.TimeUnit;
/**
* @author king-pan
* @date 2019/3/11
* @Description ${DESCRIPTION}
*/
public class ThisLock2 {
private final Object LOCK = new Object();
public static void main(String[] args) {
ThisLock2 thisLock = new ThisLock2();
... |
dfb25f7f-0b09-4827-8679-930dc25d8468 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-23 15:56:54", "repo_name": "gengzi/Idea-plugins", "sub_path": "/SoulSoother996-GSJ/src/com/scoket/demo/basedemo/demo04/SocketServerDemo.java", "file_name": "SocketServerDemo.java", "file_ext": "java", "file_si... | https://github.com/gengzi/Idea-plugins | 278 | FILENAME: SocketServerDemo.java | 0.282988 | package com.scoket.demo.basedemo.demo04;
import com.scoket.demo.basedemo.demo05.ThreadServer;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.HashSet;
import java.util.Set;
/**
* serverscoket 服务端
* <p>
* 接收用户发来的请求
* 并将消息分发给所有链接的客户端
*/
public class SocketServerDemo {
... |
ef9139d4-fb4c-43d7-8280-bc4a54d2b017 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-10T07:55:42", "repo_name": "codebot/ros2_patterns", "sub_path": "/nested_services/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1004, "line_count": 37, "lang": "en", "doc_typ... | https://github.com/codebot/ros2_patterns | 228 | FILENAME: README.md | 0.205615 | # ros2_patterns
Greetings. This isn't a real package, just a few little test programs.
## Add security sauce
#### securing my_service
```
ros2 security create_keystore keys
ros2 security create_key keys test_service
ros2 security create_key keys test_client
```
Terminal 1 for the service:
```
export ROS_SECURITY_R... |
2d080d1f-9f7e-4fae-a2c4-474cb80b8d8b | {"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-common/src/main/java/com/netx/common/vo/common/FrozenOperationRequestDto.java", "file_name": "FrozenOperationRequestDto.java", "file_ext... | https://github.com/biantaiwuzui/netx | 253 | FILENAME: FrozenOperationRequestDto.java | 0.224055 | package com.netx.common.vo.common;
import com.netx.common.common.enums.FrozenTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
* Create by wongloong on 17-10-10
*/
@... |
0a1e19f6-f865-457e-948f-5e77721ad403 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-06 19:00:07", "repo_name": "PetroAndrushchakHome/RockRoyal", "sub_path": "/src/main/java/com/nulp/rock/ui/components/Button.java", "file_name": "Button.java", "file_ext": "java", "file_size_in_byte": 1021, "li... | https://github.com/PetroAndrushchakHome/RockRoyal | 201 | FILENAME: Button.java | 0.240775 | package com.nulp.rock.ui.components;
import com.nulp.rock.common.Driver;
import com.nulp.rock.common.Logger;
import com.nulp.rock.localization.Localization;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebElement;
public class Button extends NavigationLink {
public Button() {
}
... |
d56b0898-cf8c-46b7-8b89-e041776135d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-15 06:38:12", "repo_name": "feifa168/snort_parser", "sub_path": "/src/main/java/com/ids/jdbc/AbstractDaoBase.java", "file_name": "AbstractDaoBase.java", "file_ext": "java", "file_size_in_byte": 1202, "line_cou... | https://github.com/feifa168/snort_parser | 221 | FILENAME: AbstractDaoBase.java | 0.262842 | package com.ids.jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public abstract class AbstractDaoBase implements DaoBase {
private String dbdriver;
private String dburl;
private String user;
private String pas... |
13ac12e1-92c7-4fa0-8b58-13c715750591 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-26 03:29:57", "repo_name": "amiirds/Java---programing", "sub_path": "/Homework/s10/ex2/server/src/Repository.java", "file_name": "Repository.java", "file_ext": "java", "file_size_in_byte": 976, "line_count": 3... | https://github.com/amiirds/Java---programing | 178 | FILENAME: Repository.java | 0.243642 | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
public class Repository implements AutoCloseable {
private Connection connection;
private PreparedStatement preparedStatement;
Repository()throws Exception
{
Class.forName("oracle.jdbc.driver.OracleD... |
cba0f1c8-c448-4fad-9ddc-536bd3480152 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-24 01:19:19", "repo_name": "Namchee/tubes_3", "sub_path": "/app/src/main/java/com/example/tubes_3/presenters/MangaPresenter.java", "file_name": "MangaPresenter.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Namchee/tubes_3 | 245 | FILENAME: MangaPresenter.java | 0.290176 | package com.example.tubes_3.presenters;
import androidx.recyclerview.widget.SortedList;
import com.example.tubes_3.model.MangaRaw;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class MangaPresenter {
private List<MangaRaw> mangaRawList;
... |
0728ad51-3af2-4190-a9b6-d73664fc69f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-06 17:46:12", "repo_name": "ragupathiraja184/bigdataniit", "sub_path": "/ex4.java", "file_name": "ex4.java", "file_ext": "java", "file_size_in_byte": 1122, "line_count": 65, "lang": "en", "doc_type": "code", "... | https://github.com/ragupathiraja184/bigdataniit | 323 | FILENAME: ex4.java | 0.281406 | import java.util.*;
import java.io.*;
public class ex4
{
public static void main(String []args)
{
try
{
FileOutputStream f=new FileOutputStream("C:\\Users\\Ragupathiraja\\java\\raja.txt");
FileOutputStream f1=new FileOutputStream("C:\\Users\\Ragupathiraja\\java\\raja1.txt");
String s[]=new String[5];
System.... |
b07fa0e4-accb-4299-bf54-994625a1d560 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-07 08:03:40", "repo_name": "wqjuser/TestMyApi", "sub_path": "/app/src/main/java/com/example/wqj/testmyapi/Bean/EntityMeetingRoomQueryWeekNew.java", "file_name": "EntityMeetingRoomQueryWeekNew.java", "file_ext"... | https://github.com/wqjuser/TestMyApi | 289 | FILENAME: EntityMeetingRoomQueryWeekNew.java | 0.268941 | package com.example.wqj.testmyapi.Bean;
/**
* Created by wqj on 2017/9/4.
*/
import org.json.JSONArray;
import java.io.Serializable;
/**
* class_name: EntityMeetingRoomQueryWeekNew
* package: com.snsoft.partner.MeetingManagement.entity
* describe: 重写会场查询本周实体类
* creat_user: 温清洁
* creat_date: 2017/8/23
* crea... |
328d9850-aa5e-4430-9f7d-fbc4785b781d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-15T21:58:29", "repo_name": "dmitri-liventsev/symfony-ddd-shop-sample", "sub_path": "/COMMENTS.md", "file_name": "COMMENTS.md", "file_ext": "md", "file_size_in_byte": 1081, "line_count": 23, "lang": "en", "... | https://github.com/dmitri-liventsev/symfony-ddd-shop-sample | 240 | FILENAME: COMMENTS.md | 0.262842 | ### Not implemented ObjectValues:
- Product.price - should extend some Money class, there are few in open source.
### ORM assumptions
Product type should be entity, not a string
Foreign keys between Order_item - Product, Order_Customer - User was excluded, to avoid any cascade deletion. Orders should stay on th... |
d55df306-af42-4eb1-b97e-f9dd9dc6538b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-05T02:46:22", "repo_name": "b4456609/movie-theater", "sub_path": "/src/main/java/ntou/soselab/movie/controller/ServiceTestController.java", "file_name": "ServiceTestController.java", "file_ext": "java", "file_... | https://github.com/b4456609/movie-theater | 248 | FILENAME: ServiceTestController.java | 0.283781 | package ntou.soselab.movie.controller;
import ntou.soselab.movie.controller.dto.ServiceTestDTO;
import ntou.soselab.movie.model.Show;
import ntou.soselab.movie.repository.ShowRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import or... |
90d0190d-993b-4556-9385-66e0b8c2ea47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-07 22:12:44", "repo_name": "saarw/protostats", "sub_path": "/protostats-android/app/src/main/java/se/saar/protostats/RunnableScenario.java", "file_name": "RunnableScenario.java", "file_ext": "java", "file_size... | https://github.com/saarw/protostats | 223 | FILENAME: RunnableScenario.java | 0.258326 | package se.saar.protostats;
import android.os.RecoverySystem;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Created by william on 2014-12-31.
*/
public class RunnableScenario {
private final ScenarioID id;
private final ScenarioLogic scenarioLogic;
private final AtomicInteger runProgress = ne... |
06fdfd78-2740-4500-955f-ccc158887346 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-17 10:30:16", "repo_name": "TanyaOdyniuk/NetcrackerTestTask", "sub_path": "/src/main/java/com/netcracker/entity/Author.java", "file_name": "Author.java", "file_ext": "java", "file_size_in_byte": 1012, "line_co... | https://github.com/TanyaOdyniuk/NetcrackerTestTask | 216 | FILENAME: Author.java | 0.258326 | package com.netcracker.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
@Entity
public class Author implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "author_id")
... |
c2583e5f-7a92-4067-a66d-6d18248eafc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-12 22:33:46", "repo_name": "matadini/net-integrator", "sub_path": "/net-integrator-db-util/src/main/java/pl/inzynier/netintegrator/db/util/JpaRepositoryUtil.java", "file_name": "JpaRepositoryUtil.java", "file_... | https://github.com/matadini/net-integrator | 186 | FILENAME: JpaRepositoryUtil.java | 0.253861 | package pl.inzynier.netintegrator.db.util;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import javax.persistence.EntityManager;
import javax.persistence.EntityTransaction;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import com.google.common.collect.Maps;
impo... |
4ad83e62-d081-4b44-810d-0546440b53af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-02 16:37:05", "repo_name": "AnnamaryC/Flicks", "sub_path": "/app/src/main/java/com/example/anitac/flicks/models/MovieData.java", "file_name": "MovieData.java", "file_ext": "java", "file_size_in_byte": 1201, "l... | https://github.com/AnnamaryC/Flicks | 244 | FILENAME: MovieData.java | 0.23793 | package com.example.anitac.flicks.models;
import org.json.JSONException;
import org.json.JSONObject;
import org.parceler.Parcel;
/**
* Created by anitac on 6/27/18.
*/
@Parcel // makes class parcelable
public class MovieData {
private String title;
private String overview;
private String posterPath; //... |
37afe9d1-9ae1-46ff-8280-f1c778fe2f8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-09 23:10:06", "repo_name": "hcheng628/Spring4", "sub_path": "/spring-jdbc-transaction/src/test/java/us/supercheng/spring4/jdbc/transaction/annoation/db/test/DB_Connection_Test.java", "file_name": "DB_Connectio... | https://github.com/hcheng628/Spring4 | 219 | FILENAME: DB_Connection_Test.java | 0.255344 | package us.supercheng.spring4.jdbc.transaction.annoation.db.test;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;... |
e61b9c47-b86e-42bc-8041-fad92692b6e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 17:55:23", "repo_name": "eastbanctechru/Reamp", "sub_path": "/sample/src/test/java/example/reamp/TestView.java", "file_name": "TestView.java", "file_ext": "java", "file_size_in_byte": 1066, "line_count": 54... | https://github.com/eastbanctechru/Reamp | 246 | FILENAME: TestView.java | 0.26588 | package example.reamp;
import android.content.Context;
import etr.android.reamp.mvp.MvpDelegate;
import etr.android.reamp.mvp.ReampPresenter;
import etr.android.reamp.mvp.ReampStateModel;
import etr.android.reamp.mvp.ReampView;
public class TestView<SM extends ReampStateModel> implements ReampView<SM> {
private... |
246a046e-fbfb-472f-8af8-92dd6b50b853 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-21 15:24:24", "repo_name": "Jola-Witaszak/kodilla-library", "sub_path": "/src/main/java/com/crud/library/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_b... | https://github.com/Jola-Witaszak/kodilla-library | 206 | FILENAME: UserController.java | 0.26971 | package com.crud.library.controller;
import com.crud.library.dbService.UserService;
import com.crud.library.domain.UserDto;
import com.crud.library.exception.UserAlreadyExistsException;
import com.crud.library.exception.UserNotExistsException;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.... |
86e601e7-ae2b-4981-bbc1-173fb0ffdb73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-15 06:52:21", "repo_name": "WorksApplications/swagger-code-builder", "sub_path": "/src/main/java/com/worksap/webapi/codingstarter/model/PathOperation.java", "file_name": "PathOperation.java", "file_ext": "java... | https://github.com/WorksApplications/swagger-code-builder | 214 | FILENAME: PathOperation.java | 0.253861 | /*
* Copyright 2016 Works Applications Co.,Ltd.
*
* 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 require... |
c945a917-2170-496f-8170-b8a04236817f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-08 10:24:58", "repo_name": "pieceofnerd/nix-4", "sub_path": "/module_2/json-parser/src/main/java/ua/com/alevel/ParserJson.java", "file_name": "ParserJson.java", "file_ext": "java", "file_size_in_byte": 1122, "... | https://github.com/pieceofnerd/nix-4 | 204 | FILENAME: ParserJson.java | 0.276691 | package ua.com.alevel;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.file.Files;
import j... |
75db2466-f498-430a-a888-9ddfe8d66dbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-30 11:29:12", "repo_name": "snejka844/JavaProjects", "sub_path": "/Solution/company/src/com/Manager.java", "file_name": "Manager.java", "file_ext": "java", "file_size_in_byte": 1201, "line_count": 41, "lang": ... | https://github.com/snejka844/JavaProjects | 257 | FILENAME: Manager.java | 0.282196 | package com;
import java.security.InvalidParameterException;
public class Manager extends Employee {
private String manageDeptName;
private StaffAppointHandler staffAppoint;
public Manager(String name, double salary, String manageDeptName) {
super(name, salary);
setManageDeptName(manageDe... |
df8d4ee4-912a-4fe8-842a-bc441ca591b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-29T11:31:24", "repo_name": "shashwatkathuria/FlappyBird-GameDevelopment", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 34, "lang": "en", "d... | https://github.com/shashwatkathuria/FlappyBird-GameDevelopment | 235 | FILENAME: README.md | 0.259826 | # FlappyBird-GameDevelopment   
----------------------------
ABOUT THE PROJECT
----------------------------
This is ... |
3d8c86f0-df74-4ae3-bf38-6f3641425c0f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 01:11:16", "repo_name": "UPMitd/MadridColab", "sub_path": "/madridColab/microservices/services/members-service/src/main/java/org/xcolab/service/members/web/CommunityRegistryController.java", "file_name": "C... | https://github.com/UPMitd/MadridColab | 177 | FILENAME: CommunityRegistryController.java | 0.242206 | package org.xcolab.service.members.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMa... |
6ef4048f-6336-46c8-abc1-72b9c509ad0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-04 07:52:46", "repo_name": "xBlackCat/ice-framework-idea-plugin", "sub_path": "/frozen-base/src/main/java/org/xblackcat/frozenidea/IceFileType.java", "file_name": "IceFileType.java", "file_ext": "java", "file_... | https://github.com/xBlackCat/ice-framework-idea-plugin | 235 | FILENAME: IceFileType.java | 0.236516 | package org.xblackcat.frozenidea;
import com.intellij.openapi.fileTypes.LanguageFileType;
import com.intellij.openapi.vfs.CharsetToolkit;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.NotNull;
import org.xblackcat.frozenidea.util.SliceIcons;
import javax.swing.*;
/**
* @author xBlack... |
58244872-616e-4617-8851-f0a0ffe52f0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-01 10:09:40", "repo_name": "Vicky18-2/Cinema-", "sub_path": "/src/main/java/server/filter/SecurityFilter.java", "file_name": "SecurityFilter.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count": ... | https://github.com/Vicky18-2/Cinema- | 179 | FILENAME: SecurityFilter.java | 0.239349 | package server.filter;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
/**
* Filter to not allow users to get into admin pages
*/
@WebFil... |
a5dac914-8d7b-45d4-887e-71ec79f946a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-23 04:51:50", "repo_name": "darsh9292/JSF-Practice", "sub_path": "/src/java/com/darshan/proxy/ShipmentProxy.java", "file_name": "ShipmentProxy.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count"... | https://github.com/darsh9292/JSF-Practice | 234 | FILENAME: ShipmentProxy.java | 0.233706 | package com.darshan.proxy;
import java.util.ArrayList;
import java.util.List;
/**
* @author Darshan Patel
*/
public class ShipmentProxy {
private Long id;
private boolean status;
private String name;
private List<ShipmentRow> shipmentRowList = new ArrayList<ShipmentRow>();
public ShipmentP... |
4aa9cdd2-c0e3-4c84-a827-05a419f83829 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-27 07:18:13", "repo_name": "sn790519/Jkindey", "sub_path": "/app/src/main/java/com/liji/jkidney/adapter/LifeHealthyInfoAda.java", "file_name": "LifeHealthyInfoAda.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/sn790519/Jkindey | 250 | FILENAME: LifeHealthyInfoAda.java | 0.225417 | package com.liji.jkidney.adapter;
import android.widget.ImageView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.liji.jkidney.R;
import com.liji.jkidney.model.info.M_Life_Healthy;
import com.nostra13.universalimageloader.core.ImageLoader;
impor... |
74270c88-3afb-48ac-8bbe-2aa7d6c032ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 17:41:55", "repo_name": "n0noob/rest-best-practices", "sub_path": "/src/test/java/com/learn/restbestpractices/repositories/AuthorRepositoryTest.java", "file_name": "AuthorRepositoryTest.java", "file_ext": "... | https://github.com/n0noob/rest-best-practices | 203 | FILENAME: AuthorRepositoryTest.java | 0.280616 | package com.learn.restbestpractices.repositories;
import com.learn.restbestpractices.entities.Author;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import static org.junit.jupiter.api.Assertions.... |
d8aaa042-beb4-4281-a3b4-e04d61b0ae88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-16 10:36:39", "repo_name": "karoltylenda/copiers-services-corp-web-app", "sub_path": "/src/main/java/com/tytanisukcesu/copiers/dto/CopiersSettlementDto.java", "file_name": "CopiersSettlementDto.java", "file_ex... | https://github.com/karoltylenda/copiers-services-corp-web-app | 214 | FILENAME: CopiersSettlementDto.java | 0.258326 | package com.tytanisukcesu.copiers.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDate;
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@To... |
a179e67d-697f-4f50-809e-60df27bbf07e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-05 03:12:09", "repo_name": "MJ666666/myo2oproject2", "sub_path": "/o2o_common/src/main/java/com/lmj/o2o/enums/OperationEnum.java", "file_name": "OperationEnum.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/MJ666666/myo2oproject2 | 331 | FILENAME: OperationEnum.java | 0.282196 | package com.lmj.o2o.enums;
/**
* ClassName: OperationEnum
* Description:
* date: 2020/3/7 16:39
*
* @author MJ
*/
public enum OperationEnum {
SUCCESS(1, "操作成功"),
INNER_ERROR(-1001, "操作失败"),
NULL_RESULT(-1002, "查询结果为空"),
NULL_PARAM(-1003, "传入了空的信息"),
TOO_MUCH_FILES(-1004,"传入文件数超过限制"),
... |
e6a95068-0140-4f54-b2a3-0b85d1ee509e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-08 09:50:40", "repo_name": "romagolchin/ontology-visualization", "sub_path": "/src/main/java/org/golchin/ontology_visualization/TableFormatter.java", "file_name": "TableFormatter.java", "file_ext": "java", "fi... | https://github.com/romagolchin/ontology-visualization | 211 | FILENAME: TableFormatter.java | 0.274351 | package org.golchin.ontology_visualization;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
public abstract class TableFormatter {
protected final Table table;
private final BufferedWriter writer;
protected TableForm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.