小编MRa*_*ran的帖子

安装后Jenkins的默认凭据

我在Windows10上下载了Jenkins.当我尝试访问jenkins时,它要求输入用户名和密码.我已经阅读了同一问题的主题.但我没有在Jenkins文件夹下找到任何秘密文件夹或config.xml文件.

windows jenkins windows-10

12
推荐指数
2
解决办法
5万
查看次数

任何与保留所有功能相反的功能的方法?

我有两个列表

List<String> list1 = new ArrayList<String>(Arrays.asList("A", "B", "C"));
List<String> list2 = new ArrayList<String>(Arrays.asList("A"));
Run Code Online (Sandbox Code Playgroud)

List<String> result = list1.(SomeMethod)(list2) 必须回来 result = {"B","C"}

这种方法可用吗?

java collections

6
推荐指数
1
解决办法
2974
查看次数

如何手动编辑链接以在 Google 云端硬盘或 Google 照片中共享

当照片上传到 Google 云端硬盘或 Google 照片并分享给其他人时,链接将为 \xe2\x80\x8b https://docs.google.com/xyz。但是,有没有办法将其转换为有意义的链接,例如“Presentation 2017 链接”

\n

google-photos google-drive-android-api

5
推荐指数
1
解决办法
2万
查看次数

DateFormat提供的值不正确

我想转换StringDate.我的代码:

    String maturityDate = "20150722";
    SimpleDateFormat formatter = new SimpleDateFormat("yyyymmdd");
    Date date = formatter.parse(maturityDate);
    System.out.println(date);
Run Code Online (Sandbox Code Playgroud)

预期结果 :

Input 20150722
Output Wed Jul 22 00:07:00 IST 2015
Run Code Online (Sandbox Code Playgroud)

实际结果 :

Input 20150722
Output Thu Jan 22 00:07:00 IST 2015
Run Code Online (Sandbox Code Playgroud)

可能是什么原因?

java

2
推荐指数
1
解决办法
78
查看次数

sheet.getLastRowNum()给出不同的值

我有两个单行的Excel文件。我正在尝试获取文件的最后一行。第一个文件的值设为0,第二个文件的值设为1。知道为什么这个不一致吗?

java apache-poi

0
推荐指数
1
解决办法
1143
查看次数

在M子中模拟子流

我正在尝试为以下流程创建MUnit。

<?xml version="1.0" encoding="UTF-8"?>

<mule xmlns:db="http://www.mulesoft.org/schema/mule/db" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
    xmlns:spring="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/db http://www.mulesoft.org/schema/mule/db/current/mule-db.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd">
    <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/>
    <db:oracle-config name="Oracle_Configuration" host="127.0.0.1" port="1521" instance="xe" user="system" password="madhu" doc:name="Oracle Configuration"/>
    <flow name="munitFlow">
        <http:listener config-ref="HTTP_Listener_Configuration" path="/munit" doc:name="HTTP"/>
        <object-to-string-transformer doc:name="Object to String"/>
        <set-payload value="#[payload]" doc:name="Set Payload"/>
        <flow-ref name="SubFlow1" doc:name="SubFlow1"/>
        <choice doc:name="Choice">
            <when expression="#[flowVars.temp == '1']">
                <set-payload value="Hello from madhu" doc:name="Set Payload"/>
            </when>
            <otherwise>
                <set-payload value="Hello from mitha" doc:name="Set Payload"/>
            </otherwise>
        </choice>
    </flow>
    <sub-flow name="SubFlow1"> …
Run Code Online (Sandbox Code Playgroud)

mule munit

0
推荐指数
1
解决办法
2232
查看次数