text
stringlengths
7
1.01M
package me.zhengjie.service.impl; import lombok.RequiredArgsConstructor; import me.zhengjie.domain.Supplier; import me.zhengjie.domain.SupplierContact; import me.zhengjie.domain.SupplierCusAudit; import me.zhengjie.exception.EntityExistException; import me.zhengjie.repository.SupplierCusAuditRepository; import me.zhen...
/* * Copyright 2009-2012 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
package com.ruoyi.web.controller.monitor; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.base.AjaxResult; import com.ruoyi.common.enums.BusinessType; import com.ruoyi.common.page.TableDataInfo; import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.framework.util.ShiroUtils; import com....
package com.jay.spring.bean.factory.xml; import com.jay.spring.Exception.BeanDefinitionException; import com.jay.spring.aop.config.ConfigBeanDefinitionParser; import com.jay.spring.bean.BeanDefinition; import com.jay.spring.bean.ConstructorArgument; import com.jay.spring.bean.PropertyValue; import com.jay.spring.bean....
/* This file is part of sdmx-sax. Copyright 2015 James Stanley Gardner 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...
/* * Copyright 2017 Marcus Portmann * * 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 t...
package io.dekorate.issue254; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import io.dekorate.component.annotation.ComponentApplication; @SpringBootApplication @ComponentApplication(exposeService=true) public class DemoApplication { public ...
package com.alexandrepiveteau.wallpaper.example; 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 Application...
/* * Copyright 2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.example.cuihao.zeellipse; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import and...
package com.sen.review.data.structure.sort; import java.util.Arrays; /** * @Author: Sen * @Date: 2020/4/30 * @Description: 堆排序,最坏、最好、平均时间复杂度: O(n log n),是一种不稳定的排序 * 思想: * 1.将数组构建成一个大顶堆,利用大顶堆的特性:堆顶根节点的值 >= 所有子节点的的值(注意:左子节点的值不一定 < 右子节点) * 2.然后把对应元素与数组的最后一个元素交换位置,然后在arr.length - 1的长度数组中再构建大顶堆 * 3.一直重复直到数组有序 */ p...
/* * Copyright 2021 Google 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// This file was generated by Mendix Studio Pro. // // WARNING: Code you write here will be lost the next time you deploy the project. package communitycommons.proxies; public class ImageDimensions { private final com.mendix.systemwideinterfaces.core.IMendixObject imageDimensionsMendixObject; private fin...
package com.jnape.palatable.winterbourne.functions.builtin.fn2; import com.jnape.palatable.lambda.functor.builtin.Identity; import org.junit.Test; import static com.jnape.palatable.lambda.adt.Maybe.nothing; import static com.jnape.palatable.lambda.functor.builtin.Identity.pureIdentity; import static com.jnape.palatab...
/* * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.security.fx; import java.util.Map; import javax.time.calendar.ZonedDateTime; import org.joda.beans.BeanBuilder; import org.joda.beans.BeanDefinitio...
package ru.job4j.array; /** * Igor Khmelevskiy (igorkkhm@gmail.com) * @version $Id$ * @since 0.1 */ public class BubbleSort { /** * Метод сортировки массива пузырьком (перестановкой). * @param array Исходный массив. * @return Сортированный массив. */ public int[] sort(int[] array) { ...
/* * 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 ...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* MIT License Copyright (c) 2020 DanieleDeIuliis 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 ...
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
/*********************************************************************************************************************** * * Copyright (C) 2010-2013 by the Stratosphere project (http://stratosphere.eu) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance...
import java.util.*; public abstract class FSElement { protected String name; protected String owner; protected Date created; protected Date lastModified; protected int size; protected Directory parent; public FSElement(Directory parent, String name, String owner, Date created) { this.parent = parent; if...
package com.atguigu.gmall.auth.service; import com.atguigu.core.bean.Resp; import com.atguigu.core.utils.JwtUtils; import com.atguigu.gmall.auth.config.JwtProperties; import com.atguigu.gmall.auth.exception.GmallException; import com.atguigu.gmall.auth.feign.GmallUmsClient; import com.atguigu.gmall.ums.entity.MemberEn...
/* * Copyright 2013-2016 Indiana University * * 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 applic...
package com.ruoyi.common.utils; /** * 处理并记录日志文件 * * @author zyl */ public class LogUtils { public static String getBlock(Object msg) { if (msg == null) { msg = ""; } return "[" + msg.toString() + "]"; } }
/* * Copyright 2014-2018 Rudy De Busscher (https://www.atbash.be) * * 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 requir...
/* * Decompiled with CFR 0.150. */ package us.myles.viaversion.libs.javassist.bytecode; import java.io.DataInputStream; import java.io.IOException; import java.util.Map; import us.myles.viaversion.libs.javassist.bytecode.AttributeInfo; import us.myles.viaversion.libs.javassist.bytecode.ByteArray; import us.myles.via...
/* * Copyright 2012-2017 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package de.tub.dima.babelfish.ir.pqp.nodes.relational.scan.csv; import com.oracle.truffle.api.CompilerDirectives; import com.oracle.truffle.api.Truffle; import com.oracle.truffle.api.TruffleLanguage; import com.oracle.truffle.api.TruffleRuntime; import com.oracle.truffle.api.dsl.NodeChild; import com.oracle.truffle.a...
package seedu.address.logic.commands.commandFind; import static java.util.Objects.requireNonNull; import seedu.address.commons.core.Messages; import seedu.address.logic.commands.Command; import seedu.address.logic.commands.CommandResult; import seedu.address.model.Model; import seedu.address.model.modelFinance.Financ...
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
package util; import java.util.Optional; /** * Utility for reading a network port out of a command line arguments. * * This class is here for your convenience, it is NOT part of the framework. You can add to it as much * as you want, or delete it. */ public class PortReader { public static Optional<Integer>...
/* * Copyright (c) 2020 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 app...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
/* * Copyright 2010 Ning, Inc. * * Ning 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/licenses/LICENSE-2.0 * * Unless required by applic...
package net.sunxu.website.blog.service.controller; import net.sunxu.website.blog.service.service.StatisticsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web....
package com.alibaba.otter.canal.example; import java.net.InetSocketAddress; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.otter.canal.client.CanalConnector; import com.alibaba.otter.canal.client.CanalC...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.http; import com.yahoo.container.jdisc.HttpResponse; import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse; import org.apache.hc.core5.http.NameValuePair; impor...
//Deobfuscated with https://github.com/PetoPetko/Minecraft-Deobfuscator3000 using mappings "mcp_snapshot-20171003-1.12"! /* * Decompiled with CFR 0.150. * * Could not load the following classes: * net.minecraft.block.Block * net.minecraft.block.SoundType * net.minecraft.block.material.Material * net.minecr...
/* * 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 ...
package com.krishagni.catissueplus.core.de.domain; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang.StringUtils; import com.krishagni.catissueplus.core.de.domain.Filter.Op; import com.krishagni.catissueplus.core.de.domain.QueryExpressionNode.LogicalOp; import co...
package com.textquo.twist.common; import com.google.appengine.api.datastore.EntityNotFoundException; public class ObjectNotFoundException extends TwistException { private static final long serialVersionUID = 6006726482159235720L; public ObjectNotFoundException(String message, EntityNotFoundException e){ su...
/** * Copyright (C) 2014 serv (liuyuhua69@gmail.com) * * 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 app...
package io.seata.samples.integration.order.entity; import java.io.Serializable; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; /** * <p> * * </p> * * @author * @since 2019-01-13 */ public class TOrder exte...
/* * Copyright 2013-2018 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...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos.Rpc.proto package POGOProtos.Rpc; public interface GetRaidDetailsDataProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:POGOProtos.Rpc.GetRaidDetailsDataProto) com.google.protobuf.MessageOrBuilder { }
package io.verticle.oss.fireboard.client; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class Status implements Serializable { final static long serialVersionUID = -4635841524734745733L; /** * event name/short summary * */ private String event; ...
// Copyright 2014 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...
/* * Copyright 2014-2019 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...
/* Copyright 2006-2015 Stefano Chizzolini. http://www.pdfclown.org Contributors: * Stefano Chizzolini (original code developer, http://www.stefanochizzolini.it) This file should be part of the source code distribution of "PDF Clown library" (the Program): see the accompanying README files for more info. ...
/** * Copyright (C) 2009-2014 Typesafe Inc. <http://www.typesafe.com> */ package docs.actor; import akka.actor.*; import akka.japi.pf.ReceiveBuilder; import akka.testkit.ErrorFilter; import akka.testkit.EventFilter; import akka.testkit.TestEvent; import com.typesafe.config.Config; import com.typesafe.config.ConfigF...
/** * * The MIT License (MIT) * * Copyright (c) 2015 Miikka Andersson * * 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...
package id.ipaddr.android.rereso.domain.model; import java.util.Date; /** * Created by iip on 3/16/17. */ public class Baby { private String babyFoto; private String name; private ESex eSex; private EPlaceOfBirth ePlaceOfBirth; private String placeOfBirth; private Date dateOfBirth; pri...
/* * * * Copyright (c) 2021. ForteScarlet All rights reserved. * * Project simple-robot * * File MiraiAvatar.kt * * * * You can contact the author through the following channels: * * github https://github.com/ForteScarlet * * gitee https://gitee.com/ForteScarlet * * email ForteScarlet@163.com *...
/* * 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 2019 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * 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 ...
// // LoginResponse.java // blogwt // // Created by William Shakour on May 11, 2015. // Copyright © 2015 WillShex Limited. All rights reserved. // package com.willshex.blogwt.shared.api.user.call; import com.google.gson.JsonObject; import com.willshex.blogwt.shared.api.Response; public class LoginResponse exten...
/** * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Un...
/* * Copyright © 2019 Cask Data, 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 or ag...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE package org.bytedeco.pytorch; import org.bytedeco.pytorch.Allocator; import org.bytedeco.pytorch.Function; import org.bytedeco.pytorch.Module; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.byte...
/* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package goodman.java.awt.geom; import goodman.java.awt.geom.*; import goodman.java.io.Serializable; /...
/* * Copyright 2017-2018 original 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.facebook.stetho.inspector.elements.android; // Referenced classes of package com.facebook.stetho.inspector.elements.android: // TextViewDes...
package com.bitdubai.fermat_ccp_api.layer.identity.intra_user.exceptions; import com.bitdubai.fermat_api.FermatException; /** * Created by natalia on 11/11/15. */ public class CantDeleteIdentityException extends FermatException { /** * This is the constructor that every inherited FermatException must imple...
package com.github.jnidzwetzki.bitfinex.v2.test; import java.util.Arrays; import java.util.HashSet; import java.util.List; import org.junit.Assert; import org.junit.Test; import org.mockito.Mockito; import com.github.jnidzwetzki.bitfinex.v2.BitfinexApiBroker; import com.github.jnidzwetzki.bitfinex.v2.BitfinexApiBrok...
package com.silvertree.ideplugin.editors; import org.eclipse.jface.text.rules.*; public class TagRule extends MultiLineRule { public TagRule(IToken token) { super("<", ">", token); } @Override protected boolean sequenceDetected(ICharacterScanner scanner, char[] sequence, boolean eofAllowed) { int c = scann...
package com.builtbroken.mc.lib.helper; import com.mojang.authlib.GameProfile; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraft.world.WorldServer; import net.minecraftforge.common.util.FakePlayer; import net.minecraftforge.common.util.ForgeDirection; import com.builtbroken.mc....
package java11; import java.util.Function; class Java11 { void m1() { m2((@NotNull var n) -> n * 2); } void m2(Function<Integer, Integer> fn) { System.out.println(fn.apply(2)); } }
package com.freedy.mall.order.dao; import com.freedy.mall.order.entity.OrderOperateHistoryEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 订单操作历史记录 * * @author freedy * @email 985948228@qq.com * @date 2021-01-30 21:39:25 */ @Mapper public interf...
/** * Copyright (c) 2014 All Rights Reserved by the SDL Group. * * 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 ...
/* * Copyright 2022 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 app...
package com.jcloisterzone.game.phase; import com.jcloisterzone.board.Position; import com.jcloisterzone.board.pointer.BoardPointer; import com.jcloisterzone.board.pointer.FeaturePointer; import com.jcloisterzone.board.pointer.MeeplePointer; import com.jcloisterzone.event.PointsExpression; import com.jcloisterzone.even...
package org.test.zombiedefence; import loon.LTexture; import loon.action.sprite.SpriteBatch; import loon.action.sprite.SpriteBatch.SpriteEffects; import loon.canvas.LColor; import loon.geom.Vector2f; import loon.utils.timer.GameTime; public class ScreenLevelup extends Screen { private Vector2f diplayTexturePosition...
package com.tangjf.ttweb.enums; /** * 访问权限枚举类 * * @version:v1.0 * @author: tangjf * @date: 2017年4月26日 上午10:52:03 * */ public enum EnumPermissionRole { /** 登录 */ LOGIN, /** 前端 */ NET, /** 管理后台 */ ADMIN; }
package com.fullcontact.api.libs.fullcontact4j.http.location; import com.fullcontact.api.libs.fullcontact4j.http.FCResponse; import lombok.*; import java.util.Collections; import java.util.List; @AllArgsConstructor @NoArgsConstructor(access = AccessLevel.PRIVATE) @Getter @EqualsAndHashCode(callSuper = true) @ToStrin...
package com.seachangesimulations.platform.mvc.formbeans.author; public class AuthorAddPluginFormBean { private Long rawPluginId; private Long customizedPluginId; private String pluginHeading; public Long getRawPluginId() { return rawPluginId; } public void setRawPluginId(Long rawPluginId) { this.rawP...
package bsi.lars.gui.editor.elements; public class EMeasure3 extends Element { private int to_measure_id; private String description_long; public EMeasure3(int id, String name, String description, int to_measure_id, String description_long) { super(id, name, description); this.to_measure_id = to_mea...
/* * Integrated Rule Inference System (IRIS): * An extensible rule inference system for datalog with extensions. * * Copyright (C) 2008 Semantic Technology Institute (STI) Innsbruck, * University of Innsbruck, Technikerstrasse 21a, 6020 Innsbruck, Austria. * * This library is free software; you can redistribu...
package io.smallrye.mutiny.operators.multi.builders; import java.util.function.Supplier; import org.reactivestreams.Publisher; import org.reactivestreams.Subscriber; import io.smallrye.mutiny.helpers.ParameterValidation; import io.smallrye.mutiny.helpers.Subscriptions; import io.smallrye.mutiny.operators.AbstractMul...
/* The MIT License (MIT) Copyright (c) 2018 Pierre Lindenbaum 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, me...
/* * Copyright 2018 ThoughtWorks, 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 or agr...
/* * Copyright 2002-2013 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/** * 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...
package com.example.simplerestapis; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SimpleRestApisApplication { public static void main(String[] args) { SpringApplication.run(SimpleRestApisApplication.class...
package baseball; import java.util.ArrayList; import java.util.List; public class BaseballGameInputValidator { private static final int BASEBALL_GAME_NUMBER_LENGTH = 3; private static final String BASEBALL_GAME_LENGTH_EXCEPTION_MESSAGE = "3자리 수를 입력해주세요."; private static final String BASEBALL_GAME_DIGIT_E...
/* * Copyright 2014-2015 Groupon, Inc * Copyright 2014-2015 The Billing Project, LLC * * The Billing Project 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...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/* * Copyright (c) CovertJaguar, 2014 http://railcraft.info * * This code is the property of CovertJaguar * and may only be used with explicit written * permission unless otherwise specified on the * license page at http://railcraft.info/wiki/info:license. */ package mods.railcraft.common.gui.slots; import ne...
package com.dungeonstory.ui.test.integration.authentication; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import com.vaadin.testbench.TestBenchTestCase; import com.vaadin.testbench.elements.FormLayoutElement; import com.vaadin.testbenc...
/* * IntPTI: integer error fixing by proper-type inference * Copyright (c) 2017. * * Open-source component: * * CPAchecker * Copyright (C) 2007-2014 Dirk Beyer * * Guava: Google Core Libraries for Java * Copyright (C) 2010-2006 Google * * */ package org.sosy_lab.cpachecker.cfa.parser.eclipse; import org...
/* * MIT License * * Copyright (c) 2017 Frederik Ar. Mikkelsen * * 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,...
package net.oschina.app.improve.user.collection; import android.content.DialogInterface; import net.oschina.app.improve.base.BaseRecyclerFragment; import net.oschina.app.improve.base.adapter.BaseRecyclerAdapter; import net.oschina.app.improve.bean.Collection; import net.oschina.app.improve.bean.News; import net.oschi...
package com.crowdin.utils; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; import com.sun.jersey.multipart.FormDataMultiPart; import com.sun.jersey.multipart.file.FileDataBodyPart; import java.io.File; import java.io.IOException; i...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
package io.nuls.base.api.provider; import io.nuls.core.constant.ErrorCode; import io.nuls.core.model.StringUtils; import java.util.List; /** * @Author: zhoulijun * @Time: 2019-03-06 15:44 * @Description: 功能描述 */ public abstract class BaseService { /** * 默认chainId * 从配置文件中注入 */ private int...
package com.nelson.powermock.answer.controller; import com.nelson.powermock.answer.service.EmployeeService; public class EmployeeController { public String getEmail(String userName) { EmployeeService employeeService = new EmployeeService(); String email = employeeService.findEmailByUserName(userN...
package nl.mahmood.androidbackgroundservice; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { private Intent serviceIntent; @Override protected void onCreate(Bundle sa...