blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
1cad00d8d53adfb7e1f3520278ea107f26b7a3a9 | Java | pckv/kompisapp | /app/src/main/java/me/pckv/kompisapp/data/model/Listing.java | UTF-8 | 560 | 2.203125 | 2 | [] | no_license | package me.pckv.kompisapp.data.model;
import androidx.annotation.Nullable;
import lombok.Data;
@Data
public class Listing {
private long id;
private String title;
private boolean driver;
private boolean active;
private Location location;
private User owner;
@Nullable
private Assigne... | true |
a0c59d613d2ac8fc174067066c4d4436841f614f | Java | limaluizpaulo/java- | /TesteFile/src/teste/Frame.java | UTF-8 | 1,496 | 2.9375 | 3 | [] | no_license | package teste;
import java.awt.Color;
import java.awt.FlowLayout;
import java.io.File;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
public class Frame extends JFrame {
private static final long serialVe... | true |
734d4c7d0ccc123159a5973db3c527bca4e4220a | Java | chlgpgus57/DHM | /src/main/java/com/f/dhm/location/LocationVO.java | UTF-8 | 1,776 | 2.046875 | 2 | [] | no_license | package com.f.dhm.location;
import java.util.Arrays;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader.Array;
import lombok.Data;
@Data
@Entity
@Table(name = "location")
publ... | true |
9733a93df733d1663770b01a1dffff2646c389d4 | Java | Matenwp/know | /knows-search/src/main/java/cn/tedu/knows/search/vo/QuestionVo.java | UTF-8 | 2,661 | 2.0625 | 2 | [] | no_license | package cn.tedu.knows.search.vo;
import cn.tedu.knows.commons.model.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import org.springframework.data.elasticsearch.annotat... | true |
21156862480ef4e2b935a3e0bf350453fb024651 | Java | Asel06/online_store | /store/src/main/java/com/store/Controller/RoleController.java | UTF-8 | 885 | 2.125 | 2 | [] | no_license | package com.store.controller;
import com.store.entity.Role;
import com.store.repository.RoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.we... | true |
c73d5dc0cb3640b2153881136f62b3f895c062ee | Java | phwd/quest-tracker | /hollywood/com.oculus.browser-base/sources/defpackage/TO.java | UTF-8 | 461 | 1.585938 | 2 | [] | no_license | package defpackage;
import android.view.View;
/* renamed from: TO reason: default package */
/* compiled from: chromium-OculusBrowser.apk-stable-281887347 */
public class TO implements TW {
/* renamed from: a reason: collision with root package name */
public final /* synthetic */ XO f8955a;
public TO... | true |
656784811fb245c4e1916924e2466bd7ce174fe8 | Java | U-22/MezamashiNippon | /app/src/main/java/com/example/kimata/mezamashinippon/MNAsyncImageLoader.java | UTF-8 | 580 | 2.09375 | 2 | [] | no_license | package com.example.kimata.mezamashinippon;
import android.graphics.Bitmap;
import android.support.v4.content.AsyncTaskLoader;
import android.content.Context;
/**
* Created by umino on 16/10/17.
*/
public class MNAsyncImageLoader extends AsyncTaskLoader<Boolean>{
private MNHtml m_html;
public MNAsyncImage... | true |
145f37fc6fcce034300c4ce5ad046c1a66695e27 | Java | ws410/dataStructure | /src/ch07/SY_DebugCounTimes.java | UTF-8 | 979 | 3 | 3 | [] | no_license | package ch07;
public class SY_DebugCounTimes {
static int maxSize = 10;
public static void main(String[] args) throws Exception {
int[] d = new int[maxSize]; //顺序表空间大小
for (int i = 0; i < maxSize; i++) {
d[i] = (int) (Math.random() * 100);
}
SY_counTimes sc;
sc=createLis... | true |
cdf9188a8dcefda7845385cdd935fee363d614fc | Java | zoli90/SegregationModel | /src/segregationmodel/Tests.java | UTF-8 | 19,373 | 2.96875 | 3 | [] | no_license | /*
* 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 segregationmodel;
import java.util.ArrayList;
import java.util.Random;
import java.util.Arrays;
/**
*
* @author zoli
*/
pub... | true |
1f982b94e6c07e00622d02614301c44c1324a290 | Java | MeiYien96/Dabao_App_A161209 | /app/src/main/java/com/cmy/dabao_app_a161209/User.java | UTF-8 | 1,351 | 2.25 | 2 | [] | no_license | package com.cmy.dabao_app_a161209;
public class User {
String username, matric, email, phone,identity, profilePic;
public User(){
}
public User(String username, String matric, String email, String phone, String identity, String profilePic) {
this.username = username;
this.matric = m... | true |
109b15aca1d036482f340afd2a7f569e15a732e2 | Java | BuiNgocHai/Java_Hit | /Buoi_2/bai_5.java | UTF-8 | 651 | 2.890625 | 3 | [] | no_license | import java.util.Scanner;
public class bai_5{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n;
System.out.print("Moi nhap: ");
n = sc.nextInt();
boolean[] check = new boolean[n+1];
for(int i=2;i<n;i++){
check[i]=true;
... | true |
5f5b691367674ce2471f92890b3c550dc08ffb32 | Java | bridenbrad/inmemdb | /tirion-db-sql-ast/src/main/java/com/tirion/db/sql/parser/transformer/SelectTransformer.java | UTF-8 | 10,396 | 2.0625 | 2 | [] | no_license | /**
* Copyright © 2013/2014, Veljko Zivkovic
* All rights reserved.
*
* No portion of this file may be reproduced in any form, or by any means, without the prior written
* consent of the author.
*/
package com.tirion.db.sql.parser.transformer;
import org.antlr.runtime.tree.CommonTree;
import com.tirion.common.U... | true |
268762e40fdf48de0d1005417b9665b3da4504b2 | Java | TanmayBhaise/repo1 | /Employee/src/main/java/com/proj2/CRunner.java | UTF-8 | 1,019 | 2.46875 | 2 | [] | no_license | package com.proj2;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import com.proj2.emp.Employee;
import com.proj2.serv.EmpService;
@Component
public class CRunner im... | true |
1b3b2e5e8f6479108ea0162ca35d425ff76c5a3e | Java | xusoku/PlayShareElement | /app/src/main/java/com/test/transitiondemo/PlayStateSaver.java | UTF-8 | 1,191 | 2.21875 | 2 | [] | no_license | package com.test.transitiondemo;
import android.os.Bundle;
import android.view.View;
import com.google.android.exoplayer2.Player;
import com.google.android.exoplayer2.ui.PlayerView;
import com.hw.ycshareelement.transition.ViewStateSaver;
/**
* Created by xushengfu on 2019/4/24.
*/
public class PlayStateSaver exte... | true |
028bd06544a6ce01d5b9a4f03e79b57942b3a55d | Java | cha63506/CompSecurity | /youtube-source/src/com/google/android/apps/youtube/app/adapter/at.java | UTF-8 | 2,360 | 1.507813 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.google.android.apps.youtube.app.adapter;
import android.content.Context;
import android.content.res.Resources;
import android.graphi... | true |
3ec8c650af1409e58befcd4c4c26ae7b554b7505 | Java | SaberAlpha/kaola | /project/app/src/main/java/qianfeng/com/kaola1613/other/widget/BlurFrameLayout.java | UTF-8 | 1,606 | 2.28125 | 2 | [] | no_license | package qianfeng.com.kaola1613.other.widget;
/**
* Created by liujianping on 2016/10/20.
*/
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import qianfeng.com.kaola1613.other.utils.BlurCalculate;
public class BlurFrameLayout e... | true |
2c2e75dba9445a3600abfc416d0a110e8f855969 | Java | freestrings/shreder-core | /src/test/resources/com/freestrings/shreder/type/Parent.java | UTF-8 | 204 | 2.078125 | 2 | [] | no_license | package com.freestrings.shreder.type;
import javax.validation.constraints.NotNull;
public class Parent {
@NotNull
private int parentValue;
public int getParentValue() {
return parentValue;
}
}
| true |
2eb72be4f2180ef18c7b11ae7582b66680332331 | Java | Nullrable/soul | /shenyu-plugin/shenyu-plugin-apache-dubbo/src/test/java/org/apache/shenyu/plugin/apache/dubbo/cache/DubboProviderVersionCacheTest.java | UTF-8 | 3,363 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | true |
8006d4aeafc68f07efe54d9f1dc61788096b10c2 | Java | avers182/saucemanager | /src/main/java/ru/sav/saucemanager/domain/SecGroup.java | UTF-8 | 672 | 2.15625 | 2 | [] | no_license | package ru.sav.saucemanager.domain;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import java.util.List;
@Entity
@Table(name = "o_bs_secgroup")
public class SecGroup {
@Id
private Long id;
@OneToMany(mappedBy = "secGroup"... | true |
69e711e7cd2fcba749a8e12f062b5df925d8f45b | Java | yooreka/chisong1 | /0501/src/ByteFlileInou.java | UTF-8 | 1,404 | 3.40625 | 3 | [] | no_license | import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
public class ByteFlileInou {
public static void main(String[] args) {
//파일에 기록할 스트림 변수
FileOutputStream fos = null;
try {
//예외가 발생할 가능성이 있는 코드
//파일에 바이트 단위로 기록할 스트림 생성
fos = new FileOutputStream("./t... | true |
9b7a2b40dfc4b641914723a0bae4d802d75bf745 | Java | joker1618/java-libs | /java-repo/src/test/java/junitTests/school/ClassRoom.java | UTF-8 | 517 | 2.234375 | 2 | [] | no_license | package junitTests.school;
import xxx.joker.libs.repo.design.SimpleRepoEntity;
import xxx.joker.libs.repo.design.annotation.marker.EntityPK;
public class ClassRoom extends SimpleRepoEntity {
@EntityPK
private String roomLabel;
public ClassRoom() {
}
public ClassRoom(String roomLabel) {
... | true |
bd6a4e4badcfd252e0f69cb13bc0ee6219ab27f3 | Java | nendraharyo/presensimahasiswa-sourcecode | /com/google/gson/Gson$6.java | UTF-8 | 1,007 | 1.898438 | 2 | [] | no_license | package com.google.gson;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.util.concurrent.atomic.AtomicLong;
final class Gson$6
extends TypeAdapter
{
Gson$6(TypeAdapter paramTypeAdapter) {}
public AtomicLong read(JsonReader paramJsonReader)
{
Number localN... | true |
fcf4bf63c546973dc52059021b74e152b60cba9f | Java | hayashi-h-s/omikuji_app_android | /app/src/main/java/com/haya/omikuji/app/ResultActivity.java | UTF-8 | 1,208 | 2.359375 | 2 | [] | no_license | package com.haya.omikuji.app;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import java.util.Random;
public class ResultActivity extends AppCompatActivity {
@Override
protected void... | true |
4fd56f8684b742695b65f01ac85d84d4b431dc00 | Java | nova-dev-team/nova | /src/worker/nova/worker/handler/StopVnodeHandler.java | UTF-8 | 3,123 | 2.15625 | 2 | [] | no_license | package nova.worker.handler;
import java.util.UUID;
import org.apache.log4j.Logger;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.MessageEvent;
import org.libvirt.Domain;
import org.libvirt.LibvirtException;
import nova.common.service.SimpleAddress;
import nova.common.service.S... | true |
34c3fcbc0b8c6633aaab849b6b9862cb00c4ab13 | Java | madsdyd/klimavenligkogebog | /src/main/java/dydensborg/dk/Recipe.java | UTF-8 | 14,198 | 2.75 | 3 | [] | no_license | package dydensborg.dk;
import javax.json.Json;
import javax.json.JsonArray;
import javax.json.JsonObject;
import javax.json.JsonReader;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.math.MathContext;
import java.nio.file.Files;
import java.nio.file.Path;
import java.t... | true |
63363ce93f4a599999c99eec95f14125a0591733 | Java | zhaoml529/erp | /src/com/erp/service/ProjectService.java | UTF-8 | 674 | 1.6875 | 2 | [] | no_license | package com.erp.service;
import java.util.List;
import java.util.Map;
import com.erp.model.Customer;
import com.erp.model.Project;
import com.erp.model.ProjectFollow;
import com.erp.util.PageUtil;
public interface ProjectService
{
boolean delProject(Integer projectId );
List<Project> findProjectLi... | true |
29679bf26c614a078a9f07fe9dda284f59826242 | Java | NrgXnat/container-service | /src/main/java/org/nrg/containers/model/xnat/Session.java | UTF-8 | 9,772 | 1.632813 | 2 | [
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | package org.nrg.containers.model.xnat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Function;
import com.google.co... | true |
fbe0fac62d2ff3a43d5847075c3d638224c6db1e | Java | liuqingyang123ab/scmis | /src/com/xx/sm/framework/model/dao/impl/IMisUserDAO.java | UTF-8 | 362 | 1.796875 | 2 | [] | no_license | package com.xx.sm.framework.model.dao.impl;
import java.util.List;
import com.xx.sm.framework.model.entity.MisUser;
public interface IMisUserDAO {
public boolean add(MisUser misUser);
public boolean remove(String id);
public boolean modify(MisUser misUser);
public MisUser findByName(String name);
public List<Mi... | true |
f97209d725fd8e77f13444a7225a37e4023bc579 | Java | lvrenzhao/casecomment | /src/main/java/cn/gov/ahcourt/casecomment/mapper/BdCheckLevelsMapper.java | UTF-8 | 451 | 1.734375 | 2 | [] | no_license | package cn.gov.ahcourt.casecomment.mapper;
import cn.gov.ahcourt.casecomment.bean.BdCheckLevels;
import java.util.List;
public interface BdCheckLevelsMapper {
int deleteByPrimaryKey(String levelid);
int insert(BdCheckLevels record);
BdCheckLevels selectByPrimaryKey(String levelid);
List<BdCheckLeve... | true |
56106d84fac0db73d6a56353a3041b9116e2c12c | Java | MohsenShahriari/REST-OCD-Services | /LAS2peer Sample Service/src/main/i5/las2peer/services/servicePackage/algorithms/Algorithm.java | UTF-8 | 560 | 2.21875 | 2 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | package i5.las2peer.services.servicePackage.algorithms;
import java.util.Locale;
/**
* An enum representation for overlapping community detection algorithms.
* @author Sebastian
*
*/
public enum Algorithm {
UNDEFINED,
RANDOM_WALK_LABEL_PROPAGATION_ALGORITHM,
SPEAKER_LISTENER_LABEL_PROPAGATION_ALGOR... | true |
cc5770e30dab48064ae396ee0c261121ba4b7c62 | Java | daegis/spring-boot-view | /spring-autowire/src/main/java/cn/aegisa/springbootview/condition/OnSystemPropertiesCondition.java | UTF-8 | 858 | 2.203125 | 2 | [] | no_license | package cn.aegisa.springbootview.condition;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;
import java.util.Map;
/**
* Using IntelliJ IDEa.
*
* @author XIaNYINGDa at 9/28/2018 3:41... | true |
993d5f67697724c3acc0b8ace556bab7150f6152 | Java | Sanske/springboot-demo | /src/main/java/com/sanske/springdemo/common/exception/BioSanRuntimeException.java | UTF-8 | 244 | 2.078125 | 2 | [] | no_license | package com.sanske.springdemo.common.exception;
/**
* @author sanske
* @date 2018/8/2 下午3:33
**/
public class BioSanRuntimeException extends RuntimeException{
public BioSanRuntimeException(String message) {
super(message);
}
}
| true |
55b1496266081c129e8e84f8ca8d7f3e303628ee | Java | nomskiii/LoanCalculator | /app/src/main/java/com/example/loancalculator/MainActivity.java | UTF-8 | 2,348 | 2.3125 | 2 | [] | no_license | package com.example.loancalculator;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewDebug;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
public class MainActivity ... | true |
d1a733fc306a929391594d17c1fff1c21bf81a9f | Java | AaditPatel13/GamblingGames | /Gambing/src/BlackJackGame/blackJackGUI.java | UTF-8 | 17,179 | 3.015625 | 3 | [] | no_license | package BlackJackGame;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.SpringLayout;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
import java.awt.Color;
import javax.swing.JTextArea;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
... | true |
5a6ac15e5559889b30ebfcd9afdcf52bd3bce02b | Java | volka-java/java-test | /src/main/java/ru/itvitality/sbrf/cu/jfs/example2/datasourceCalculator/DataProvider.java | UTF-8 | 165 | 2.109375 | 2 | [] | no_license | package ru.itvitality.sbrf.cu.jfs.example2.datasourceCalculator;
public interface DataProvider {
int getDataInteger();
double getDataDouble( int seed );
}
| true |
eaa9c6ec71bdb6d353faf1da08126141d6f0a295 | Java | Year4000/Modules | /bungee/ramtweaks/src/main/java/net/year4000/ramtweaks/RamTweaks.java | UTF-8 | 797 | 2.109375 | 2 | [] | no_license | /*
* Copyright 2015 Year4000. All Rights Reserved.
*/
package net.year4000.ramtweaks;
import lombok.Getter;
import net.md_5.bungee.api.scheduler.ScheduledTask;
import net.year4000.ducktape.bungee.module.BungeeModule;
import net.year4000.ducktape.module.ModuleInfo;
@ModuleInfo(
name = "RamTweaks",
version =... | true |
feba8b57be33d3b6c814cb229c37e320930294c5 | Java | cs13b1043/SWE-Project | /JFLAP 8.0/src/model/algorithms/testinput/parse/lr/rules/ReduceRule.java | UTF-8 | 631 | 2.34375 | 2 | [] | no_license | package model.algorithms.testinput.parse.lr.rules;
import model.algorithms.testinput.parse.lr.SLR1Production;
public class ReduceRule extends SLR1rule {
private int myProductionIndex;
public ReduceRule(int productionIndex) {
myProductionIndex = productionIndex;
}
@Override
public String getDesc... | true |
258f98ee691d0a5338ec2f5c26c56fd7f0f06739 | Java | vstorm83/DVDStore | /DVDStoreDesktop/src/net/homeip/dvdstore/dialog/ActorDialog.java | UTF-8 | 23,185 | 2.046875 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ActorDialog.java
*
* Created on Mar 3, 2010, 3:06:44 PM
*/
package net.homeip.dvdstore.dialog;
// <editor-fold defaultstate="collapsed" desc="import">
import java.util.ArrayList;
import java.util.List;
import ... | true |
58d4f4972d24b5047b9497cdf92480965451795e | Java | Anystat/anycipeRest | /src/main/java/ru/anystat/anycipe/rest/controllers/ErrorsController.java | UTF-8 | 777 | 1.984375 | 2 | [] | no_license | package ru.anystat.anycipe.rest.controllers;
import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestC... | true |
6cf73bf213235f5f6351258cc00fc9420251de42 | Java | EstebanDalelR/tinderAnalysis | /apk/decompiled/com.tinder_2018-07-26_source_from_JADX/sources/com/snapchat/kit/sdk/core/security/C7925b.java | UTF-8 | 770 | 1.78125 | 2 | [] | no_license | package com.snapchat.kit.sdk.core.security;
import android.content.Context;
import dagger.internal.Factory;
import javax.inject.Provider;
/* renamed from: com.snapchat.kit.sdk.core.security.b */
public final class C7925b implements Factory<Fingerprint> {
/* renamed from: a */
private final Provider<Context> f... | true |
618fbae4054b3f47b7819f1d1b63a1c757f7c8df | Java | Siiruo-Wong/w-scheduler | /wscheduler-client/src/main/java/com/siiruo/wscheduler/client/bean/SingleExecutor.java | UTF-8 | 3,537 | 2.453125 | 2 | [] | no_license | package com.siiruo.wscheduler.client.bean;
import com.siiruo.wscheduler.core.bean.LifecycleExecutor;
import com.siiruo.wscheduler.core.bean.ExecuteParameter;
import com.siiruo.wscheduler.core.exception.WSchedulerExecutingException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
... | true |
6feabbe28e3dd235137ba96bf6773eda91cebf87 | Java | MyhreAndersen/Simula15Loom | /Simula15Loom/src/simulaTestBatch/simtst106$.java | UTF-8 | 1,564 | 1.882813 | 2 | [] | no_license | package simulaTestBatch;
// Simula-2.0 Compiled at Sun Jan 31 10:26:03 CET 2021
import simula.runtime.*;
@SuppressWarnings("unchecked")
public final class simtst106$ extends BASICIO$ {
boolean found_error=false;
final TXT$ fileName=(TXT$)(new TXT$("C:/GitHub/SimulaCompiler/Simula/src/testing/batch/files/data96"... | true |
acf48e382b8f1633dcf29b5163415e2313ec037d | Java | msankrish92/LeafTapsPageObjectModelCucumber | /ServiceNowCuc/src/main/java/org/servicenow/pages/ServiceNowLoginPage.java | UTF-8 | 886 | 2.21875 | 2 | [] | no_license | package org.servicenow.pages;
import org.servicenow.api.ServiceNowProjectSpecificMethods;
import org.testng.annotations.Test;
import cucumber.api.java.en.Given;
public class ServiceNowLoginPage extends ServiceNowProjectSpecificMethods {
@Given("User enters a username")
public ServiceNowLoginPage enterU... | true |
a2176ecc87cee490f3c23190e0a643f4fbb8b7b9 | Java | evencity/oddm | /oddm-application/src/main/java/com/apical/oddm/application/sale/SalePoListServiceImpl.java | UTF-8 | 657 | 1.90625 | 2 | [] | no_license | package com.apical.oddm.application.sale;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.apical.oddm.application.base.BaseServiceImpl;
import com.apical.oddm.core.dao.sale.SalePoListDaoI;
import com.apical.oddm.... | true |
802ad4715ca00c0bf2041c980819f4a21c314ed2 | Java | mytliulei/RED | /src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin.tests/src/org/robotframework/ide/eclipse/main/plugin/tableeditor/SuiteFileMarkersContainerMock.java | UTF-8 | 1,166 | 2 | 2 | [
"Apache-2.0"
] | permissive | package org.robotframework.ide.eclipse.main.plugin.tableeditor;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.robotframework.ide.eclipse.main.plugin.model.RobotFileInternalElement;
import org.robotframework.ide.eclipse.main.plugin.project.build.ca... | true |
729daafec2166a0f105f6ca79160cfbbd070d393 | Java | nagillavenkatesh/javaslang-jackson | /src/test/java/javaslang/jackson/datatype/map/MapTest.java | UTF-8 | 6,937 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package javaslang.jackson.datatype.map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXml... | true |
fed278c65b67937418f0286818d01a17c65a2224 | Java | PrabhakarGaddipati/Learn_RestAssuredAPI-API_TestingFramework | /src/test/java/com/learning/utilities/DataUtil.java | UTF-8 | 1,877 | 2.59375 | 3 | [] | no_license | package com.learning.utilities;
import java.lang.reflect.Method;
import java.util.Hashtable;
import org.testng.annotations.DataProvider;
import com.learning.setup.stripe.BaseTest_Stripe;
public class DataUtil {
public static ExcelReader excel = new ExcelReader(Constants.ExcelSheet);
/**
* (name = "dp", parall... | true |
86f078a7fac6edd32eea12c3dd7253e22b776acf | Java | BedoRachi/eclipse-workspace | /chapter07/src/chapter07_Q/Q4_ArrayList_DogTest.java | UHC | 692 | 3.25 | 3 | [] | no_license | package chapter07_Q;
import java.util.ArrayList;
public class Q4_ArrayList_DogTest {
public static void main(String[] args) {
ArrayList<Q4_Array_Dog> dog = new ArrayList<Q4_Array_Dog>();
dog.add(new Q4_Array_Dog("鱸", ""));
dog.add(new Q4_Array_Dog("Ȳ", ""));
dog.add(new Q4_Array_Dog("汸", ""));
dog.add(ne... | true |
77e06745e52b06a212d711b9fae51b661aae3789 | Java | Era-T/KNK20_21_Gr5 | /stage3admin.java | UTF-8 | 11,952 | 2.046875 | 2 | [] | no_license | package knk;
import java.sql.*;
import java.util.List;
import com.mysql.cj.xdevapi.Table;
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.control.Button;
im... | true |
36ef800147adb6a7f6a87ce1a60ce6e91606f5b3 | Java | vedask/exilant-java-dec16 | /JavaWorks/src/com/exilant/day6/ThreadSyncTest.java | UTF-8 | 1,352 | 3.859375 | 4 | [
"Apache-2.0"
] | permissive | package com.exilant.day6;
class Account{
int balance;
Account(int balance){
this.balance = balance;
}
public void withdraw(int amount){
if(amount < balance){
// we have amount and can we withdrawn
// for transaction to simulate will we sleep for 1 sec
try {
Thread.sleep(1000);
} catch (I... | true |
9076280e6d3a4e8b375cc89428c003584ed7cee4 | Java | xlui/DsAlgoDp | /Java/src/design_pattern/structural/decorator/RedShapeDecorator.java | UTF-8 | 431 | 3.25 | 3 | [
"MIT"
] | permissive | package design_pattern.structural.decorator;
import design_pattern.structural.decorator.shape.Shape;
public class RedShapeDecorator extends AbstractShapeDecorator {
public RedShapeDecorator(Shape decoratedShape) {
super(decoratedShape);
}
@Override
public void draw() {
super.draw();
setRedBorder(decoratedS... | true |
b59d3e2258181687aa104a0aed22718fccff87a5 | Java | vetkolisanket/ds_algo | /java/graphs/trees/leetcode/binary_tree_level_order_traversal.java | UTF-8 | 2,440 | 3.90625 | 4 | [] | no_license | /*
102. Binary Tree Level Order Traversal
Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level).
Example 1:
Input: root = [3,9,20,null,null,15,7]
Output: [[3],[9,20],[15,7]]
Example 2:
Input: root = [1]
Output: [[1]]
Example 3:
Input:... | true |
3b6126a9d3025e237e36aa93184fcdb95d61be5b | Java | lhj8770/Pokemon-HUFScampus.ver- | /Pocketmon/src/Pocketmon/Battle.java | UTF-8 | 12,237 | 2 | 2 | [] | no_license | package Pocketmon;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
import javax.swing.DebugGraphics;
public class Battle {
//Singleton pattern
private static Battle battleInstance;
public static i... | true |
d12ba05ff746eb8169ad929f6213f862435497e1 | Java | sofwerx/OSUS-R | /mil.dod.th.core/src/mil/dod/th/core/remote/messaging/MessageRouter.java | UTF-8 | 1,917 | 2.15625 | 2 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | //==============================================================================
// This software is part of the Open Standard for Unattended Sensors (OSUS)
// reference implementation (OSUS-R).
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to t... | true |
88c6601f1e03cf9968c4bd574fedba36c2538f70 | Java | rajeevkrishnanr/hey.there | /app/src/main/java/in/heythere/heythere/RegActivity.java | UTF-8 | 14,720 | 2.0625 | 2 | [] | no_license | package in.heythere.heythere;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.ProgressDialog;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
i... | true |
a4b1992bf18182b61a55391694de422f2db866de | Java | 176wer/song.ADSN | /src/test/TestFrame.java | UTF-8 | 1,515 | 2.921875 | 3 | [] | no_license | package test;
import java.awt.EventQueue;
import java.awt.FlowLayout;
import javax.swing.JFrame;
import java.awt.GridLayout;
import javax.swing.JScrollPane;
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JButton;
public class TestFrame {
private JFrame frame... | true |
ea8557278e97125a7a5fb08ebfa9b00bdde8a9b3 | Java | charan69/selenium_cucumber_bddframework | /src/test/java/utilities/WaitHelper.java | UTF-8 | 758 | 2.53125 | 3 | [] | no_license | package utilities;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class WaitHelper {
public WebDriver driver;
public WaitHelper(WebDriv... | true |
777ced15e29fa96304fb68afbbf9365ad69224ed | Java | ashwinyes/gatk | /src/main/java/org/broadinstitute/hellbender/tools/funcotator/Funcotator.java | UTF-8 | 19,380 | 2.09375 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | package org.broadinstitute.hellbender.tools.funcotator;
import htsjdk.samtools.SAMSequenceDictionary;
import htsjdk.variant.variantcontext.VariantContext;
import htsjdk.variant.vcf.VCFHeader;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.broadinstitute.barclay.argparser... | true |
78da86a635711276382116c7519f683cd24753c8 | Java | jhonnatanBezerra/sisHotel | /src/jhonnatan/hotel/model/Reserva.java | UTF-8 | 1,624 | 2.046875 | 2 | [] | no_license | /*
* 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 jhonnatan.hotel.model;
import java.sql.Date;
/**
*
* @author Jhonnatan
*/
public class Reserva {
private... | true |
6c30f8b65e1ff22e1309f7e4c6e6fda71f52e0e8 | Java | liangjinx/ssh_drools | /ssh_entity/src/main/java/zhinan/liang/entitys/FlowEvent.java | UTF-8 | 1,315 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package zhinan.liang.entitys;
import javax.persistence.*;
import java.io.Serializable;
import static javax.persistence.GenerationType.SEQUENCE;
/**
* Created by liang on 2016/6/7.
*/
@Entity
@Table
public class FlowEvent implements Serializable{
private static final long serialVersionUID = 9080268225625336475L... | true |
b9d4aa57116dbdeddc39ecace5c214a847c96300 | Java | martbogdan/shop | /src/main/java/com/smallshop/shop/dao/repository/UserRepository.java | UTF-8 | 480 | 2.015625 | 2 | [] | no_license | package com.smallshop.shop.dao.repository;
import com.smallshop.shop.dao.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
Opti... | true |
ba25d0df72dfd182d248c312fea0b53640c528da | Java | nauman-khattak/Zayed-University-Grading-System | /src/grading/system/Course.java | UTF-8 | 3,889 | 3.21875 | 3 | [] | no_license | package grading.system;
import java.text.DecimalFormat;
import java.util.ArrayList;
public class Course {
Student student;
ArrayList<Integer> credits;
ArrayList<String> grades;
String[] possibleGrades;
double[] pointsAgainstGrades;
int creditsCompleted;
double sgpa;
Deci... | true |
5d3b775281d88ed06e9cb26cbb6098e01b4deb6b | Java | gwon-bin/GB | /src/day16Test/문제해결연습.java | UHC | 1,386 | 3.515625 | 4 | [] | no_license | package day16Test;
import java.util.Random;
public class ذῬ {
public static Random r = new Random();
public static int[] myPoint = new int[3];
public static int[] myBonus = new int[3];
public static void main(String[] args) {
for (int i = 1; i < 4; i++) {
System.out.println(i + " ");
int... | true |
f09b9a7bc1f584a3a60d79b08ddd5180ed4bba7c | Java | MattBlissett/registry | /registry-ws-client/src/test/java/org/gbif/registry/util/IdentityUpdateValidationCheck.java | UTF-8 | 4,515 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package org.gbif.registry.util;
import org.gbif.api.model.common.paging.PagingRequest;
import org.gbif.api.model.common.paging.PagingResponse;
import org.gbif.api.model.registry.Contact;
import org.gbif.api.model.registry.Contactable;
import org.gbif.api.model.registry.NetworkEntity;
import org.gbif.api.service.regist... | true |
455c61295e8aea2c128378fdc8cd76b450584888 | Java | phoebemoon16/MoBook | /src/com/kzw/gym/entity/ShareReading.java | UTF-8 | 2,383 | 2.09375 | 2 | [] | no_license | package com.kzw.gym.entity;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.kzw.system.entity.Department;
import com.kzw.sy... | true |
b4922c14fc9e368c08e86a878971abcd6de99df9 | Java | coffeerr/bytemall | /bytemall-order/src/main/java/com/iat/bytemall/order/service/RefundInfoService.java | UTF-8 | 441 | 1.585938 | 2 | [] | no_license | package com.iat.bytemall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iat.common.utils.PageUtils;
import com.iat.bytemall.order.entity.RefundInfoEntity;
import java.util.Map;
/**
* 退款信息
*
* @author desmand
* @email chris1998@qq.com
* @date 2021-03-13 11:42:37
*/
public ... | true |
3e4d06471737f79b580f590c3138eec8cbd31765 | Java | rajvimalc/adobe-roman-numerals | /src/main/java/com/adobe/assessment/romannumerals/framework/security/WebFilterConfiguration.java | UTF-8 | 2,361 | 2.359375 | 2 | [] | no_license | package com.adobe.assessment.romannumerals.framework.security;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.web.ServerProperties;
import org.springframework.context.annotation.Bean;
import org.springframew... | true |
5e603f6a5b5a9f0c88cbb1d612434ffed3fe6fb8 | Java | EEIT107Team003/iCook | /icook/src/main/java/recipe/controller/RecipeImageController.java | UTF-8 | 10,416 | 2.15625 | 2 | [] | no_license | package recipe.controller;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
... | true |
65945a4399237f47c265a5d1e81b616192fbf43d | Java | manjumjs/Stockmarket_test | /StockMarketStockExchangeService/src/main/java/com/spring/manju/repository/IpoRepository.java | UTF-8 | 373 | 1.789063 | 2 | [] | no_license | package com.spring.manju.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.spring.manju.bean.IpoDetail;
@Repository
public interface IpoRepository extends JpaRepository<IpoDetail, Long>{
public List<IpoDet... | true |
6a7314126832eb9b12a5cf408401d5b1934e4d26 | Java | virtushawk/SimpleWebProject | /src/test/java/edu/epam/swp/model/service/impl/CreatureServiceImplTest.java | UTF-8 | 16,649 | 2.34375 | 2 | [] | no_license | package edu.epam.swp.model.service.impl;
import edu.epam.swp.exception.DaoException;
import edu.epam.swp.exception.ServiceException;
import edu.epam.swp.model.dao.CreatureDao;
import edu.epam.swp.model.entity.Creature;
import edu.epam.swp.model.service.CreatureService;
import org.mockito.InjectMocks;
import org.mockit... | true |
de9e8b2e155989cb8dd91018fe1347b5efe16907 | Java | dayagz/petstore | /src/main/java/com/mypetstore/PetStore.java | UTF-8 | 2,698 | 3.125 | 3 | [] | no_license | package com.mypetstore;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class PetStore {
public static void main(String[] args) {
try {
Map<... | true |
ccbbe611f1fa835a89c60e7a2a1d1ce468e7f271 | Java | Meemaw/Insight | /backend/beacon/beacon-api/src/main/java/com/meemaw/rec/beacon/resource/v1/BeaconResource.java | UTF-8 | 947 | 2.046875 | 2 | [] | no_license | package com.meemaw.rec.beacon.resource.v1;
import com.meemaw.auth.organization.model.validation.OrganizationId;
import java.util.UUID;
import java.util.concurrent.CompletionStage;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws... | true |
fddf0aec2b67ea9ab5e848d5663e349ae1882fdc | Java | NovaViper/DoggyTalents | /src-mc-1.11.2/doggytalents/item/ItemDT.java | UTF-8 | 251 | 1.8125 | 2 | [] | no_license | package doggytalents.item;
import doggytalents.api.DoggyTalentsAPI;
import net.minecraft.item.Item;
/**
* @author ProPercivalalb
**/
public class ItemDT extends Item {
public ItemDT() {
this.setCreativeTab(DoggyTalentsAPI.CREATIVE_TAB);
}
}
| true |
1cbbdc1a4a256171e22d65d3a91d0bb42031f367 | Java | zhiqinghuang/zest-java | /core/runtime/src/test/java/org/qi4j/test/composite/CleanStackTraceTest.java | UTF-8 | 4,989 | 2.0625 | 2 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"W3C"
] | permissive | /*
* Copyright (c) 2008, Rickard Öberg. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable l... | true |
c691bfdb45dd648609378920f45b68ca8ebeae0a | Java | joseeg23/libreria | /src/main/java/web/egg/libreria/repositorios/EditorialRepositorio.java | UTF-8 | 888 | 1.914063 | 2 | [] | no_license | /*
* 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 web.egg.libreria.repositorios;
import java.util.ArrayList;
import org.springframework.data.jpa.repository.JpaRepository;
impo... | true |
c3e9eccf70dd9369a23349b1f083ea806379b22a | Java | irwindiho/SS_crmeducativo_v2 | /app/src/main/java/com/consultoraestrategia/ss_crmeducativo/entities/RecursoDidacticoEvento.java | UTF-8 | 4,698 | 2.015625 | 2 | [] | no_license | package com.consultoraestrategia.ss_crmeducativo.entities;
import com.consultoraestrategia.ss_crmeducativo.lib.AppDatabase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.db... | true |
578f8e76d90bf670debdd1ac2e1bebd3e23d415b | Java | karthik-git-user/SAP-Stage | /core-customize/hybris/bin/modules/sap-customerlookup/sapcpicustomerexchangemdm/src/de/hybris/platform/sap/sapcpicustomerexchangemdm/inbound/SapMDMCustomerImportService.java | UTF-8 | 616 | 1.898438 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package de.hybris.platform.sap.sapcpicustomerexchangemdm.inbound;
import de.hybris.platform.core.model.user.CustomerModel;
/**
* SapMDMCustomerImportService Handles Customer In Bound Object Processing
*/
public interface SapMDMCu... | true |
91e7da2afa732cb8a18cbe42c41dc09a088df04f | Java | google/j2objc | /jre_emul/android/platform/libcore/ojluni/src/main/java/java/util/HashMap.java | UTF-8 | 101,073 | 2.203125 | 2 | [
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-taligent-jdk",
"LicenseRef-scancode-proprietary-license",
"Classpath-exception-2.0",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain... | permissive | /*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | true |
6e828a85273bfe71d8dbeec98a1dcf05c065bddf | Java | BrunoSouzaDev/talentos-techbank | /src/br/com/techbank/semana_2/aula_12/heranca/CarroUmPontoZero.java | UTF-8 | 204 | 2.09375 | 2 | [] | no_license | package br.com.techbank.semana_2.aula_12.heranca;
public class CarroUmPontoZero extends Carro{
CarroUmPontoZero(){
this.motor = "Motor 1.0";
//this.rodas = 1; > INACESSÍVEL
}
}
| true |
a7974a63f05398191dafaac7da8d4b4d4637a296 | Java | abdibouh1/MY-FIRST-PROJET-IN-JAVA-RADIALOGIE- | /src/DAO/DAO_ajouter_patient.java | UTF-8 | 1,540 | 2.375 | 2 | [] | no_license | package DAO;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import application.Adminstrateur_model;
import application.Patient;
public class DAO_ajouter_patient {
public static Connection conn = Connexion.getConnexion();
public s... | true |
080e008de343a9f9d4655418d4d5f55de2d21b3d | Java | trongnsiwa/carrental-javaweb | /SE140037_J3LP0015/src/java/trongns/type/TypeDAO.java | UTF-8 | 3,172 | 2.40625 | 2 | [] | no_license | /*
* 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 trongns.type;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.Resu... | true |
5ab0687c133d9915cfc68ba7d6bf45e8e20e3fb0 | Java | fredpaw/struts_tuts | /test_servlet/WebContent/WEB-INF/src/org/zjh/servlet/UserManager.java | UTF-8 | 493 | 2.390625 | 2 | [] | no_license | package org.zjh.servlet;
import java.util.*;
public class UserManager {
public void add(String name){
System.out.println("add " + name);
}
public void del(String name){
System.out.println("del " + name);
}
public void modify(String name){
System.out.println("modify " + name);
}
public List query(St... | true |
8f7ce5d6ee38cd04e3953bc82dcc537d7ef8a354 | Java | antonchirikalov/HW20 | /src/main/java/com/toennies/ci1429/app/ui/components/AbstractDevicePanel.java | UTF-8 | 1,050 | 2.953125 | 3 | [] | no_license | package com.toennies.ci1429.app.ui.components;
import com.toennies.ci1429.app.model.ADevice;
import com.toennies.ci1429.app.model.IDevice;
import com.vaadin.ui.FormLayout;
import com.vaadin.ui.Label;
/**
* Abstract Panel that displays {@link ADevice} objects. See subclasses
*/
@SuppressWarnings("serial")
public abs... | true |
9e2e009c9d1af2097ecb9549fdc6305b38687e5a | Java | eXsio/querydsl-entityql-examples | /java-gradle-spring-data-jdbc-dynamic/src/main/java/pl/exsio/querydsl/entityql/examples/spring_data_jdbc/example/dynamic/QJDBCAdvSelectDynamicExample.java | UTF-8 | 3,979 | 2.40625 | 2 | [
"MIT"
] | permissive | package pl.exsio.querydsl.entityql.examples.spring_data_jdbc.example.dynamic;
import com.querydsl.core.types.Projections;
import com.querydsl.sql.SQLExpressions;
import com.querydsl.sql.SQLQueryFactory;
import org.springframework.stereotype.Service;
import pl.exsio.querydsl.entityql.EntityQL;
import pl.exsio.querydsl.... | true |
d29b35627134074f8a15e46fd5fed0e2162d9925 | Java | shovalsolo/SeleniumJavaFullFramework | /FullSeleniumFramework/src/test/java/screenShotPrintScreen/ScreenshotOnFailure.java | UTF-8 | 1,435 | 2.671875 | 3 | [] | no_license | /*
* This class is taking a screen shot on failure using class ScreenshotManager.cuptureScreenshot
*/
package screenShotPrintScreen;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.... | true |
acf6d5bad63a9b789d5742f8408b31a1fada4a9a | Java | cqqyd2014/finance | /src/main/java/test/MessagePrinter.java | UTF-8 | 462 | 1.914063 | 2 | [] | no_license | package test;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import gov.cqaudit.finance.dao.BillMDAOPostgresql;
@Component
@Scope("prototype")
public class MessageP... | true |
14095e00dc453fe41fcc7fb43ba4d8ef7b98c3d9 | Java | canhtommy99dev/MongCaiFood | /app/src/main/java/com/alexmedia/mongcaifood/Activity/Camerakit.java | UTF-8 | 7,242 | 1.835938 | 2 | [] | no_license | package com.alexmedia.mongcaifood.Activity;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.Manifest;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import andr... | true |
9e43c890bdbf56f6a31e722cdee436138e6d5de8 | Java | willislin0222/hairdressing | /src/com/offer/model/OfferDAO.java | UTF-8 | 1,474 | 2.46875 | 2 | [] | no_license | package com.offer.model;
import java.sql.Date;
import java.util.List;
import org.springframework.orm.hibernate5.HibernateTemplate;
public class OfferDAO implements OfferDAO_interface{
private static final String GET_ALL_STMT="from OfferVO order by off_no";
private static final String GET_OFFER_BY_TODAY="from Off... | true |
4e03d02c7ab9ed6f171af24488ab6a5047c3c41a | Java | anthonycanino1/entbench-pi | /batik/classes/org/apache/batik/gvt/font/UnresolvedFontFamily.java | UTF-8 | 15,581 | 1.648438 | 2 | [
"Apache-2.0"
] | permissive | package org.apache.batik.gvt.font;
public class UnresolvedFontFamily implements org.apache.batik.gvt.font.GVTFontFamily {
protected org.apache.batik.gvt.font.GVTFontFace fontFace;
public UnresolvedFontFamily(org.apache.batik.gvt.font.GVTFontFace fontFace) {
super(
);
this.
fo... | true |
a47f3a4fc1c97fd462fae25660f777182ec25d5c | Java | Ruja159/Demo | /backend/donateblood/src/main/java/com/javaspring/donateblood/repository/BloodTypeRepository.java | UTF-8 | 304 | 1.851563 | 2 | [] | no_license | package com.javaspring.donateblood.repository;
import com.javaspring.donateblood.model.BloodType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface BloodTypeRepository extends JpaRepository<BloodType, Long> {
}
| true |
3228fa023d9663e32183f1713108b85e85d4c177 | Java | makelifeoutofdream/mobileapps | /wc/src/main/java/com/dream/wc/serviceimpl/AddressServiceImpl.java | UTF-8 | 819 | 2.046875 | 2 | [] | no_license | package com.dream.wc.serviceimpl;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dream.wc.converter.AddressConverter;
import com.dream.wc.dto.AddressDto;
import com.dream.wc.repos... | true |
e2292238e608734563743706f7d505b3836ac7d7 | Java | vasanthvelusamy/DoeziPOC | /src/com/doezi/pages/GroupPagePost.java | UTF-8 | 625 | 2.15625 | 2 | [] | no_license | package com.doezi.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class GroupPagePost
{
WebDriver driver;
By newGroup = By.xpath("//div[@id='my_groups']/div/div[1]/a");
By newPost = By.id("advanced_activity_body");
By duzzButton = By.id("compose-submit");
public GroupPageP... | true |
6ef4377c0125f5274aa4a95ad3c81e3d9edc8239 | Java | 1658544535/java | /src/com/tzmb2c/web/action/BrandDicAction.java | UTF-8 | 6,687 | 1.960938 | 2 | [] | no_license | package com.tzmb2c.web.action;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import maowu.framework.utils.web.SuperAction;
import net.sf.json.JSONArray;
import org.apache.struts2.ServletActionContext;
import org.springframework.beans.factory.annotation.Autowir... | true |
86b8cab58ca96a99b42465337a7f8dd77a79c33c | Java | vinayak57/mobile-saas-medical-info-system | /MedicalInformationSystem/src/mis/resource/SocialHistoryResource.java | UTF-8 | 1,199 | 2.3125 | 2 | [] | no_license | package mis.resource;
import javax.ws.rs.Consumes;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import mis.dao.SocialHistoryDao;
import mis.dao.SurgicalHistoryDao;
import mis.model.SocialHistory;
import mis.model.SurgicalHistory;
@... | true |
f39a20d2ae908f3a14a20c5b7db5587deffb1a9f | Java | gywnd6209/LAONIDE | /.svn/pristine/d5/d53d728d0b169345d98061a7ca5e1449eff235e3.svn-base | UTF-8 | 1,140 | 1.578125 | 2 | [] | no_license | package kr.or.ddit.qaboard.service;
import java.util.List;
import java.util.Map;
import org.springframework.web.multipart.MultipartFile;
import kr.or.ddit.vo.QaboardVO;
public interface IQaboardService {
public QaboardVO qaboardInfo(Map<String, String> params) throws Exception;
public List<QaboardVO> qaboardLis... | true |
d348b8dd6686ebc11b061b1247615acffdc174d7 | Java | baechuDeveloper/Coding-Test-Practice | /coding_test_subject_1/Dynamic_Programming_1/p8__LIS_false_problem.java | UHC | 3,659 | 3.625 | 4 | [] | no_license | package Dynamic_Programming_1;
/**
* ʿ LIS ڿ ݴ LIS
* Ȥ
* ʿ LIS ڿ ݴ LIS
* 2 쿡 κ ´ٴ .
* ġ LIS ݴ LIS ؼ ̸ ϴ° ´ ǥ̾.
*
* ϴµ ־ LB ſ ϰ Ҽ ְԵȴ.
*
*/
import java.util.*;
import java.io.*;
// 11054 - κ
public class p8__LIS_false_problem {
public static void main(Str... | true |
42d8aa7aa518d9a4bf81df790d697e4e42ffe661 | Java | LiuwqGit/spring-boot-eureka | /messageContentEntity/src/main/java/com/yyit/marketOperation/message/entities/MessageRecordVO.java | UTF-8 | 2,009 | 2.109375 | 2 | [] | no_license | package com.yyit.marketOperation.message.entities;
import java.util.Date;
public class MessageRecordVO {
private String id; // ObjectId,可以作为记录id
private String meetingId;//会议ID
private String msgContent;// 消息内容
private int msgType;// 消息类型
private Date sendTime;// 消息发送时间
private String senderName;//发送消息的人员姓名
p... | true |
993ab49588c8d09abe31d987439a23bcab493a61 | Java | mkp1104/localEclipseWorkspaceJava | /object_part5/src/com/lara/Test.java | UTF-8 | 304 | 2.578125 | 3 | [
"MIT"
] | permissive | package com.lara;
class T
{
}
public class Test
{
public static void main(String[] args)
{
T t1=new T();
String s1="12";
String s2="12";
String s3="abc";
String s4="t1.getClass()";
System.out.println(s1);
System.out.println(s2);
System.out.println(s3);
System.out.println(s4);
}
}
| true |
7d6377885ad336604ad7fe0bd36512d79246488f | Java | masterzz/springcloud-learn | /springcloud_sell/product/product-server/src/test/java/com/zhubr/product/service/ProductServiceTest.java | UTF-8 | 1,102 | 1.921875 | 2 | [] | no_license | package com.zhubr.product.service;
import com.zhubr.product.dto.CartDTO;
import com.zhubr.product.ProductApplicationTests;
import com.zhubr.product.dataobject.ProductInfo;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotyp... | true |
0562a82a6817f90032af8726d73b989dcf7a4eeb | Java | rucha-shah/demoproject | /src/main/java/com/training/demoproject/dto/DepartmentDTO.java | UTF-8 | 1,098 | 2.328125 | 2 | [] | no_license | package com.training.demoproject.dto;
public class DepartmentDTO {
private int departmentId;
private String name;
private String departmentCode;
private int parentDepartment;
private int organizationId;
public int getDepartmentId() {
return departmentId;
}
public void setDepar... | true |