text stringlengths 7 1.01M |
|---|
package ru.stqa.pft.mantis.model;
/**
* Created by razgonyaev on 01.02.2017.
*/
public class Issue {
private int id;
private String summary;
private String description;
private Project project;
public int getId() {
return id;
}
public Issue withId(int id) {
this.id = id;
return this;
}... |
// Template Source: BaseEntityCollectionRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------... |
package com.lingju.assistant.view;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageButton;
import android.widget.TextView;
import com.lingju.assistant.R;
import com.lingju.model.BaiduAddress;
/**
* Created by Administrator on 2015/7/14... |
/*#######################################################
*
* Maintained by Gregor Santner, 2018-
* https://gsantner.net/
*
* License of this file: Apache 2.0 (Commercial upon request)
* https://www.apache.org/licenses/LICENSE-2.0
*
#########################################################*/
package ne... |
/*
* Copyright (C) 2015 Shimoda
* Copyright (C) 2010-2011 Robbie Matthews <rjmatthews62@gmail.com>
* Copyright (C) 2009 Google Inc.
*
* 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
*
... |
/* *************************************************
* Copyright 2020
*
*
* *************************************************/
package com.assignment.calc.simple.model;
public class SimpleParserConstants {
public static final String LET = "let";
public static final String ADD = "add";
public static fi... |
/*
* 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 ... |
import org.aspectj.lang.ProceedingJoinPoint;
public class ProfileAdvice{
public Object profile(ProceedingJoinPoint pjp) throws Throwable {
// TODO
// Take a reading of the current time
// TODO
// Call the target method
// TODO
// Take a reading of the current time
// TODO
// Dis... |
package com.prestoncinema.app;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.ArrayAdapter;
import android.widget.ListV... |
package com.sharksharding.test.service;
import com.sharksharding.test.entity.OrderEntity;
/**
* <p></p>
* <pre>
* author XueQi
* date 2018/8/13
* email job.xueqi@outlook.com
* </pre>
*/
public interface OrderService {
/**
* 场景:保存订单,不使用事务注解
* 期望:默认走主库,使用 dbIndex 指定的分库保存数据,异常不... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*
* Copyright 2015 - 2017 Atlarge Research Team,
* operating at Technische Universiteit Delft
* and Vrije Universiteit Amsterdam, the Netherlands.
*
* 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... |
package com.chenenyu.router.app;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import androidx.appcompa... |
/**
* 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... |
package net.ME1312.SubServers.Velocity.Network.Packet;
import net.ME1312.Galaxi.Library.Map.ObjectMap;
import net.ME1312.SubData.Client.Protocol.PacketObjectIn;
import net.ME1312.SubData.Client.Protocol.PacketObjectOut;
import net.ME1312.SubData.Client.SubDataSender;
import net.ME1312.SubServers.Velocity.ExProxy;
impo... |
package example;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JPanel;
import org.jivesoftware.spark.preference.Preference;
public class ExamplePreference implements Preference{
@Override
public String getTitle() {
return "Example";
}
@Overr... |
/*
* Copyright ConsenSys AG.
*
* 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 law or agreed to in writing... |
/*
* 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 n... |
/**
* Copyright 2007-2016, Kaazing Corporation. 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 require... |
/*
* Copyright (c) NanoDefine project. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for full license
* information.
*/
package eu.nanodefine.etool.controller.controllers.method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.... |
package com.huaweicloud.sdk.meeting.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Consumer;
import java.util.Objec... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* SDProductMatchingActivateInputModelProductMatchingServiceCon... |
package org.folio.rest.impl.integrationsuite;
import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.get;
import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
import static com.github.tomakehurst.wiremock.client.WireMock.... |
package parser.decorators.expressions;
import java.util.Set;
import de.be4.classicalb.core.parser.node.AFinSubsetExpression;
import de.be4.classicalb.core.parser.node.PExpression;
public class MyAFinSubsetExpression extends MyExpressionDecorator {
private AFinSubsetExpression finSubset;
public MyAFinSubsetExp... |
// RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the ... |
/*
Copyright 2018-2020 Accenture Technology
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 la... |
package org.dataone.service.types.v2;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import... |
/*******************************************************************************
* Copyright 2011, 2012 Chris Banes.
*
* 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.apac... |
package com.google.android.gms.internal;
import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import com.google.android.gms.C1114a.C1096c;
import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
import com.google.android.gms.common.ConnectionResult;
im... |
/**
* 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... |
/*
* Copyright 2021 Red Hat, Inc. and/or its affiliates.
*
* 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 a... |
/*
* Copyright 2017 Apereo
*
* 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 law or agreed to in wr... |
/*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.uta.cse.team7.newscenter.utils;
import android.animation.Animator;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.view.View;
import android.view.ViewAnimationUtils;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.v... |
package seedu.address.testutil;
import seedu.address.model.AddressBook;
import seedu.address.model.supplier.Supplier;
/**
* A utility class to help with building Addressbook objects.
* Example usage: <br>
* {@code AddressBook ab = new AddressBookBuilder().withSupplier("John", "Doe").build();}
*/
public class ... |
package com.csye6225.demo.auth;
/*
* Shuangshuang Xu 001239511 xu.shua@husky.neu.edu
* Mengfei Zhang 001115548 zhang.mengf@husky.neu.edu
* Mengfan Xu 001238833 xu.mengf@husky.neu.edu
* YeHui Rong 001957596 rong.ye@husky.neu.edu
*/
import com.csye6225.demo.repository.UserRepository;
import org... |
/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.techshard.batch.utils;
import org.slf4j.Logger;
import java.io.PrintWriter;
import java.io.StringWriter;
public class LoggerUtil {
public static void logError(Logger logger, Exception ex) {
StringWriter sw = new StringWriter();
ex.printStackTrace(new PrintWriter(sw));
logger... |
/*
* 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 n... |
package me.sniggle.security.common.encoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
/**
* Created by iulius on 26/06/15.
*
* The base class for all message hash encoders
*/
public abstract class BaseEncoder implements Encoder {
... |
package uk.gov.hmcts.reform.bulkscanprocessor.config;
import com.azure.messaging.servicebus.ServiceBusSenderClient;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframewor... |
package ar.com.javacuriosities.algorithms.heap.median;
import ar.com.javacuriosities.algorithms.heap.Heap;
import ar.com.javacuriosities.algorithms.heap.min.MinHeap;
import ar.com.javacuriosities.algorithms.heap.max.MaxHeap;
public class MedianHeap implements Heap {
private MinHeap minHeap;
private MaxHeap m... |
package pl.jakubchmura.snmp.mib;
import com.intellij.lang.ASTNode;
import com.intellij.lang.ParserDefinition;
import com.intellij.lang.PsiParser;
import com.intellij.lexer.Lexer;
import com.intellij.openapi.project.Project;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiElement;
import com.intell... |
// Copyright 2020 The Bazel Authors. 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 appl... |
/*
* 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")... |
package fr.syncrase.ecosyst.web.rest.errors;
public class LoginAlreadyUsedException extends BadRequestAlertException {
private static final long serialVersionUID = 1L;
public LoginAlreadyUsedException() {
super(ErrorConstants.LOGIN_ALREADY_USED_TYPE, "Login name already used!", "userManagement", "use... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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... |
package com.open.capacity.backup.tool;
import com.open.capacity.backup.entity.JobDatasource;
import java.sql.SQLException;
/**
* mysql数据库使用的查询工具
* @author Jk
*/
public class MysqlQueryTool extends BaseQueryTool {
/**
* 构造方法
*
* @param jobDatasource
*/
public MysqlQueryTool(JobDatasour... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/retail/v2alpha/import_config.proto
package com.google.cloud.retail.v2alpha;
/**
* <pre>
* The inline source for the input config for ImportUserEvents method.
* </pre>
*
* Protobuf type {@code google.cloud.retail.v2alpha.UserEvent... |
/*******************************************************************************
* 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... |
/*
* Copyright 2014-2016 CyberVision, Inc.
*
* 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 law o... |
package com.tastybug.timetracker.core.ui.util;
import com.tastybug.timetracker.core.model.TrackingRecord;
import org.joda.time.Duration;
import org.joda.time.format.PeriodFormatter;
import org.joda.time.format.PeriodFormatterBuilder;
public class DurationFormatter {
private String hoursAbbreviation,
... |
/*
* Copyright 2013 two forty four a.m. LLC <http://www.twofortyfouram.com>
* Copyright (C) 2015 Willi Ye
*
* 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.or... |
package org.dontexist.kb.service.epuboperations;
import com.adobe.epubcheck.api.EpubCheck;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import java.io.*;
@Service
public class EpubValidationServiceImpl implements EpubValidationService {
private static f... |
package org.basex.qt3ts.prod;
import org.basex.tests.bxapi.XQuery;
import org.basex.tests.qt3ts.*;
/**
* Tests for the AxisStep production.
*
* @author BaseX Team 2005-13, BSD License
* @author Leo Woerteler
*/
@SuppressWarnings("all")
public class ProdAxisStepUnabbr extends QT3TestSet {
/**
* Evaluate th... |
package io.egen.MovieFlix.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web... |
// Copyright 2008 Google Inc. 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... |
/*
* 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 ... |
/*
* Orika - simpler, better and faster Java bean mapping
*
* Copyright (C) 2011-2013 Orika authors
*
* 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/lic... |
package me.aaronchan.androidaidl;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package net.minecraft.world.pathfinder;
import net.minecraft.entity.Entity;
import net.minecraft.pathfinding.PathPoint;
import net.minecraft.util.IntHashMap;
import net.minecraft.util.MathHelper;
import net.minecraft.world.IBlockAccess;
public abstract class NodeProcessor {
protected IBlockAccess blockaccess;
... |
package no.nav.folketrygdloven.beregningsgrunnlag.fordel.andelsmessig;
import static no.nav.folketrygdloven.beregningsgrunnlag.util.DateUtil.TIDENES_ENDE;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Arrays;
import n... |
package hudson;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import jenkins.model.Jenkins;
import hudson.model.Descriptor;
import hudson.model... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.sql.expression.function;
import org.elasticse... |
package com.github.elibracha.brewrey.services;
import com.github.elibracha.brewrey.web.dtos.BeerDto;
import java.util.List;
import java.util.UUID;
public interface BeerService {
List<BeerDto> getBeers(int page, int size);
BeerDto getBeerById(UUID id);
UUID createBeer(BeerDto beer);
UUID updateBeer... |
// Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.alcatel_lucent.as.ims.diameter.charging;
import java.util.ArrayList;
import java.util.List;
import com.alcatel_lucent.as.ims.Version;
import com.alcatel_lucent.as.ims.diameter.charging.Charg... |
/*
* Copyright 2021 - 2022 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package com.mopub.common.util;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManag... |
package me.wallhacks.spark.systems.module.modules.movement;
import me.wallhacks.spark.event.player.PlayerUpdateEvent;
import me.wallhacks.spark.event.player.UpdateWalkingPlayerEvent;
import me.wallhacks.spark.systems.module.Module;
import me.wallhacks.spark.util.MC;
import net.minecraft.network.play.client.CPacketPlay... |
/*
* Copyright 2018 Mirko Sertic
*
* 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 law or agreed ... |
// Copyright (c) 2019-present, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.
//
import java.util. *;
import java.util.stream.*;
import java.lang.*;
import javafx.util.Pair;
public class REMOVE_MINIMUM_... |
package ru.kireev.nio;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChanne... |
/*
* Copyright (C) 2020 Carlos Cavero. All rights reserved.
*
* This file is part of the XCare Listener.
*
* This is free software: you can redistribute it and/or modify it under the
* terms of the Apache License, Version 2.0 (the License);
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* The software... |
package com.example.hy.wanandroid.widget.dialog;
import android.view.View;
import com.example.hy.wanandroid.R;
import com.example.hy.wanandroid.base.fragment.BaseDialogFragment;
import com.example.hy.wanandroid.utlis.RxBus;
import com.example.hy.wanandroid.event.LoginEvent;
/**
* 退出登陆弹框
* Created by 陈健宇 at 2018/12... |
package com.skyfoxdigital.xmodem;
import java.nio.ByteBuffer;
public class XmodemPacket {
private static final int POS_START_OF_HEADER = 0;
private static final int POS_PACKET_NUM = 1;
private static final int POS_PACKET_NUM_INVERSE = 2;
private static final int POS_START_OF_DATA = 3;
private stat... |
package io.github.xlair.collection;
import io.github.xlair.D4;
import io.github.xlair.Xlair;
/**
* D4 find overlap class. <br>
*
* @see AbstractFindOverlaps
*/
public class D4FindOverlaps extends AbstractFindOverlaps<D4> {
@Override
protected boolean isOverlap(D4 o1, D4 o2) {
return Xlair.isOver... |
/***********************************************************
* @Description :
* @author : 梁山广(Laing Shan Guang)
* @date : 2018/4/7 下午9:49
* @email : liangshanguang2@gmail.com
***********************************************************/
package chapter3com;
public class P186ThreadC extends Threa... |
package ru.job4j.list;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
public class SimpleQueueTest {
private ISimpleQueue<Integer> simpleQueue;
@Before
public void setUp() {
simpleQueue = new Queue... |
/**
Copyright (c) 2012-2014 Microsoft Corporation
Module Name:
ArrayExpr.java
Abstract:
Author:
@author Christoph Wintersteiger (cwinter) 2012-03-15
Notes:
**/
package com.microsoft.z3;
/**
* Array expressions
**/
public class ArrayExpr extends Expr
{
/**
* Constructor for ArrayExpr </summary>
... |
package com.jayfella.sdk.sdk.list.project;
import com.jayfella.sdk.config.RecentProjects;
import com.jayfella.sdk.controller.list.ProjectListItem;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.control.Control;
import javafx.scene.control.ListCell;
import java.io.File;
import java.io.I... |
package org.jetbrains.mps.samples.IfAndUnless.typesystem;
/*Generated by MPS */
import jetbrains.mps.lang.typesystem.runtime.AbstractInferenceRule_Runtime;
import jetbrains.mps.lang.typesystem.runtime.InferenceRule_Runtime;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.typesystem.inference.TypeCh... |
/*
* Copyright (c) 2011, 2019, 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 ... |
/**
* 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... |
/*
* Copyright (c) 2011-2018 Nexmo Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publ... |
package com.exceptionaldevs.muzyka.content.tabs.playlist;
import android.app.Activity;
import android.app.ActivityOptions;
import android.content.Intent;
import android.util.Pair;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Filter;
import android.w... |
package voldemort.performance;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import voldemort.ServerTestUtils;
import voldemort.client.proto... |
package com.rapiddweller.format.csv;
import com.rapiddweller.format.DataIterator;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
* The type Csv iterator factory test.
*/
public class CSVIteratorFactoryTest {
/**
... |
package organdonation.controllers;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;
import organdonation.entities.sprites.Human;
/*
* Customizes handlers for Human entity if needed.
*/
public class HumanController extends Controller {
public HumanController(... |
package org.araymond.joal.core.config;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
/**
* Created by raymo on 24/04/2017.
*/
public class AppConfigurationTest {
public static AppConfiguration createOne() {
... |
package com.hedera.mirror.importer.repository;
/*-
*
* Hedera Mirror Node
*
* Copyright (C) 2019 - 2021 Hedera Hashgraph, LLC
*
* 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
*... |
package com.github.osmundf.chess.hub;
import org.junit.jupiter.api.Test;
import static com.github.osmundf.chess.hub.MoveIdentity.moveIdentityFor;
import static com.github.osmundf.chess.hub.MoveHelper.hashFor;
import static com.github.osmundf.chess.hub.Side.BLACK;
import static com.github.osmundf.chess.hub.Side.WHITE;... |
package br.com.zup.proposta.proposal;
import br.com.zup.proposta.common.Address;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pos... |
package com.EducacaoApps.InstantFormulas.formulas.matematica;
import android.annotation.SuppressLint;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import androidx.core.content.ContextCompat;
import androidx.appcompat.app.AppCompatActivity;
import androi... |
package com.offtime.test.moonballon;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
/*
* 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")... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... |
package main.util;
import java.awt.Color;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.Point;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.i... |
package com.ginkgo.crawl.job;
import java.io.File;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import hf.wj.dir.Directory;
import net.sf.json.JSONArray;
public class FileJo... |
import org.checkerframework.dataflow.qual.Deterministic;
import org.checkerframework.dataflow.qual.Pure;
import org.checkerframework.dataflow.qual.SideEffectFree;
import org.checkerframework.framework.test.*;
import org.checkerframework.framework.testchecker.util.*;
// various tests for the @Pure annotation
public cla... |
package me.desair.tus.server.upload;
import java.io.Serializable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
/**
* Interface for a factory that can create unique upload IDs. This factory can also parse the up... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.