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 |
|---|---|---|---|---|---|---|
31d0e688-9642-41e9-8da2-c4f2b89a1564 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-17 01:57:22", "repo_name": "jiuqianqiweiyi/rep1", "sub_path": "/itcast_shop_parent34/itcast_shop_druid/src/main/java/cn/itcast/druid/DruidJdbcDemo.java", "file_name": "DruidJdbcDemo.java", "file_ext": "java", ... | https://github.com/jiuqianqiweiyi/rep1 | 269 | FILENAME: DruidJdbcDemo.java | 0.295027 | package cn.itcast.druid;
import java.sql.*;
import java.util.Properties;
/**
* 使用jdbc的方式连接Druid
*/
public class DruidJdbcDemo {
public static void main(String[] args) throws SQLException, ClassNotFoundException {
// 1. 加载Druid JDBC驱动
Class.forName("org.apache.calcite.avatica.remote.Driver");
... |
f892f04f-b384-41d5-84c9-9bb709958d6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 00:48:02", "repo_name": "ForMeFighting/studyproject", "sub_path": "/ideaspringboot/rabbitmq/src/main/java/workqueue/Consumer2.java", "file_name": "Consumer2.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/ForMeFighting/studyproject | 353 | FILENAME: Consumer2.java | 0.278257 | package workqueue;
import com.rabbitmq.client.*;
import util.RabbitMqUtil;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
/**
* @Auther: 柴俊杰
* @Description: 消费者
* @Date: 2020/7/29 16:10
*/
public class Consumer2 {
public static void main(String[] args) throws IOException, TimeoutExce... |
0c015d81-987c-4d7e-b78a-62c505630035 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-16 08:17:20", "repo_name": "Markussim/spammaAntonsServer2", "sub_path": "/app/src/main/java/com/example/markussimonsen/spammaantonsserver/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java... | https://github.com/Markussim/spammaAntonsServer2 | 217 | FILENAME: MainActivity.java | 0.243642 | package com.example.markussimonsen.spammaantonsserver;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected void o... |
138182ca-c863-4f0c-ada9-96a77966d3fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-14 09:54:25", "repo_name": "vargagergo/MatritelProjects", "sub_path": "/Exercises/OOP.Exercises/Electrical.Device/Memory.java", "file_name": "Memory.java", "file_ext": "java", "file_size_in_byte": 1143, "line_... | https://github.com/vargagergo/MatritelProjects | 245 | FILENAME: Memory.java | 0.240775 | package tuesday;
import java.util.Objects;
public class Memory extends ElectricalDevice {
private int size;
private int frequency;
public Memory(double voltage, double maxCurrent, int size, int frequency) {
super(voltage, maxCurrent);
this.size = size;
this.frequency = frequency... |
ec0994f3-7ea0-4301-916a-33f8a0fdb278 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-26 13:29:51", "repo_name": "hhidk/RuanGongDBackEnd", "sub_path": "/profile/src/main/java/com/scholar/profile/service/UserSpaceService.java", "file_name": "UserSpaceService.java", "file_ext": "java", "file_size... | https://github.com/hhidk/RuanGongDBackEnd | 209 | FILENAME: UserSpaceService.java | 0.267408 | package com.scholar.profile.service;
import com.scholar.profile.dto.LiteraturePreview;
import com.scholar.profile.dto.UserPreview;
import com.scholar.profile.mapper.FavoriteMapper;
import com.scholar.profile.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.st... |
badcdaf0-7eea-4dcd-95f4-298d9b1dd62c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-14 16:46:29", "repo_name": "Desnoc82/Launcher_SOMC", "sub_path": "/src/fr/deltadesnoc/somc/launcher/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1091, "line_count": 35, "lang"... | https://github.com/Desnoc82/Launcher_SOMC | 239 | FILENAME: Main.java | 0.240775 | package fr.deltadesnoc.somc.launcher;
import fr.arinonia.arilibfx.AriLibFX;
import fr.arinonia.arilibfx.utils.AriLogger;
import fr.deltadesnoc.somc.launcher.utils.LauncherManager;
import javafx.application.Application;
import javafx.scene.image.Image;
import javax.swing.*;
public class Main {
public static AriL... |
004175a1-ff22-4bd4-a987-920ba1866034 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-02T11:20:00", "repo_name": "houseofgeeks/Certificate-Engine", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1075, "line_count": 34, "lang": "en", "doc_type": "t... | https://github.com/houseofgeeks/Certificate-Engine | 268 | FILENAME: README.md | 0.247987 | # Certificate-Engine
This is a development repository of Certificate Engine for House Of Geeks , the Technical Society of [Indian Institute of Information Technology, Ranchi](http://iiitranchi.ac.in/).
## Admin-Credential
- Username:prskid
- Password:1234
## Web-App
- Built with MERN-Stack
### Getting Started
- F... |
2ccc2cd5-3577-4fc1-bce4-28e64e317cb4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-01 21:16:29", "repo_name": "splitio/java-client", "sub_path": "/client/src/main/java/io/split/engine/sse/dtos/SegmentChangeNotification.java", "file_name": "SegmentChangeNotification.java", "file_ext": "java",... | https://github.com/splitio/java-client | 208 | FILENAME: SegmentChangeNotification.java | 0.246533 | package io.split.engine.sse.dtos;
import io.split.engine.sse.NotificationProcessor;
public class SegmentChangeNotification extends IncomingNotification {
private final long changeNumber;
private final String segmentName;
public SegmentChangeNotification(GenericNotificationData genericNotificationData) {
... |
e9ae1779-1ab8-4a2c-a190-76e4f4ee9dd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-21 15:42:18", "repo_name": "abhilucks93Personal/The-Kudos-Club", "sub_path": "/app/src/main/java/com/viscocits/support/ContactUsActivity.java", "file_name": "ContactUsActivity.java", "file_ext": "java", "file_... | https://github.com/abhilucks93Personal/The-Kudos-Club | 189 | FILENAME: ContactUsActivity.java | 0.184768 | package com.viscocits.support;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Html;
import android.view.MenuItem;
import android.widget.TextView;
import com.viscocits.R;
import com.viscocits.navigation.MainActivity;
import com.... |
2843b689-f6f2-4af1-91bb-e0ea4b30565c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-02 03:38:16", "repo_name": "twgdhz/ZjxssnnProject", "sub_path": "/src/com/zjxfood/adapter/CreateOrderAdapter.java", "file_name": "CreateOrderAdapter.java", "file_ext": "java", "file_size_in_byte": 1168, "line_... | https://github.com/twgdhz/ZjxssnnProject | 246 | FILENAME: CreateOrderAdapter.java | 0.264358 | package com.zjxfood.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.zjxfood.activity.R;
/**
* Created by Administrator on 2016/6/3.
*/
public class CreateOrderAdapter extends BaseAdap... |
e99e79a2-9ddc-4099-9dda-d2020230aa01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-19 18:28:14", "repo_name": "jvjyoti2/spring-boot-hibernate-mysql", "sub_path": "/src/main/java/com/example/springjpahibernatesql/model/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_si... | https://github.com/jvjyoti2/spring-boot-hibernate-mysql | 244 | FILENAME: Employee.java | 0.252384 | package com.example.springjpahibernatesql.model;
import org.springframework.boot.autoconfigure.web.ResourceProperties;
import javax.persistence.*;
@Entity
public class Employee {
public Employee(int id, String name, String team_name, int salary) {
super();
this.id = id;
this.name = name... |
6773803a-ba54-4540-a8fb-e2370f10b8a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-08 16:45:56", "repo_name": "zhukovme/YarFeed", "sub_path": "/app/src/main/java/me/zhukov/yarfeed/util/BitmapHelper.java", "file_name": "BitmapHelper.java", "file_ext": "java", "file_size_in_byte": 1084, "line_... | https://github.com/zhukovme/YarFeed | 217 | FILENAME: BitmapHelper.java | 0.284576 | package me.zhukov.yarfeed.util;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.annotation.Nullable;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.net.URL;
/**
* @author Michael Zhukov
*/
public enum BitmapHelper {
INSTANCE;
@N... |
0eb3461e-63c3-4c5f-ab7f-0ee88eb62b82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-22 16:01:13", "repo_name": "houhaiiiii/News", "sub_path": "/newsnews-wemedia/src/main/java/com/light/wemedia/controller/v1/WmUserController.java", "file_name": "WmUserController.java", "file_ext": "java", "fil... | https://github.com/houhaiiiii/News | 252 | FILENAME: WmUserController.java | 0.20947 | package com.light.wemedia.controller.v1;
import com.light.apis.wemedia.WmUserControllerApi;
import com.light.model.common.dtos.ResponseResult;
import com.light.model.wemedia.pojos.WmUser;
import com.light.wemedia.service.WmUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
2d55a5dc-1a7b-4815-962e-6683caf8973b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-16 05:05:32", "repo_name": "cnmaia/users-ms", "sub_path": "/src/main/java/br/mack/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte": 1144, "line_count... | https://github.com/cnmaia/users-ms | 213 | FILENAME: UserController.java | 0.240775 | package br.mack.controller;
import br.mack.controller.dto.UserRequest;
import br.mack.model.User;
import br.mack.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web... |
aa6bd1ac-e501-4be1-bc5c-6cd6728a029d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 10:01:06", "repo_name": "zhangnengxian/GYPROJECT", "sub_path": "/GYproject-biz-base/src/main/java/cc/dfsoft/project/biz/base/constructmanage/entity/BcType.java", "file_name": "BcType.java", "file_ext": "jav... | https://github.com/zhangnengxian/GYPROJECT | 300 | FILENAME: BcType.java | 0.268941 | package cc.dfsoft.project.biz.base.constructmanage.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* Model class of bc_type.
* 通知类型
* @author generated by ERMaster
* @version $Id$
*/
@Entity
@... |
0a77fb0d-8380-4719-9852-1d1a9d85080b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-01 04:01:46", "repo_name": "evangunawan/remoteserver", "sub_path": "/src/app/ServerMain.java", "file_name": "ServerMain.java", "file_ext": "java", "file_size_in_byte": 1169, "line_count": 44, "lang": "en", "do... | https://github.com/evangunawan/remoteserver | 209 | FILENAME: ServerMain.java | 0.264358 | package app;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
public class ServerMain {
private final int LISTEN_PORT = 8025;
private ServerSocket serverSocket;
private Socket clientSocket;
public ServerMain(){
try{
serverSocket = ne... |
6d75b9bb-2439-430b-bf68-36fa5cd00e9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-11 09:24:21", "repo_name": "tboqi/tbqapps", "sub_path": "/javaApps/yuqiblog-gae/src/com/yuqi/blog/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 966, "line... | https://github.com/tboqi/tbqapps | 222 | FILENAME: UserService.java | 0.252384 | package com.yuqi.blog.service;
import org.apache.commons.lang.StringUtils;
import com.yuqi.blog.dao.UserDao;
import com.yuqi.blog.domain.User;
import com.yuqi.blog.utils.SecurityUtils;
public class UserService {
private UserDao userDao;
public User save(User user) {
user.setPassword(SecurityUtils.md5(user.getPa... |
bfc31f97-2624-4b9b-8297-9d8b26639317 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-15 04:15:51", "repo_name": "ccppjj1981/java_web_git_test", "sub_path": "/src/main/java/com/netease/NoodlesServlet.java", "file_name": "NoodlesServlet.java", "file_ext": "java", "file_size_in_byte": 991, "line_... | https://github.com/ccppjj1981/java_web_git_test | 189 | FILENAME: NoodlesServlet.java | 0.27513 | package com.netease;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.netease.Kitchen;
import org.apache.lo... |
42f0ff04-6772-4436-8228-6c3a44f1bc31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-14 16:43:26", "repo_name": "sasajankovic96/FlightAdvisor", "sub_path": "/domain/src/main/java/com/sasajankovic/domain/model/SearchCityParams.java", "file_name": "SearchCityParams.java", "file_ext": "java", "fi... | https://github.com/sasajankovic96/FlightAdvisor | 219 | FILENAME: SearchCityParams.java | 0.294215 | package com.sasajankovic.domain.model;
import lombok.Getter;
import lombok.NonNull;
import java.util.Optional;
@Getter
public class SearchCityParams {
private String name;
private Optional<Integer> numberOfComments;
public SearchCityParams(@NonNull String name, Optional<Integer> numberOfComments) {
... |
b8100be5-50d5-4318-8514-28cf64f20c36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-10 14:44:31", "repo_name": "DannyCorbett89/bale", "sub_path": "/src/main/java/com/dc/bale/controller/RankController.java", "file_name": "RankController.java", "file_ext": "java", "file_size_in_byte": 1167, "li... | https://github.com/DannyCorbett89/bale | 231 | FILENAME: RankController.java | 0.290981 | package com.dc.bale.controller;
import com.dc.bale.database.entity.FcRank;
import com.dc.bale.service.RankService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.anno... |
68cdbea4-55e6-4455-a1c1-9b149c1136ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-04 05:36:37", "repo_name": "Avjadhav/Akash-Jadhav", "sub_path": "/app/src/main/java/com/example/akashjadhav/Dashboard.java", "file_name": "Dashboard.java", "file_ext": "java", "file_size_in_byte": 1093, "line_... | https://github.com/Avjadhav/Akash-Jadhav | 185 | FILENAME: Dashboard.java | 0.210766 | package com.example.akashjadhav;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
public class Dashboard extends AppCompatActivity {
Fire... |
cffaf806-a64d-49d8-a416-1275d892282a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-20 01:25:20", "repo_name": "whbanner/review", "sub_path": "/spirngwebmvc/src/main/java/com/example/service/impl/UserservieImpl.java", "file_name": "UserservieImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/whbanner/review | 216 | FILENAME: UserservieImpl.java | 0.287768 | package com.example.service.impl;
import com.example.dao.UserDao;
import com.example.entity.User;
import com.example.service.Userservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.DigestUtils;
import java.util.UUID;
@... |
fa53c77a-4911-4d32-aa22-bb9f93782c81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-13 07:49:42", "repo_name": "kevinLuan/cache", "sub_path": "/src/main/java/com/lyh/cache/auto/concurrent/ConcurrentLock.java", "file_name": "ConcurrentLock.java", "file_ext": "java", "file_size_in_byte": 1108, ... | https://github.com/kevinLuan/cache | 274 | FILENAME: ConcurrentLock.java | 0.26971 | package com.lyh.cache.auto.concurrent;
import java.util.concurrent.ConcurrentHashMap;
import org.springframework.stereotype.Component;
import com.lyh.cache.utils.CacheLogger;
@Component
public class ConcurrentLock {
private final static ConcurrentHashMap<String, Object> dataLock = new ConcurrentHashMap<>();
/**
... |
aababe00-87c4-49f6-9fde-46ccc42cb096 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-29T18:29:06", "repo_name": "marstech3/block-doc", "sub_path": "/client/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1168, "line_count": 30, "lang": "en", "doc_type": "text",... | https://github.com/marstech3/block-doc | 265 | FILENAME: README.md | 0.279042 | This project was bootstrapped By Aroha
truffle develop - > open new truffle console
truffle compile -> compile the smart contract
truffle deploy -> compile the smart contract
truffle test - > Test the smart contract
truffle migrate --network ropsten -> Deploy the smart contract on ropsten
truffle migrate --network ro... |
fb3476ad-46c6-442f-a276-fb80b802a5a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-05 19:27:47", "repo_name": "andrew-go-code/spring-reactive-message-handle", "sub_path": "/police/src/main/java/demo/analyst/controller/PoliceController.java", "file_name": "PoliceController.java", "file_ext": ... | https://github.com/andrew-go-code/spring-reactive-message-handle | 204 | FILENAME: PoliceController.java | 0.284576 | package demo.analyst.controller;
import demo.analyst.model.Message;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.MeterRegistry;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.sprin... |
13b5499f-d4fb-4376-ba27-23e3a9ce6e8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-26 10:22:20", "repo_name": "zhaomingwei/pattern", "sub_path": "/src/com/zw/pattern/proxy/jdk/JDKProxyTest.java", "file_name": "JDKProxyTest.java", "file_ext": "java", "file_size_in_byte": 1486, "line_count": 4... | https://github.com/zhaomingwei/pattern | 332 | FILENAME: JDKProxyTest.java | 0.290981 | package com.zw.pattern.proxy.jdk;
import com.zw.pattern.proxy.custom.GPMeiPo;
import com.zw.pattern.proxy.custom.GPPerson;
import com.zw.pattern.proxy.custom.GPXiaoMin;
import sun.misc.ProxyGenerator;
import java.io.File;
import java.io.FileOutputStream;
public class JDKProxyTest {
public static void main(Strin... |
502cb894-63fe-4669-ab40-0e846ac2e5a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 10:52:24", "repo_name": "NguyenKhacLam/fabulous", "sub_path": "/app/src/main/java/com/project/fabulous/ui/send_mail/SendMailActivity.java", "file_name": "SendMailActivity.java", "file_ext": "java", "file_si... | https://github.com/NguyenKhacLam/fabulous | 226 | FILENAME: SendMailActivity.java | 0.249447 | package com.project.fabulous.ui.send_mail;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;
import com.project.fabulous.R;
import com.project.fabulous.adapters.SubTaskAdapter;
import com.project.fabulous.... |
da0df5cf-d655-43e5-b471-c0a224f3b5fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-17 21:35:03", "repo_name": "HubSpot/Horizon", "sub_path": "/HorizonApache/src/main/java/com/hubspot/horizon/apache/internal/DefaultHeadersRequestInterceptor.java", "file_name": "DefaultHeadersRequestIntercepto... | https://github.com/HubSpot/Horizon | 215 | FILENAME: DefaultHeadersRequestInterceptor.java | 0.23231 | package com.hubspot.horizon.apache.internal;
import org.apache.http.HttpRequest;
import org.apache.http.HttpRequestInterceptor;
import org.apache.http.protocol.HttpContext;
import com.google.common.net.HttpHeaders;
import com.hubspot.horizon.HorizonHeaders;
import com.hubspot.horizon.HttpConfig;
public class Default... |
5c0beb25-d185-48a7-9982-c69b2530d472 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-15 15:19:21", "repo_name": "honor2030/AkkaTcpServer", "sub_path": "/src/main/java/com/akka/tcp/server/extension/SpringExtension.java", "file_name": "SpringExtension.java", "file_ext": "java", "file_size_in_byt... | https://github.com/honor2030/AkkaTcpServer | 181 | FILENAME: SpringExtension.java | 0.221351 | package com.akka.tcp.server.extension;
import akka.actor.Extension;
import akka.actor.Props;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
/**
* Spring을 통해 Akka에서 bean을 생성하는 클래스
*/
@Component
public class SpringExtension implements Extension {
private A... |
ebd1d305-022c-417f-9227-b3e53bd4cd10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-11 17:28:16", "repo_name": "VladimirBarzakov/Java-Spring-Project", "sub_path": "/src/main/java/Atia/Shop/web/interceptors/HideBestBidInterceptor.java", "file_name": "HideBestBidInterceptor.java", "file_ext": "... | https://github.com/VladimirBarzakov/Java-Spring-Project | 194 | FILENAME: HideBestBidInterceptor.java | 0.283781 | /*
* Atia & Tiger technology 2019.
*/
package Atia.Shop.web.interceptors;
import Atia.Shop.domain.models.DTO.buyer.auctions.details.DetailsAuctionViewModel;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Component;
import org.springf... |
fa118c09-b9fc-4219-a8c0-ca7fd1da1215 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-21 07:12:20", "repo_name": "Dhanushvishu/AG5003", "sub_path": "/Sel/src/Links.java", "file_name": "Links.java", "file_ext": "java", "file_size_in_byte": 1170, "line_count": 35, "lang": "en", "doc_type": "code"... | https://github.com/Dhanushvishu/AG5003 | 245 | FILENAME: Links.java | 0.291787 | import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Links {
public static void main(String[] args) throws InterruptedException
{
System.setProperty("webdriver.chrome.driver", "C:\\\\\\\\Users\\\\\\\\00005003\\\\\\\\Documents\\\... |
c4d08354-484c-45b5-a0c4-77f5ae417ade | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 11:48:23", "repo_name": "Inga-Helgadottir/BibliotekDB", "sub_path": "/src/main/java/FunctionLayer/Laan.java", "file_name": "Laan.java", "file_ext": "java", "file_size_in_byte": 1077, "line_count": 51, "lang... | https://github.com/Inga-Helgadottir/BibliotekDB | 317 | FILENAME: Laan.java | 0.273574 | package FunctionLayer;
public class Laan {
int transaktionsId;
int idBog;
int idKunde;
String title;
public Laan(int transaktionsId, int idBog, int idKunde, String title) {
this.transaktionsId = transaktionsId;
this.idBog = idBog;
this.idKunde = idKunde;
this.title ... |
e71e2e23-ab9c-4bb4-8244-5e6efa217d52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-15 10:59:12", "repo_name": "yaitskov/bluebridge", "sub_path": "/src/main/java/com/github/bluebridge/pclient/EntryPoint.java", "file_name": "EntryPoint.java", "file_ext": "java", "file_size_in_byte": 1144, "lin... | https://github.com/yaitskov/bluebridge | 258 | FILENAME: EntryPoint.java | 0.252384 | package com.github.bluebridge.pclient;
import com.github.bluebridge.pclient.form.MainWindow;
import com.github.bluebridge.pclient.printer.BlueToothPrinterBus;
import com.github.bluebridge.pclient.printer.PrinterBus;
import com.github.bluebridge.pclient.printer.PrinterFactoryImpl;
import org.slf4j.Logger;
import org.sl... |
d275f028-2ff6-4da0-b0e2-2fd137aab7ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-12 13:23:24", "repo_name": "yzcpleo/simulator", "sub_path": "/sim-common/src/main/java/com/shhxzq/fin/simulator/common/util/XmlUtil.java", "file_name": "XmlUtil.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/yzcpleo/simulator | 269 | FILENAME: XmlUtil.java | 0.264358 | package com.shhxzq.fin.simulator.common.util;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author kangyonggan
* @since 2017/1/11
*/
public class XmlUtil {
/**
* 解析xml报文
*
* @p... |
ba9595bf-8676-4ab0-bca7-697e41f4486e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-03 07:13:02", "repo_name": "xilinzhang/ent", "sub_path": "/ent-web/src/main/java/com/lianchuan/ma/entity/vo/result/apply/ContractInfoVO.java", "file_name": "ContractInfoVO.java", "file_ext": "java", "file_size... | https://github.com/xilinzhang/ent | 326 | FILENAME: ContractInfoVO.java | 0.236516 | package com.lianchuan.ma.entity.vo.result.apply;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* 合同信息
**/
@ApiModel(value = "ContractInfoVO", description = "合同信息")
public class ContractInfoVO {
@ApiModelProperty(value = "合同文件ID", required = false)
private Long... |
93f53200-2baf-4b50-9b2b-ce1fb44f3711 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-18 18:38:28", "repo_name": "ryanhopkinscapstone/capstone", "sub_path": "/mongodbbackend/src/main/java/snhu/mongodbbackend/endpoint/ScoreController.java", "file_name": "ScoreController.java", "file_ext": "java"... | https://github.com/ryanhopkinscapstone/capstone | 188 | FILENAME: ScoreController.java | 0.277473 | package snhu.mongodbbackend.endpoint;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.spr... |
6e62a2e3-cd15-428d-86d5-4672acbd0f60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-13 08:09:16", "repo_name": "zhangggit/GreenDaoDemo", "sub_path": "/app/src/main/java/com/example/zhanggang/greendaodemo/GreenDaoManager.java", "file_name": "GreenDaoManager.java", "file_ext": "java", "file_siz... | https://github.com/zhangggit/GreenDaoDemo | 242 | FILENAME: GreenDaoManager.java | 0.281406 | package com.example.zhanggang.greendaodemo;
import com.wxample.zhanggang.greendao.gen.DaoMaster;
import com.wxample.zhanggang.greendao.gen.DaoSession;
/**
* Created by zhanggang on 2017/10/13.
*/
public class GreenDaoManager {
public static GreenDaoManager greenDaoManager;
private DaoSession daoSession;
... |
15044800-7e4b-4284-90b9-c19c1d350b53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 02:01:50", "repo_name": "chenxinxun/AccessReadCode", "sub_path": "/app/src/main/java/com/amz4seller/accessreadcode/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/chenxinxun/AccessReadCode | 196 | FILENAME: MainActivity.java | 0.233706 | package com.amz4seller.accessreadcode;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.RadioGroup;
public class MainActivity extends AppCompatActivity {
private ChangeNetType changeNetType;
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
e52ed845-0335-4bbd-bac5-42daef27c39a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-25 19:41:33", "repo_name": "Spinarak1/PRI", "sub_path": "/src/main/java/com/software/rateit/Entity/Artist.java", "file_name": "Artist.java", "file_ext": "java", "file_size_in_byte": 1144, "line_count": 62, "la... | https://github.com/Spinarak1/PRI | 267 | FILENAME: Artist.java | 0.281406 | package com.software.rateit.Entity;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "Artist")
public class Artist {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String stageName;
... |
ff04409e-d954-4c34-8043-b1808c728f2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-03 14:37:34", "repo_name": "aldocano/Login", "sub_path": "/app/src/main/java/com/divitech/beratitour/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1169, "line_c... | https://github.com/aldocano/Login | 195 | FILENAME: MainActivity.java | 0.193147 | package com.divitech.beratitour;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.facebook.FacebookSdk;
import com.facebook.appevents.AppEventsLogger;
public class MainActivity extends AppCom... |
a4cbc69e-e4ac-4803-b888-f4201c4a888b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-10T17:41:36", "repo_name": "Rim-777/Linked-Parse", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1146, "line_count": 50, "lang": "en", "doc_type": "text", "blob... | https://github.com/Rim-777/Linked-Parse | 292 | FILENAME: README.md | 0.288569 | ### Ruby(Rails) API for the LinkedIn public-pages parsing with ActiveRecord, Sphinx, RSpec
### Dependencies:
- Ruby 2.2.3
- PostgreSQL
- Sphinx
- Redis
### Installation:
- Clone poject
- Run bundler:
```shell
$ bundle install
```
Create database.yml:
```shell
$ cp config/database.yml.sample c... |
ab46918e-7af7-452a-bbac-a6c06ce77e0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-14 21:48:10", "repo_name": "hamze-ibraheem/Save-My-Location", "sub_path": "/app/src/main/java/com/linagas/android/gastest/MyLocations.java", "file_name": "MyLocations.java", "file_ext": "java", "file_size_in_b... | https://github.com/hamze-ibraheem/Save-My-Location | 227 | FILENAME: MyLocations.java | 0.259826 | package com.linagas.android.gastest;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by hamze sarsour local on 12/2/2016.
*/
public class MyLocat... |
04a4af64-8b2e-4bbf-b56f-65dc2c39d795 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-13 22:43:12", "repo_name": "dblazheski/svs-talent", "sub_path": "/Java Code/14.02 Stopwatch/Stopwatch.java", "file_name": "Stopwatch.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 54, "lan... | https://github.com/dblazheski/svs-talent | 197 | FILENAME: Stopwatch.java | 0.267408 | package stopwatchapplication;
public class Stopwatch implements Runnable{
int counter=0;
boolean wait=false;
boolean running=true;
final Thread thread;
public Stopwatch() {
this.thread=new Thread(this);
thread.start();
}
public void pause(){
wait=true;
}
... |
3811a355-b697-472f-809b-161657b16aca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-29 15:28:23", "repo_name": "Dmzzzz/mypodcast", "sub_path": "/src/main/java/ru/mypodcast/mypodcast/controller/ErrorAdvice.java", "file_name": "ErrorAdvice.java", "file_ext": "java", "file_size_in_byte": 1169, "... | https://github.com/Dmzzzz/mypodcast | 193 | FILENAME: ErrorAdvice.java | 0.27048 | package ru.mypodcast.mypodcast.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.MethodArgumentNotValidException;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation... |
9025219a-2db0-4e05-a71c-d6b4f4bc07ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-24 14:54:53", "repo_name": "tarun-palisetty/java8-flvr", "sub_path": "/src/main/java/com/sample/misc/ConcurrencyDemo.java", "file_name": "ConcurrencyDemo.java", "file_ext": "java", "file_size_in_byte": 1048, "... | https://github.com/tarun-palisetty/java8-flvr | 227 | FILENAME: ConcurrencyDemo.java | 0.282988 | package com.sample.misc;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Stream;
/**
* Created by tarun on 06/09/2017.
*/
public class ConcurrencyDemo {
public static void main(String[] args) {
ConcurrentHashMap<Integer, UUID> concurrentHashMap = new Concurr... |
3ab14e23-a1aa-4594-8eec-8642d4263534 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-23 21:49:58", "repo_name": "diyankomitov/kamisado", "sub_path": "/src/com/team11/kamisado/models/Player.java", "file_name": "Player.java", "file_ext": "java", "file_size_in_byte": 1143, "line_count": 51, "lang... | https://github.com/diyankomitov/kamisado | 242 | FILENAME: Player.java | 0.285372 | package com.team11.kamisado.models;
import com.team11.kamisado.util.Coordinates;
import java.io.Serializable;
/**
* Created by Diyan on 11/03/2017.
*/
public class Player implements Serializable{
private String name;
private String playerColor;
private Coordinates coordinates;
private ... |
bfba74ec-4e85-43e3-9438-2584b296d783 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-06 14:18:48", "repo_name": "solokia/RsPeerProject", "sub_path": "/src/AutoMine/Models/Rock.java", "file_name": "Rock.java", "file_ext": "java", "file_size_in_byte": 1168, "line_count": 54, "lang": "en", "doc_t... | https://github.com/solokia/RsPeerProject | 252 | FILENAME: Rock.java | 0.27513 | package AutoMine.Models;
import AutoMine.Constants.Rocks;
import org.rspeer.runetek.api.movement.position.Position;
import org.rspeer.ui.Log;
import java.util.HashSet;
public class Rock {
private String name;
private int level;
private static HashSet<Position> orePositions=new HashSet<>();
public R... |
776fcd26-058c-4191-8252-6214415a513d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-22 23:42:08", "repo_name": "Sin-Emerging-Technologies/Rolodex", "sub_path": "/src/main/java/com/sinemergingtechnologies/database/utils/RoleUtils.java", "file_name": "RoleUtils.java", "file_ext": "java", "file_... | https://github.com/Sin-Emerging-Technologies/Rolodex | 233 | FILENAME: RoleUtils.java | 0.282988 | package com.sinemergingtechnologies.database.utils;
import com.sinemergingtechnologies.database.Enums;
import com.sinemergingtechnologies.database.model.Role;
import java.util.UUID;
public class RoleUtils {
private static int minStringLength = 1;
public static boolean validRole(Role roleUnderTest) {
... |
e84d4b85-dbb4-4bcf-9124-e06e99256105 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-21 18:03:25", "repo_name": "sisackov/buddiesmap", "sub_path": "/app/src/main/java/com/buddiesmap/fbhandlers/FacebookLoginCallback.java", "file_name": "FacebookLoginCallback.java", "file_ext": "java", "file_siz... | https://github.com/sisackov/buddiesmap | 205 | FILENAME: FacebookLoginCallback.java | 0.245085 | package com.buddiesmap.fbhandlers;
import android.app.Activity;
import android.util.Log;
import android.widget.Toast;
import com.buddiesmap.MainActivity;
import com.facebook.FacebookCallback;
import com.facebook.FacebookException;
import com.facebook.login.LoginResult;
public class FacebookLoginCallback implements F... |
dbc4ab6b-01f8-46b6-83db-2ae20f9e4e0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-14 10:15:12", "repo_name": "sevendee7/C1220G2_TranHongGiaDong_Module4", "sub_path": "/bai_tap_anh_trung/product_management/src/main/java/com/codegym/service/product_detail/impl/ProductDetail.java", "file_name"... | https://github.com/sevendee7/C1220G2_TranHongGiaDong_Module4 | 203 | FILENAME: ProductDetail.java | 0.252384 | package com.codegym.service.product_detail.impl;
import com.codegym.repository.IProductDetailRepository;
import com.codegym.service.product_detail.IProductDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pa... |
1117afc7-a445-4edf-af01-b404e32062cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-20 16:50:30", "repo_name": "MKLab-ITI/simmo-stream-manager", "sub_path": "/src/main/java/gr/iti/mklab/sm/retrievers/Response.java", "file_name": "Response.java", "file_ext": "java", "file_size_in_byte": 1012, ... | https://github.com/MKLab-ITI/simmo-stream-manager | 242 | FILENAME: Response.java | 0.264358 | package gr.iti.mklab.sm.retrievers;
import gr.iti.mklab.simmo.core.documents.Post;
import gr.iti.mklab.simmo.core.items.Media;
import java.util.ArrayList;
import java.util.List;
public class Response {
private List<Post> items = new ArrayList<Post>();
private List<Media> media = new ArrayList<>();
private i... |
f810ee3f-e188-4780-a481-691e6e2f2f97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-08 17:53:51", "repo_name": "neethupl1985/shoppingcart", "sub_path": "/src/main/java/com/disco/shoppingcart/utils/ObjectToJson.java", "file_name": "ObjectToJson.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/neethupl1985/shoppingcart | 170 | FILENAME: ObjectToJson.java | 0.23231 | package com.disco.shoppingcart.utils;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
public class ObjectToJson {
public static Object toJ... |
e8440941-f6ec-4486-9a09-6e59c1f8c9a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-07 20:55:23", "repo_name": "MandeepKaurJS/Java-Practice-Problems", "sub_path": "/src/BinarySearch.java", "file_name": "BinarySearch.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 37, "lang... | https://github.com/MandeepKaurJS/Java-Practice-Problems | 215 | FILENAME: BinarySearch.java | 0.216012 | import java.util.Scanner;
public class BinarySearch {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("Engter the Size of Array: ");
int count=input.nextInt();
int array[]=new int[count];
System.out.println("Enter Array Items ... |
b3458a9c-d579-4294-92c0-a9130a80e380 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-30 07:10:10", "repo_name": "davidra24/SocketsJava", "sub_path": "/comunication/ListenSocket.java", "file_name": "ListenSocket.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count": 43, "lang": "en... | https://github.com/davidra24/SocketsJava | 203 | FILENAME: ListenSocket.java | 0.218669 | package comunication;
import java.io.DataInputStream;
import java.io.IOException;
import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author David Ramirez
*/
public class ListenSocket extends Thread {
private DataInputStream dataInputStream;
public ListenSock... |
6e582baa-ea21-41ae-9988-7daa5fc5c6b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-26 07:07:13", "repo_name": "kamalisundar0211/Frames-Project", "sub_path": "/src/test/java/frames/ParametersData.java", "file_name": "ParametersData.java", "file_ext": "java", "file_size_in_byte": 1009, "line_c... | https://github.com/kamalisundar0211/Frames-Project | 195 | FILENAME: ParametersData.java | 0.239349 | package frames;
import java.sql.Driver;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.AssertJUnit;
import org.testng.annotations.AfterClass;
import org.... |
b1cfc3a4-6a4e-4ab5-9320-9625ff661268 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-02 07:32:58", "repo_name": "ToanMobile/uHotel", "sub_path": "/app/src/main/java/com/acuteksolutions/uhotel/mvp/model/conciege/Room.java", "file_name": "Room.java", "file_ext": "java", "file_size_in_byte": 1232... | https://github.com/ToanMobile/uHotel | 273 | FILENAME: Room.java | 0.273574 | package com.acuteksolutions.uhotel.mvp.model.conciege;
import com.acuteksolutions.uhotel.ui.adapter.concierge.RoomAdapter;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
/**
* Created by Toan.IT on 5/14/17.
* Email: huynhvantoan.itc... |
7752f15f-b124-44d2-b7e1-87857d44c817 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-28 16:49:29", "repo_name": "PiotrOpielski/mysqlrestapi", "sub_path": "/src/main/java/com/mysqlapi/security/AuthFilter.java", "file_name": "AuthFilter.java", "file_ext": "java", "file_size_in_byte": 1026, "line... | https://github.com/PiotrOpielski/mysqlrestapi | 176 | FILENAME: AuthFilter.java | 0.243642 | package com.mysqlapi.security;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Component;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
@Component
public class AuthFilter implements Filter
{
@Overri... |
7e01a58b-77a0-4af3-a0e6-2a6de6366a8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-03 13:29:23", "repo_name": "yuanyaosmile/Springboot", "sub_path": "/springboot-log4j2/src/main/java/com/example/springbootlog4j2/controller/HelloController.java", "file_name": "HelloController.java", "file_ext... | https://github.com/yuanyaosmile/Springboot | 285 | FILENAME: HelloController.java | 0.258326 | package com.example.springbootlog4j2.controller;
import lombok.extern.slf4j.Slf4j;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Author Barry
* @... |
4965fb67-2941-4f0d-a80f-24b2c2596de0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-26 11:26:54", "repo_name": "lpw151817/Elec-nercms-wxapp-service", "sub_path": "/src/android/wxapp/service/elec/model/bean/table/TB_SYS_Role.java", "file_name": "TB_SYS_Role.java", "file_ext": "java", "file_siz... | https://github.com/lpw151817/Elec-nercms-wxapp-service | 255 | FILENAME: TB_SYS_Role.java | 0.243642 | package android.wxapp.service.elec.model.bean.table;
public class TB_SYS_Role {
String id;
String role_name;
String remark;
String update_time;
@Override
public String toString() {
return "TB_SYS_Role [id=" + id + ", role_name=" + role_name + "]";
}
public TB_SYS_Role(String id, String role_... |
3e0d8a7e-edae-483d-9b3e-f819c5384a3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-09 00:43:34", "repo_name": "spokhyan/DO378-apps", "sub_path": "/DO378/solutions/secure-jwt/expense-service/src/main/java/org/acme/rest/pki/JwtTokenRequest.java", "file_name": "JwtTokenRequest.java", "file_ext"... | https://github.com/spokhyan/DO378-apps | 249 | FILENAME: JwtTokenRequest.java | 0.2227 | package org.acme.rest.pki;
import java.util.Set;
import javax.json.bind.annotation.JsonbCreator;
public class JwtTokenRequest {
private String upn;
private Set<String> groups;
private String token;
public JwtTokenRequest(String upn, Set<String> groups) {
this.upn = upn;
this.group... |
291246a3-28d8-47af-a744-cba0726ca0dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-29 21:59:45", "repo_name": "2-men-team/disaster-tracker", "sub_path": "/src/main/java/com/github/twomenteam/disastertracker/model/db/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte... | https://github.com/2-men-team/disaster-tracker | 214 | FILENAME: User.java | 0.220007 | package com.github.twomenteam.disastertracker.model.db;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Embedded;
import org.springframework.data.relational.core.mapping.Table;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
@Value
@Builder(to... |
1e75fc8f-7e97-4615-85da-2fa8ab5db9a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-25 11:38:27", "repo_name": "tsyontheway/DesingnPattern", "sub_path": "/src/SimpleFactory/order/OrderPizza2.java", "file_name": "OrderPizza2.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 4... | https://github.com/tsyontheway/DesingnPattern | 190 | FILENAME: OrderPizza2.java | 0.288569 | package SimpleFactory.order;
import SimpleFactory.Pizza.Pizza;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
//使用静态方法
public class OrderPizza2 {
Pizza pizza = null;
public OrderPizza2() {
do {
String orderType = getType();
pizza... |
a9a28fdb-25d6-4fbb-bbea-434812b149ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-22 14:14:30", "repo_name": "computools/jetbridge-spring-angular-test", "sub_path": "/src/main/java/com/computools/teammanagementapi/exceptions/ApplicationExceptionHandler.java", "file_name": "ApplicationExcept... | https://github.com/computools/jetbridge-spring-angular-test | 160 | FILENAME: ApplicationExceptionHandler.java | 0.245085 | package com.computools.teammanagementapi.exceptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestC... |
e15d4d65-3d37-484a-902f-388310a6cf7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 03:53:19", "repo_name": "vanduy290499/java2", "sub_path": "/WebDemo/src/java/them.java", "file_name": "them.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count": 34, "lang": "en", "doc_type": ... | https://github.com/vanduy290499/java2 | 231 | FILENAME: them.java | 0.284576 | /*
* 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.
*/
/**
*
* @author Nguyen Van Duy
*/
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import ... |
2597590c-7fb8-4f08-8833-5be389ae31e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-14 07:37:26", "repo_name": "thirdpartofkalista/cyberplug-android_app", "sub_path": "/app/src/main/java/com/criss/cyberplug/GroupSettings.java", "file_name": "GroupSettings.java", "file_ext": "java", "file_size... | https://github.com/thirdpartofkalista/cyberplug-android_app | 174 | FILENAME: GroupSettings.java | 0.224055 | package com.criss.cyberplug;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class GroupSettings extends AppCompatActivity {
Button delete;
Intent intent;
... |
c6facfd4-457e-416e-9cca-00fcc3ce7702 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-21 10:06:35", "repo_name": "paopao0226/KitManageSystem", "sub_path": "/code/Android-project/client_server_database/src/SqlConnection.java", "file_name": "SqlConnection.java", "file_ext": "java", "file_size_in_... | https://github.com/paopao0226/KitManageSystem | 209 | FILENAME: SqlConnection.java | 0.242206 | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class SqlConnection {
private static final String URL = "jdbc:mysql://localhost:3306/Datebase";
private static final String NAME = "root";
private static final String PASSWORD = "";
public void TheSqlConnec... |
d85c86b6-5957-4bd5-af70-d8a14de7ed25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-05 23:17:40", "repo_name": "MarcoSpeziali/ing-sw-2018-romano-savoldelli-speziali", "sub_path": "/lib/src/main/java/it/polimi/ingsw/net/responses/SignInResponse.java", "file_name": "SignInResponse.java", "file_... | https://github.com/MarcoSpeziali/ing-sw-2018-romano-savoldelli-speziali | 272 | FILENAME: SignInResponse.java | 0.255344 | package it.polimi.ingsw.net.responses;
import it.polimi.ingsw.net.mocks.IPlayer;
import it.polimi.ingsw.net.mocks.PlayerMock;
import it.polimi.ingsw.utils.io.json.JSONDesignatedConstructor;
import it.polimi.ingsw.utils.io.json.JSONElement;
import it.polimi.ingsw.utils.io.json.JSONSerializable;
public class SignInResp... |
089baf94-e798-41a8-a359-b81bc3aa1412 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-18 11:33:58", "repo_name": "MicWes/DAC", "sub_path": "/SistemaLOL/src/java/com/ufpr/tads/dac/ws/Entregador.java", "file_name": "Entregador.java", "file_ext": "java", "file_size_in_byte": 1231, "line_count": 39... | https://github.com/MicWes/DAC | 265 | FILENAME: Entregador.java | 0.286169 | /*
* 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.ufpr.tads.dac.ws;
import com.ufpr.tads.dac.model.Pedido;
import javax.ws.rs.client.Client;
import javax.ws.rs.cli... |
a2a273d7-e5e1-4f61-8701-e1ea6edd5b00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-03 20:45:05", "repo_name": "samvishniya/AndroidStudio_FundamentalsV2", "sub_path": "/04_4_User_Navigation/tabexperiment/src/main/java/com/example/tabexperiment/PagerAdapter.java", "file_name": "PagerAdapter.ja... | https://github.com/samvishniya/AndroidStudio_FundamentalsV2 | 203 | FILENAME: PagerAdapter.java | 0.289372 | package com.example.tabexperiment;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentStatePagerAdapter;
// this is to do with setting up tabs
public class PagerAdapter extends FragmentStatePagerAdapter {
... |
ba59469e-5edd-4f15-8389-155ae3ac30fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-31 19:58:48", "repo_name": "askme143/madcamp_project2_app", "sub_path": "/app/src/main/java/com/example/madcampserverapp/RegisterActivity.java", "file_name": "RegisterActivity.java", "file_ext": "java", "file_... | https://github.com/askme143/madcamp_project2_app | 202 | FILENAME: RegisterActivity.java | 0.166675 | package com.example.madcampserverapp;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import androidx.appcompat.app.AppCompatActivity;
public class RegisterActivity extends AppCompatActivity {
private EditText reg_passwd, reg_email, reg_name;
... |
86c7a8a5-d97c-44cd-a48b-3551986863b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-25T19:16:45", "repo_name": "jpverkamp/blog", "sub_path": "/content/programming/wombat-ide/2011-10-14-wombat-ide-bug-fixes-and-new-image-code.md", "file_name": "2011-10-14-wombat-ide-bug-fixes-and-new-image... | https://github.com/jpverkamp/blog | 266 | FILENAME: 2011-10-14-wombat-ide-bug-fixes-and-new-image-code.md | 0.258326 | ---
title: Wombat IDE - Bug fixes and new image code
date: 2011-10-14 04:55:36
programming/languages:
- Java
- Scheme
series:
- Wombat IDE
---
First, bug fixes:
* Fixed an issue that made the C211 libraries disappear on a reset
* `list` should be printed as a procedure (rather than a type)
* Fixed a problem where relo... |
2bba0c7b-1ac5-4059-8c90-5107008ddf06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-02 22:54:16", "repo_name": "andersonSinaluisa/myMarket", "sub_path": "/app/src/main/java/com/today/mymarket/DB/Firebase.java", "file_name": "Firebase.java", "file_ext": "java", "file_size_in_byte": 1024, "line... | https://github.com/andersonSinaluisa/myMarket | 170 | FILENAME: Firebase.java | 0.262842 | package com.today.mymarket.DB;
import android.content.Context;
import com.google.firebase.FirebaseApp;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
public class Firebase extends android.app.Application {
private DatabaseReference mDatabase;
@Ov... |
9578676f-69ff-4571-8cad-98ed96e30855 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-02T23:08:48", "repo_name": "JordHall/password-gen", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1098, "line_count": 34, "lang": "en", "doc_type": "text", "blo... | https://github.com/JordHall/password-gen | 248 | FILENAME: README.md | 0.272799 | # password-gen

## Summary
password-gen works by using the sha-256 hashing algorithm to generate an irreversable unique string, and is then appended with symbols and uppercase characters so that the same password is generated everytime.
This is intended for creating complex pas... |
ad49bcbf-c274-44fc-988a-ca1cdefee110 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-04 13:35:44", "repo_name": "AntonMykytiuk/buyabook", "sub_path": "/src/main/java/ua/singleton/buyabook/controller/BookController.java", "file_name": "BookController.java", "file_ext": "java", "file_size_in_byt... | https://github.com/AntonMykytiuk/buyabook | 211 | FILENAME: BookController.java | 0.262842 | package ua.singleton.buyabook.controller;
import org.springframework.web.bind.annotation.*;
import ua.singleton.buyabook.model.Book;
import ua.singleton.buyabook.service.BookService;
import java.util.List;
@RestController
@RequestMapping("rest/api/books")
public class BookController {
private BookService bookSer... |
f5a87dfc-ba9e-46c4-9178-bf79b8104bd6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-05 06:20:09", "repo_name": "ElliotFriedman/Learning-Java", "sub_path": "/StringLottery.java", "file_name": "StringLottery.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count": 44, "lang": "en", "... | https://github.com/ElliotFriedman/Learning-Java | 236 | FILENAME: StringLottery.java | 0.221351 | /*
* 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 chapter4;
/**
*
* @author ElliotFriedman
*/
import java.util.*;
public class StringLottery {
public static void ma... |
0b8d2eab-64eb-4fb5-8ff9-9d8ea584594b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-27 19:28:35", "repo_name": "younglink90/SpringTest", "sub_path": "/test/src/main/java/test/annotationsbeans/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count"... | https://github.com/younglink90/SpringTest | 225 | FILENAME: Config.java | 0.289372 | package test.annotationsbeans;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.... |
2dccaf0e-b257-4996-adcb-cc3f0a38b53b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-30 02:59:28", "repo_name": "kimntnguyen236/CSW", "sub_path": "/CSW/demo2WS/demo2WS-war/src/java/ws/CustomerWS.java", "file_name": "CustomerWS.java", "file_ext": "java", "file_size_in_byte": 1118, "line_count":... | https://github.com/kimntnguyen236/CSW | 259 | FILENAME: CustomerWS.java | 0.295027 | /*
* 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 ws;
import bean.CustomerSBLocal;
import java.util.List;
import javax.ejb.EJB;
import javax.jws.WebService;
import javax.jws.We... |
3f9b6163-10b9-4432-b6fc-5a56678d0e2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-30 03:21:45", "repo_name": "keepal7/LearningForDream", "sub_path": "/design-pattern/demo/src/main/java/com/keepal/demo/facade/WithoutFacadePatternDemo.java", "file_name": "WithoutFacadePatternDemo.java", "file... | https://github.com/keepal7/LearningForDream | 305 | FILENAME: WithoutFacadePatternDemo.java | 0.288569 | package com.keepal.demo.facade;
/**
* 在没有使用外观模式的demo
*/
public class WithoutFacadePatternDemo {
/**
* 场景:存在两个子系统ModuleA/ModuleB
* 然后ModuleA中有三个子模块,现在ModuleB需要使用这三个子模块
*
* 存在的问题:
* 1、子模块一多的话,对于调用方来说,组成一个功能会很繁琐
* 2、如果这种复制粘贴的地方太多了,一旦组合出现变化,就是大面积修改,不利于维护
*/
public static void... |
d85b9206-05e7-4df3-a032-c3ef6622019e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-21 14:00:40", "repo_name": "Phani-nunna/seleniumDemo", "sub_path": "/SeleniumFramework/src/test/java/test/Test_GoogleSearch.java", "file_name": "Test_GoogleSearch.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Phani-nunna/seleniumDemo | 246 | FILENAME: Test_GoogleSearch.java | 0.274351 | package test;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.te... |
4ad2674f-7e93-44e3-8ddd-661b3c96aec8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-14 18:56:08", "repo_name": "DesApp-GrupoE/backend", "sub_path": "/src/test/java/desapp/grupo/e/service/jackson/JsonUtilsTest.java", "file_name": "JsonUtilsTest.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/DesApp-GrupoE/backend | 221 | FILENAME: JsonUtilsTest.java | 0.274351 | package desapp.grupo.e.service.jackson;
import com.fasterxml.jackson.core.JsonProcessingException;
import desapp.grupo.e.model.dto.ApiError;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class JsonUtilsTest {
@Test
public void testConvertToJson() throws JsonProcessingExce... |
c0e08ec6-d939-4d7f-b4a7-d25d444c04a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-02 13:48:17", "repo_name": "kenitucp/code_practice", "sub_path": "/userlogin/app/src/main/java/com/example/userlogin/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/kenitucp/code_practice | 222 | FILENAME: MainActivity.java | 0.239349 | package com.example.userlogin;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
Button btn0,btn1;
Tex... |
e8afad10-6b60-465e-b11a-d4ca644b4cc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-27T12:17:24", "repo_name": "ghazifardhan/forum_api", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1026, "line_count": 22, "lang": "en", "doc_type": "text", "bl... | https://github.com/ghazifardhan/forum_api | 210 | FILENAME: readme.md | 0.220007 | ## Markibid API base on Lumen PHP Framework
Install markibid API on your local computer
1. Create Database with name markapi
2. Import markapi.sql to the Database
3. Happy Coding
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe developm... |
28d53e90-bd17-4849-afaf-e84058249ca7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-10T09:47:39", "repo_name": "Sudhakar7777777/Flask-RestX", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1118, "line_count": 48, "lang": "en", "doc_type": "text"... | https://github.com/Sudhakar7777777/Flask-RestX | 297 | FILENAME: README.md | 0.226784 | # Flask-RestX
- Simple application to showcase Flask + Flask RestX (build in Swagger UI)
## Commands
1. Run helloworld app
```
python helloworld.py
```
2. Run the basic version of todo app
```
python todo_basic.py
```
3. Run the MVC version of todo app
```
python todo_mvc.py
```
4. Run the Custom Swagger co... |
76452efa-575c-4a23-9fc5-2444b413983f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-09 00:58:58", "repo_name": "daddabarba/ToMCT", "sub_path": "/src/ToMCT/View/GraphicComponents/ComponentsTypes/Grid/AvatarPane.java", "file_name": "AvatarPane.java", "file_ext": "java", "file_size_in_byte": 103... | https://github.com/daddabarba/ToMCT | 220 | FILENAME: AvatarPane.java | 0.293404 | package ToMCT.View.GraphicComponents.ComponentsTypes.Grid;
import ToMCT.Model.ColoredTrails.GameTools.Grid.Location;
import ToMCT.View.GraphicComponents.RelJComponent;
import ToMCT.View.Images.ImageProcessor;
import java.awt.*;
import java.util.Observable;
import java.util.Observer;
public class AvatarPane extends ... |
d9042f52-f439-4e28-bc64-6cd7e60db347 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-07 02:51:37", "repo_name": "WiseHollow/LWJGL_FirstProject", "sub_path": "/src/net/johnbrooks/fjg/drawables/tiles/Tile.java", "file_name": "Tile.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count... | https://github.com/WiseHollow/LWJGL_FirstProject | 274 | FILENAME: Tile.java | 0.277473 | package net.johnbrooks.fjg.drawables.tiles;
import net.johnbrooks.fjg.drawables.Draw;
import net.johnbrooks.fjg.drawables.IDrawable;
import org.newdawn.slick.opengl.Texture;
/**
* Created by ieatl on 6/28/2017.
*/
public class Tile implements IDrawable
{
private int x, y, width, height;
private TileType til... |
66e702ae-94ad-4b4c-b046-7c020814b493 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-06 21:35:00", "repo_name": "bobbyrathoree/Project-B", "sub_path": "/app/IDGenerator/InsIDGenerator.java", "file_name": "InsIDGenerator.java", "file_ext": "java", "file_size_in_byte": 1116, "line_count": 37, "l... | https://github.com/bobbyrathoree/Project-B | 218 | FILENAME: InsIDGenerator.java | 0.290981 | package IDGenerator;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.id.IdentifierGenerator;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* Created by... |
81724b1c-e531-4ad7-ba35-1d644758948d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-16 11:08:43", "repo_name": "zhiyang-liu/springboot02", "sub_path": "/src/test/java/com/lianjia/springboot002/Springboot002ApplicationTests.java", "file_name": "Springboot002ApplicationTests.java", "file_ext": ... | https://github.com/zhiyang-liu/springboot02 | 196 | FILENAME: Springboot002ApplicationTests.java | 0.26588 | package com.lianjia.springboot002;
import com.lianjia.springboot002.dao.ReadingListRepository;
import com.lianjia.springboot002.entity.Book;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest... |
b9c35a3a-517e-4500-9419-753372184f2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-28 10:47:02", "repo_name": "folio-org/mod-kb-ebsco-java", "sub_path": "/src/main/java/org/folio/rest/validator/ProviderTagsPutBodyValidator.java", "file_name": "ProviderTagsPutBodyValidator.java", "file_ext": ... | https://github.com/folio-org/mod-kb-ebsco-java | 198 | FILENAME: ProviderTagsPutBodyValidator.java | 0.256832 | package org.folio.rest.validator;
import org.folio.rest.exception.InputValidationException;
import org.folio.rest.jaxrs.model.ProviderTagsDataAttributes;
import org.folio.rest.jaxrs.model.ProviderTagsPutRequest;
import org.springframework.stereotype.Component;
@Component
public class ProviderTagsPutBodyValidator {
... |
c60b75d4-279a-4d02-8b73-b14c33f492d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-10 14:22:42", "repo_name": "AhlenSDA/sda-byd1-chat-MK", "sub_path": "/src/main/Java/com/sda/chat/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count": 41, "lang": "... | https://github.com/AhlenSDA/sda-byd1-chat-MK | 207 | FILENAME: Main.java | 0.258326 | package com.sda.chat;
import com.sda.chat.hibernate.model.Messages;
import com.sda.chat.hibernate.model.Users;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class Main {
public static void main(String[] args) {
SessionFactory sessionFac... |
8a699465-01cb-49ab-b051-0216c252be6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-01 22:14:22", "repo_name": "Artlite/BaseAndroidProject", "sub_path": "/BSProject/bslibrary/src/main/java/com/artlite/bslibrary/helpers/statusbar/BSStatusBarHelper.java", "file_name": "BSStatusBarHelper.java", ... | https://github.com/Artlite/BaseAndroidProject | 211 | FILENAME: BSStatusBarHelper.java | 0.272799 | package com.artlite.bslibrary.helpers.statusbar;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Build;
import androidx.annotation.Nullable;
import com.artlite.bslibrary.helpers.abs.BSBaseHelper;
import java.lang.reflect.Method;
/**
* Class which provide the open/close st... |
7d8679a4-b18a-4e00-83ea-d138da81bb48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 15:32:57", "repo_name": "senakaradenizz/map-service", "sub_path": "/map-service/src/main/java/com/example/mapservice/controller/CountryController.java", "file_name": "CountryController.java", "file_ext": "j... | https://github.com/senakaradenizz/map-service | 172 | FILENAME: CountryController.java | 0.252384 | /*
* 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.example.mapservice.controller;
import com.example.mapservice.model.CountryEntity;
import com.example.mapservice.service.Co... |
d14a3c0f-0482-423b-bbae-63c415d93486 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-05 06:07:47", "repo_name": "smxknife/smxknife", "sub_path": "/energy/services/user-service/user-service-infras/src/main/java/com/smxknife/energy/services/user/infras/dao/UserDaoImpl.java", "file_name": "UserDa... | https://github.com/smxknife/smxknife | 216 | FILENAME: UserDaoImpl.java | 0.262842 | package com.smxknife.energy.services.user.infras.dao;
import com.smxknife.energy.services.user.core.dao.UserDao;
import com.smxknife.energy.services.user.infras.converter.UserConverter;
import com.smxknife.energy.services.user.infras.repository.UserMetaRepository;
import com.smxknife.energy.services.user.spi.domain.Us... |
712f2938-73a1-4322-8f3f-5d0585957394 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-09 20:54:46", "repo_name": "jrincon5/Spring-Security", "sub_path": "/src/main/java/co/com/ceiba/parqueadero/controller/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size... | https://github.com/jrincon5/Spring-Security | 211 | FILENAME: LoginController.java | 0.233706 | package co.com.ceiba.parqueadero.controller;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotat... |
5cf3d40d-2cdb-4650-9089-06bd876a785b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-18 15:31:53", "repo_name": "letianxu/DeviceJourney", "sub_path": "/app/src/main/java/com/pelmorex/devicejourney/location/LocationUpdateBroadcastReceiver.java", "file_name": "LocationUpdateBroadcastReceiver.jav... | https://github.com/letianxu/DeviceJourney | 194 | FILENAME: LocationUpdateBroadcastReceiver.java | 0.252384 | package com.pelmorex.devicejourney.location;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.util.Log;
import com.google.android.gms.location.LocationResult;
import java.util.List;
public class LocationUpdateBr... |
4d72cebb-49f7-45e0-923f-902c0c7039d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-30 06:29:01", "repo_name": "yqwoe/code-gennerator", "sub_path": "/src/main/java/com/yqwoe/codegenerator/model/param/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1018, "line_co... | https://github.com/yqwoe/code-gennerator | 213 | FILENAME: Item.java | 0.242206 | package com.yqwoe.codegenerator.model.param;
import java.io.Serializable;
import java.util.Set;
public class Item implements Serializable {
final String IN = "in";
String fieldName;
String value;
String type;
String[] values = null;
public Item() {
}
public Item(String fieldName, Str... |
55817909-6439-4f7b-8bb2-b932f64e7e66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 09:06:54", "repo_name": "sunnyeasy/motantest", "sub_path": "/motantestcommon/src/main/java/com/easy/common/vo/RpcResultVo.java", "file_name": "RpcResultVo.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/sunnyeasy/motantest | 228 | FILENAME: RpcResultVo.java | 0.229535 | package com.easy.common.vo;
import java.util.List;
public class RpcResultVo extends BaseRpcVo{
private static final long serialVersionUID = 1L;
private String code;
private String msg;
private List<Object> data;
private Object object;
public String getCode() {
return code;
}
... |
00c2a4da-fc80-4672-8735-60dd6db507cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-30 16:53:15", "repo_name": "qubard/tasky", "sub_path": "/src/main/java/ca/tarasyk/navigator/api/lua/func/getter/FindSlots.java", "file_name": "FindSlots.java", "file_ext": "java", "file_size_in_byte": 1017, "l... | https://github.com/qubard/tasky | 226 | FILENAME: FindSlots.java | 0.293404 | package ca.tarasyk.navigator.api.lua.func.getter;
import ca.tarasyk.navigator.NavigatorProvider;
import net.minecraft.item.ItemStack;
import net.minecraft.util.NonNullList;
import org.luaj.vm2.LuaValue;
import org.luaj.vm2.lib.OneArgFunction;
import org.luaj.vm2.lib.jse.CoerceJavaToLua;
import java.util.ArrayList;
p... |
40da6dfd-0319-4486-ac30-caf18af4ef20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-30T19:04:55", "repo_name": "FelipeParreira/Python_Hangman", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1032, "line_count": 19, "lang": "en", "doc_type": "tex... | https://github.com/FelipeParreira/Python_Hangman | 289 | FILENAME: README.md | 0.276691 | # Hangman
This is a CLI Hangman game, built with Python.
## Game rules
1. The game chooses a random word out of 6 words: `['3dhubs', 'marvin', 'print', 'filament', 'order', 'layer']`;
2. The spaces for the letters of the word are displayed (e.g.: `'_ _ _ _ _'` for `'order'`);
3. The user can choose a letter and if t... |
c4a22f8a-8135-403e-a800-a627b2782385 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-03 09:58:43", "repo_name": "catalinaboca/mobile-2020", "sub_path": "/Cordos Darius-Daniel/ScanActivity.java", "file_name": "ScanActivity.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": 44, ... | https://github.com/catalinaboca/mobile-2020 | 184 | FILENAME: ScanActivity.java | 0.250913 | package com.example.proiect;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import java.util.Scanner;
import javax.xml.transform.Result;
import me.dm7.barcodescanner.zxing.ZXingScannerView;
public class ScanActivity extends AppCompatActivity implements ZXingScannerView.Resu... |
ad00531f-d86c-4d98-ad09-cd7d29ef4d64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-27 04:30:00", "repo_name": "iishyfishyy/Music-Crowdsourcer-Android", "sub_path": "/app/src/main/java/com/example/ishyfishy/musiccrowdsourcer/Connection.java", "file_name": "Connection.java", "file_ext": "java"... | https://github.com/iishyfishyy/Music-Crowdsourcer-Android | 220 | FILENAME: Connection.java | 0.276691 | package com.example.ishyfishy.musiccrowdsourcer;
import android.os.AsyncTask;
import org.apache.http.NameValuePair;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.jar.Attributes;
/**
* Created by ishyfishy on 3/26/2016.
*/
public class Connection extends AsyncTask<ArrayList<NameValue... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.