text
stringlengths
7
995k
package com.appgate.technicaltest.services; import com.appgate.technicaltest.services.Models.ApiRequest; public interface IApiService<T> { String Execute(ApiRequest apiRequest) throws Exception; }
package slacknotifications.teamcity.settings; import jetbrains.buildServer.serverSide.MainConfigProcessor; import jetbrains.buildServer.serverSide.SBuildServer; import jetbrains.buildServer.serverSide.ServerPaths; import org.jdom.Element; import slacknotifications.SlackNotificationProxyConfig; import slacknotification...
package co.com.mutants; import java.util.TimeZone; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure....
/* file: ResultsToComputeId.java */ /******************************************************************************* * Copyright 2020 Intel Corporation * * 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 Li...
package tierability.item.tool.t2_electro; import net.minecraft.client.item.TooltipContext; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.effect.StatusEffects; import net.minecraft.item.ItemStack; import net.minecraft.item.ToolMaterial; import net.minecraft.text.Text; import net.minecraft.text.T...
package com.whenling.extension.cms.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax...
package net.md_5.bungee.netty; import io.netty.buffer.PooledByteBufAllocator; import io.netty.channel.Channel; import io.netty.channel.ChannelException; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup; import io.netty.channel.ServerChannel; impo...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rpc.proto package cn.nextop.gadget.etcd.grpc; /** * Protobuf type {@code etcdserverpb.AuthUserGrantRoleResponse} */ @SuppressWarnings("all") public final class AuthUserGrantRoleResponse extends com.google.protobuf.GeneratedMessageV3 implemen...
package com.cts.training.test; import static org.junit.Assert.*; import java.util.List; import org.junit.BeforeClass; import org.junit.Test; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.dao.DataIntegrityViolationException; import com.cts.training.dao.R...
package eu.modernmt.model.corpus.impl.parallel; import eu.modernmt.io.UTF8Charset; import eu.modernmt.io.FileProxy; import eu.modernmt.io.UnixLineReader; import eu.modernmt.io.UnixLineWriter; import eu.modernmt.lang.Language; import eu.modernmt.lang.LanguageDirection; import eu.modernmt.model.corpus.BaseMultilingualCo...
/** * Copyright (c) 2016-2019 SWAN开源 All rights reserved. * * http://www.gaoxiaoit.com/ * * 版权所有,侵权必究! */ package io.renren.config; import io.swagger.annotations.ApiOperation; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.docum...
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; public class Storage { private ArrayList<String> inputList;; private ArrayList<String> ignoreList; private static Storage mStorage = new Storage(); public Storag...
package software.amazon.panorama.applicationinstance; class Configuration extends BaseConfiguration { public Configuration() { super("aws-panorama-applicationinstance.json"); } }
package mqiott.controllers; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonAutoDetect; import mqiott.device.Device; import mqiott.device.DeviceManager; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; impor...
/* * Copyright 2002-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...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package com.pi4j.plugin.linuxfs.provider.gpio.digital; /* * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: PLUGIN :: LinuxFS I/O Providers * FILENAME : LinuxFsDigitalInputProviderImpl.java * * This file is part of the Pi4J ...
/* * 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 gov.hhs.onc.phiz.logging.impl; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.spi.LoggerContextAware; import ch.qos.logback.classic.util.ContextSelectorStaticBinder; import ch.qos.logback.core.spi.ContextAware; import gov.hhs.onc.phiz.beans.factory.impl.AbstractPhizBeanPostProcessor...
package cn.network.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import java.util.Date; @Entity public class File { @Id private int fid; @Column private String fname; @Column private Date fuploadtime; @Column private String path;...
package com.zhbit.main.service.impl; import java.util.ArrayList; import java.util.List; import java.util.Set; import javax.annotation.Resource; import org.apache.log4j.Logger; import org.hibernate.criterion.DetachedCriteria; import org.hibernate.criterion.Restrictions; import org.springframework.stereotype.Service; ...
/* * Copyright 2014. AppDynamics LLC and its affiliates. * * All Rights Reserved. * * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * * The copyright notice above does not evidence any actual or intended publication of such source code. */ package com.appdynamics.extensions...
/* * Copyright (c) 2020 original authors * * Licensed under the Apache License, Versions 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 applicable law or agr...
package com.coolweather.app.activity; import com.coolweather.app.R; import com.coolweather.app.service.AutoUpdateService; import com.coolweather.app.util.HttpCallbackListener; import com.coolweather.app.util.HttpUtil; import com.coolweather.app.util.Utility; import android.app.Activity; import android.content.Intent;...
package com.printto.printmov.wearpet; import android.content.Context; import android.content.res.AssetManager; import android.annotation.TargetApi; import android.view.SurfaceView; import android.view.SurfaceHolder; import android.view.SurfaceHolder.Callback; import android.view.MotionEvent; import android.view.View; ...
package org.camunda.bpm.extension.process_test_coverage.util; import java.io.File; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.security.CodeSource; /** * Based on info found at http://stackoverflow.com/questions/15359702/get-location-of-jar-file * @aut...
package com.horizon.component.sender.dispatch; import com.horizon.component.sender.Dispatcher; import com.horizon.component.sender.MimeMessage; import com.horizon.component.sender.Sender; import com.horizon.component.utilities.SpringContextUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sprin...
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ========================================================...
package com.cefriel.coneyapi.model.db.entities; public class Edge { private int startId; private int endId; public Edge(int startId, int endId){ this.endId = endId; this.startId = startId; } public int getStartId() { return startId; } public int getEndId() { return endId; } ...
package com.mogoo.market.adapter; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.content.pm.PackageInfo; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.os.Handler; import android.os.Message; import android.util.Log; im...
package com.codetaylor.mc.artisanautomation.modules.automator.tile.automator.item.data; import com.codetaylor.mc.artisanautomation.modules.automator.item.ItemUpgrade; import com.codetaylor.mc.athenaeum.inventory.ObservableStackHandler; import com.codetaylor.mc.athenaeum.network.tile.spi.ITileDataItemStackHandler; impo...
package sorts.exchange; import main.ArrayVisualizer; import sorts.templates.Sort; /* PORTED TO ARRAYV BY PCBOYGAMES ------------------------------ - SORTING ALGORITHM MADHOUSE - ------------------------------ Reflection Sort is an algorithm developed with unwritten impracticalities. Reflection Sort starts running a...
/* * 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 me.ianhe.pp.controller.admin; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import me.ianhe.pp.entity.QuestionEntity; import me.ianhe.pp.service.QuestionService; import ...
package com.example.lac.cvapp.ui; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import a...
package ai.elimu.dao.project.jpa; import ai.elimu.dao.jpa.GenericDaoJpa; import ai.elimu.dao.project.AppCategoryDao; import ai.elimu.model.project.AppCategory; public class AppCategoryDaoJpa extends GenericDaoJpa<AppCategory> implements AppCategoryDao { }
/* * @lc app=leetcode id=76 lang=java * * [76] Minimum Window Substring */ // @lc code=start class Solution { public String minWindow(String s, String t) { if (s.length() == 0 || t.length() == 0) { return ""; } char[] tc = t.toCharArray(); int[] tcount = new int[256...
package com.fibelatti.nytimes.models; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Meta { @SerializedName("hits") @Expose private Integer hits; @SerializedName("time") @Expose private Integer time; @SerializedName("offset") ...
///###//////////////////////////////////////////////////////////////////////// // // Burton Computer Corporation // http://www.burton-computer.com // // Copyright (c) 2021, Burton Computer Corporation // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are p...
/* * Copyright 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 "license" file accomp...
/* * Copyright 2014 Yuriy Yunikov * * 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 ...
import java.util.*; public class Summer { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("How many numbers do you want to add? "); int n = in.nextInt(); int sum = 0; for(int i = 0; i < n; i++) { System.out.print("En...
/* * Copyright 2014 - 2022 Blazebit. * * 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...
/* * The MIT License * * Copyright 2018 Maikel Chandika <mkdika@gmail.com>. * * 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 righ...
package com.whiteelephant.monthpicker; import android.content.Context; import android.os.Build; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView; import android.widget.BaseAdapter; import com.example.prem.firstpitch.R; import java.util.Calendar; impo...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * 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, cop...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.qiuyu.mobilesafe; public final class R { public static final class anim { public static final int cycle_7=0x7f040...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.apex.ast; import apex.jorje.semantic.ast.compilation.AnonymousClass; public class ASTAnonymousClass extends ApexRootNode<AnonymousClass> { public ASTAnonymousClass(AnonymousClass anonymousCla...
/** * * 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 uk.gov.dhsc.htbhf.requestcontext; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; class RequestContextHolderTest { @Test void shouldInitialiseARequestContext() { RequestContextHolder holder = new RequestContextHolder(); RequestContext req...
package com.woshidaniu.security.digest; import java.io.IOException; import java.io.InputStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.Provider; import java.security.Security; import java.util.Map; import org.bouncycastle.jce.provider.BouncyCastleProvid...
package org.goblinframework.cache.redis.connection; import io.lettuce.core.api.StatefulRedisConnection; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public interface TransactionCallback<E> { @Nullable E execute(@NotNull String key, @NotNull StatefulRedisConnection<String, ...
package mage.cards.c; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.Duration; import mage.constants.Outcome; import mage.constants.Zone; import mage.fil...
/* * 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 2016-2019 Netflix, 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 ...
/** * 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 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.fbu.autonote.fragments; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation....
package io.contek.invoker.bybitlinear.api.common; import javax.annotation.concurrent.NotThreadSafe; @NotThreadSafe public class _WalletBalance { public double equity; public double available_balance; public double used_margin; public double order_margin; public double position_margin; public double occ_c...
package org.kie.api.event.rule; import java.util.Collection; public interface RuleRuntimeEventManager { /** * Add an event listener. * * @param listener * The listener to add. */ void addEventListener(RuleRuntimeEventListener listener); /** * Remove an event liste...
package com.waylau.spring.boot.blog.repository.es; import static org.assertj.core.api.Assertions.assertThat; import java.util.List; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.cont...
/* * 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.ml.inference.persistence; import org.apache.l...
package com.cmput301f17t07.ingroove.Model; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Base64; import java.io.ByteArrayOutputStream; import java.io.Serializable; /** * Converts a bitmap to a string and back for storage in JSON * * taken from https://stackoverflow.com/...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
package com.kzrbill.gocd.plugin.notifications.webhooks.requests; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.request.HttpRequestWithBody; public class ApiRequestProxy implements ApiRequest { private HttpRequestWithBody unirest; public ApiRequest post(String apiUrl) { this.uni...
package me.nicbo.invadedlandsevents.events.type.impl; import me.nicbo.invadedlandsevents.InvadedLandsEvents; import me.nicbo.invadedlandsevents.events.type.TimerEvent; import me.nicbo.invadedlandsevents.events.util.MatchCountdown; import me.nicbo.invadedlandsevents.messages.impl.ListMessage; import me.nicbo.invadedlan...
/** * JHOVE2 - Next-generation architecture for format-aware characterization * <p> * Copyright (c) 2010 by The Regents of the University of California. All rights reserved. * </p> * <p> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
/******************************************************************************* * Copyright 2012 Josh Attenberg. Not for re-use or redistribution. ******************************************************************************/ package com.dsi.parallax.ml.distributions; import static org.junit.Assert.assertEquals; ...
/* * 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 © 2019 Dominokit * * 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 ...
package com.github.kuangcp.caculator; import java.awt.Dimension; import java.awt.Font; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.util.Objects; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JTextField; import javax.swing.SwingCo...
package br.com.zupacademy.cintia.proposta.avisoviagem.dto.response; import br.com.zupacademy.cintia.proposta.avisoviagem.enumzin.StatusAviso; public class AvisoStatusDtoResponse { private StatusAviso resultado; public AvisoStatusDtoResponse() { } public AvisoStatusDtoResponse(StatusAviso resultado)...
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2020 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.buildserver; import com.android.ide.common.interna...
package org.infinispan.lucene.cacheloader; import java.io.File; import java.io.IOException; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.apache.lucene.store.Directory; import org.apache.lucene.store.FSDirectory; import org.infinispan.configuration.cache.ConfigurationBuilder; i...
/* * 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 ...
/* All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
package cn.edu.tsu.campuscommonwealgo.adapter.util; import android.app.Fragment; /** * ClassName: : ${type_name} * Description: ${todo}(这里用一句话描述这个类的作用) * Copyright : Copyright (c) 2016 * Author : 小小码农 * Date : 2016/12/20 11:40 */ public class FragmentCompat { interface FragmentCompatImpl { ...
package com.entities; import java.math.BigDecimal; import java.sql.Timestamp; import java.time.LocalDateTime; public class Transaction { private int transactionId; private int userId; private BigDecimal transactionAmount; private int transactionfrom; private int transactionto; private LocalDa...
/* * 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 ma...
/* * Copyright (C) 2012 The Android Open Source Project * * 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 zbl.moonlight.core.socket.request; import zbl.moonlight.core.socket.client.ServerNode; import zbl.moonlight.core.socket.interfaces.SocketState; import java.nio.channels.SelectionKey; public record SocketRequest(boolean isBroadcast, byte status, byte[] data, ServerNode serverNode, ...
/** * 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 2012-2016 Niall Gallagher * * 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 a...
/* * Copyright 2014 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 ap...
package com.bustiblelemons.cthulhator.system.properties; /** * Created by bhm on 13.09.14. */ public enum ModifierType { MULTIPLY, DIVISION, ADDITION, SUBSTRACT, NONE, AVERAGE }
package io.papermc.hangar.controller.internal.admin; import io.papermc.hangar.HangarComponent; import io.papermc.hangar.exceptions.HangarApiException; import io.papermc.hangar.model.common.NamedPermission; import io.papermc.hangar.model.db.UserTable; import io.papermc.hangar.model.internal.admin.activity.FlagActivity;...
package com.github.nhojpatrick.hamcrest.datetime.tests; import com.github.nhojpatrick.hamcrest.datetime.flags.CompareType; import com.github.nhojpatrick.hamcrest.datetime.flags.RoundingType; import com.github.nhojpatrick.hamcrest.datetime.internal.after.AbstractIsAfter; import com.github.nhojpatrick.hamcrest.datetime....
/* * Copyright 2004-2009 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...
/* * Copyright 2001-2010 Stephen Colebourne * * 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...
package com.example.customer.service; import com.example.customer.model.Customer; import com.example.customer.repository.CustomerRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; im...
/* * Copyright 2002-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...
/* Copyright 2015-2016 Artem Stasiuk 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, ...
package id.web.ilham.api.inventory.models.unit; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; public class UnitRequest { @NotBlank @Size(min = 1, max = 20) private String code; @NotBlank @Size(min = 1, max = 100) private String description; publ...
/* * Copyright 1999-2019 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...
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
package rtp.demo.domain.account; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import rtp.dem...
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
package com.alipay.api.request; import java.util.HashMap; import java.util.Map; import com.alipay.api.FileItem; import com.alipay.api.AlipayUploadRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayOfflineMaterialImageUploadResponse; import com.alipay.api.AlipayObject; /*...
/* * Copyright 2017-2020 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...
package org.alfresco.webdav; import org.alfresco.utility.data.DataContent; import org.alfresco.utility.data.DataSite; import org.alfresco.utility.data.DataUser; import org.alfresco.utility.network.ServerHealth; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.Conte...