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 |
|---|---|---|---|---|---|---|
063c9776-5542-46e5-84ab-43b8bae849ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-21 22:35:44", "repo_name": "stsypanov/logeek-night-benchmark", "sub_path": "/benchmark-runners/src/main/java/com/luxoft/logeek/benchmark/sequence/QueryValidationBenchmark.java", "file_name": "QueryValidationBe... | https://github.com/stsypanov/logeek-night-benchmark | 215 | FILENAME: QueryValidationBenchmark.java | 0.279828 | package com.luxoft.logeek.benchmark.sequence;
import com.luxoft.logeek.benchmark.ContextAwareBenchmark;
import org.openjdk.jmh.annotations.*;
import javax.persistence.EntityManager;
import java.util.concurrent.TimeUnit;
@State(Scope.Thread)
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
publi... |
e9402f82-1b76-4a83-9c43-c503cca9af8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-04 13:46:54", "repo_name": "teiphu/Android_Distribution", "sub_path": "/app/src/main/java/com/liongjfuan/android_distribution/cache/CacheManager.java", "file_name": "CacheManager.java", "file_ext": "java", "fi... | https://github.com/teiphu/Android_Distribution | 238 | FILENAME: CacheManager.java | 0.261331 | package com.liongjfuan.android_distribution.cache;
import android.util.LruCache;
import java.io.PipedReader;
/**
*
* @author Lifu.Zheng
* @date 2017.12.12
*/
public class CacheManager {
private static CacheManager mCacheManager;
private int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
... |
c1bf0537-69ba-4e65-a2ee-65fc40f6e481 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-17T09:28:41", "repo_name": "JoshGlue/AdvancedResearchMethods_GroupB", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1035, "line_count": 15, "lang": "en", "doc_t... | https://github.com/JoshGlue/AdvancedResearchMethods_GroupB | 318 | FILENAME: README.md | 0.249447 | # Advanced Research Methods (Group B)
Experiment of the course Advanced Research Methods at Radboud University By Ankur Ankan, Joshua van Kleef, Lino Vliex and Luc Wijnen
The script that is used is mainly the script that MSc. Jana Krutwig created with minor changes to fit our project. Dr. Makiko Sadakata is the owner ... |
464b4a73-0d09-41eb-9ec1-bfcef1d278c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-14 11:40:50", "repo_name": "candrawijayanto/TiketOnline", "sub_path": "/src/main/java/com/tugas/manpro/filter/LoginFilter.java", "file_name": "LoginFilter.java", "file_ext": "java", "file_size_in_byte": 1144, ... | https://github.com/candrawijayanto/TiketOnline | 198 | FILENAME: LoginFilter.java | 0.229535 | package com.tugas.manpro.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServ... |
3c4bb227-f026-4130-a38f-7c18ed6987f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-24 12:10:35", "repo_name": "ski96277/Supervizor", "sub_path": "/app/src/main/java/com/example/supervizor/Activity/CommanActivity/RegistrationActivity.java", "file_name": "RegistrationActivity.java", "file_ext"... | https://github.com/ski96277/Supervizor | 196 | FILENAME: RegistrationActivity.java | 0.210766 | package com.example.supervizor.Activity.CommanActivity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;
import android.os.Bundle;
import android.view.WindowManager;
import com.example.supervizor.Fragment.Company.Registartion_pa... |
335e6fb5-d20a-42d2-a626-e64fa9a0d6e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-22 13:10:56", "repo_name": "sanjayio/finnacle", "sub_path": "/app/src/main/java/hpcoe/com/menuhelpdesk/RecyclerUtils/RecyclerModel.java", "file_name": "RecyclerModel.java", "file_ext": "java", "file_size_in_by... | https://github.com/sanjayio/finnacle | 226 | FILENAME: RecyclerModel.java | 0.258326 | package hpcoe.com.menuhelpdesk.RecyclerUtils;
/**
* Created by Abhijith Gururaj and Sanjay Kumar.
*
* This is an abstraction of the data which is to be displayed on each viewGroup in the
* RecyclerView.
*
* @see RecyclerAdapter.RecyclerViewHolder where this data is set on the TextViews.
*/
public clas... |
642a3b9f-976a-4315-acb2-9dc3ed52272a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-26T08:27:21", "repo_name": "Fancystacks/reminiscence-mern", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1049, "line_count": 36, "lang": "en", "doc_type": "tex... | https://github.com/Fancystacks/reminiscence-mern | 365 | FILENAME: README.md | 0.233706 | # Reminiscence Memory Collection
## Download:
- `create-react-app`
- `npm install` dependencies
- run client and server folders simultaneously
Application uses a cloud MongoDB Atlas Database collection
Express Server is hosted on Heroku
## Usage:
Create an event in the text fields and press submit
<img src="http... |
2e3f7011-7188-45d9-a0ab-8def4dda785f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-30T11:50:14", "repo_name": "ashish-ssba/CloudServerUpgraded", "sub_path": "/src/main/java/co/insight/starter/firebase/web/propertyeditors/LocaleDateTimeEditor.java", "file_name": "LocaleDateTimeEditor.java", "... | https://github.com/ashish-ssba/CloudServerUpgraded | 194 | FILENAME: LocaleDateTimeEditor.java | 0.245085 | package co.insight.starter.firebase.web.propertyeditors;
import org.joda.time.LocalDateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.springframework.util.StringUtils;
import java.beans.PropertyEditorSupport;
import java.util.Date;
public class LocaleDateT... |
5a92ccdf-0e48-480a-ac05-4c835563ba76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-21 02:48:06", "repo_name": "swingMr/exia-workspace", "sub_path": "/iamp/test/com/excellence/iamp/mongo/test/test.java", "file_name": "test.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 34,... | https://github.com/swingMr/exia-workspace | 199 | FILENAME: test.java | 0.256832 | package com.excellence.iamp.mongo.test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.excellence.iamp.mongodb.dao.ResourceCatalogDao;
import com.excellence.iamp.mongodb.vo.ResourceCatalog;
public class test {
... |
0277e107-e25b-4257-97c9-9f7f00defecf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-11 17:13:00", "repo_name": "yoshikawaa/spark-sample", "sub_path": "/todo-app/src/main/java/io/github/yoshikawaa/spark/sample/app/repository/TodoRepository.java", "file_name": "TodoRepository.java", "file_ext":... | https://github.com/yoshikawaa/spark-sample | 227 | FILENAME: TodoRepository.java | 0.279828 | package io.github.yoshikawaa.spark.sample.app.repository;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.concurrent.atomic.AtomicInteger;
import io.github.yoshikawaa.spark.sample.app.model.Todo;
import ... |
51f7f3ba-f83b-4614-8f73-80f3a6ba968b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-08 15:41:20", "repo_name": "csj4032/genius", "sub_path": "/backend/src/main/java/com/genius/backend/domain/model/facebook/Messaging.java", "file_name": "Messaging.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/csj4032/genius | 230 | FILENAME: Messaging.java | 0.250913 | package com.genius.backend.domain.model.facebook;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
imp... |
88e508d0-c2b0-4f18-acc9-7ae943e06963 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-31 10:07:14", "repo_name": "Scankiran/UstaDonerciDesignPattern", "sub_path": "/src/Commands/MeatballOrder.java", "file_name": "MeatballOrder.java", "file_ext": "java", "file_size_in_byte": 969, "line_count": 2... | https://github.com/Scankiran/UstaDonerciDesignPattern | 258 | FILENAME: MeatballOrder.java | 0.26971 | package Commands;
public class MeatballOrder implements Command{
Cook cook;
String order;
String[] meatBallSaladList, meatBallAppzetierList, meatBallFriesList, meatballSauceList;
public MeatballOrder(Cook cook, String order,String[] meatBallSaladList,String[] meatBallAppzetierList,String[] meatBallFri... |
a5ef22a7-9c9a-4657-9b9f-bc47dc1f9a10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 07:50:10", "repo_name": "KhairulIslamAzam/TravelAgencyBlog", "sub_path": "/src/main/java/com/sample/project/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_siz... | https://github.com/KhairulIslamAzam/TravelAgencyBlog | 209 | FILENAME: UserController.java | 0.267408 | package com.sample.project.controller;
import com.sample.project.dto.UserDto;
import com.sample.project.services.UserService;
import org.springframework.beans.propertyeditors.StringTrimmerEditor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.WebDataBinder;
import org.spri... |
d9c3c945-2346-4b17-8da2-6c101fa9d388 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-17 03:06:59", "repo_name": "namangarg/demoNotifi", "sub_path": "/notifi/src/main/java/com/notifi/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 67, "la... | https://github.com/namangarg/demoNotifi | 256 | FILENAME: User.java | 0.245085 | package com.notifi.model;
import java.util.HashSet;
import java.util.Set;
public class User {
private int userId;
//private int otp;
private String phonenumber;
private UserInfo userInfo;
private Set<Shout> shouts =
new HashSet<Shout>(0);
public Set<Shout> getShouts() {
return shouts;
}
... |
263d8f3c-66ff-4a54-8d2d-210afd44c968 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-12 11:27:01", "repo_name": "rhoitjadhav/paylater-service", "sub_path": "/java/src/main/java/com/paylater/entities/Merchant.java", "file_name": "Merchant.java", "file_ext": "java", "file_size_in_byte": 1144, "l... | https://github.com/rhoitjadhav/paylater-service | 206 | FILENAME: Merchant.java | 0.27048 | package com.paylater.entities;
public class Merchant {
private final String name;
private final String email;
private double discountPercentage;
private double discountReceived;
public Merchant(String name, String email, String discountPercentage) {
this.name = name;
this... |
eb97449c-7465-48b7-81b9-8c90f1198bac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 08:28:56", "repo_name": "git867/smq", "sub_path": "/src/com/cn/pre/class_module/dao/ClassDao.java", "file_name": "ClassDao.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 39, "lang": "en... | https://github.com/git867/smq | 204 | FILENAME: ClassDao.java | 0.268941 | package com.cn.pre.class_module.dao;
import com.javabean.pojo.Class;
import com.javabean.utils.MyJDBC;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.taglibs.standard.tag.common.sql.DataSourceUtil;
import javax.activation.DataHandler;
import java.sql.*;
import java.util.ArrayList;
import java.util.L... |
a5ab2909-0a18-4c07-bdfc-2ff3872ae5ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-19 06:35:45", "repo_name": "nondarashwin/Rashwin_Nonda_SOF", "sub_path": "/CaseStudy/stock/src/main/java/com/stores/stock/model/Stock.java", "file_name": "Stock.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/nondarashwin/Rashwin_Nonda_SOF | 228 | FILENAME: Stock.java | 0.249447 | package com.stores.stock.model;
import javax.persistence.*;
@Entity
@Table(name="Stock")
public class Stock {
@Id
private int storeId;
@Id
private int productId;
private int stock;
public int getStoreId() {
return storeId;
}
public void setStoreId(int storeId) {
this.... |
72957338-f98a-42f2-bca0-636db16f078c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-29 07:51:52", "repo_name": "sanshengshui/NettyStudy", "sub_path": "/src/main/java/com/sanshengshui/Netty_In_Action/chapter13/LogEventHandler.java", "file_name": "LogEventHandler.java", "file_ext": "java", "fil... | https://github.com/sanshengshui/NettyStudy | 247 | FILENAME: LogEventHandler.java | 0.262842 | package com.sanshengshui.Netty_In_Action.chapter13;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
/**
* @ClassName LogEventHandler
* @author 穆书伟
* @description LogEventHandler
* @date 2017/7/7 13:52
*/
public class LogEventHandler extends SimpleChannelInbound... |
9f384c97-7f54-4d40-a405-be8913da7a4f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-19 16:51:45", "repo_name": "MihaelMiklec/Company-employee-management-web-app", "sub_path": "/radno-vrijeme/src/main/java/hr/fer/opp/radnovrijeme/dto/BusinessDTO.java", "file_name": "BusinessDTO.java", "file_ex... | https://github.com/MihaelMiklec/Company-employee-management-web-app | 281 | FILENAME: BusinessDTO.java | 0.274351 | package hr.fer.opp.radnovrijeme.dto;
import hr.fer.opp.radnovrijeme.domain.Business;
public class BusinessDTO {
private Long id;
private String name;
private String description;
private Double pricePerHour;
private Long groupId;
public BusinessDTO() {
}
public BusinessDTO(Business business) {
this.s... |
013bc8a4-4523-4f00-bc26-6b9a4bc0ad91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-02 01:51:42", "repo_name": "EnaAhmetbegovic/Ena-DWS", "sub_path": "/igman92/src/main/java/org/igman92/igman92/entity/impl/lkp/place/LKPMunicipality.java", "file_name": "LKPMunicipality.java", "file_ext": "java... | https://github.com/EnaAhmetbegovic/Ena-DWS | 267 | FILENAME: LKPMunicipality.java | 0.256832 | package org.igman92.igman92.entity.impl.lkp.place;
import com.sun.istack.NotNull;
import org.igman92.igman92.entity.base.LookUpEntity;
import javax.persistence.*;
@Entity
@Table(name = "LKP_municipality", uniqueConstraints = { @UniqueConstraint(columnNames = { "_key" }) })
public class LKPMunicipality extends LookUp... |
12082553-2047-4a57-82a6-9c54f5e3df1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-19 23:32:37", "repo_name": "maxthelinkfan/bEssential", "sub_path": "/src/me/brawl/Commands/Workbench.java", "file_name": "Workbench.java", "file_ext": "java", "file_size_in_byte": 1144, "line_count": 48, "lang... | https://github.com/maxthelinkfan/bEssential | 247 | FILENAME: Workbench.java | 0.262842 | package me.brawl.Commands;
import me.brawl.Main.Main;
import me.brawl.Main.SettingsManager;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.e... |
61c1b51a-baef-4922-b6d1-3a0d1a508993 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-14 14:19:36", "repo_name": "toddythebody/capstone", "sub_path": "/src/main/java/org/launchcode/capstone/models/security/CustomInterceptor.java", "file_name": "CustomInterceptor.java", "file_ext": "java", "file... | https://github.com/toddythebody/capstone | 212 | FILENAME: CustomInterceptor.java | 0.228156 | package org.launchcode.capstone.models.security;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import org.springframework.web.util.WebUtils;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet... |
15c25b77-dfcd-4738-80e4-b4ef2bc8bdb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-04 19:14:02", "repo_name": "savitoh/qrcode-generator-backend", "sub_path": "/demo-qr-code-api/src/main/java/com/savitoh/demoqrcodeapi/validation/UrlExistsValidator.java", "file_name": "UrlExistsValidator.java"... | https://github.com/savitoh/qrcode-generator-backend | 173 | FILENAME: UrlExistsValidator.java | 0.261331 | package com.savitoh.demoqrcodeapi.validation;
import org.springframework.stereotype.Component;
import org.springframework.web.client.HttpClientErrorException;
import org.springframework.web.client.HttpServerErrorException;
import org.springframework.web.client.RestTemplate;
import javax.validation.ConstraintValidator... |
68cc043a-4265-4eba-8c1c-b63b881201b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-02-01T19:48:27", "repo_name": "ravendesignsystem/rds", "sub_path": "/src/docs/dev/components/searchform/index.md", "file_name": "index.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 35, "lang"... | https://github.com/ravendesignsystem/rds | 245 | FILENAME: index.md | 0.229535 | ---
layout: docs
subsite: dev
title: Search Form
menu: dev
section: Components
banner:
breadcrumbs:
grandparent: Components
---
Ready-made form component with search and button inputs.
{% include 'inc' with {'component': 'searchform'} %}
```html
<form class="c-searchform" role="search" method="get" action="htt... |
1e3bcb30-943a-440a-9511-cb3002da8930 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-04 07:34:37", "repo_name": "medrached/BondsLigua_server", "sub_path": "/bondsLigua_server-ejb/src/main/java/tn/esprit/bondsLiga/bondsLigua_server/persistence/Client.java", "file_name": "Client.java", "file_ext... | https://github.com/medrached/BondsLigua_server | 241 | FILENAME: Client.java | 0.284576 | package tn.esprit.bondsLiga.bondsLigua_server.persistence;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
@Entity
public class Client extends User implements Serializable {
private double currentMoneyAccount;
private double ... |
40db3ffb-cd39-480a-b456-d117b16954c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-22 16:54:23", "repo_name": "KulkarniAtharva/Midas", "sub_path": "/app/src/main/java/dev/atharvakulkarni/midas/summary.java", "file_name": "summary.java", "file_ext": "java", "file_size_in_byte": 1008, "line_co... | https://github.com/KulkarniAtharva/Midas | 189 | FILENAME: summary.java | 0.243642 | package dev.atharvakulkarni.midas;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;
import androidx.databinding.DataBindingUtil;
import dev.atharvakulkarni.midas.databinding.SummaryBinding;
public class summary e... |
3266cc5b-7e7a-45cb-bdf2-1f2ee3135304 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-30 09:08:18", "repo_name": "scdqs/cdal", "sub_path": "/src/com/chengdu/air/Art3Activity.java", "file_name": "Art3Activity.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count": 37, "lang": "en", "... | https://github.com/scdqs/cdal | 198 | FILENAME: Art3Activity.java | 0.226784 | package com.chengdu.air;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
public class Art3Activity extends Activity... |
2f1c7cd7-8315-40d5-8176-6460f33559a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-07 16:05:10", "repo_name": "aeason96/inabox", "sub_path": "/app/src/main/java/com/example/andrew/inabox/models/PlayerModel.java", "file_name": "PlayerModel.java", "file_ext": "java", "file_size_in_byte": 1206,... | https://github.com/aeason96/inabox | 257 | FILENAME: PlayerModel.java | 0.259826 | package com.example.andrew.inabox.models;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by kevin on 5/1/17.
*/
public class PlayerModel implements Parcelable {
public GameRoomModel gameRoom;
public String name;
public int id;
public PlayerModel(int id, String name, GameRoo... |
0659e64e-d1d4-41d3-8d9b-033f2e427190 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-20 15:35:41", "repo_name": "LazyDie/King", "sub_path": "/shopping-common/src/main/java/com/king/common/pojo/Msg.java", "file_name": "Msg.java", "file_ext": "java", "file_size_in_byte": 1072, "line_count": 60, ... | https://github.com/LazyDie/King | 298 | FILENAME: Msg.java | 0.272025 | package com.king.common.pojo;
import java.util.HashMap;
import java.util.Map;
/**
* 通用的返回的类
* @author TIAN
*
*/
public class Msg {
//状态码 100成功 200失败
private int code;
//提示信息
private String msg;
//用户要返回给浏览器中的数据
private Map<String, Object> entend = new HashMap<>();
public static Msg success(){
Msg resut... |
aa33e583-a354-4b43-ba33-35febb94ee6e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-06 02:49:34", "repo_name": "vwarship/Samples", "sub_path": "/Android/AIDL/PrimitiveTypes/RemoteService/app/src/main/java/com/zaoqibu/remoteservice/RemoteService.java", "file_name": "RemoteService.java", "file_... | https://github.com/vwarship/Samples | 220 | FILENAME: RemoteService.java | 0.278257 | package com.zaoqibu.remoteservice;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.Process;
import android.util.Log;
public class RemoteService extends Service {
private static final String TAG = "RemoteService";
@Override
public void onCreate() {
... |
fd1a60bb-1358-4a56-84e7-b94ca02afaac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-16 15:19:55", "repo_name": "husterxsp/rabbitmq-demo", "sub_path": "/src/main/java/com/example/demo/rabbitmq/MQReceiver.java", "file_name": "MQReceiver.java", "file_ext": "java", "file_size_in_byte": 1121, "lin... | https://github.com/husterxsp/rabbitmq-demo | 265 | FILENAME: MQReceiver.java | 0.206894 | package com.example.demo.rabbitmq;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;
/**
* @author xushaopeng
* @date 2018/10/05
*/
@Service
public class MQReceiver {
private static Logger ... |
5cc2187d-24c9-4267-a6e9-db5a43a1e0ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-02 15:48:19", "repo_name": "Muhidin123/spring-boot-practice", "sub_path": "/src/main/java/com/example/demo/controllers/GreetingController.java", "file_name": "GreetingController.java", "file_ext": "java", "fil... | https://github.com/Muhidin123/spring-boot-practice | 206 | FILENAME: GreetingController.java | 0.249447 | package com.example.demo.controllers;
import java.util.concurrent.atomic.AtomicLong;
import com.example.demo.Greeting;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.R... |
e8e299da-c60c-4896-b3c4-48ed7b395598 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-16 12:29:01", "repo_name": "VladimirLadnov/Test", "sub_path": "/Count1.java", "file_name": "Count1.java", "file_ext": "java", "file_size_in_byte": 1033, "line_count": 33, "lang": "en", "doc_type": "code", "blo... | https://github.com/VladimirLadnov/Test | 196 | FILENAME: Count1.java | 0.23231 | import java.io.*;
public class Count1 {
static int n = 0;
public static void main(String[] args) {
File out = new File("C:\\1/input.txt");
try {
BufferedReader buf = new BufferedReader(new FileReader(out));
while (buf.ready()){
String line = buf.readLin... |
7b9e16c2-5dcb-4033-b485-7ca09c427b28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-21 09:21:54", "repo_name": "marvuchko/shop", "sub_path": "/core/data/src/main/java/com/marko/shop/data/shop/entity/PurchaseList.java", "file_name": "PurchaseList.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/marvuchko/shop | 221 | FILENAME: PurchaseList.java | 0.282196 | package com.marko.shop.data.shop.entity;
import com.marko.shop.data.base.Base;
import com.marko.shop.data.user.entity.User;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "purchase_list")
public class PurchaseList extends Base {
@ManyToOne
@JoinColumn(name = "id_shop_user")
pri... |
6f74867c-e94d-4abe-8030-6374b40f9086 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-09 00:03:50", "repo_name": "BonifacioJose/Zup-Store-Challenge", "sub_path": "/src/main/java/br/com/zup/StoreApplication.java", "file_name": "StoreApplication.java", "file_ext": "java", "file_size_in_byte": 970... | https://github.com/BonifacioJose/Zup-Store-Challenge | 191 | FILENAME: StoreApplication.java | 0.220007 | package br.com.zup;
import io.jaegertracing.Configuration;
import io.jaegertracing.internal.JaegerTracer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication
public class Stor... |
abfd77a0-ae49-44e5-a564-d71f161532dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-14 07:16:19", "repo_name": "jitendrasagoriya/authentication", "sub_path": "/src/main/java/com/js/authentication/service/impl/UserDetailsServiceImpl.java", "file_name": "UserDetailsServiceImpl.java", "file_ext"... | https://github.com/jitendrasagoriya/authentication | 175 | FILENAME: UserDetailsServiceImpl.java | 0.264358 | package com.js.authentication.service.impl;
import com.js.authentication.dao.UserDetailsDao;
import com.js.authentication.model.UserDetails;
import com.js.authentication.service.UserDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Example;
import org... |
e3504dce-4336-4131-b161-6fb447e08948 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-07 12:05:50", "repo_name": "javahunk100/servlets", "sub_path": "/src/com/servlet/LoginServlet.java", "file_name": "LoginServlet.java", "file_ext": "java", "file_size_in_byte": 1205, "line_count": 38, "lang": "... | https://github.com/javahunk100/servlets | 201 | FILENAME: LoginServlet.java | 0.27048 | package com.servlet;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest... |
223fc66a-efe9-4ff9-bcd6-6ddf854575b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-22 11:03:47", "repo_name": "Mi-Walkie-Talkie-by-Darkhorse/Mi-Walkie-Talkie-Plus", "sub_path": "/original-java/com/ifengyu/intercom/bean/RelayInfo.java", "file_name": "RelayInfo.java", "file_ext": "java", "file... | https://github.com/Mi-Walkie-Talkie-by-Darkhorse/Mi-Walkie-Talkie-Plus | 246 | FILENAME: RelayInfo.java | 0.284576 | package com.ifengyu.intercom.bean;
import java.io.Serializable;
public class RelayInfo implements Serializable {
private ChannelBean ch1;
private ChannelBean ch2;
public ChannelBean getCh1() {
return this.ch1;
}
public void setCh1(ChannelBean channelBean) {
this.ch1 = channelBean... |
d7c0365d-876e-4c95-b1b3-8aea0989b2fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-22 15:29:01", "repo_name": "Pawan9096/SalesforceSFS", "sub_path": "/steps/Hook.java", "file_name": "Hook.java", "file_ext": "java", "file_size_in_byte": 1061, "line_count": 45, "lang": "en", "doc_type": "code"... | https://github.com/Pawan9096/SalesforceSFS | 214 | FILENAME: Hook.java | 0.279042 | package steps;
import Base.BaseUtil;
import cucumber.api.Scenario;
import cucumber.api.java.After;
import cucumber.api.java.Before;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.concurrent.TimeUnit;
/**
* Created by Pawan.
*/
public class Hook extends BaseUtil{
private BaseUtil base;
... |
4bcd2a30-30bf-4e25-9f6f-d5ddc5e40471 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-20 19:24:54", "repo_name": "artdolia/LearnAndroidGetActionIntent", "sub_path": "/app/src/main/java/com/dolia/artsiom/p0271_getactionintent/DateAndTime.java", "file_name": "DateAndTime.java", "file_ext": "java"... | https://github.com/artdolia/LearnAndroidGetActionIntent | 223 | FILENAME: DateAndTime.java | 0.282988 | package com.dolia.artsiom.p0271_getactionintent;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.widget.TextView;
import java.sql.Date;
import java.text.SimpleDateFormat;
public class DateAndTime extends ActionBarActivity {
@Override
... |
2ccf825c-2a58-4d10-b48a-ae68fb5ffa84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-17 03:05:42", "repo_name": "ucefizi/movies", "sub_path": "/src/main/java/com/izi/movies/utils/DateSerializer.java", "file_name": "DateSerializer.java", "file_ext": "java", "file_size_in_byte": 1057, "line_coun... | https://github.com/ucefizi/movies | 206 | FILENAME: DateSerializer.java | 0.247987 | package com.izi.movies.utils;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;... |
2218b99e-4741-48ee-91b8-32271ed5cffe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-24 02:47:01", "repo_name": "icecold21/spring-demo", "sub_path": "/src/com/luv2code/springdemo/SetterDemoApp.java", "file_name": "SetterDemoApp.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count"... | https://github.com/icecold21/spring-demo | 210 | FILENAME: SetterDemoApp.java | 0.279828 | package com.luv2code.springdemo;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* Created by jonathan on 2/23/17.
*/
public class SetterDemoApp {
public static void main(String[] args) {
// load the spring configuration file
ClassPathXmlApplicationContext context... |
4ee570bb-c2c5-4e31-9f41-7ed1048b6222 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-05 10:30:22", "repo_name": "tupol/fun4fun", "sub_path": "/TriviDao/src/samples/java/org/tupol/sample_1/model/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 1144, "line_c... | https://github.com/tupol/fun4fun | 272 | FILENAME: Customer.java | 0.26971 | package org.tupol.sample_1.model;
import java.util.HashSet;
import java.util.Set;
import org.tupol.trividao.model.AbstractPersistentBean;
import org.tupol.trividao.model.PersistentBean;
/**
* Dummy persistent customer, as it only has a name.
*
* @author tupol
*
*/
public class Customer extends AbstractPersiste... |
7159359a-6280-41c7-8e16-787d21e94c5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-28T14:24:27", "repo_name": "ZekerijahSehic/Socialapi", "sub_path": "/src/main/java/com/zekerijah/socialapi/controller/PostController.java", "file_name": "PostController.java", "file_ext": "java", "file_size_in... | https://github.com/ZekerijahSehic/Socialapi | 242 | FILENAME: PostController.java | 0.290176 | package com.zekerijah.socialapi.controller;
import com.zekerijah.socialapi.model.Post;
import com.zekerijah.socialapi.service.PostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Optional;
@RestController... |
08ed72af-8b4c-452e-80ad-c752aa8f575b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-06 11:19:36", "repo_name": "rholdberh/spring-angular", "sub_path": "/server/src/main/java/com/msd/iaas/tstconfig/services/ConfigurationService.java", "file_name": "ConfigurationService.java", "file_ext": "java... | https://github.com/rholdberh/spring-angular | 237 | FILENAME: ConfigurationService.java | 0.267408 | package com.msd.iaas.tstconfig.services;
import com.msd.iaas.tstconfig.dao.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service("sonfigurationservice")
public class ConfigurationService {
private HiveConnectionDao hiveCo... |
825030d5-1d72-46ce-8de8-f73259c57824 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 02:25:51", "repo_name": "CeaMYHBK/hous", "sub_path": "/src/main/java/com/ceamback/project/purchase/service/impl/BackServiceImpl.java", "file_name": "BackServiceImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/CeaMYHBK/hous | 252 | FILENAME: BackServiceImpl.java | 0.240775 | package com.ceamback.project.purchase.service.impl;
import com.ceamback.common.utils.SecurityUtils;
import com.ceamback.project.purchase.domain.Back;
import com.ceamback.project.purchase.mapper.BackMapper;
import com.ceamback.project.purchase.service.IBackService;
import org.springframework.beans.factory.annotation.Au... |
a2e9a0e1-aca8-431c-8cfb-d72106f2a274 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-04 01:47:31", "repo_name": "dctproject/basic_version", "sub_path": "/src/main/java/thymeleafexamples/stsm/web/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_si... | https://github.com/dctproject/basic_version | 204 | FILENAME: IndexController.java | 0.252384 | package thymeleafexamples.stsm.web.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import thymeleafexamples.stsm.bus... |
9bccfaeb-71d6-4fd2-bf3b-2088ee19be13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-07 05:46:47", "repo_name": "fredMjPz/LaboratorioMemoria", "sub_path": "/app/src/main/java/com/example/igreenheart/memorygame/Inicio.java", "file_name": "Inicio.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/fredMjPz/LaboratorioMemoria | 201 | FILENAME: Inicio.java | 0.208179 | package com.example.igreenheart.memorygame;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.T... |
3ff16522-d766-4757-b139-4bcf86212a19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-26 00:45:24", "repo_name": "AdrianPatron/ProyectoFinal", "sub_path": "/app/src/main/java/com/example/proyectofinal/Fotografia.java", "file_name": "Fotografia.java", "file_ext": "java", "file_size_in_byte": 110... | https://github.com/AdrianPatron/ProyectoFinal | 193 | FILENAME: Fotografia.java | 0.203075 | package com.example.proyectofinal;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class Fotografia extends AppCompatActivity implements View.OnClickListener{
@Override
protected void o... |
bcbb6606-e300-4ca0-a88a-39c929d57f1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-27 12:27:07", "repo_name": "sebmade/xdi", "sub_path": "/xdi-hibernate/src/main/java/fr/improve/xdi/mapping/hibernate/SortOrderingImpl.java", "file_name": "SortOrderingImpl.java", "file_ext": "java", "file_size... | https://github.com/sebmade/xdi | 261 | FILENAME: SortOrderingImpl.java | 0.274351 | package fr.improve.xdi.mapping.hibernate;
import org.hibernate.criterion.Order;
import fr.improve.xdi.mapping.SortOrdering;
/**
* @author Sébastien Letélié <s.letelie@improve.fr>
*
*/
public class SortOrderingImpl implements SortOrdering {
private String _key = null;
private int _type = 0;
private... |
dac968de-ee0e-49b5-a45a-24b06224f557 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-30 02:53:04", "repo_name": "waveFuzf/EDP", "sub_path": "/src/main/java/com/zust/EDP/dto/Home.java", "file_name": "Home.java", "file_ext": "java", "file_size_in_byte": 1054, "line_count": 54, "lang": "en", "doc... | https://github.com/waveFuzf/EDP | 258 | FILENAME: Home.java | 0.235108 | package com.zust.EDP.dto;
import java.util.ArrayList;
import java.util.List;
public class Home {
private List<Homeuser> user = new ArrayList<Homeuser>();
private List<Message> message = new ArrayList<Message>();
private List<Publish> publish = new ArrayList<Publish>();
private List<Request> request = new ArrayLis... |
2696c820-aa99-4118-b069-58a96d8c6721 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-13 10:30:34", "repo_name": "chtatamba/village_green", "sub_path": "/src/main/java/com/afpa/village_green/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 1145, "line_count": 47, "la... | https://github.com/chtatamba/village_green | 224 | FILENAME: App.java | 0.23793 | package com.afpa.village_green;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.IOException;
/**
* JavaFX App
*/
public class App extends Application {
private static Scene scene;
@Overri... |
8dae7d9e-d2a0-4fb2-948c-5d1e8c907d02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-27 08:11:40", "repo_name": "TanayGahlot/CollegeFeed", "sub_path": "/app/src/main/java/in/mobile/connectree/collegefeed/ReminderService.java", "file_name": "ReminderService.java", "file_ext": "java", "file_size... | https://github.com/TanayGahlot/CollegeFeed | 230 | FILENAME: ReminderService.java | 0.281406 | package in.mobile.connectree.collegefeed;
import android.app.IntentService;
import android.app.NotificationManager;
import android.content.Intent;
import android.support.v4.app.NotificationCompat;
/**
* Created by vidit on 28/12/14.
*/
public class ReminderService extends IntentService{
/**
* Creates an In... |
6b777b09-0ac8-44d6-a32e-3252feef1cd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-19 13:32:43", "repo_name": "VishalS047/Corona-Virus-Tracker-Using-Spring-Boot", "sub_path": "/src/main/java/io/javabrains/Coronaviruslivetracker/controllers/HomeController.java", "file_name": "HomeController.j... | https://github.com/VishalS047/Corona-Virus-Tracker-Using-Spring-Boot | 198 | FILENAME: HomeController.java | 0.286169 | package io.javabrains.Coronaviruslivetracker.controllers;
import io.javabrains.Coronaviruslivetracker.models.LocationStats;
import io.javabrains.Coronaviruslivetracker.services.CoronaVirusDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
... |
0ca55204-cd15-4b1b-9521-dc8dab03c3a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-31T11:16:05", "repo_name": "Sunny-Vats/learning-java", "sub_path": "/getting-started/NOTES.md", "file_name": "NOTES.md", "file_ext": "md", "file_size_in_byte": 1213, "line_count": 28, "lang": "en", "doc_ty... | https://github.com/Sunny-Vats/learning-java | 258 | FILENAME: NOTES.md | 0.249447 | # INSTALLATION OF VISUAL STUDIO CODE
## Why do you need it?
> The IDE or a text editor provides you functionality of writing code in an efficient manner.
- There are two things that you can install to work with Java programming language. One is the IDE i.e Integerated Development Environment and other is a text edit... |
abbd5692-bcfa-4de3-b31a-0991d9a24403 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-21 07:21:20", "repo_name": "napoleon02/licai-temp", "sub_path": "/src/main/java/com/yongda/licai/thirdparty/member/request/DcmmLoginRequest.java", "file_name": "DcmmLoginRequest.java", "file_ext": "java", "fil... | https://github.com/napoleon02/licai-temp | 273 | FILENAME: DcmmLoginRequest.java | 0.225417 | package com.yongda.licai.thirdparty.member.request;
import com.yongda.licai.thirdparty.member.BaseRequest;
import com.yongda.licai.thirdparty.member.response.LoginResponse;
import java.util.HashMap;
import java.util.Map;
/**
* 免密登录请求
* 作者:徐承恩
* 邮箱:771247770@qq.com
* 日期:2018/2/27-下午2:23
*/
public class DcmmLogin... |
24a5fedb-a869-4300-8985-562e247d6f70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-05T22:11:08", "repo_name": "Belchy/Belchy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 22, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/Belchy/Belchy | 280 | FILENAME: README.md | 0.23092 | ### Hi there, we are Belchy.
We are a team of U.S. engineers and analysts specialized in blockchain technology and business analytics with wide experience on crypto market.
## Services we provide:
- ⛏ Free Smart Contract security checks.
- 🛠 Full Smart Contract security audits.
### Connect with us:
[<img align="l... |
875f0aec-e864-4e2b-8818-e42b1f1254e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-19 02:57:03", "repo_name": "MayaMahesh/MyProject", "sub_path": "/LList/src/com/prac/ListNode.java", "file_name": "ListNode.java", "file_ext": "java", "file_size_in_byte": 1041, "line_count": 52, "lang": "en", ... | https://github.com/MayaMahesh/MyProject | 221 | FILENAME: ListNode.java | 0.229535 | /*
* 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.prac;
/**
*
* @author j1016767
*/
public class ListNode {
Object data;
ListNode next;
... |
f19a2ad0-225f-4cbe-accb-a405722065c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-11 08:18:37", "repo_name": "cesarebek/todo-app-springboot", "sub_path": "/src/main/java/com/cezarybek/todoApp/controller/RoleController.java", "file_name": "RoleController.java", "file_ext": "java", "file_size... | https://github.com/cesarebek/todo-app-springboot | 196 | FILENAME: RoleController.java | 0.252384 | package com.cezarybek.todoApp.controller;
import com.cezarybek.todoApp.model.Role;
import com.cezarybek.todoApp.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.List;
i... |
a894bc0a-ca3d-4ba5-9c4d-d51ea5cfd7fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-08T17:01:54", "repo_name": "brenthompson2/MIDI", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1209, "line_count": 43, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/brenthompson2/MIDI | 280 | FILENAME: README.md | 0.264358 | Andrew Ellis and Brendan Thompson Git Repo
MIDI Fall 2016 Transylvania University
**** GIT Instructions ****
To pull from repo:
git fetch
get pull
To push to repo:
git add <files>
git commit -m "<commit message>"
git fetch
git pull
<manual merge if necessary>
if merge, then re do add and commit
git push
*... |
c88be54b-3226-4c6d-8cdc-a5da438c3a81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 01:58:58", "repo_name": "renrenzi/MultithreadedDownloader", "sub_path": "/code/src/com/jj/util/LogUtils.java", "file_name": "LogUtils.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count": 45, ... | https://github.com/renrenzi/MultithreadedDownloader | 266 | FILENAME: LogUtils.java | 0.287768 | package com.jj.util;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
/**
* 日志工具类
* @author 张俊杰
* @date 2021/10/5 - {TIME}
*/
public class LogUtils {
/**
* 输出 INFO 级别信息
* @param message
* @param args
*/
public static void info(String message,Object... args){
... |
25828857-d879-4313-b411-cc4cef080a3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-11 08:51:53", "repo_name": "dinamio/hillel-javaee", "sub_path": "/lab7/barmin/src/main/java/controller/RegisterController.java", "file_name": "RegisterController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/dinamio/hillel-javaee | 191 | FILENAME: RegisterController.java | 0.271252 | package controller;
import database.dao.UserDao;
import database.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
imp... |
097ca085-f790-4430-81a7-ab4a7052200f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-02 00:06:08", "repo_name": "sola-sky/LinkToLove", "sub_path": "/app/src/main/java/com/sola_sky/zyt/linktolove/features/Login/LoginPresenterImpl.java", "file_name": "LoginPresenterImpl.java", "file_ext": "java"... | https://github.com/sola-sky/LinkToLove | 228 | FILENAME: LoginPresenterImpl.java | 0.272025 | package com.sola_sky.zyt.linktolove.features.Login;
import com.sola_sky.zyt.linktolove.core.executor.BaseExecutor;
import com.sola_sky.zyt.linktolove.core.interator.AbstractInteractor;
import com.sola_sky.zyt.linktolove.core.repository.DataRepository;
/**
* Created by Li on 2016/2/23.
*/
public class LoginPresenter... |
9f817701-9906-4c0a-b342-2e7a1fad0712 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 15:01:39", "repo_name": "CiscoDevNet/connect-sdk-java", "sub_path": "/src/main/java/com/imiconnect/connect/core/type/PhoneNumber.java", "file_name": "PhoneNumber.java", "file_ext": "java", "file_size_in_byt... | https://github.com/CiscoDevNet/connect-sdk-java | 298 | FILENAME: PhoneNumber.java | 0.286968 | package com.imiconnect.connect.core.type;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.regex.Pattern;
import static com.imiconnect.connect.core.util.Preconditions.validArgument;
import static java.util.Objects.requireNonNull;
/**
* Phone number that requires the value to be in E.164 fo... |
e150cfd6-63da-486b-9507-15e20a84eeed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-17 14:52:51", "repo_name": "BuntsFidleyBits/Lostshard-ARCHIVE", "sub_path": "/2.0 (2016-2017)/CommandManager/src/main/java/com/lostshard/CommandManager/Providers/OfflinePlayerProvider.java", "file_name": "Offl... | https://github.com/BuntsFidleyBits/Lostshard-ARCHIVE | 247 | FILENAME: OfflinePlayerProvider.java | 0.258326 | package com.lostshard.CommandManager.Providers;
import java.lang.annotation.Annotation;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import com.google.common.collect.ImmutableList;
import com.lostshard.Lostshard.Main.Lostshard;
import com.sk89q.in... |
b50358a3-2092-4000-b68b-02137aca13e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-19 11:13:57", "repo_name": "zhangqian0710/FDZC-University-Graduationdesign", "sub_path": "/src/main/java/com/fdzc/gd/familyhotel/service/MemberServiceImpl.java", "file_name": "MemberServiceImpl.java", "file_ex... | https://github.com/zhangqian0710/FDZC-University-Graduationdesign | 303 | FILENAME: MemberServiceImpl.java | 0.261331 | package com.fdzc.gd.familyhotel.service;
import com.fdzc.gd.familyhotel.dao.MembDao;
import com.fdzc.gd.familyhotel.domain.Member;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author Miracle_Q
* time:2018/11/28 17:28
*/... |
dec80083-ceb3-4114-aae3-a7540b7fdc0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-11-12T22:35:14", "repo_name": "jkutner/sbt-rubygems", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1206, "line_count": 51, "lang": "en", "doc_type": "text", "blob... | https://github.com/jkutner/sbt-rubygems | 369 | FILENAME: README.md | 0.291787 | Rubygems sbt Plugin
==================
This is an sbt plugin for adding [Rubygems](http://rubygems.org/) to your project as dependencies.
## Using
Add this to your `project/plugins.sbt`
```scala
resolvers += Resolver.url("bintray-sbt-plugin-releases", url("http://dl.bintray.com/codefinger/sbt-plugins/"))(Resolver.i... |
93561fa5-92bd-4be4-8b92-0df7bcd6481a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 02:58:53", "repo_name": "inhye-world/invest_together", "sub_path": "/src/main/java/bit/it/into/dto/AccountSalaryDTO.java", "file_name": "AccountSalaryDTO.java", "file_ext": "java", "file_size_in_byte": 1044... | https://github.com/inhye-world/invest_together | 219 | FILENAME: AccountSalaryDTO.java | 0.286968 | package bit.it.into.dto;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class AccountSalaryDTO {
Ac... |
df46f4b3-0f51-4279-b1e9-38313e5ee6f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 17:52:08", "repo_name": "sebavr/bootcamp", "sub_path": "/8.JavaSpring/SpringSecurity/Waterbnb/src/main/java/com/codingdojo/auth/services/ReviewService.java", "file_name": "ReviewService.java", "file_ext": "... | https://github.com/sebavr/bootcamp | 213 | FILENAME: ReviewService.java | 0.286968 | package com.codingdojo.auth.services;
import java.util.List;
import java.util.Optional;
import org.springframework.stereotype.Service;
import com.codingdojo.auth.models.Review;
import com.codingdojo.auth.repositories.ReviewRepository;
@Service
public class ReviewService {
private final ReviewRepository reviewR... |
7fa32460-9e7a-4ae7-8632-141eeb55d5cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-29 02:17:48", "repo_name": "Khriis-K/PokemonAdventure", "sub_path": "/Battle.java", "file_name": "Battle.java", "file_ext": "java", "file_size_in_byte": 1204, "line_count": 49, "lang": "en", "doc_type": "code"... | https://github.com/Khriis-K/PokemonAdventure | 244 | FILENAME: Battle.java | 0.220007 | /**
* Write a description of class Battles here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Battle
{
private static Pokemon playerPokemon;
private static Pokemon opponentPokemon;
private int playerPokemonHealth;
private int opponentPokemonHealth;
privat... |
1eac4822-c08f-410b-8fc4-118c506252a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-10 01:06:03", "repo_name": "1002199087/DemoProject", "sub_path": "/app/src/main/java/com/temporary/model/OfficeImpl.java", "file_name": "OfficeImpl.java", "file_ext": "java", "file_size_in_byte": 1111, "line_c... | https://github.com/1002199087/DemoProject | 224 | FILENAME: OfficeImpl.java | 0.23092 | package com.temporary.model;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.v4.content.FileProvider;
import android.util.Log;
import java.io.File;
/**
* Created by Dee on 2018/6/20.
*/
public class OfficeImpl implements IOfficeModel {
@Override
... |
8b9c676b-68cd-4936-86bc-927996b47367 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-24 02:51:31", "repo_name": "dxzmpk/hongpeng", "sub_path": "/app/src/main/java/com/dxzmpk/hongpeng/ui/actdetail/ActDetailActivity.java", "file_name": "ActDetailActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/dxzmpk/hongpeng | 222 | FILENAME: ActDetailActivity.java | 0.245085 | package com.dxzmpk.hongpeng.ui.actdetail;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.dxzmpk.hongpeng.databinding.ActDetailActivityBinding;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;
public class A... |
8f18fdec-1c23-4b11-be08-eef4814a39db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-19 10:23:02", "repo_name": "dcy000/MLxiao", "sub_path": "/app/src/main/java/com/example/han/referralproject/settting/activity/CameraActivity.java", "file_name": "CameraActivity.java", "file_ext": "java", "file... | https://github.com/dcy000/MLxiao | 218 | FILENAME: CameraActivity.java | 0.208179 | package com.example.han.referralproject.settting.activity;
import android.hardware.Camera;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.SurfaceView;
import android.view.View;
import com.example.han.referralproject.R;
import com.example.han.referralproject.activity.BaseActi... |
07bd08f2-1826-4b69-8cb3-94c92e02184c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-18 10:23:43", "repo_name": "jevay/SpringBootJPA", "sub_path": "/src/test/java/com/starter/demo/SpringBootJPAApplicationTests.java", "file_name": "SpringBootJPAApplicationTests.java", "file_ext": "java", "file_... | https://github.com/jevay/SpringBootJPA | 216 | FILENAME: SpringBootJPAApplicationTests.java | 0.26588 | package com.starter.demo;
import java.util.List;
import javax.sql.DataSource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;
import org.springframework.boot.test.context.Sp... |
8476e09b-ef28-4ea6-8118-4bfc0b637d14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-15 12:51:35", "repo_name": "2553512241/teacherEndProject", "sub_path": "/src/main/java/com/zhidi/manage/service/impl/DepartmentServiceImpl.java", "file_name": "DepartmentServiceImpl.java", "file_ext": "java", ... | https://github.com/2553512241/teacherEndProject | 215 | FILENAME: DepartmentServiceImpl.java | 0.250913 | package com.zhidi.manage.service.impl;
import com.zhidi.manage.dao.DepartmentDao;
import com.zhidi.manage.entity.Department;
import com.zhidi.manage.service.DepartmentService;
import com.zhidi.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
/**
* C... |
86493059-7d39-437e-902d-a608f3a678db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-19 19:08:49", "repo_name": "akulinski/transactionswebapp", "sub_path": "/src/main/java/com/mrowka/transactionswebapp/core/interceptors/LoginInterceptor.java", "file_name": "LoginInterceptor.java", "file_ext": ... | https://github.com/akulinski/transactionswebapp | 235 | FILENAME: LoginInterceptor.java | 0.283781 | package com.mrowka.transactionswebapp.core.interceptors;
import com.mrowka.transactionswebapp.hibernate.controllers.ControllerFactory;
import com.mrowka.transactionswebapp.hibernate.controllers.UserController;
import com.mrowka.transactionswebapp.util.ControllerTypes;
import com.mrowka.transactionswebapp.util.Urls;
im... |
e948b22d-6a66-4361-b555-202c2c498e4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-08 07:07:17", "repo_name": "mazhiman/EMall", "sub_path": "/app/src/main/java/com/example/em/activity/WelcomeActivity.java", "file_name": "WelcomeActivity.java", "file_ext": "java", "file_size_in_byte": 1228, "... | https://github.com/mazhiman/EMall | 209 | FILENAME: WelcomeActivity.java | 0.236516 | package com.example.em.activity;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import com.example.em.R;
public class WelcomeActivity extends Activity {
//若WelcomeActivity继承AppCompatActivity设置全屏,会崩溃
Ha... |
5f5864c1-5374-4f54-b0db-929105a9e4df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-01 22:28:47", "repo_name": "AppLoidx/serialization-dos-example", "sub_path": "/src/dos/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 37, "lang": "en", "... | https://github.com/AppLoidx/serialization-dos-example | 197 | FILENAME: Server.java | 0.278257 | package dos;
import java.io.*;
/**
* @author Arthur Kupriyanov
*/
public class Server {
public static void main(String[] args) {
System.out.println("Start test");
try {
Object mySimpleObject = deserialize(serialize(Thing.getSimpleObject()));
System.out.println("Yeah, we... |
0c154fa8-0f13-4d78-bcb3-978bd3a02d5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-16T12:32:30", "repo_name": "Bldjef/ga-opt-switcher", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1045, "line_count": 20, "lang": "en", "doc_type": "text", "bl... | https://github.com/Bldjef/ga-opt-switcher | 245 | FILENAME: README.md | 0.243642 | # ga-opt-switcher
This is a simple Javascript code so visitors can opt-in or out for Google Analytics cookies.
Installation:
1. First copy <code>ga-opt-switcher.js</code> to your folder where you want to implement the script.
2. Change the value's for your Google Analytics property (<code>gaProperty</code>) and desire... |
d1e8e83e-f535-4d45-b81a-162fa654e22d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-03-16T14:45:15", "repo_name": "terminal42/contao-facebook-albums", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1088, "line_count": 16, "lang": "en", "doc_type": ... | https://github.com/terminal42/contao-facebook-albums | 236 | FILENAME: README.md | 0.188324 | # contao-facebook-albums
An Extension to Contao providing facebook albums as content elements
## Obtaining a user access token
The extension should automatically get the necessary tokens to read the data unless your Facebook app is *not* reviewed and published.
In other cases you may want to obtain the access token m... |
db615a1b-2d0a-4f22-875b-dabeff892774 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-11 16:26:17", "repo_name": "czarSevilla/evaluaciones", "sub_path": "/src/main/java/czar/evaluaciones/services/impl/ComboServiceImpl.java", "file_name": "ComboServiceImpl.java", "file_ext": "java", "file_size_i... | https://github.com/czarSevilla/evaluaciones | 213 | FILENAME: ComboServiceImpl.java | 0.279042 | package czar.evaluaciones.services.impl;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import czar.evaluaciones.dtos.ComboDto;
import czar.evaluaciones.repositories.CategoryRepository;
import cz... |
46630913-a94d-40fb-94c6-e979abc77a86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-18 01:51:29", "repo_name": "yujingu828/goldgu", "sub_path": "/goldgu-esb/src/test/java/com/goldgu/esb/controller/TransmitControllerTest.java", "file_name": "TransmitControllerTest.java", "file_ext": "java", "f... | https://github.com/yujingu828/goldgu | 265 | FILENAME: TransmitControllerTest.java | 0.278257 | package com.goldgu.esb.controller;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.web.c... |
306c3937-ca20-4ad1-b783-995f6f120299 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-30 23:02:47", "repo_name": "piotrek19/pet-clinik", "sub_path": "/pet-clinic-web/src/main/java/net/dzioba/petclinic/controllers/VetController.java", "file_name": "VetController.java", "file_ext": "java", "file_... | https://github.com/piotrek19/pet-clinik | 200 | FILENAME: VetController.java | 0.255344 | package net.dzioba.petclinic.controllers;
import net.dzioba.petclinic.model.Vet;
import net.dzioba.petclinic.services.VetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.ann... |
6c6ec50f-56ba-4a93-b5a6-856e85049a5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-15 22:26:44", "repo_name": "fengkuangdejava/FrameWorkTool", "sub_path": "/src/main/java/com/onescorpion/nova/handler/DefaultExceptionHandler.java", "file_name": "DefaultExceptionHandler.java", "file_ext": "jav... | https://github.com/fengkuangdejava/FrameWorkTool | 217 | FILENAME: DefaultExceptionHandler.java | 0.272025 | package com.onescorpion.nova.handler;
import com.onescorpion.nova.exception.DefaultException;
import com.onescorpion.nova.result.Result;
import com.onescorpion.nova.result.ResultFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.ControllerAdvice;
import or... |
2499b6ae-9c7f-462f-8a2b-e0d7d988808e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-09 02:02:07", "repo_name": "Zengcher/spring-boot-district", "sub_path": "/src/main/java/com/springboot/district/exception/CommonBusinessException.java", "file_name": "CommonBusinessException.java", "file_ext":... | https://github.com/Zengcher/spring-boot-district | 250 | FILENAME: CommonBusinessException.java | 0.221351 | package com.springboot.district.exception;
import org.springframework.http.HttpStatus;
/**
* Created by Cher on 2019-08-27
*/
public class CommonBusinessException extends RuntimeException {
/**
* 异常状态码
*/
private int code = HttpStatus.BAD_REQUEST.value();
/**
* 异常描述信息
*/
privat... |
75e92a47-06eb-4f66-af60-582364d477d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-01 09:20:09", "repo_name": "yaozhj/authentication", "sub_path": "/src/main/java/com/yzj/authentication/utils/FormatUtil.java", "file_name": "FormatUtil.java", "file_ext": "java", "file_size_in_byte": 978, "lin... | https://github.com/yaozhj/authentication | 190 | FILENAME: FormatUtil.java | 0.245085 | package com.yzj.authentication.utils;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class FormatUtil {
public static String getString(Object object){
if(object == null){
return null;
}
return object.toString();
}
public static Long getLong(Object object){
... |
a241cc59-3aa1-4de2-8a94-e24865a0e6ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 09:41:52", "repo_name": "TechTrainingCenter/digital-labs", "sub_path": "/digital-labs/src/main/java/com/skcc/dtlabs/controller/EmailController.java", "file_name": "EmailController.java", "file_ext": "java",... | https://github.com/TechTrainingCenter/digital-labs | 249 | FILENAME: EmailController.java | 0.27513 | package com.skcc.dtlabs.controller;
import java.io.IOException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
impor... |
53a5c802-af2e-485d-8020-b270b069a1df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 07:57:54", "repo_name": "vladi-elena/catalog-service", "sub_path": "/src/main/java/com/task/product/catalog/service/category/CategoryConverter.java", "file_name": "CategoryConverter.java", "file_ext": "java... | https://github.com/vladi-elena/catalog-service | 185 | FILENAME: CategoryConverter.java | 0.259826 | package com.task.product.catalog.service.category;
import com.task.product.catalog.representation.category.CategoryDto;
import com.task.product.catalog.service.Converter;
import com.task.product.catalog.domain.model.category.Category;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Co... |
6c9e3104-0d0e-4bd4-9ade-7e15658b2e23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-25 16:36:32", "repo_name": "qiudaozhang/spring-security-learn-custom-usermanage-jpa", "sub_path": "/src/main/java/com/qiudaozhang/springsecuritylearn/entity/wrap/UserDetailsWrap.java", "file_name": "UserDetail... | https://github.com/qiudaozhang/spring-security-learn-custom-usermanage-jpa | 244 | FILENAME: UserDetailsWrap.java | 0.216012 | package com.qiudaozhang.springsecuritylearn.entity.wrap;
import com.qiudaozhang.springsecuritylearn.entity.UserAuth;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import ja... |
99db5ca9-a15c-4e89-8e83-f5af8cb44667 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-29 07:43:12", "repo_name": "vaadin/eclipse-plugin", "sub_path": "/com.vaadin.integration.eclipse/src/com/vaadin/integration/eclipse/consoles/CompileWidgetsetConsole.java", "file_name": "CompileWidgetsetConsole... | https://github.com/vaadin/eclipse-plugin | 189 | FILENAME: CompileWidgetsetConsole.java | 0.226784 | package com.vaadin.integration.eclipse.consoles;
import org.eclipse.ui.console.ConsolePlugin;
import org.eclipse.ui.console.IConsole;
import org.eclipse.ui.console.IConsoleManager;
public class CompileWidgetsetConsole extends AbstractVaadinConsole {
private static final String WS_COMPILATION_CONSOLE_NAME = "Vaad... |
99ffa1f9-e1fb-4dff-ae73-7b7a2f710c7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-05 03:22:05", "repo_name": "mindy-rainbow/CreditCheckApp", "sub_path": "/app/src/main/java/com/zxcioc/creditcheck/util/ResourceHelper.java", "file_name": "ResourceHelper.java", "file_ext": "java", "file_size_i... | https://github.com/mindy-rainbow/CreditCheckApp | 242 | FILENAME: ResourceHelper.java | 0.268941 | package com.zxcioc.creditcheck.util;
import android.support.annotation.ArrayRes;
import android.support.annotation.ColorRes;
import android.support.annotation.DimenRes;
import android.support.annotation.StringRes;
import com.zxcioc.creditcheck.AppProfile;
/**
* Created by zw on 16/10/28.
*/
public class ResourceH... |
710e6ee2-74a0-4cbf-add1-5a2ebf127e75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-23 01:44:12", "repo_name": "ntp488/StoryBoarder", "sub_path": "/src/main/storyboarder/gui/categoryCreation/CategoryCreationWindow.java", "file_name": "CategoryCreationWindow.java", "file_ext": "java", "file_si... | https://github.com/ntp488/StoryBoarder | 231 | FILENAME: CategoryCreationWindow.java | 0.286968 | package storyboarder.gui.categoryCreation;
import storyboarder.gui.components.SimpleMenuBar;
import javax.swing.*;
import java.awt.*;
public class CategoryCreationWindow extends JFrame {
private SimpleMenuBar simpleMenuBar;
private GridBagLayout layout;
private GridBagConstraints constraints;
public... |
e4a36ca5-ef60-4a51-9a0e-75e889b0ed00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-27 11:49:07", "repo_name": "HRankit/Notifications24Hours", "sub_path": "/app/src/main/java/com/hrankit/notifications24hours/NotificationReceiver.java", "file_name": "NotificationReceiver.java", "file_ext": "ja... | https://github.com/HRankit/Notifications24Hours | 200 | FILENAME: NotificationReceiver.java | 0.240775 | package com.hrankit.notifications24hours;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import static com.hrankit.notifications24hours.MainActivity.NOTIFICATION_DATA;
import static com.hrankit.notifications24hours.MainActivity.NOTIFICATION_TITLE;
public clas... |
32cad409-5a13-47cf-8278-bc97a82e9036 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-12 15:09:16", "repo_name": "majkic99/BasketballStatsRestAPI", "sub_path": "/sanjaorganizator/src/main/java/petdananajavi/sanjaorganizator/model/databasemodels/Event.java", "file_name": "Event.java", "file_ext"... | https://github.com/majkic99/BasketballStatsRestAPI | 225 | FILENAME: Event.java | 0.228156 | package petdananajavi.sanjaorganizator.model.databasemodels;
import petdananajavi.sanjaorganizator.model.enums.EventType;
public class Event {
private long game;
private EventType type;
private Payload payload;
public Event() {
}
public Event(long game, EventType eventType, Payload payload) ... |
b38c4d3a-0c32-430e-90c1-802f94c3a5ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-22 16:16:41", "repo_name": "Lapiman/Totemic", "sub_path": "/src/totemic_commons/pokefenn/totem/TotemArrayList.java", "file_name": "TotemArrayList.java", "file_ext": "java", "file_size_in_byte": 1019, "line_cou... | https://github.com/Lapiman/Totemic | 193 | FILENAME: TotemArrayList.java | 0.273574 | package totemic_commons.pokefenn.totem;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.item.ItemStack;
public class TotemArrayList {
public static List<TotemArrayList> recipes = new ArrayList<TotemArrayList>();
public static void addTotems(){
}
private final ItemStac... |
ef45454b-2c78-4d15-8438-4456eb343973 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2011-07-25T04:33:18", "repo_name": "btakita/bang-bang", "sub_path": "/README.markdown", "file_name": "README.markdown", "file_ext": "markdown", "file_size_in_byte": 1145, "line_count": 43, "lang": "en", "doc_type"... | https://github.com/btakita/bang-bang | 262 | FILENAME: README.markdown | 0.289372 | # BangBang
BangBang is a lightweight Sinatra web VC stack. Currently, it doesn't have strong opinions, to allow flexibility to discover good idioms.
## Basic Layout
BangBang has a basic app structure, similar to Rails.
Right now, no conventions are "forced" on you. This is done to allow experimentation and keep thin... |
09d6356b-cf43-43ce-8a7d-dc8953fa440d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-15 15:02:53", "repo_name": "iremcibal/Hrms", "sub_path": "/src/main/java/com/example/hrms/api/CompanyController.java", "file_name": "CompanyController.java", "file_ext": "java", "file_size_in_byte": 1207, "lin... | https://github.com/iremcibal/Hrms | 218 | FILENAME: CompanyController.java | 0.289372 | package com.example.hrms.api;
import com.example.hrms.business.abstracts.CompanyService;
import com.example.hrms.core.results.DataResult;
import com.example.hrms.core.results.Result;
import com.example.hrms.entities.concretes.Company;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
ca3804c7-e338-4acf-bd85-9af3b404716f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-04 15:00:50", "repo_name": "pedroida/prova2-web4", "sub_path": "/src/main/java/br/edu/utfpr/hello/structures/EntityApplication.java", "file_name": "EntityApplication.java", "file_ext": "java", "file_size_in_by... | https://github.com/pedroida/prova2-web4 | 232 | FILENAME: EntityApplication.java | 0.274351 | package br.edu.utfpr.hello.structures;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Objects;
@MappedSuperclass
@Getter
@Setter
public abstract class EntityApplication implements Serializable {
@Id
@GeneratedV... |
4819c9e7-d010-4418-a2da-e9bc694406fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-14 09:03:16", "repo_name": "Sandeep0311/BootcampAssignment", "sub_path": "/src/Secondprogram.java", "file_name": "Secondprogram.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count": 39, "lang": "... | https://github.com/Sandeep0311/BootcampAssignment | 241 | FILENAME: Secondprogram.java | 0.278257 | //Write a program to find the number of occurrences of the duplicate words in a string and print them ?
import java.util.Arrays;
public class Secondprogram {
int i,j;
int count=1;
int flag=0;
private void occurance(){
String s= "sandeep said sandeep is my name name only name";
String... |
88d754d8-ac14-4a7e-b5bb-ac995383b490 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-01 04:19:02", "repo_name": "muyuyuyuyu/security", "sub_path": "/Woodfish Security/woodfish-security-parent/woodfish-security-core/src/main/java/com/woodfish/security/authentication/properties/OAuth2ClientPrope... | https://github.com/muyuyuyuyu/security | 245 | FILENAME: OAuth2ClientProperties.java | 0.228156 | package com.woodfish.security.authentication.properties;
import lombok.Getter;
import lombok.Setter;
/**
* @PackageName: com.woodfish.security.authentication.properties
* @Description:
* @author: woodfish
* @date: 2019/3/30
*/
@Setter
@Getter
public class OAuth2ClientProperties {
/**
* private f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.