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 |
|---|---|---|---|---|---|---|
a86e70e5-da6f-4397-876a-0a95b1b29540 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-16 14:37:47", "repo_name": "MasterJH5574/Mx-Compiler", "sub_path": "/src/MxCompiler/AST/ProgramNode.java", "file_name": "ProgramNode.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 38, "lan... | https://github.com/MasterJH5574/Mx-Compiler | 200 | FILENAME: ProgramNode.java | 0.264358 | package MxCompiler.AST;
import MxCompiler.Utilities.CompilationError;
import MxCompiler.Utilities.Location;
import java.util.ArrayList;
public class ProgramNode extends ASTNode {
private ArrayList<ProgramUnitNode> programUnits;
public ProgramNode(Location location, ArrayList<ProgramUnitNode> programUnits) {... |
fc94286a-4445-4e0b-aff7-449198689dc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-04 08:14:31", "repo_name": "Catfeeds/myWorkspace", "sub_path": "/hlj_android_merchant/src/main/java/com/hunliji/marrybiz/model/realm/MerchantRealmMigration.java", "file_name": "MerchantRealmMigration.java", "f... | https://github.com/Catfeeds/myWorkspace | 251 | FILENAME: MerchantRealmMigration.java | 0.290981 | package com.hunliji.marrybiz.model.realm;
import android.util.Log;
import com.hunliji.hljcommonlibrary.models.realm.CommonRealmMigrationUtil;
import com.hunliji.hljcommonlibrary.models.realm.WSChat;
import io.realm.DynamicRealm;
import io.realm.RealmMigration;
import io.realm.RealmSchema;
/**
* Created by wangtao ... |
26954976-a4d6-412d-a9d1-16b0236ecd2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-04 22:50:55", "repo_name": "caseif/GoldBank", "sub_path": "/src/main/java/net/amigocraft/GoldBank/util/NameFetcher.java", "file_name": "NameFetcher.java", "file_ext": "java", "file_size_in_byte": 1003, "line_c... | https://github.com/caseif/GoldBank | 201 | FILENAME: NameFetcher.java | 0.239349 | package net.amigocraft.GoldBank.util;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.UUID;
public class NameFetcher {
private static final String PROFILE_URL = "https://sessionse... |
fb176d74-394f-4b3b-b40c-be0f32d90d66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-21 13:56:54", "repo_name": "maxbilbow/JavaPlayground", "sub_path": "/common/common-ui/src/main/java/com/maxbilbow/common/ui/FrontendUtil.java", "file_name": "FrontendUtil.java", "file_ext": "java", "file_size_... | https://github.com/maxbilbow/JavaPlayground | 247 | FILENAME: FrontendUtil.java | 0.274351 | package com.maxbilbow.common.ui;
import org.apache.commons.io.IOUtils;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
import java.io.IOException;
import java.io.InputStream;
import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
import java.nio.charset.Charset;
im... |
c11f7769-8cc1-4043-a527-ba2ed89ea066 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-21 14:05:25", "repo_name": "mobilevisuals/l5", "sub_path": "/src/java/NavigationController.java", "file_name": "NavigationController.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": 47, "lang... | https://github.com/mobilevisuals/l5 | 183 | FILENAME: NavigationController.java | 0.235108 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import javax.inject.Named;
import javax.enterprise.context.SessionScoped;
import java.io.Serializable;
import java.util.Rando... |
a4abaf21-2cfc-43ef-a951-4f4a224aff0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-09-17 21:11:40", "repo_name": "alfredozhou/economy", "sub_path": "/src/production/economics/StartWebServer.java", "file_name": "StartWebServer.java", "file_ext": "java", "file_size_in_byte": 1152, "line_count": 3... | https://github.com/alfredozhou/economy | 232 | FILENAME: StartWebServer.java | 0.275909 | package economics;
import org.mortbay.component.AbstractLifeCycle;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.ServletHolder;
import org.mortbay.jetty.webapp.WebAppContext;
import org.springframework.web.servlet.DispatcherServlet;
public class StartWebServer {
private static int PORT = 8080... |
d4e9c9cf-17d6-465d-815f-5565be251da6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 13:48:53", "repo_name": "ramaraoyarlagadda/SPRING", "sub_path": "/spring-rest-example/src/main/java/com/cg/controller/MessageController.java", "file_name": "MessageController.java", "file_ext": "java", "fil... | https://github.com/ramaraoyarlagadda/SPRING | 166 | FILENAME: MessageController.java | 0.268941 | package com.cg.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.a... |
5980c1a4-a501-4a23-aa1a-da6f0e1879a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-04-11T10:23:41", "repo_name": "tanglejs/book", "sub_path": "/refactoring.md", "file_name": "refactoring.md", "file_ext": "md", "file_size_in_byte": 1154, "line_count": 39, "lang": "en", "doc_type": "text", "b... | https://github.com/tanglejs/book | 222 | FILENAME: refactoring.md | 0.286169 | # Refactoring
As your project grows, you will begin to notice opportunities to refactor and
reuse the components you have created. To encourage this behavior, Tangle
provides intelligent tools to automate several common refactoring patterns.
## Extract module
Extract a module from your project into a new repository,... |
24012caf-50ee-458e-a3fb-039f48b79ccc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-04 01:14:52", "repo_name": "shafi-1/sushi", "sub_path": "/src/main/java/comp1206/sushi/server/SuppIngredTemplate.java", "file_name": "SuppIngredTemplate.java", "file_ext": "java", "file_size_in_byte": 1179, "l... | https://github.com/shafi-1/sushi | 219 | FILENAME: SuppIngredTemplate.java | 0.285372 | package comp1206.sushi.server;
import javax.swing.*;
import java.awt.*;
public abstract class SuppIngredTemplate extends JPanel {
protected JPanel buttons;
protected JPanel table;
protected JTable jTable;
protected GridBagConstraints gbc;
abstract JTable createTable();
abstract ... |
9445c618-d8e8-4455-b175-fa527aa1022d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-08 07:39:52", "repo_name": "luchangjiang/RiverCloud", "sub_path": "/river-common/river-common-minio/src/main/java/com/cloud/river/common/minio/MinioAutoConfiguration.java", "file_name": "MinioAutoConfiguration... | https://github.com/luchangjiang/RiverCloud | 201 | FILENAME: MinioAutoConfiguration.java | 0.214691 | package com.cloud.river.common.minio;
import com.cloud.river.common.minio.service.MinioTemplate;
import lombok.AllArgsConstructor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.... |
3e7ef5d3-783e-4b30-b08e-ad077847fd2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-23 20:35:47", "repo_name": "DavidKalocsai/voucher", "sub_path": "/voucher-frontend/src/main/java/com/intland/eurocup/io/jms/JmsSender.java", "file_name": "JmsSender.java", "file_ext": "java", "file_size_in_byt... | https://github.com/DavidKalocsai/voucher | 206 | FILENAME: JmsSender.java | 0.243642 | package com.intland.eurocup.io.jms;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Profile;
import org.springframework.jms.core.JmsTem... |
a0927ac5-f7a3-4d62-bffb-3dd07d5e098c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-23 18:20:37", "repo_name": "VenixPLL/Dodge", "sub_path": "/src/main/java/pl/venixpll/app/render/RenderAsteroid.java", "file_name": "RenderAsteroid.java", "file_ext": "java", "file_size_in_byte": 968, "line_cou... | https://github.com/VenixPLL/Dodge | 254 | FILENAME: RenderAsteroid.java | 0.292595 | package pl.venixpll.app.render;
import lombok.Data;
import org.newdawn.slick.*;
import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import pl.venixpll.app.DodgeAPP;
import java.awt.*;
import java.util.Random;
@Data
public class RenderAsteroid implements IRender {
p... |
5f9c2d6d-397b-4d6c-843a-82a0f31ccdc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-19 13:33:16", "repo_name": "TotemaT/Blitz", "sub_path": "/Blitz/src/be/ipl/blitz/servlets/JoinLobbyServlet.java", "file_name": "JoinLobbyServlet.java", "file_ext": "java", "file_size_in_byte": 1180, "line_coun... | https://github.com/TotemaT/Blitz | 229 | FILENAME: JoinLobbyServlet.java | 0.293404 | package be.ipl.blitz.servlets;
import java.io.IOException;
import javax.ejb.EJB;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSe... |
13d14ed2-f9cc-4b47-883e-59077d364293 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-02 03:25:49", "repo_name": "zero-2019/protocol", "sub_path": "/protocol-gateway/src/main/java/com/chuangxin/monitor/config/WaterSystem.java", "file_name": "WaterSystem.java", "file_ext": "java", "file_size_in_... | https://github.com/zero-2019/protocol | 266 | FILENAME: WaterSystem.java | 0.250913 | package com.chuangxin.monitor.config;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.List;
public class WaterSystem<T> {
@JsonProperty("chiller")
private List<NameValues<T>> chiller = new ArrayList();
@JsonProperty("chwCircuit")
private ChwCircui... |
387e90b1-c86e-44e2-a46a-b9267653ada5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-01 20:09:10", "repo_name": "excleupload/jsp", "sub_path": "/src/main/java/com/salesupload/login/security/MyLogoutSuccessHandler.java", "file_name": "MyLogoutSuccessHandler.java", "file_ext": "java", "file_size... | https://github.com/excleupload/jsp | 176 | FILENAME: MyLogoutSuccessHandler.java | 0.276691 | package com.salesupload.login.security;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowire... |
c3008b13-60db-4e0d-8422-17dae3bd8da4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-13 12:24:14", "repo_name": "opensourcehiker/EmailReader", "sub_path": "/EmailReader/src/email/reader/grab/EmailGrab.java", "file_name": "EmailGrab.java", "file_ext": "java", "file_size_in_byte": 1023, "line_co... | https://github.com/opensourcehiker/EmailReader | 239 | FILENAME: EmailGrab.java | 0.264358 | package email.reader.grab;
import java.util.Properties;
import javax.mail.Folder;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Store;
public class EmailGrab {
private Folder f = null;
private Session sesh = null;
private Store store = null;
public EmailGrab(S... |
3c5884f7-05c0-4ece-a3a6-668350386eaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-19 07:16:23", "repo_name": "Vurteon/mks-server", "sub_path": "/src/model/notify/WaitingNotifyManager.java", "file_name": "WaitingNotifyManager.java", "file_ext": "java", "file_size_in_byte": 1400, "line_count"... | https://github.com/Vurteon/mks-server | 393 | FILENAME: WaitingNotifyManager.java | 0.283781 | package model.notify;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
/**
* author:康乐
* time:2014/11/23
* function:用于存放和管理客户端请求(消息推送)对象
*/
public class WaitingNotifyManager {
// map最大值
public static final int MAXNOTIFYWAITERNUMBER = 1000;
// 初始化大小
public static final int WAITENOTIFYINI... |
d1b5df10-4ded-44e2-905f-72a9db6e2166 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-30T18:25:33", "repo_name": "aerospike/cf-aerospike-on-demand-tile", "sub_path": "/kiln-build/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1019, "line_count": 13, "lang": "en... | https://github.com/aerospike/cf-aerospike-on-demand-tile | 263 | FILENAME: README.md | 0.249447 | ## To build the tile:
### Prerequisites
1. [Kiln](https://github.com/pivotal-cf/kiln)
2. First copy the `aerospike-service-adapter-release*.tgz` `aerospike-service-release*.tgz` and `on-demand-service-broker-0.21.2.tgz` into the release directory. The service adapter release may be found at: https://network.pivotal.... |
b34cf22b-17e1-49e5-894b-2bd1a7788b6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-05 03:48:01", "repo_name": "MCLabTKMCE/Athul-R-Ashok", "sub_path": "/Textcolor/app/src/main/java/com/example/textcolor/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_by... | https://github.com/MCLabTKMCE/Athul-R-Ashok | 185 | FILENAME: MainActivity.java | 0.267408 | package com.example.textcolor;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.Color;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
Te... |
b28c2c1b-1c0e-42f0-aff7-aaeebe701973 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 01:47:06", "repo_name": "wencongcong/zcw", "sub_path": "/businness/src/main/java/com/businness/controller/ComController.java", "file_name": "ComController.java", "file_ext": "java", "file_size_in_byte": 966... | https://github.com/wencongcong/zcw | 188 | FILENAME: ComController.java | 0.264358 | package com.businness.controller;
import com.businness.entity.CommissionEx;
import com.businness.result.Result;
import com.businness.service.CommissionExService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Re... |
8851163b-19c2-43cd-a927-87f42dca8dbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 09:44:19", "repo_name": "LWEILW/blogger", "sub_path": "/src/main/java/com/blogger/entity/admin/Permission.java", "file_name": "Permission.java", "file_ext": "java", "file_size_in_byte": 1290, "line_count": ... | https://github.com/LWEILW/blogger | 310 | FILENAME: Permission.java | 0.23092 | package com.blogger.entity.admin;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
/**
* 权限实体类(继承角色字段)
*
* @author Liu wei
* @date 2020-03-31 16:00
**/
@Data
@TableName(value = "permission")
public class Permission extends Role {
... |
83c32337-3e23-4f1e-a833-fbef6bbe257d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-19 23:59:27", "repo_name": "porys/honeypot", "sub_path": "/HoneyPot/src/skcc/fresh/honeypot/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1077, "line_count": 44... | https://github.com/porys/honeypot | 217 | FILENAME: MainActivity.java | 0.253861 | package skcc.fresh.honeypot;
import skcc.fresh.backup.Backup1Activity;
import skccc.fresh.honeypot.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class MainActivity extends Act... |
45cb5b4c-06f3-466a-b377-f4c3e8eb80f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 23:34:14", "repo_name": "qiuchili/ggnn_graph_classification", "sub_path": "/program_data/JavaProgramData/58/717.java", "file_name": "717.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count": 7... | https://github.com/qiuchili/ggnn_graph_classification | 385 | FILENAME: 717.java | 0.285372 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
int num = char;
int le = char;
int n;
int i;
int len;
String str = new String(new char[100]);
String tempVar = ConsoleInput.scanfRead();
if (tempVar != null)
{
n = Integer.parseInt(tempVar);
}
System.in.read();
whil... |
88dc1d81-5805-4ba1-8252-93d0d8a3173d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-01 18:10:54", "repo_name": "mberrueta/uade_app_interact_tpo", "sub_path": "/src/main/java/edu/uade/appl_interact/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1058, "line_count... | https://github.com/mberrueta/uade_app_interact_tpo | 216 | FILENAME: Main.java | 0.286169 | package edu.uade.appl_interact;
import edu.uade.appl_interact.model.entities.User;
import edu.uade.controller.Controller;
import edu.uade.controller.LoginController;
import edu.uade.controller.MainController;
import javax.swing.*;
public class Main {
private Controller controller;
private JFrame frame;
... |
2596e26a-2f8d-4952-9e4e-2aec018d8961 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-01 14:16:26", "repo_name": "ihmcrobotics/ihmc-open-robotics-software", "sub_path": "/ihmc-high-level-behaviors/src/libgdx/java/us/ihmc/rdx/ui/yo/ImGuiModifiableYoBoolean.java", "file_name": "ImGuiModifiableYoB... | https://github.com/ihmcrobotics/ihmc-open-robotics-software | 227 | FILENAME: ImGuiModifiableYoBoolean.java | 0.276691 | package us.ihmc.rdx.ui.yo;
import imgui.type.ImBoolean;
import us.ihmc.behaviors.tools.yo.YoBooleanClientHelper;
import us.ihmc.tools.Timer;
public class ImGuiModifiableYoBoolean
{
private final YoBooleanClientHelper yoBooleanHelper;
private final ImBoolean imBoolean = new ImBoolean();
private final Timer se... |
ded4a85f-40eb-4ca8-8acf-8eaffc53dda6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-16 17:01:09", "repo_name": "BLACKCAT25896/Explicit-Intent", "sub_path": "/app/src/main/java/com/example/explicitintent/SecondActivity.java", "file_name": "SecondActivity.java", "file_ext": "java", "file_size_i... | https://github.com/BLACKCAT25896/Explicit-Intent | 158 | FILENAME: SecondActivity.java | 0.23231 | package com.example.explicitintent;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class SecondActivity extends AppCompatActivity {
private TextView dataShow;
... |
91f2ce20-5f33-49a6-8faf-c3e034d7bc34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-01T23:18:53", "repo_name": "soundasleep/jevon.org", "sub_path": "/wiki/Ruby.md", "file_name": "Ruby.md", "file_ext": "md", "file_size_in_byte": 973, "line_count": 20, "lang": "en", "doc_type": "text", "blo... | https://github.com/soundasleep/jevon.org | 323 | FILENAME: Ruby.md | 0.282196 | ---
layout: page
title: Ruby
author: jevon
date: 2015-06-09 21:11:21 +12:00
tags:
- Ruby
---
[Ruby](Ruby.md) is a programming language which is used as the basis of [Ruby on Rails](Ruby_on_Rails.md).
1. [Rake](Rake.md)
1. [Rspec](rspec.md)
## ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too ... |
0ee63e46-76b8-4294-9ac2-8d205420a837 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-07 13:51:12", "repo_name": "MemetAYDIN/Basic-Rest-Example", "sub_path": "/SampleClient.java", "file_name": "SampleClient.java", "file_ext": "java", "file_size_in_byte": 965, "line_count": 45, "lang": "en", "do... | https://github.com/MemetAYDIN/Basic-Rest-Example | 205 | FILENAME: SampleClient.java | 0.276691 | package com.godoro.client;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
public class SampleClient {
public static void main(Str... |
c23c5d85-284d-42d7-b789-502ef895e52c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-14 18:36:02", "repo_name": "frasolution/siemt3-backend", "sub_path": "/SIEMProject/src/main/java/com/mycompany/siemproject/services/AlertService.java", "file_name": "AlertService.java", "file_ext": "java", "fi... | https://github.com/frasolution/siemt3-backend | 178 | FILENAME: AlertService.java | 0.271252 | package com.mycompany.siemproject.services;
import com.mycompany.siemproject.model.Alert;
import com.mycompany.siemproject.repositories.AlertRepository;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transa... |
1243ec1f-54a3-4d13-b64e-63b32d4756ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-06 16:57:32", "repo_name": "antonioChristofoletti/College_ADS_Chronos_App", "sub_path": "/app/src/main/java/chronos/chronos/View/Principal/PagerAdapter.java", "file_name": "PagerAdapter.java", "file_ext": "jav... | https://github.com/antonioChristofoletti/College_ADS_Chronos_App | 205 | FILENAME: PagerAdapter.java | 0.235108 | package chronos.chronos.View.Principal;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import chronos.chronos.View.Principal.Cadastros.FragActPrincipalCadastros;
import chronos.chronos.View.Principal.OrdemServico.FragActPrinci... |
514c4fae-5246-434f-9d3e-03d1b6e9ea54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-16 09:27:24", "repo_name": "liuyalou1996/basic-learning", "sub_path": "/src/main/java/com/universe/jdkapi/proxy/DynamicProxyInvocationHandler.java", "file_name": "DynamicProxyInvocationHandler.java", "file_ext... | https://github.com/liuyalou1996/basic-learning | 218 | FILENAME: DynamicProxyInvocationHandler.java | 0.267408 | package com.universe.jdkapi.proxy;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/**
* JDK动态代理为面向接口的代理,被代理的类必须实现接口
*/
public class DynamicProxyInvocationHandler implements InvocationHandler {
private Object targetObject;
public DynamicProxyInvocat... |
e19ccb7a-cab0-4804-b0cf-9de9a461f4a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-14 19:58:05", "repo_name": "harrystech/hyppo-worker", "sub_path": "/executor/src/main/java/com/harrys/hyppo/executor/proto/init/InitializationFailed.java", "file_name": "InitializationFailed.java", "file_ext":... | https://github.com/harrystech/hyppo-worker | 191 | FILENAME: InitializationFailed.java | 0.250913 | package com.harrys.hyppo.executor.proto.init;
import com.harrys.hyppo.executor.proto.ExecutorError;
import com.harrys.hyppo.executor.proto.ExecutorInitMessage;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* Created by jpetty on 7/21/15.
*/
public final cla... |
08a5b590-16d9-4a5a-b513-08ae7df83a37 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-22 17:38:17", "repo_name": "StefanBratanov/media-downloader", "sub_path": "/src/test/java/org/stefata/mediadownloader/piratebay/ProxySearchTest.java", "file_name": "ProxySearchTest.java", "file_ext": "java", "... | https://github.com/StefanBratanov/media-downloader | 166 | FILENAME: ProxySearchTest.java | 0.213377 | package org.stefata.mediadownloader.piratebay;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringEx... |
12a91360-3362-4616-af28-0491f832392f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-15 02:52:15", "repo_name": "mnickels/Burrito-Reviews", "sub_path": "/src/view/EditReviewPromptPanel.java", "file_name": "EditReviewPromptPanel.java", "file_ext": "java", "file_size_in_byte": 973, "line_count":... | https://github.com/mnickels/Burrito-Reviews | 209 | FILENAME: EditReviewPromptPanel.java | 0.240775 | package view;
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
/**
*
* @author Zach Ouellette | arzalam@uw.edu
*/
public class EditReviewPromptPa... |
0e7ff9ff-aef3-487f-84e5-0589103a0a40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 00:11:49", "repo_name": "pan-rui/zzhss", "sub_path": "/common/src/main/java/com/yg/base/BaseResult.java", "file_name": "BaseResult.java", "file_ext": "java", "file_size_in_byte": 964, "line_count": 54, "lan... | https://github.com/pan-rui/zzhss | 228 | FILENAME: BaseResult.java | 0.240775 | package com.yg.base;
import java.io.Serializable;
/**
* Created by Administrator on 2015/9/14.
*/
public class BaseResult<T> implements Serializable {
private String msg;
private int code;
private T data;
public BaseResult() {
}
public BaseResult(ReturnCode returnCode) {
this.code ... |
f41ae6b2-b99b-4b91-a8ba-a05a18971b79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-05 19:27:58", "repo_name": "jojjesv/fuzz-android", "sub_path": "/app/src/main/java/com/fuzz/android/view/ArticleView.java", "file_name": "ArticleView.java", "file_ext": "java", "file_size_in_byte": 964, "line_... | https://github.com/jojjesv/fuzz-android | 202 | FILENAME: ArticleView.java | 0.228156 | package com.fuzz.android.view;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.ViewParent;
import android.widget.LinearLayout;
/**
* View presenting an article.
*/
public class ArticleView extends Line... |
aa776e3e-99e9-4860-a23a-28ca26cceae4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-12 15:53:05", "repo_name": "bellmit/jigsaw-cms", "sub_path": "/components/source/portlet/src/com/fulong/portlet/site/vertical/NavigatorConfig.java", "file_name": "NavigatorConfig.java", "file_ext": "java", "fi... | https://github.com/bellmit/jigsaw-cms | 273 | FILENAME: NavigatorConfig.java | 0.267408 | package com.fulong.portlet.site.vertical;
import javax.portlet.PortletPreferences;
/**
*
* <p>
* Title: 龙驭门户引擎
* </p>
*
* <p>
* Description: 龙驭网站内容管理系统核心引擎
* </p>
*
* <p>
* Copyright: 北京中科辅龙计算机技术股份有限公司
* </p>
*
* <p>
* Company: 北京中科辅龙计算机技术股份有限公司
* </p>
*
* @author Lixf
* @version 1.0
*/
publi... |
f8e23193-e2a3-4bef-afb4-5dad16dcd85c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-02 16:42:36", "repo_name": "abousow123/Plateforme_de_surveillance_du_marche_du_riz_1", "sub_path": "/Rice_market/src/main/java/org/sid/entity/StockeId.java", "file_name": "StockeId.java", "file_ext": "java", "... | https://github.com/abousow123/Plateforme_de_surveillance_du_marche_du_riz_1 | 206 | FILENAME: StockeId.java | 0.279042 | package org.sid.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@SuppressWarnings("serial")
@Embeddable
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class Sto... |
749a8eb7-2009-49b3-bd2c-071ec68c3b3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-17 08:25:14", "repo_name": "grapeqin/note", "sub_path": "/sources/netty-guide/src/main/java/grape/learn/netty/protocol/http/xml/order/HttpXmlResponseDecoder.java", "file_name": "HttpXmlResponseDecoder.java", "... | https://github.com/grapeqin/note | 215 | FILENAME: HttpXmlResponseDecoder.java | 0.283781 | package grape.learn.netty.protocol.http.xml.order;
import java.util.List;
import grape.learn.netty.protocol.http.xml.pojo.Order;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpResponse;
/**
* 从FullHttpResponse对象中解码构造HttpXmlResponse对象
*
* @author grape
* @date 2019-06-12... |
9487f777-0dca-4a29-87a8-8a8875363390 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-08 12:06:50", "repo_name": "imrankhurram/KeyHolderManagement", "sub_path": "/src/com/nextcontrols/domain/ContactTypeDetails.java", "file_name": "ContactTypeDetails.java", "file_ext": "java", "file_size_in_byte... | https://github.com/imrankhurram/KeyHolderManagement | 205 | FILENAME: ContactTypeDetails.java | 0.256832 | package com.nextcontrols.domain;
public class ContactTypeDetails implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int contactType;
private String contactString;
private String iconName;
public ContactTypeDetails() {
}
public Contac... |
5f1da427-3bf4-4975-a302-3c29138c44df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-12 09:45:39", "repo_name": "HerculesShek/xdarkdog", "sub_path": "/src/com/xdarkdog/web/controller/interceptor/ParamInterceptor.java", "file_name": "ParamInterceptor.java", "file_ext": "java", "file_size_in_byt... | https://github.com/HerculesShek/xdarkdog | 251 | FILENAME: ParamInterceptor.java | 0.294215 | package com.xdarkdog.web.controller.interceptor;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import com.jfinal.aop.Interceptor;
import com.jfinal.core.ActionInvocation;
import com.jfinal.core.Controller;
/**
* <pre>
* 负责对请求的参数进行拦截,作如下的工作:
* 1. 将param... |
19da43a9-a336-43ca-b948-9168ab67ef84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-26 08:31:57", "repo_name": "newYearsDeng/MeshBlueControl", "sub_path": "/app/src/main/java/com/northmeter/meshbluecontrol/bluetooth/bluetooth/tools/Tool.java", "file_name": "Tool.java", "file_ext": "java", "fi... | https://github.com/newYearsDeng/MeshBlueControl | 224 | FILENAME: Tool.java | 0.267408 | package com.northmeter.meshbluecontrol.bluetooth.bluetooth.tools;
/**
* Created by benjamin on 16/4/27.
*/
public class Tool {
public static String printBytes(byte[] bytes){
String s = "";
for(int i=0;i<bytes.length;i++){
if(i!=bytes.length-1){
s += Integer.toHexString... |
746ea2c2-0b5b-454b-8e7b-44b141a76e18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-03 20:17:23", "repo_name": "bjornwilliam/MrWakup", "sub_path": "/communicationlib/src/main/java/com/riftlabs/communicationlib/concurrency/CommunicationPacket.java", "file_name": "CommunicationPacket.java", "fi... | https://github.com/bjornwilliam/MrWakup | 222 | FILENAME: CommunicationPacket.java | 0.253861 | package com.riftlabs.communicationlib.concurrency;
import com.riftlabs.communicationlib.api.datatypes.KickDatagramPacket;
import com.riftlabs.communicationlib.utils.Log;
/**
* The Class CommunicationPacket is to wrap the KickDatagramPacket
*/
public class CommunicationPacket implements KickConcurrentPacket {
priv... |
45eb464f-8485-4ec8-9c17-ddbc9110d699 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-15 19:06:31", "repo_name": "PrincessJava/phonebook", "sub_path": "/service/src/main/java/su/msk/jet/phonebook/configs/AppConfig.java", "file_name": "AppConfig.java", "file_ext": "java", "file_size_in_byte": 96... | https://github.com/PrincessJava/phonebook | 186 | FILENAME: AppConfig.java | 0.236516 | package su.msk.jet.phonebook.configs;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.*;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import su.msk.jet.phonebook.config.AppDataBaseConfig;
import java.nio.charset.StandardCharsets;
@C... |
99e7c366-fe20-4993-85bc-354a8419634d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-19T07:27:41", "repo_name": "cx265/mye", "sub_path": "/Struts2_7/src/cap/action/FileUploadAction.java", "file_name": "FileUploadAction.java", "file_ext": "java", "file_size_in_byte": 964, "line_count": 47, "lan... | https://github.com/cx265/mye | 220 | FILENAME: FileUploadAction.java | 0.26971 | package cap.action;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import com.opensymphony.xwork2.ActionSupport;
public class FileUploadAction extends ActionSupport {
private static final long serialVersionUID = 1L;
pr... |
29b3bfb9-85ad-47a3-b438-61d61dc428cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-25 09:10:08", "repo_name": "algostructures/DroolsRuleEngine", "sub_path": "/src/main/java/com/example/drools/RuleEngine/Service/DroolsSharder.java", "file_name": "DroolsSharder.java", "file_ext": "java", "file... | https://github.com/algostructures/DroolsRuleEngine | 202 | FILENAME: DroolsSharder.java | 0.247987 | package com.example.drools.RuleEngine.Service;
import com.example.drools.RuleEngine.Config.DroolsStartUp;
import org.kie.api.runtime.KieSession;
import org.kie.internal.builder.KnowledgeBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.s... |
6b406a44-d7a6-4744-a08a-565b6ea9a161 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-04 20:32:41", "repo_name": "afrikandroid/AndroidDesignSample", "sub_path": "/app/src/main/java/com/ads/dagger/modules/CountryListModule.java", "file_name": "CountryListModule.java", "file_ext": "java", "file_s... | https://github.com/afrikandroid/AndroidDesignSample | 179 | FILENAME: CountryListModule.java | 0.26588 | package com.ads.dagger.modules;
import com.ads.countries.interactor.CountryListInteractor;
import com.ads.countries.presenter.CountryListPresenter;
import com.ads.countries.presenter.CountryListPresenterImpl;
import com.ads.countries.view.CountryListView;
import dagger.Module;
import dagger.Provides;
/**
* Created ... |
4b98f7ff-5aa4-44f3-ad8e-51f0af0b9f0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-03 19:58:39", "repo_name": "lhfazry/MyQuran", "sub_path": "/app/src/main/java/id/co/rumahcoding/myquran/utils/NotificationUtil.java", "file_name": "NotificationUtil.java", "file_ext": "java", "file_size_in_byt... | https://github.com/lhfazry/MyQuran | 174 | FILENAME: NotificationUtil.java | 0.236516 | package id.co.rumahcoding.myquran.utils;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.support.v4.app.NotificationCompat;
import id.co.rumahcoding.myquran.R;
/**
* Created by blastocode on 4/7/16.
*/
public class NotificationUtil {
pub... |
f7892a43-1030-456e-af68-100569c157f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-12 14:53:34", "repo_name": "abhiramj4/4806Labs", "sub_path": "/Labs/Lab2.5/src/main/java/lab3/service/Controller.java", "file_name": "Controller.java", "file_ext": "java", "file_size_in_byte": 974, "line_count... | https://github.com/abhiramj4/4806Labs | 192 | FILENAME: Controller.java | 0.282988 | package lab3.service;
import lab3.Launcher;
import lab3.ui.MainFrame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Controller implements ActionListener {
private MainFrame view;
private AddressBook addressBook;
public static void main(String[] args) {
Lau... |
ea76548e-f182-4441-9057-5f299939109b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-14 08:09:50", "repo_name": "CurryCarrotz/FordPerformanceAct", "sub_path": "/app/src/main/java/com/karimun/fordperformanceact/EventPhotosActivity.java", "file_name": "EventPhotosActivity.java", "file_ext": "jav... | https://github.com/CurryCarrotz/FordPerformanceAct | 147 | FILENAME: EventPhotosActivity.java | 0.191933 | package com.karimun.fordperformanceact;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.support.v7.widget.Toolbar;
public class EventPhotosActivity extends AppCompatActivity{
@O... |
ac4b46c9-b075-4884-9e75-4aaf2050aa06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-23 02:29:38", "repo_name": "linglingnie/MyPandaTV", "sub_path": "/app/src/main/java/com/pandatv/user/adapter/RegisterAdapter.java", "file_name": "RegisterAdapter.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/linglingnie/MyPandaTV | 208 | FILENAME: RegisterAdapter.java | 0.212069 | package com.pandatv.user.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.pandatv.base.BaseActivity;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Yuan on 2017/9/20.
*/
public class... |
4734180a-4dab-4e79-99df-29396edf7cf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-01T01:55:35", "repo_name": "tranbenny/js_env_demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 963, "line_count": 30, "lang": "en", "doc_type": "text", "blob... | https://github.com/tranbenny/js_env_demo | 256 | FILENAME: README.md | 0.208179 | # js_env_demo
#### Following along Pluralsight: Building a JavaScript Development Enviornment Course
Components
* .editorconfig: settings for ide editor
* Package Manager: npm
* sharing work in progress: localtunnel, ngrock, now, surge
* lets you expose app running from local machine globally
* Javascript automati... |
0b88d64f-2bcc-4f69-a4f7-7c642730278c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-06 17:20:09", "repo_name": "DigestTeam/digest.github.com", "sub_path": "/digest/src/test/java/com/summer/digest/DigestApplicationTests.java", "file_name": "DigestApplicationTests.java", "file_ext": "java", "fi... | https://github.com/DigestTeam/digest.github.com | 239 | FILENAME: DigestApplicationTests.java | 0.243642 | package com.summer.digest;
import com.summer.digest.dao.AuthorDao;
import com.summer.digest.dao.BookDao;
import com.summer.digest.entity.Author;
import com.summer.digest.entity.Book;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springfr... |
29ad5a6d-63b2-40b1-9f90-0ddb2e178178 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-03T19:53:34", "repo_name": "jaredwilli/react-router4-example", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 964, "line_count": 21, "lang": "en", "doc_type": "t... | https://github.com/jaredwilli/react-router4-example | 229 | FILENAME: README.md | 0.249447 | ## React Router v4 Example
[](https://greenkeeper.io/)
[](https://david-dm.org/jaredwilli/react-router4-example)
## Overview
_____
This is a... |
d11e92bd-ebba-4829-b848-bf7bc3552067 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-30 11:07:14", "repo_name": "MehmetAlpGuler/spring-boot-cloud-starter-oauth2", "sub_path": "/token_store_authorization_server/src/main/java/com/oauth/accesstoken/redis/service/UserService.java", "file_name": "U... | https://github.com/MehmetAlpGuler/spring-boot-cloud-starter-oauth2 | 180 | FILENAME: UserService.java | 0.250913 | package com.oauth.accesstoken.redis.service;
import java.util.Optional;
import com.oauth.accesstoken.redis.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springfr... |
a0cbd4b1-ccf0-464a-92f5-74c59cb32d57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-03 21:35:36", "repo_name": "blagusd/OOP", "sub_path": "/Ladders_Snakes/src/Monsters/Zombie.java", "file_name": "Zombie.java", "file_ext": "java", "file_size_in_byte": 975, "line_count": 54, "lang": "en", "doc_... | https://github.com/blagusd/OOP | 231 | FILENAME: Zombie.java | 0.284576 | package Monsters;
public class Zombie extends Monster {
private String name;
private int zombieEnergy;
private int zombieDamage;
public Zombie(String name, int energy, int damage) {
this.name = name;
this.zombieEnergy = energy;
this.zombieDamage = damage;
}
public String getName() {
retur... |
b6c23ab4-527c-4c5c-8a1a-44ce94fe6fe1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-14 08:26:06", "repo_name": "roadkh/oauth2", "sub_path": "/module/auth/src/main/java/com/road/pilot/security/CustomUserDetailsService.java", "file_name": "CustomUserDetailsService.java", "file_ext": "java", "fi... | https://github.com/roadkh/oauth2 | 165 | FILENAME: CustomUserDetailsService.java | 0.212069 | package com.road.pilot.security;
import com.road.pilot.domain.User;
import com.road.pilot.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
... |
c659987e-8758-434b-8ee2-56617f995f82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 14:23:23", "repo_name": "KacperJagodzinski/renataslibrary", "sub_path": "/src/main/java/org/jagodzinskikacper/renataslibrary/book/BookService.java", "file_name": "BookService.java", "file_ext": "java", "fil... | https://github.com/KacperJagodzinski/renataslibrary | 202 | FILENAME: BookService.java | 0.256832 | package org.jagodzinskikacper.renataslibrary.book;
import org.jagodzinskikacper.renataslibrary.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.util.List;
@Service
@Transactional
public class B... |
40390f66-0d4e-4f3b-a5e5-f544fd46d8c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-04 13:02:06", "repo_name": "twinkledeshmukhTD/Employee_Inventory_Management", "sub_path": "/src/main/java/com/inn/controller/impl/EmployeeRestImpl.java", "file_name": "EmployeeRestImpl.java", "file_ext": "java... | https://github.com/twinkledeshmukhTD/Employee_Inventory_Management | 193 | FILENAME: EmployeeRestImpl.java | 0.258326 | package com.inn.controller.impl;
import com.inn.controller.IEmployeeRest;
import com.inn.model.Employee;
import com.inn.service.IEmployeeService;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.R... |
e61eb7f4-e3bf-45f6-8030-4b0ef119fa93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-11 15:33:34", "repo_name": "moutainhigh/chongdao_app_user_client", "sub_path": "/src/main/java/com/chongdao/client/entitys/RewardSystem.java", "file_name": "RewardSystem.java", "file_ext": "java", "file_size_i... | https://github.com/moutainhigh/chongdao_app_user_client | 240 | FILENAME: RewardSystem.java | 0.264358 | package com.chongdao.client.entitys;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.io.Serializable;
/**
* @Author onlineS
* @Description 订单奖励
* @Date 9:06 2019/4/19
*/
@Setter
@Getter
@NoArgsConstructor
public class RewardSystem implements Serializable {
private stat... |
45d48529-b2ba-4dfc-ae19-652ba5060171 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 11:49:42", "repo_name": "cse-272-spring-2019/assignment-1-simple-atm-allaahelal", "sub_path": "/MyATM.java", "file_name": "MyATM.java", "file_ext": "java", "file_size_in_byte": 963, "line_count": 37, "lang"... | https://github.com/cse-272-spring-2019/assignment-1-simple-atm-allaahelal | 190 | FILENAME: MyATM.java | 0.282988 | import javafx.application.Application;
import javafx.stage.Stage;
public class MyATM extends Application
{
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
ProgramLogic amount1=new ProgramLogic();
primaryS... |
eff47f3b-1d74-462a-ae66-b5f4b6736b96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-25 19:04:49", "repo_name": "meksula/smart-learning-system", "sub_path": "/src/test/java/org/smartlearning/domain/content/goTop/GoToTopImplTest.java", "file_name": "GoToTopImplTest.java", "file_ext": "java", "f... | https://github.com/meksula/smart-learning-system | 213 | FILENAME: GoToTopImplTest.java | 0.274351 | package org.smartlearning.domain.content.goTop;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.smartlearning.configuration.RootConfig;
import org.smartlearning.domain.user.extenders.SystemUserStatistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.... |
8ef55ef4-fb6c-4ad2-ad4c-187dcf6f4fdf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 08:05:25", "repo_name": "sydmobile/studyproject", "sub_path": "/app/src/main/java/com/study/utils/volley/Parameter.java", "file_name": "Parameter.java", "file_ext": "java", "file_size_in_byte": 1018, "line_... | https://github.com/sydmobile/studyproject | 247 | FILENAME: Parameter.java | 0.255344 | package com.study.utils.volley;
import java.util.HashMap;
/**
* 说明:存放参数(请求头,请求参数)对象
* <p>
* date: 2020/5/2 16:19
*
* @author syd
* @version 1.0
*/
@SuppressWarnings("WeakerAccess")
public class Parameter extends HashMap<String, String> {
/**
* 添加参数
*
* @param key key
* @param value v... |
c2340848-2037-47c0-a4f6-c86c45fa31fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-17 09:02:20", "repo_name": "chengrui990/crui_parent", "sub_path": "/crui_web_portal/src/main/java/com/crui/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in... | https://github.com/chengrui990/crui_parent | 185 | FILENAME: UserController.java | 0.213377 | package com.crui.controller;
import com.alibaba.dubbo.config.annotation.Reference;
import com.crui.entity.Result;
import com.crui.pojo.user.User;
import com.crui.service.user.UserService;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.web.bind.annotation.*;
@RestCo... |
6761e1e0-ecaf-482c-a092-b2e480d3b485 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-16 21:25:42", "repo_name": "paulobsf/cat-cli", "sub_path": "/src/main/java/me/pauloferreira/catcli/service/BrowserService.java", "file_name": "BrowserService.java", "file_ext": "java", "file_size_in_byte": 964... | https://github.com/paulobsf/cat-cli | 215 | FILENAME: BrowserService.java | 0.253861 | package me.pauloferreira.catcli.service;
import java.awt.*;
import java.io.IOException;
import java.net.URISyntaxException;
import me.pauloferreira.catcli.exception.CatException;
public class BrowserService {
private Desktop desktop;
/**
* @throws CatException if desktop or browse action not supported
*/... |
d61611e6-f0d9-40b3-92c2-a0040bea070f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 07:50:29", "repo_name": "MadsMoeller/TripPlanner", "sub_path": "/src/com/company/SkiTrip.java", "file_name": "SkiTrip.java", "file_ext": "java", "file_size_in_byte": 964, "line_count": 43, "lang": "en", "do... | https://github.com/MadsMoeller/TripPlanner | 214 | FILENAME: SkiTrip.java | 0.26588 | package com.company;
public class SkiTrip extends Trip {
//Fields
private int slopes;
private int lifts;
public SkiTrip(String destination, int duration, String hotel, int price, int slopes, int lifts) {
super(destination, duration, hotel, price);
this.slopes = slopes;
this.li... |
16ea4570-4c9e-4164-b2d3-8dd5ea4d541d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-20 21:38:18", "repo_name": "EromhonseleAtinse/Spring_Boot_app", "sub_path": "/src/main/java/com/examples/demos/topic/Topic.java", "file_name": "Topic.java", "file_ext": "java", "file_size_in_byte": 963, "line_... | https://github.com/EromhonseleAtinse/Spring_Boot_app | 190 | FILENAME: Topic.java | 0.190724 | package com.examples.demos.topic;
import javax.persistence.Entity;
import javax.persistence.Id;
import com.fasterxml.jackson.annotation.JsonProperty;
@Entity
public class Topic {
@Id
private String id;
private String name;
private String description;
public Topic() {
}
public Topic(@J... |
db2d7c54-382a-4b12-b66a-ccceac89d7ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-22 22:56:51", "repo_name": "dalyodhran/HackerRank", "sub_path": "/Data Structures/LinkedList/InsertNodeDoublyLinkedList.java", "file_name": "InsertNodeDoublyLinkedList.java", "file_ext": "java", "file_size_in_... | https://github.com/dalyodhran/HackerRank | 192 | FILENAME: InsertNodeDoublyLinkedList.java | 0.286169 | public class Solution {
static DoublyLinkedListNode sortedInsert(DoublyLinkedListNode head, int data) {
DoublyLinkedListNode node = new DoublyLinkedListNode(data);
DoublyLinkedListNode temp = head;
boolean isInserted = false;
if(head.data > data){
node.next = head;
... |
4fcfc12a-dd20-4605-a938-fda007123ccc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-30T19:44:45", "repo_name": "angular/angular", "sub_path": "/devtools/DEVELOPING.md", "file_name": "DEVELOPING.md", "file_ext": "md", "file_size_in_byte": 964, "line_count": 34, "lang": "en", "doc_type": "t... | https://github.com/angular/angular | 218 | FILENAME: DEVELOPING.md | 0.247987 | # Developing
To setup your development environment run:
```
git clone git@github.com:angular/angular
cd devtools
yarn
```
To run the extension in development mode run:
```
ng serve
```
This would start a development server that you can access on <http://localhost:4200>. In development, Angular DevTools uses a "dev... |
ac32174f-eeab-49b9-91f5-add2e8aab088 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-14 13:09:47", "repo_name": "gabrysiam8/socialnet", "sub_path": "/src/main/java/com/springapp/socialnet/controller/PositionController.java", "file_name": "PositionController.java", "file_ext": "java", "file_siz... | https://github.com/gabrysiam8/socialnet | 180 | FILENAME: PositionController.java | 0.272799 | package com.springapp.socialnet.controller;
import com.springapp.socialnet.model.Position;
import com.springapp.socialnet.service.PositionService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
@Controller
@RequestMapping("/posi... |
89584d48-9e80-4899-b7b5-a15adb2b5e6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 07:59:08", "repo_name": "cvcaban/firstButton", "sub_path": "/app/src/main/java/com/example/firstbutton/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 964, "li... | https://github.com/cvcaban/firstButton | 173 | FILENAME: MainActivity.java | 0.261331 | package com.example.firstbutton;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {... |
9ee47aaf-f0a6-4af7-8f87-35a5d6265022 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 01:23:18", "repo_name": "jameszkw/demo", "sub_path": "/src/main/java/com/zkw/concurrent/java_Multithread_programmingbook/c3_1/c3_1_8/MyRunnable.java", "file_name": "MyRunnable.java", "file_ext": "java", "fi... | https://github.com/jameszkw/demo | 215 | FILENAME: MyRunnable.java | 0.228156 | package com.zkw.concurrent.java_Multithread_programmingbook.c3_1.c3_1_8;
import com.zkw.concurrent.java_Multithread_programmingbook.c3_1.c3_1_3.third.ThreadA;
/**
* 注:说是超过wait(timeout)的timeout时间后自动唤醒,可是不是这样的。
*
* @author James
* @create 2017-09-11 下午 8:36
**/
public class MyRunnable {
static pri... |
f2117895-684d-40a2-aec1-5b4c85b0bc82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-11-05 18:53:02", "repo_name": "Girshwick/noolabsomfluid", "sub_path": "/NooLabSomFluid/src/org/NooLab/somfluid/core/engines/det/MultiprocDispatcher.java", "file_name": "MultiprocDispatcher.java", "file_ext": "jav... | https://github.com/Girshwick/noolabsomfluid | 207 | FILENAME: MultiprocDispatcher.java | 0.281406 | package org.NooLab.somfluid.core.engines.det;
import java.util.SortedMap;
import java.util.TreeMap;
import org.NooLab.somfluid.lattice.VirtualLattice;
import org.apache.commons.collections.BidiMap;
import org.apache.commons.collections.bidimap.DualHashBidiMap;
/**
*
* this class maintains dispatching... |
4cefac35-5e4d-4e52-98b0-c5fb16e3d8ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-02 08:25:09", "repo_name": "hanky1688/grd-java", "sub_path": "/src/main/java/com/hanky/utils/DateUtils.java", "file_name": "DateUtils.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": 36, "lan... | https://github.com/hanky1688/grd-java | 204 | FILENAME: DateUtils.java | 0.258326 | package com.hanky.utils;
import org.apache.commons.lang3.time.DateFormatUtils;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.Date;
public class DateUtils {
public static String getTransDate(){
final LocalDate date = LocalDate.now();
return date.format(Dat... |
07eb4d1b-51b4-4524-b342-0c982112cde6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-16 10:04:53", "repo_name": "tangleiNUAA/spark1-demo", "sub_path": "/src/main/java/org/vidi/spark/demo/sql/JSONDataSource.java", "file_name": "JSONDataSource.java", "file_ext": "java", "file_size_in_byte": 974,... | https://github.com/tangleiNUAA/spark1-demo | 225 | FILENAME: JSONDataSource.java | 0.284576 | package org.vidi.spark.demo.sql;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.DataFrame;
import org.apache.spark.sql.SQLContext;
/**
* @author vidi
* @date 2019-03-28
*/
public class JSONDataSource {
public static void main(String[] args) {
... |
7495b2f2-b1ca-47c8-a905-13e065abfeef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-18T21:33:23", "repo_name": "kerisic/myJSNotes", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 966, "line_count": 34, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/kerisic/myJSNotes | 274 | FILENAME: README.md | 0.208179 | # Javascript Notes App
<img src="https://user-images.githubusercontent.com/71288920/111700580-7f924700-8831-11eb-9b5c-fa39d1e5ad51.gif" width="400" border="1">
## Requirements
```
As a programmer
I can see a list of my notes, where each note is abbreviated to the first 20 characters
So I can find the one I want
As a... |
8be735eb-0bc3-48fc-8b10-c5622d839c6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-06 03:37:12", "repo_name": "tryifelse/learn", "sub_path": "/src/main/java/com/whg/learn/SocketHandler.java", "file_name": "SocketHandler.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count": 28, ... | https://github.com/tryifelse/learn | 238 | FILENAME: SocketHandler.java | 0.287768 | package p2pcrwal.rpc;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.StandardProtocolFamily;
import java.net.StandardSocketOptions;
import java.nio.channels.DatagramChannel;
/**
* Created by BFD_702 on 2017/6/7.
*/
public class SocketHandler {
Datagra... |
a3c1488d-75e9-4036-b9f0-1b2f32176162 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-11 06:36:40", "repo_name": "WeNdy12340/CISC-3150-homework", "sub_path": "/Homework 9/HomeworkNine/HomeworkNine.java", "file_name": "HomeworkNine.java", "file_ext": "java", "file_size_in_byte": 964, "line_count... | https://github.com/WeNdy12340/CISC-3150-homework | 333 | FILENAME: HomeworkNine.java | 0.246533 | /*
*Wendy Mei
*CISC 3150
*HW 9
* DID NOT Work
*
*/
import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.locks.*;
public class HomeworkNine {
public static void main(String [] args){
String [] arr1={"A", "E", "I", "M", "Q", "U", "Y"};
String [] arr2={"B", "F", "J", "N", "R", "V", "Z"};
S... |
eae0faae-4345-4280-aa79-50d538f1b9c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-15 23:26:52", "repo_name": "jjordantb/OSBot-Framework", "sub_path": "/paratutorial/src/main/java/io/paratek/tut/modules/n_nodes/HandleDialogNode.java", "file_name": "HandleDialogNode.java", "file_ext": "java",... | https://github.com/jjordantb/OSBot-Framework | 222 | FILENAME: HandleDialogNode.java | 0.243642 | package io.paratek.tut.modules.n_nodes;
import io.paratek.api.util.Chatbox;
import io.paratek.fw.ParaScript;
import io.paratek.fw.handler.node.Node;
import org.osbot.rs07.api.ui.RS2Widget;
import java.util.ArrayList;
/**
* @author Parametric on 5/5/2018
* @project OSBot-Framework
*/
public class HandleDialogNode ... |
f994be1f-8e88-4af5-8998-76b2e1073890 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-05 14:06:33", "repo_name": "zhuruiboqq/romantic_factor", "sub_path": "/src/com/romantic/factor/util/UrlUtil.java", "file_name": "UrlUtil.java", "file_ext": "java", "file_size_in_byte": 963, "line_count": 36, "... | https://github.com/zhuruiboqq/romantic_factor | 208 | FILENAME: UrlUtil.java | 0.228156 | /**
* @(#)Jodo, 2013-5-2
*/
package com.romantic.factor.util;
import javax.servlet.http.HttpServletRequest;
/**
* @author Treeman
*/
public class UrlUtil {
public static String getBasePath(HttpServletRequest req) {
String path = req.getContextPath().replaceAll("/$", "");
String basePath = req... |
0e524467-2eef-4dc6-8daf-6abd17b05b71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-14 15:14:50", "repo_name": "spyhunter99/WeRP", "sub_path": "/src/main/java/com/github/spyhunter99/werp/beans/Interceptor.java", "file_name": "Interceptor.java", "file_ext": "java", "file_size_in_byte": 964, "l... | https://github.com/spyhunter99/WeRP | 218 | FILENAME: Interceptor.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 com.github.spyhunter99.werp.beans;
/**
*
* @author AO
*/
public abstract class Interceptor {
public Interceptor() {
... |
72d873c6-ae94-4b7a-bc94-eb3f3c58fe1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-01T14:27:33", "repo_name": "BernardoAguayoOrtega/message-application", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 963, "line_count": 44, "lang": "en", "doc_t... | https://github.com/BernardoAguayoOrtega/message-application | 215 | FILENAME: README.md | 0.200558 | # message-application
A react application that allow two different clients to have real time chat, connect with firebase.
## How te see it?
Go to [message-application](https://bernardoaguayoortega.github.io/message-application/) to see it.
## technologies used
+ [React js](https://reactjs.org/)
+ [firebase](https:/... |
c2461299-cb4a-418f-aa85-d71a4e252036 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-14 12:04:32", "repo_name": "aleesha711/Google-Books-Udacity-Assignment-", "sub_path": "/app/src/main/java/com/book/app/googlebooks/holder/NetworkCheck.java", "file_name": "NetworkCheck.java", "file_ext": "java... | https://github.com/aleesha711/Google-Books-Udacity-Assignment- | 167 | FILENAME: NetworkCheck.java | 0.23793 | package com.book.app.googlebooks.holder;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
public class NetworkCheck extends AppCompatActivity {
private static final String TAG = Networ... |
2849c93a-70ac-4ed1-b20b-4c39e657e6a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 14:17:23", "repo_name": "jframeMustaevT/innder", "sub_path": "/innder-web/src/main/java/stc21/innopolis/university/entity/Route.java", "file_name": "Route.java", "file_ext": "java", "file_size_in_byte": 962... | https://github.com/jframeMustaevT/innder | 223 | FILENAME: Route.java | 0.26971 | package stc21.innopolis.university.entity;
import lombok.*;
import javax.persistence.*;
@Entity
@Table(name = "route")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Route {
@Id
@Column(name = "id", nullable = false)
@GeneratedValue(generator = "ROUTE_GENERATOR", strategy = GenerationType.SEQU... |
a9f61d0b-85f5-4416-b834-674abc1f4bd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-19 12:41:01", "repo_name": "tomasperezmolina/lfg", "sub_path": "/src/main/java/api/rest/signup/resource/SignUpResource.java", "file_name": "SignUpResource.java", "file_ext": "java", "file_size_in_byte": 963, "... | https://github.com/tomasperezmolina/lfg | 189 | FILENAME: SignUpResource.java | 0.228156 | package api.rest.signup.resource;
import api.rest.signup.model.SignUpJSON;
import api.rest.signup.service.SignUpService;
import javax.annotation.security.PermitAll;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.co... |
4e9712e9-3773-4866-9e1f-988e8a22e374 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-06 09:11:01", "repo_name": "vlastikcz/dropwizard-example", "sub_path": "/src/main/java/com/github/vlastikcz/core/serializer/LinkDeserializer.java", "file_name": "LinkDeserializer.java", "file_ext": "java", "fi... | https://github.com/vlastikcz/dropwizard-example | 183 | FILENAME: LinkDeserializer.java | 0.229535 | package com.github.vlastikcz.core.serializer;
import java.io.IOException;
import java.util.Map;
import javax.ws.rs.core.Link;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.... |
4fa5c49b-0fd5-4b05-8edd-51e9388b1bcd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-06 23:48:28", "repo_name": "MrPwet/JavaBdd", "sub_path": "/src/org/jbdd/pwet/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 963, "line_count": 47, "lang": "en", "doc_type": ... | https://github.com/MrPwet/JavaBdd | 217 | FILENAME: Client.java | 0.206894 | package org.jbdd.pwet;
/**
* Created by mrpwet on 06/02/14.
*/
public class Client {
private String username;
private String password;
private int idPanier;
public Client(String username, String password) {
this.username = username;
this.password = password;
this.idPanier = 0... |
f32a07b7-2cb0-4795-9715-c52a012fe8d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 06:17:56", "repo_name": "githubBahram/project", "sub_path": "/src/main/java/com/parsdeveloper/shopping/controller/FileSystemImageController.java", "file_name": "FileSystemImageController.java", "file_ext": ... | https://github.com/githubBahram/project | 163 | FILENAME: FileSystemImageController.java | 0.245085 | package com.parsdeveloper.shopping.controller;
import com.parsdeveloper.shopping.service.FileLocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.FileSystemResource;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*... |
5857c257-ad00-4c82-8a3a-417a67a70bb5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-29 04:02:59", "repo_name": "TeamYouthChina/backend", "sub_path": "/src/test/java/com/youthchina/service/MessageSendServiceTest.java", "file_name": "MessageSendServiceTest.java", "file_ext": "java", "file_size_... | https://github.com/TeamYouthChina/backend | 210 | FILENAME: MessageSendServiceTest.java | 0.217338 | package com.youthchina.service;
import com.youthchina.domain.zhongyang.User;
import com.youthchina.dto.security.VerifyEmailDTO;
import com.youthchina.service.util.MessageSendService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... |
cf4e1df1-956c-4542-8f92-48835b80d7f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-05T18:46:08", "repo_name": "chbatey/language-basics", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 967, "line_count": 41, "lang": "en", "doc_type": "text", "bl... | https://github.com/chbatey/language-basics | 217 | FILENAME: README.md | 0.278257 | # Language fundamentals
A set of tasks to do in a programming language to ensure you understand
how to do the basics.
Each task involves writing some basic code e.g. write to a file. Build it with
the appropriate tool, unit test it, bechmark it and strace it to see what
it is doing unde rthe covers.
## Disk
Both a... |
a96acbcc-3d29-44dd-b7ed-eb740aee9bd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-05-21T17:08:22", "repo_name": "novuso/ansible-role-time", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 963, "line_count": 41, "lang": "en", "doc_type": "text", "b... | https://github.com/novuso/ansible-role-time | 263 | FILENAME: README.md | 0.268941 | # Ansible Role: Time
[](https://galaxy.ansible.com/list#/roles/3869)
[](http://opensource.org/licenses/MIT)
[]... |
3dc9e1c2-ecaa-4058-a553-1985a443d71c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-27 18:33:17", "repo_name": "oguzdirenc/ask-me-server-SpringBoot", "sub_path": "/src/main/java/com/example/askme/controller/CommentController.java", "file_name": "CommentController.java", "file_ext": "java", "f... | https://github.com/oguzdirenc/ask-me-server-SpringBoot | 166 | FILENAME: CommentController.java | 0.277473 | package com.example.askme.controller;
import com.example.askme.domain.Comment;
import com.example.askme.service.CommentService;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import ja... |
2793e56f-2790-4ab4-a181-e261c6568a99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-08 06:59:32", "repo_name": "fcp12138/Album", "sub_path": "/albumlibrary/src/main/java/com/fcp/albumlibrary/adapter/BaseLoadAdapter.java", "file_name": "BaseLoadAdapter.java", "file_ext": "java", "file_size_in_... | https://github.com/fcp12138/Album | 190 | FILENAME: BaseLoadAdapter.java | 0.217338 | package com.fcp.albumlibrary.adapter;
import android.support.v4.app.Fragment;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.fcp.albumlibrary.R;
import java.io.File;
/**
* 图片加载
* Created by f... |
3820f7cd-300d-4fdd-b8c2-56c1c8aa0857 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-15 04:22:42", "repo_name": "acalvare/BLB", "sub_path": "/BuyLocalBonds/src/Data/DatabaseConnector.java", "file_name": "DatabaseConnector.java", "file_ext": "java", "file_size_in_byte": 963, "line_count": 56, "... | https://github.com/acalvare/BLB | 176 | FILENAME: DatabaseConnector.java | 0.267408 | package Data;
import java.sql.*;
import java.util.*;
public class DatabaseConnector {
private DatabaseConnector instance = null;
public DatabaseConnector()
{
}
static Connection con;
static String url;
public Connection getConnection()
{
try
{
C... |
87c730cb-b894-4ac5-bfde-5f81ed5ab01e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-28 12:47:07", "repo_name": "Amos-Pan-lei/spring_boot_mybatis", "sub_path": "/src/main/java/com/qf/controller/StuController.java", "file_name": "StuController.java", "file_ext": "java", "file_size_in_byte": 963... | https://github.com/Amos-Pan-lei/spring_boot_mybatis | 198 | FILENAME: StuController.java | 0.220007 | package com.qf.controller;
import com.qf.entity.Student;
import com.qf.service.IStuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.spr... |
d8a53fee-d8b5-41e7-8f83-95197a1b538d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-07 14:23:33", "repo_name": "GottMusIg/DatabaseService", "sub_path": "/src/test/java/com/gottmusig/database/service/domain/character/jpa/SQLUtil.java", "file_name": "SQLUtil.java", "file_ext": "java", "file_siz... | https://github.com/GottMusIg/DatabaseService | 183 | FILENAME: SQLUtil.java | 0.243642 | package com.gottmusig.database.service.domain.character.jpa;
import com.google.common.base.Splitter;
import javax.sql.DataSource;
import java.nio.charset.StandardCharsets;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
/**
* Created by leong on 03.07.2017.
*/
public class SQLU... |
4c990c3e-05ae-4a75-ae23-7974c11b715e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 20:34:29", "repo_name": "CodeEscape/Warehousing", "sub_path": "/DodajZalogoFrame.java", "file_name": "DodajZalogoFrame.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 39, "lang": "en", "d... | https://github.com/CodeEscape/Warehousing | 239 | FILENAME: DodajZalogoFrame.java | 0.26971 | import javax.swing.*;
import java.awt.*;
public class DodajZalogoFrame extends JFrame {
private DodajZalogovSklForm dodajZalogo;
private TextPanel vsebina;
private JSplitPane splitPane;
private Meni meni;
public DodajZalogoFrame() {
meni = new Meni();
setLayout(n... |
dea69966-784e-4127-8a8a-59bb5d817cb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-11T10:16:26", "repo_name": "ssugmay07/Xero-Testcases", "sub_path": "/src/Xero_Test/TC_ID01_D_Validate_Forgot_Pwd.java", "file_name": "TC_ID01_D_Validate_Forgot_Pwd.java", "file_ext": "java", "file_size_in_byte... | https://github.com/ssugmay07/Xero-Testcases | 227 | FILENAME: TC_ID01_D_Validate_Forgot_Pwd.java | 0.249447 | package Xero_Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class TC_ID01_D_Validate_Forgot_Pwd {
public static void main(String[] args) throws InterruptedException {
System.setPrope... |
3f661a58-7c19-4642-ac67-077c88263071 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-26 15:13:10", "repo_name": "KeizerAugustus/blokee", "sub_path": "/src/main/java/org/example/resources/HelloWorldResource.java", "file_name": "HelloWorldResource.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/KeizerAugustus/blokee | 221 | FILENAME: HelloWorldResource.java | 0.261331 | package org.example.resources;
import org.example.domain.Contact;
import javax.ws.rs.*;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriBuilder;
import javax.ws.rs.core.UriInfo;
@Path("/helloworld")
public class HelloWorldResource {
@GET
public Response hellowor... |
ff58d5f8-ff4f-418a-a4db-a66c3424ca94 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-31T15:14:52", "repo_name": "StruggleInHangzhou/Rx-mvp-dragger", "sub_path": "/app/src/main/java-gen/com/jiahua/constant/PlatformEnum.java", "file_name": "PlatformEnum.java", "file_ext": "java", "file_size_in_b... | https://github.com/StruggleInHangzhou/Rx-mvp-dragger | 243 | FILENAME: PlatformEnum.java | 0.258326 | package com.jiahua.constant;
/**
* Created by jiahua on 17-2-25.
* QQ:781913268
* Description:平台
*/
public enum PlatformEnum
{
APP_IOS(1,"IOS"),
APP_ANDROID(2,"ANDROID"),
APP_WINDOWSPHONE(4,"wp"),
APP_SYMBIAN(7,"塞班"),
APP_BLACKBERRYOS(8,"黑莓");
private Integer value;
private String des... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.